body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    height: 100%;
    width: auto;
    background-image: linear-gradient(to top, #bfc4c3, #ced2d3, #dfe1e2, #eff0f1, #ffffff);
}
.cuerpo-contenido{
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.contenido-central{
    height: auto;
}
a {
    text-decoration: none;
  }
.contenido-con-banners {
    display: grid;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 10px 0px;
    height: auto;
    width: auto;
  }
 
.tarjetas-container {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    gap: 35px;
    padding: 15px;
    border-radius: 10px;
    min-width: 1170px;
    min-height: 750px;
    background-image: radial-gradient(circle, #ff0000, #ff0a0a, #ff1312, #ff1919, #ff1f1f);
    position: relative;
  }
  #no-result {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px #ff3c3c, 0 0 10px #ff3c3c;
    display: none;
  }
  .tarjeta {
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.726);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 270px; 
    height: 335px;
    background-color: #ffffff;
  }
  .tarjeta img {
    width: 100%;
    height: 100%;
    max-height: 220px;  
    border-radius: 5px;
    object-fit: contain;
  }
  .tarjeta:hover {
    transform: scale(1.03);
  }
  .tarjeta h3 {
    font-size: 1.1em;
    font-family: 'Monoton', cursive;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
  }
  .tarjeta h4{
    font-size: 0.8em;
    font-family: 'Poppins', sans-serif;
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    background-image: linear-gradient(-20deg, #00cdac 0%, #10e763 100%);
  }
 #off{ 
    font-size: 0.8em;
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(to right, #e60d0d 0%, #ff7eb3 100%);
    letter-spacing: 2px;
    width: 100%;
    color: #ffffff;
    text-align: center;
  }

.tarjeta.standby {
  position: relative;
  filter: grayscale(0.7) brightness(0.8);
  pointer-events: none;
  transition: filter 0.4s ease-in-out;
}

.tarjeta.standby img {
  filter: blur(2px);
  transition: filter 0.4s ease-in-out;
}

.tarjeta.standby .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 0, 0, 0.363);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  z-index: 2;
  opacity: 0;
  animation: aparecerOverlay 0.8s ease forwards 0.3s;
  text-shadow: 0 0 5px #fff, 0 0 10px #00ffcc, 0 0 15px #00ffcc;
  animation: aparecerOverlay 0.8s ease forwards 0.3s, brilloNeon 2s infinite alternate;
}

@keyframes aparecerOverlay {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
  
}
@keyframes brilloNeon {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #0066ff, 0 0 15px #ff0095;
  }
  to {
    text-shadow: 0 0 10px #fff, 0 0 20px #0084ff, 0 0 30px #ff00c8;
  }}
  
