body {
    font-family: Arial, sans-serif;
    margin-top: 1600px;
    padding: 0;
    background-color: #f4f4f4;
    background-image: url(https://static.vecteezy.com/system/resources/thumbnails/049/487/643/small/blurred-supermarket-aisle-photo.jpg);
    background-size: cover; /* La imagen se estira para llenar el ancho y alto */
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Header */

header {
    background-color: #000000f5;
    text-align: center;
    position: fixed; /* Fija la posición del header */
    top: 0; /* Posición en la parte superior de la página */
    width: 100%; /* Asegura que el header cubra todo el ancho de la página */
    background-color: #0000006c; /* Color de fondo */
    padding: 20px;
    text-align: center;
    z-index: 999; /* Asegura que el header esté por encima de otros elementos */
    display: flex;
    flex-direction: column;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/focus-ok.appspot.com/o/portadaNovo.png?alt=media&token=7f21b8b4-22c2-4700-a2d6-87e382717ba5');
    background-size: cover;
    background-repeat: no-repeat;
    height: 220px;
    
    justify-content: center; /* Centrar contenido */
    align-items: center; /* Centrar verticalmente */
}
header img {
    max-width: 150px;
}
header h2 {
  color: white;
}


.barraBlanca {
  width: 100% !important;
  margin-top: 15px;
  margin-left: -30px;
  height: 20px;
  background-color: white;
}

/* Barra de navegación */

.navbar {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    background-color: rgb(0, 100, 180);
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    color: white;
  }

  .navbar i{
    color: white;
  }
  
  .search-bar {
    flex-grow: 1; /* Permitir que la barra de búsqueda crezca para ocupar el espacio disponible */
  
  }
  
  .search-bar input {
    width: 100%; /* Asegurar que el input ocupe todo el ancho del contenedor search-bar */
    padding: 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    color: rgb(0, 0, 0);
  }
  .dropdown {
    margin-right: 20px; /* Espaciado entre el dropdown y la barra de búsqueda */
  }
  
  .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    max-height: 300px; /* Altura máxima para el menú desplegable */
    overflow-y: auto; /* Hacer el contenido desplazable verticalmente */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .search-bar input {
    width: 100%; /* Ajusta el ancho según tus necesidades */
    padding: 12px;
    margin: 8px 0;
    box-sizing: border-box;
  }

  .separador {
    margin-top: 200px;
  }

  .offer-banner {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%; /* Ajusta según sea necesario */
    text-align: center; /* Centra la imagen */
  }
  
  .offer-banner img {
    max-width: 50px; /* Ajusta el tamaño de la imagen */
    margin: 5px; /* Espaciado opcional */
  }

  /* Estilos del lightbox */
.lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo semitransparente */
    z-index: 1000;
}

/* Centrar el contenido dentro del lightbox */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8);
    align-content: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    margin-top: 0;
    margin-left: 0;
    background: white;
    background-image: url(https://img.freepik.com/vector-gratis/fondo-lineas-azules-curva-suave_1017-33718.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    width: 60%;
}

.lightbox-content img {
    max-width: 60%;
    height: auto;
}

.lightbox-content h2 {
    font-size: 1.2rem;
}
#menos, #mas, #addToCart{
  background-color: rgb(0, 100, 180);
  padding: 8px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  margin: 10px;
}
#quantity {
  font-size: 1.2rem;
  text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    background-color: white;
    border-radius: 10px;
    width: 30px;
}


/* Estilos wrap-de-productos */

.wrap {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  margin-top: 30px;
}

.wrap > h1 {
  color: #2c3e50;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0px;
  font-family: 'Montserrat', sans-serif;
}

.wrap > h1:after {
  content: '';
  width: 100px;
  height: 3px;
  background: #e74c3c;
  margin: 20px auto 0;
}

.store-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Mínimo 200px, ajusta según necesidad */
  gap: 20px; /* Espaciado entre productos */
  margin-top: 50px;
}

/* PRODUCTOS ============*/

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

/* Estilo de cada producto */
.product-item {
  background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
  border: 4px solid rgb(0, 100, 180);
    padding: 10px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}

.product-item img:hover {
  transform: scale(1.05);
}

.product-item strong {
  display: block;
  font-size: 1rem;
  color: #333;
  margin-top: 8px;
}

