#listaLentes,
#listaLentes2 {
    margin: 10px;
}

.bannerImageCristal {
  float: left;
  /* margin-top: 40px; */
  width: 100%;
  font-family: Roboto;
  /* font-weight: 600; */
  text-transform: uppercase;
  font-size: 4em;
  padding-top: 35px;
  padding-bottom: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bannerImageFotocromatico {
  float: left;
  /* margin-top: 40px; */
  width: 100%;
  font-family: Roboto;
  /* font-weight: 600; */
  text-transform: uppercase;
  font-size: 4em;
  padding-top: 35px;
  padding-bottom: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Estilo del encabezado */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f1f1f1; /* Fondo claro */
  border-bottom: 1px solid #ddd; /* Línea divisoria */
}

.modal-info-btn{
  border: none;
}

.modal-close-btn{
  border: none;
}


/* Separar los lentes */
.glasses-container {
    display: inline-block;
    position: relative;
    text-align: center;
  }
  
  /* Imagen y posición del icono de la lupa */
  .image-container {
    position: relative;
  }
  
  .glasses-image {
    width: 100%;
    border-radius: 5px;
  }
  
  .zoom-icon {
    position: absolute;
    top: 25px;
    right: 15px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
  }
  
  /* Estilos del modal */
  .modal-new {
    display: none;
    position: fixed; /* Cambiado a fixed para ocupar toda la pantalla */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%; /* Ampliar a 80% del ancho de la pantalla */
    max-width: 800px;
    height: 80%; /* Ampliar a 80% de la altura de la pantalla */
    overflow: hidden; /* Evitar el scroll */
  }
  
  
  .modal-content-new {
    position: relative;
    text-align: center;
    height: 100%; /* Usar toda la altura */
  }

  #modalImage {
    height: 70%;
    max-width: 100%;
  }
  
  .close-new {
    color:rgba(0, 0, 0, 0.5);
    position: absolute;
    right: 10px;
    font-size: 5em; /* Tamaño más grande */
    cursor: pointer;
  }
  
  
  .modal-buttons {
    width: 800px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  
  }
  .try-button,
  .continue-button {
    width: 200px;
    margin: 15px; /* Espacio adicional alrededor de los botones */
    padding: 15px 30px; /* Ampliar el espacio interno */
    border: 1px solid #c9c9c9; /* Borde gris claro */
    background-color: transparent; /* Fondo transparente */
    color: #4a4a4a; /* Color de texto gris oscuro */
    cursor: pointer;
    border-radius: 12px; /* Bordes redondeados */
    font-size: 1.9em; /* Aumentar el tamaño del texto */
  }
  
  .try-button:hover,
  .continue-button:hover {
    background-color: #0056b3;
  }

  .expand-icon {
    width: 40px; /* Ajusta el tamaño */
    height: 40px;
  }

  .info-button {
    margin: auto;
    width: 90px;
    height: 90px;
    cursor: pointer;
    color: #f8b133; /* Color del borde */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Fondo transparente */
    border: none; /* Sin bordes extra del contenedor */
    transition: transform 0.2s ease; /* Animación opcional al pasar el mouse */
  }
  
  .info-button:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el mouse */
  }
  
.info-button img {
    width: 100%;
    height: 100%;
}

.CristalTipo {
  font-size: 0.9em; /* Ajusta el tamaño del texto si es necesario */
  font-weight: bold;
  color: white; /* Asegura visibilidad del texto */
  margin: 0;
}



.modal2 {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Asegúrate de que sea suficientemente alto */
  width: 80%;
  max-width: 800px;
  background-color: white;
  border-radius: 40px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 80vh; /* Limita la altura del modal al 80% de la ventana */
  overflow-y: auto; /* Activa el desplazamiento vertical */
}

.modal-content2 {
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.8; /* Espaciado entre líneas */
  font-size: 2.1rem; /* Tamaño de fuente aumentado */


}

.modal-content2 h4,
.modal-content2 h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: black; /* Azul para destacar los títulos */
  font-weight: bold;
  text-align: center;
}

.modal-content2 ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.modal-footer2{
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  background: #f1f1f1;
}

.close-modal-btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.close-modal-btn:hover {
  background: #0056b3;
}

/* Para navegadores compatibles con scrollbar-color */
.modal2 {
  scrollbar-color: black  /* Color de la barra y el fondo */
 
}