.tarjeta.standby img {
  filter: blur(6px);
}
  
  .contenedor-banners {
    display: flex;
    justify-content: center;
    gap: 3px; 
  }
  .primero {
    position: relative;
    width: 100px;
    height: 150px;
    text-align: center;
  }
  
  .primero::before {
    content: "1";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 170px;
    font-weight: bold;
    color: #ff3c00;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.795);
  }
  
  .segundo {
    position: relative;
    width: 100px;
    height: 150px;
    text-align: center;
  }
  
  .segundo::before {
    content: "2";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    font-weight: bold;
    color: #f1e6e6;  /* Gris para representar el "2do lugar" */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  }
  .tercero {
    position: relative;
    width: 100px;
    height: 150px;
    text-align: center;
  }
  
  .tercero::before {
    content: "3";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: bold;
    color: #cd8032;  /* Color bronce para representar el "3er lugar" */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  }
  .cuarto{
    position: relative;
    width: 100px;
    height: 150px;
    text-align: center;
  }
  
  .cuarto::before {
    content: "4";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: bold;
    color: #10424f; 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  }
  .quinto{
    position: relative;
    width: 100px;
    height: 150px;
    text-align: center;
  }
  
  .quinto::before {
    content: "5";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: bold;
    color: #10424f; 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  }
  .nosotros {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.nosotros-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 15px 0;
  text-align: center;
}

.nosotros h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.nosotros h2 span {
  color: #e74c3c;
}

.nosotros p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
}

.nosotros .frase {
  font-style: italic;
  color: #555;
  background: #f0f0f0;
  padding: 15px;
  border-left: 5px solid #e74c3c;
  border-radius: 5px;
}

.nosotros .autor {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  color: #888;
}

.tecnologias h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.tecnologias ul {
  list-style-type: none;
  padding: 0;
}

.tecnologias li {
  background: #fff;
  margin: 8px 0;
  padding: 10px 15px;
  border-left: 4px solid #e74c3c;
  text-align: left;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.volver-inicio {
  margin-top: 40px;
}

.btn-volver {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-volver:hover {
  background-color: #c0392b;
}
  
  .seccion-productos-mas-vendidos {
    text-align: center;
  }
  
  .titulo-seccion {
    font-size: 24px;
    color: #000000;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
  }
  
  .mensaje-central {
    font-size: 16px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
  }
  .stock-info {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #181111;
  margin-top: 5px;
}
.quantity-select {
  width: 140px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #ffffff;
  color: #333;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quantity-select:hover,
.quantity-select:focus {
  border-color: #999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  outline: none;
}
  
  .estadisticas-central {
    font-size: 15px;
    color: #232829;
    font-weight: bold;
    margin-bottom: 20px;
    background: #f1f1f1;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    animation: fadeIn 1.5s ease-in-out;
  }
  
  /* Animación de entrada suave */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
 .transparent-on-scroll {
    opacity: 0.9;  /* Hace que el logo, texto y los items sean más transparentes */
    transition: opacity 0.3s ease-in-out; /* Suaviza la transición */
}
/* También puedes hacer la transición de la opacidad en los items del menú */
.transparent-on-scroll .items {
    opacity: 0.9;  /* Aplica opacidad a los items */
    transition: opacity 0.3s ease-in-out; /* Suaviza la transición */
}
  .etiqueta-superior.fuego {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff3c00;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    box-shadow: 0 0 10px #ff6a00, 0 0 20px #ff3c00, 0 0 30px #ff0000;
    animation: fuegoGlow 1s infinite alternate;
  }
  @keyframes fuegoGlow {
    0% {
      box-shadow:
        0 0 5px #ff6a00,
        0 0 10px #ff3c00,
        0 0 15px #ff0000;
      transform: translateX(-50%) scale(1);
    }
    100% {
      box-shadow:
        0 0 20px #ff6a00,
        0 0 40px #ff3c00,
        0 0 60px #ff0000;
      transform: translateX(-50%) scale(1.05);
    }
  }
  .etiqueta-superior.plata {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 75px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d8d8d8, #a9a9a9b4);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    display: inline-flex; /* Alinea el ícono y texto en línea */
    align-items: center;      
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.5);
    animation: brilloPlata 2s infinite alternate ease-in-out;
  }
  @keyframes brilloPlata {
    0% {
      box-shadow: 0 0 5px rgba(180, 180, 180, 0.3);
      transform: translateX(-50%) scale(1);
    }
    100% {
      box-shadow: 0 0 20px rgba(220, 220, 220, 0.7);
      transform: translateX(-50%) scale(1.03);
    }
  }
  .etiqueta-superior.bronce {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 75px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #cd8032, #a65b1a);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(180, 100, 50, 0.4);
    animation: brilloBronce 2s infinite alternate ease-in-out;
  }
  @keyframes brilloBronce {
    0% {
      box-shadow: 0 0 5px rgba(180, 100, 50, 0.2);
      transform: translateX(-50%) scale(1);
    }
    100% {
      box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
      transform: translateX(-50%) scale(1.03);
    }
  }
  .mencion-honorifica{
    position: absolute;
    top: 10px;
    left: 50%;
    width: 75px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #da8dad, #c991b3);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .etiqueta {
    position: absolute;
    width: 60px;
    top: 10px; /* distancia desde el borde superior */
    left: 50%;
    transform: translateX(-50%); /* centro horizontal exacto */
    background-color: rgba(255, 60, 60, 0.9);
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  
  .banner {
    width: 140px;
    height: 300px; 
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }
  
  .banner:hover {
    transform: scale(1.05);
  }
  
  .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    border-radius: 10px;
  }
  @keyframes slideInBottom {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

.card-products-container {
    text-align: center;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 30px 10px; 
    background-image: radial-gradient(circle, #ff0000, #ff0a0a, #ff1312, #ff1919, #ff1f1f);
}
.card-products {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.card{
    border-radius: 6px;
    overflow: hidden;
    width: 370px;
    background-color: #e9e6d0;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    cursor: default;
    transition: all 400ms ease;
}
.card h3{
    font-weight: 500;
    color: #181010;
    font-family: 'Poppins', sans-serif;
    
}
.card p {
    color: #333333;
}
.card-products img {
   width: 370px;
   height: 284px;
   object-fit: cover;
   object-position: center; 
}
.card-products button {
    display: inline-block;
    padding: 10px;
    margin-bottom: 10%;
    color: #2fb4cc;
    border: 1px solid #2fb4cc;
    border-radius: 4px;
    transition: all 400ms ease;
    width: 70%;
}
.card-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.cart-btn{
    position: fixed;
    bottom: 20px; /* más intuitivo para UX móvil */
    left: 20px;
    background: radial-gradient(circle, rgb(138, 228, 235) 0%, rgb(119, 228, 228) 40%, rgb(9, 52, 146) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(96, 106, 255, 0.767);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s ease-in-out;
    z-index: 1000;
}
.card-products button:hover {
    background: #2fb4cc;
    color: #fff;
}
.cart-btn:hover {
    transform: scale(1.1);
    background-color: #1f53e2;
}
.cart-btn.bounce {
    animation: bounce 0.4s ease;
}

@keyframes bounce {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.btn2{
    text-align: center;
    display: inline-block;
    padding: 5px;
    color: #2fb4cc;
    border: 1px solid #2fb4cc;
    border-radius: 4px;
    width: 30px;
    transition: all 400ms ease;
}
.modal-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.modal-container {
    display: none;
    background-color: #ffff;
    box-shadow: 0px 3px 6px #00000029;
    padding: 40px;
    position:fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 100%;
    z-index: 1050;
    max-height: 80vh;
    border-radius: 12px;
    overflow-y: auto;
}
.modal-container::-webkit-scrollbar {
    display: none;
}
.modal-close {
    float: right;
    cursor: pointer;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}
/* Modal Body */
.modal-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Producto */
.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.logo-nosotros {
    position: absolute;  
    top: 1%;  
    left: 47%;  
    object-fit: cover;
}

/* Imagen del producto */
.product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}

/* Información del producto */
.product-info {
  text-align: center;
  width: auto;
  padding: 0px 5px;
}

.product-info h4 {
  font-size: 15px;
  font-weight: bold;
}

/* Precio */
.product .price {
  min-width: 75px;
  text-align: right;
  font-weight: bold;
  padding: 0px 5px;
}

/* Controles de cantidad */
.quantity {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 5px;
  padding: 0px 10px;
}

/* Botones de aumentar/disminuir */
.quantity-btn-decrese,
.quantity-btn-increse {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  padding: 0;
}

/* Input de cantidad */
.quantity-input {
  width: 50px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  border: none;
  background: transparent;
}
@media only screen and (max-width: 500px) {
   
    }
   
.price {
    font-size: 20px;
    font-weight: lighter;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
}
.delete-product {
    margin-top: 20px;
    cursor: pointer;
    text-align: center;
}
.modal-footer{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
}
.total-price{
    font-size: 17px;
    font-weight: lighter;
    width: 150px;
}
.cart-counter{
    display: none;
    position: fixed;
    bottom: 52px; 
    left: 7px;
    color: #fff;
    text-align: center;
    background-color: #ff2003ec;
    padding: 4px;
    border-radius: 50%;
    height: 17px;
    width: 17px;
    font-size: 15px;
    z-index: 9999;
}
.cart-counter.hidden-behind {
  z-index: 0 !important;
}
#banner {
    display: flex;
    align-items: center;
    background-color: #fcff60bc;
    color: rgb(0, 0, 0);
    height: 100px;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 
    transition: background-color 0.3s ease; 
}
.items a{
    text-decoration: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    margin: 0px 5px;
    font-weight: 800;
    text-align: center;
    color: rgb(0, 0, 0);
}
.logo {
    height: 80px; 
    background: url(/logo/SaboresLogo.webp) no-repeat center center/cover;
    width: 80px;
    margin-left: 30px;
    object-fit: cover; 
}
.buscador-container {
    width: 100%;
    height: 100px; /* altura necesaria para contener ambos */
    position: relative;
    padding-top: 100px;

  }
  .buscador-container p {
    position: absolute;
    bottom: 10px;
    left: 65px;
    font-weight: 800;
    margin: 0;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
 }

   #buscador {
    width: 80%;
    max-width: 400px;
    bottom: 10px;
    right: 60px;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    position: absolute;
  }
  
  #buscador:focus {
    outline: none;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
  }
  .banner-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 50px; /* Más grande */
    margin: 0;
  }
  
  .banner-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin: 0px 0 0;
  }
  
  .black {
    color: #000;
  }
  
  .red {
    color: rgb(213, 49, 73)
  }

  .transparent-on-scroll {
    opacity: 1,2;
    transition: opacity 0.3s ease-in-out;
  }

.btn2:hover{
    background: #2fb4cc;
    color: #fff;
}
.card:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
}

.section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh; 
    padding: 40px 20px;
    box-sizing: border-box;
}
.btn-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  width: 500px;
}
.btn-primary {
    background-color: rgba(49, 145, 223, 0);
    color: rgba(0, 0, 0, 0.829);
    border: 1px solid rgba(19, 30, 68, 0.493);
    font-size: 15px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 200px;
    height: 50px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.icon {
    width: 19px;
    height: 19px;
}
.iconm {
    width: 16px;
    height: 15px;
}
.iconb {
    width: 19px;
    height: 17px;
}
.iconn {
    width: 23px;
    height: 21px;
}
.btn-primary:hover {
    background-color: #010c1acc;
    border: 1px solid rgba(5, 87, 155, 0.699);
    color: rgba(224, 238, 237, 0.829);
}
#button-checkout{
    z-index: 10;
}

.container {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    grid-template-rows: 1fr;
    grid-auto-rows: 1fr;
    gap: 10px 10px;
  }
.footer{
    margin-top: 20px;
    width: 100%;
    height: 100%;
    background-color: #ff7eb3;
}

@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');

.footer {
  background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
  color: #ccc;
  padding: 40px 30px;
  font-family: sans-serif;
  width: auto;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  width: auto;
  margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    width: 180px;  
}
.footer-logo .letras{
    font-family:'Times New Roman', Times, serif;
    font-size: 2.1rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: rgb(213, 49, 73);
    margin-top: 10px; 
}

.footer-logo img {
    width: 100%; 
    object-fit: contain; 
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;       
  text-align: center;        
}
  .imagen-wsap img {
  width: 120px;
  height: 120px;
  padding-rigth: 10px;
  object-fit: cover;  
  border-radius: 10px;

}

.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ff0000bb;
}