.product-item span {
  display: block;
  margin-top: 10px;
  font-size: 1em;
  text-transform: uppercase; /* Agregado para mayúsculas */
  color: #7f8c8d;
}

.product-item .product-category {
  color: #e67e22;
  font-size: 0.9em;
  text-transform: uppercase;
  font-weight: 500;
}

.product-item .product-price {
  font-size: 1.5em;
  color: rgb(0, 100, 180);
  font-weight: bold;
  margin-top: 10px;
}
/* 🔹 RESPONSIVE DESIGN */



@media screen and (max-width: 400px) {


  .back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #cb4400;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 30%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
  }
}


/* Estilos para el Card Summary */
.card-summary {
  position: fixed;
  top: 0;
  right: 15px;
  margin-top: 200px;
  background-color: #fff;
  border: 8px solid rgb(0, 100, 180); /* Ejemplo de borde con estilo y color personalizado */
  border-radius: 10px; /* Esquinas redondeadas */
  padding: 10px;
  z-index: 999;
  width: 600px;
  max-height: 80vh; /* Ajusta la altura máxima para que ocupe un 80% de la altura de la ventana */
  overflow-y: auto; /* Permite scroll vertical */
  }
  
  .cart-details {
    background-color: #f9f9f9;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-radius: 10px;
  }
  
  .cart-details ul {
    list-style: none;
    
    padding: 0;
  }
  
  .cart-details li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    
  }
  .cart-details img {
    height: 80px;
    width: 80px;
  }
  
  .cart-details button {
    background-color: #0079c9;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
  }
  

  
  #map {
    height: 400px; /* Ajusta la altura según tus necesidades */
    width: 100%;   /* Asegúrate de que el ancho sea adecuado */
  }
  
          /* Estilo para ampliar los campos de entrada */
          input[type="text"], input[type="email"], select {
            width: 100%; /* Ajusta este valor según tus necesidades */
            padding: 10px;
            margin-bottom: 10px;
            box-sizing: border-box;
        }
  

        #summary {
          background-color: white;
          height: 100% !important;
        }
  
        #sendOrderButton {
          display: block;
          width: 100%;
          padding: 10px;
          background-color: #4CAF50;
          color: white;
          border: none;
          cursor: pointer;
          text-align: center;
      }
      #sendOrderButton:hover {
          background-color: #45a049;
      }
  
    




#address {
  position: relative; /* Hace que el autocompletado se posicione correctamente */
  z-index: 1000; /* Asegurar que las sugerencias estén encima */
}

/* Evita que el fondo haga scroll cuando el formulario está activo */
body.modal-open {
  overflow: hidden;
}



/* Estilos generales para móviles */
@media only screen and (max-width: 768px) {
  body {
      margin-top: 100px;
      background-size: cover; /* Ajusta el fondo para que se adapte mejor en móviles */
  }

  /* Header */
  header {
      padding: 10px;
      background-size: cover;
      background-position: center;
      height: 160px;
  }
  .barraBlanca {
    display: none;
  }
  header img {
      max-width: 100px; /* Reduce el tamaño del logo */
  }
  header h2 {
      font-size: 1.2rem; /* Reduce el tamaño de la fuente */
  }

  /* Barra de navegación */
  .navbar {
      flex-direction: row; /* Cambia la dirección a columna */
      padding: 5px;
      border-radius: 0px 40px 0px 20px;
  }
  .search-bar input {
      padding: 8px;
  }

  .separador {
    margin-top: 160px;
  }

 


  
  /* Lightbox */
  .lightbox-content {
      width: 90%; /* Ajusta el ancho del contenido en móviles */
      padding: 15px;
  }
  .lightbox-content img {
      max-width: 90%;
  }

  /* Card Summary */
  .card-summary {
    position: fixed;
    top: auto;
    bottom: 0; /* Coloca el resumen del carrito en la parte inferior de la pantalla */
    margin-bottom: 2px;
    right: 10px;
    left: 10px; /* Ocupará casi todo el ancho del móvil */
    width: calc(100% - 20px); /* Ajusta el ancho para dejar un margen en los costados */
    background-color: rgb(255, 255, 255);
    padding: 15px;
    max-height: 70vh; /* Ajusta la altura máxima para que ocupe un 80% de la altura de la ventana */
    text-align: center; /* Centra el contenido */
    border-radius: 10px; /* Aumenta el borde redondeado */
    z-index: 10;
  }
  .cart-details li {
      flex-direction: column; /* Ajusta la dirección a columna */
      padding: 10px 0;
      font-size: 0.9rem; /* Reduce el tamaño de la fuente */
  }

  /* Notificación */
  .notification {
      width: 90%; /* Ajusta el ancho en móviles */
      height: 50% !important; /* Ajusta la altura */
      border-radius: 20px;
      font-size: 1.2rem; /* Reduce el tamaño de la fuente */
  }
}

