.overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal2 {
  background-color: #222;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.modal2 h2 {
  margin-bottom: 20px;
}

.botones button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.botones button:first-child {
  background-color: #4caf50;
  color: white;
}

.botones button:first-child:hover {
  background-color: #45a049;
}

.botones button:last-child {
  background-color: #f44336;
  color: white;
}

.botones button:last-child:hover {
  background-color: #e53935;
}



  .card-hover {
      transition: transform .2s, box-shadow .2s;
    }
    .card-hover:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    .content {
      margin-top: 200px; /* Ajusta según la altura de #vips */
    }
    body {
      padding-top: 130px; /* espacio para la navbar fija */
    }
    .navbar .dropdown-menu {
  position: absolute; /* ya debería estar */
  z-index: 989; /* suficientemente alto para superar al carrusel */
}
    .navbar-brand img {
      width: 350px;
      height: 100px;
      object-fit: contain;
      z-index: 989; /
    }
     
     #ver_book {
      position: relative;
      top: 25px; /* Ajusta según el alto de tu navbar */
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1400px; /* Opcional: máximo ancho */
      z-index: 1000; /* Sobrepone contenido debajo */
    }
#resultado_busqueda {
      position: relative;
      background-color:#000000;
      z-index:1900;   }
     #vips_books {
      position: relative;
      /*top: 125px; /* Ajusta según el alto de tu navbar */
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1400px; /* Opcional: máximo ancho */
      z-index: 1000; /* Sobrepone contenido debajo */
    }
    #vips {
      position: relative; /* fixed;*/
      top: 10px; /* Ajusta según el alto de tu navbar */
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1400px; /* Opcional: máximo ancho */
      z-index: 1000; /* Sobrepone contenido debajo */
    }
    /* Ajusta el carrusel para ocupar todo el ancho */
    #vips .carousel img {
      object-fit: cover;
      width: 100%;
      height: auto;
    }
    .dropdown-item {
        background-color:#fff;

    }
    .dropdown-item:hover{
        background-color:#f0f;

    }
 
 
    @media (max-width: 576px) {
  .navbar-brand img {
    width: 260px;
    height: 100px;
  }
  .content {
      margin-top: 10px; /* Ajusta según la altura de #vips */
    }


}
    @media (min-width: 768px) {
      #vips .carousel-item {
        height: 60vh;
      }
      #vips .carousel-item img {
        height: 100px;
      }
      .content {
      margin-top: 10px; /* Ajusta según la altura de #vips */
    }
    
    }
    /* Margen superior del contenido para no taparlo */
    .modal-backdrop { z-index: 1021 !important; }
.modal .modal-content { z-index: 1500; }