.social-icons a {
  font-size: 24px;
  color: #ccc;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff0000bb;
}

/* Newsletter */
.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter input[type="email"] {
  padding: 10px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 10px;
  background-color: #bc0707dd;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0ms 0.1s;
}

.footer-newsletter button:hover {
  background-color: #e60000;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-newsletter form {
    align-items: center;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
  }
}
.rating {
    margin: 10px 0;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    display: flex; /* Cambiado de inline-flex */
    justify-content: center; /* Centrado horizontal */
    align-items: center;
  }
 .average-text{
    display: none;
 }
  
  .rating .star {
    transition: color 0.2s;
  }
  
  .rating .star.selected {
    color: gold;
  }
  
  .rating .average-text {
    font-size: 16px;
    margin-left: 8px;
    color: white;
  }

  .card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    margin: 5px 5px 0 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  /* Botón Agregar al Carrito */
  .card button.add-to-cart {
    background-color: #00a650;
    color: white;
  }
  
  .card button.add-to-cart:hover {
    background-color: #007e3f;
    transform: scale(1.05);
  }
  
  /* Botón Comprar con Mercado Pago */
  .card button.buy-now {
    background-color: #2d89e5;
    color: white;
  }
  
  .card button.buy-now:hover {
    background-color: #1b5fa2;
    transform: scale(1.05);
  }
  
  /* Ícono en botón */
  .filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 0px;
    flex-wrap: wrap;
    margin-left: 25px;
  }
  
  .filter-btn {
    background-color: #61848a;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .filter-btn:hover {
    background-color: #666;
  }
  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
  }
  
  @media only screen and (max-width: 500px) {
    body {
      padding: 0;
      overflow-x: hidden;
    }
  
    .cuerpo-contenido {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      width: 100%;
    }
  
    .contenido-con-banners,
    .card-products,
    .footer-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    .logo-nosotros {
    position: absolute;  
    top: 1%;  
    left: 41%;  
    object-fit: cover;
    }
  
    .tarjetas-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* ✅ 2 tarjetas por fila */
      min-width: 100%;
      padding: 10px 0;
      gap: 15px;
      margin: 0 auto;
      padding: 10px 20px;
      justify-items: center; 
      box-sizing: border-box; 
    }

  
    .tarjeta {
      width: 100%;       
      max-width: 200px;  
      height: 280px;
    }
  
    .tarjeta img {
      height: 160px;
      width: 100%;
    }
    .tarjeta h3{
      font-size: 12px;
      width: auto;
      min-height: auto;
    }
    .tarjeta h4{
        font-size: 11px;
        width: 100%;
    }
    #off{
      font-size: 11px;
    }
    .contenedor-banners {
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }
  
    .primero,
    .segundo,
    .tercero,
    .cuarto,
    .quinto {
      width: 80px;
      height: 120px;
    }
  
    .card-products-container {
      padding: 20px 10px;
    }
  
    .card {
      width: 90%;
    }
  
     .card-products img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center; 
    }
  
    .cart-btn {
      left: 15px;
      bottom: 15px;
      width: 45px;
      height: 45px;
      font-size: 20px;
    }
  
    #banner {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap;
      width: 100%;
      height: 80px;
    }
  
    .logo {
      display: block;
      width: 65px;
      height: 65px;
      margin: 0 auto;
    }
  
    .titulo-banner {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;      /* Centra contenido horizontalmente */
      text-align: center;       /* Centra texto */
      margin: 0 auto;
    }
  
    .titulo-banner h1 {
      margin: 0;
      font-family: 'Bebas Neue', sans-serif;
      text-align: center;
    }
  
    .titulo-banner p {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      font-size: 9px;
      font-weight: 600;
    }
    #banner .titulo-banner h1 {
      font-size: 34px !important;
    }
  
    #banner .titulo-banner p {
      font-size: 20px !important;
    }

  /* Mostrar botón hamburguesa */
  .menu-toggle {
    display: block;
    margin: 0 auto;
  }

  /* Ocultar menú por defecto */
    .items {
    display: none;
    position: absolute;  /* para superponerlo */
    top: 80px;  /* ajustá según altura banner */
    right: 0px;
    padding: 10px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  /* Mostrar menú al activar clase 'show' */
  .items.show {
    display: flex;
    background-color: #fcff60bc;
  } 
  
    .banner-left {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      flex: 1;
    }
  
    .buscador-container {
      display: flex;
      flex-direction: column;
      align-items: center;       /* Centra ambos elementos */
      gap: 15px;                 /* Espacio entre texto y buscador */
      padding: 40px 20px 20px;   /* Espacio superior + laterales */
      width: auto;
      padding-top: 150px;
      box-sizing: border-box;

    }
    
    .buscador-container p {
      font-size: 17px;
      width: 300px;
      left: auto;
      text-align: center;
    }
    
    #buscador {
     display: none;
    }
    .modal-title{
      color: #272424;
       font-family: 'Poppins', sans-serif;
    }
  
     .modal-container {
    width: 90%;
    max-height: 90vh;
    padding: 10px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-body {
    font-size: 14px;
    width: auto;
    font-family: 'Poppins', sans-serif;
    color: #272424;
  }
    .product {
     display: flex;
     align-items: start;
     justify-content: start;
     border-bottom: 1px solid #ddd;
      width: 100%;
     
}
.btn-group {
  display: flex;
  flex-direction: row;
  gap: 2px;
  justify-content: center;
  width: 370px;
}
.btn-primary {
    background-color: rgba(49, 145, 223, 0);
    color: rgba(0, 0, 0, 0.829);
    border: 1px solid rgba(19, 30, 68, 0.493);
    font-size: 12px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 110px;
    height: 35px;
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 17px;
    height: 17px;
}
.iconm {
    width: 14px;
    height: 13px;
}
.iconb {
    width: 17px;
    height: 15px;
}
.iconn {
    width: 21px;
    height: 18px;
}

  .product-img {
    width: 50px;
  height: 45px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  max-width: 100%;       /* Evita que se desborde si el contenedor cambia */
  max-height: 100%;      /* Lo mismo para altura */
  }
  .product-info{
    min-width:  90px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #272424;
  }

  .product-info h4{
    font-family: 'Poppins', sans-serif;
     font-size: 12px !important;
  }


  .modal-container .price {
    font-size: 13px;
    color: #272424;
    text-align: center;
    width: 85%;
    font-family: 'Poppins', sans-serif;
  }

  .quantity {
    max-width: 40px;
    max-height: 20px;
    gap: 6px;
    padding: 0px 7px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #272424;
    font-size: 10px !important;
    
  }
  .delete-product {
    cursor: pointer;
    text-align: center;
    align-items: center;
    width: 90%;
}

  .total-price {
    color: #272424;
    font-family: 'Poppins', sans-serif;
    width: 100%;
  }


    .container {
      grid-template-columns: 1fr;
    }
  
    .footer {
      padding: 20px 10px;
    }
  
    .footer-logo img {
     height: 100%;
     width: 100%;
     object-fit: contain; 
    }
  
    .banner {
      width: 90%;
      height: auto;
    }
  
    .banner-content h1 {
      font-size: 28px;
    }
  
    .banner-content p {
      font-size: 16px;
    }
  
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
    margin: 0 auto;         /* 🟢 centrado respecto al contenedor padre */
  }

.contenedor-banners{
display: none; 
}

  .filter-btn {
    flex: 1 1 45%;
    max-width: 160px;
    min-width: 120px;
    padding: 8px;
    margin: 5px;
    text-align: center;
  }

  .card-products-container {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
  }

  .filter-btn:hover {
    background-color: #4f6e72;
  }

  .footer-newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;       
  text-align: center;        
}
  .imagen-wsap img {
  width: 120px;
  height: 120px;
  object-fit: cover;  
  border-radius: 10px;
}
 }
  @media only screen and (max-width: 375px) {
    .add-to-cart {
      width: auto;
    }
    .buy-now{
      width: auto;
      font-size: 11px !important;
    }
     .add-to-cart{
      width: auto;
      font-size: 11px !important;
    }
    .filter-btn{
     flex: 1 1 25%;
     max-width: 150px;
     min-width: 100px;
     padding: 8px;
     margin: 5px;
     text-align: center; 
    }
    .menu-toggle{
      width: 25px;
    }
   
     #banner .titulo-banner h1 {
      font-size: 33px !important;
    }
    .logo{
      width: 50px;
      height: 50px;
    }
  }

 @media only screen and (max-width: 337px) {
      .product-img{
        display: none;
      }
    }