.productosEnCarrito {
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: rgb(218, 218, 218);
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  padding: 0px 20px 0px 0px;
}


.google-btn {
  width: 100%;
  color: white;
  border: none;
  padding: 0px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 10px;
  text-align: right;
}
.google-btn button {
  border-radius: 15px;
  background-color: rgb(0, 98, 197);
  font-size: 14px;
  color: white;
  
}
.user-details-container {
  display: none;
  position: fixed;
  top: 60px;
  right: 5px;
  display: flex;
  flex-direction: column;
  background-color: rgb(255, 255, 255);
  padding: 40px;
  border-radius: 8px;
  z-index: 9999;
  max-width: 600px;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 0px 10px rgb(0, 81, 173);
  gap: 50px;
}

#comprasUser {
  left: 10px;
}

.compra-item {
  display: flex;
  flex-direction: row;
  background-color: #e4e4e4;
  justify-content: space-between;
  padding: 10px;
  
  box-shadow: 0px 0px 20px 0px rgb(0, 0, 0);
  overflow-x: scroll;
}


/* Estilo para el botón de ocultar */
.toggle-details-btn {
  background-color: #000000;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 20%;
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
  font-weight: bold;
}

.toggle-details-btn:hover {
  background-color: #cc0000;



}

/* Estilo para los botones adicionales */
.view-purchases-btn, .logout-btn {
  background-color: #0079c9;
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  margin-top: 0px;
  width: 100%;
}

.logout-btn {
  background-color: #000000;
}

.view-purchases-btn:hover, .logout-btn:hover {
  background-color: #45a049;
}

#barcode {
  margin-top: -80px;
  width: 95%;
}

/* Estilo de la foto de perfil */
#userPhoto {
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Estilo de los textos */
#userName, #userEmail {
  font-size: 18px;
  color: #333;
}

#userBalance {
  justify-content: center;
  align-content: center;
  background-color: black;
  width: 50%;
  height: 80px;
  font-size: 30px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 10px;
}

.user-details-container {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.user-details-container.oculto {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.listaDeCompras {
  display: flex;
  flex-direction: column-reverse;
}
.producto-item {
  display: flex;
  flex-direction: row;
}

.ticket-compra {
  background: white;
  border: 2px dashed black;
  padding: 15px;
  width: 300px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.ticket-tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.ticket-tabla th, .ticket-tabla td {
  border-bottom: 1px solid #ddd;
  padding: 5px;
  font-size: 14px;
}

.ticket-tabla th {
  background: #f5f5f5;
}

.total-final {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}


 
/*---------footer-----------*/
footer {
  
  border: 8px solid rgb(0, 100, 180); /* Ejemplo de borde con estilo y color personalizado */
  background-color: #ffffff;
  color: #000000;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 280px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  
}

.footer-info, .footer-contact, .footer-copy {
  margin-bottom: 10px;
}
.footer-info span {
  color:rgb(0, 100, 180);
}
.footer-info p, .footer-contact p, .footer-copy p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #000000;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

@media (min-width: 600px) {
  footer {
  
    margin-bottom: 80px;
  }
  .footer-container {
      flex-direction: row;
      justify-content: space-between;
  }

  .footer-info, .footer-contact, .footer-copy {
      margin-bottom: 0;
  }
}




/* Estilos para productos en oferta */
.product-item.oferta {
  border: 2px solid rgb(0, 100, 180);
  background-color: #51b9fe;
}

.offer-banner {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 50px;
}

.offer-banner img {
  width: 100%;
  height: auto;
  z-index: 10000 !important;

}

#pagarSaldo {
  background-color: rgb(125, 0, 0);
}
#pagarSaldo:hover {
  background-color: rgb(255, 0, 0);
}
 #pagarSaldo, #viewPurchasesBtn, #logoutBtn {
  font-weight: bold;
 }

#lightboxTransferencia {
  box-shadow: 0px 0px 0px 10px rgb(0, 10, 144);

}

#confirmacionTransferencia {
  box-shadow: 0px 0px 0px 10px rgb(0, 10, 144);

}

#lightbox-content2 {
  box-shadow: 0px 0px 0px 10px rgb(0, 10, 144);

}

/* Fondo oscuro del lightbox */
.lightbox1 {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Fondo oscuro transparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Contenedor del lightbox */
.lightbox-content1 {
  background: white;
  width: 400px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Botón de cerrar */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #d32f2f;
}

/* Estilos de la información bancaria */
.transferencia-info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.transferencia-info p {
  margin: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Botón copiar */
.transferencia-info button {
  background: #0288d1;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.transferencia-info button:hover {
  background: #01579b;
}

/* Input de referencia y archivo */
input[type="text"], 
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 2px solid #0288d1;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
}

/* Botón Confirmar */
.btn-confirmar {
  background: #2e7d32; /* Verde */
  color: white;
  font-size: 16px;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-confirmar:hover {
  background: #1b5e20;
}

/* Botón para abrir el Lightbox */
.btn-abrir {
  background: #ff9800;
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  transition: 0.3s;
}

.btn-abrir:hover {
  background: #e68900;
}

 


/* 🔹 Fondo oscuro detrás del formulario (para el efecto Lightbox) */
#userForm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 10000;
  
  /* Hacer que el formulario pueda desplazarse internamente */
  max-height: 90vh; /* Evita que sea más alto que la pantalla */
  overflow-y: auto; /* Activa el scroll solo dentro del formulario */
}

/* 🔹 Evitar que el fondo de la página haga scroll cuando el formulario está abierto */
body.no-scroll {
  overflow: hidden;
}

/* 🔹 Mejoras generales para inputs y selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 2px solid #0288d1;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
}

input:focus, select:focus {
  outline: none;
  border-color: #01579b;
}

/* 🔹 Contenedores de secciones */
#takeawayInfo, #personalInfo, #whatsappInfo, #addressInfo, #paymentInfo {
  background: #f1f8ff; /* Celeste claro */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  display: none; /* Se muestra dinámicamente */
}

/* 🔹 Botones */
.botonesForm {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.botonesForm button {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
  transition: 0.3s;
}

/* 🔹 Botón Atrás */
.botonesForm button:first-child {
  background: #d32f2f; /* Rojo */
  color: white;
}

.botonesForm button:first-child:hover {
  background: #b71c1c;
}

/* 🔹 Botón Siguiente */
.botonesForm button:last-child {
  background: #2e7d32; /* Verde */
  color: white;
}

.botonesForm button:last-child:hover {
  background: #1b5e20;
}

/* 🔹 Estilos para lista de locales */
#localAddresses {
  list-style: none;
  padding: 0;
}

#localAddresses li {
  background: white;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 🔹 Mapa */
#map {
  height: 300px;
  width: 100%;
  border-radius: 5px;
  margin-top: 10px;
  display: none;
}

/* 🔹 Responsivo */
@media (max-width: 500px) {
  #userForm {
      width: 95%;
      max-width: none;
  }

  .botonesForm {
      flex-direction: column;
  }

  .botonesForm button {
      margin-bottom: 10px;
  }
}

/* 🔹 Estilos base de la notificación */
.notification {
  position: fixed;
  top: 10px;
  right: -300px; /* Inicia fuera de la pantalla */
  background: #2e7d32; /* Verde */
  color: white;
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  z-index: 10000;
}

/* 🔹 Cuando se muestra */
.notification.show {
  right: 20px; /* Se desliza hacia la pantalla */
  opacity: 1;
  transform: scale(1.05);
}

/* 🔹 Cuando desaparece */
.notification.hidden {
  right: -300px;
  opacity: 0;
  transform: scale(0.9);
}

.pac-container {
  z-index: 10000 !important; /* Asegura que las sugerencias estén por encima de otros elementos */
}

.category-section {
  font-weight: bold;
  padding: 8px 12px;
  color: #555;
  background-color: #f0f0f0;
  border-top: 1px solid #ddd;
}

#myCarousel {
  transition: opacity 0.5s ease, max-height 0.5s ease;
  overflow: hidden;
  max-height: 600px; /* ajustá según el tamaño del carrusel */
  opacity: 1;
}

#myCarousel.hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

#barcode {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

