/* =========================
   BOTONES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 5px;              /*BOTON AGREGAR */
  font-size: 10px;   /* 🔥 tamaño de la palabra AGREGAR */
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.btn-primary {
  background: #7A0B12;
  color: #fff;
}

.btn-outline {
  border: 2px solid #7A0B12;
  color: #7A0B12;
  border-radius: 50px;
  padding: 12px 26px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #7A0B12;
  color: white;
}

/* =========================
   NAV RESPONSIVO PROFESIONAL
========================= */
.nav {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;

}


.nav__link {
  display: inline-block;
  color: #F7F3EE;
  font-size: 12px;   /* más pequeño */
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav__link:hover {
  opacity: .8;
}

.nav__link--active {
  text-decoration: underline;
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

/* =========================
   CARDS
========================= */
.card {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  transition: transform .35s ease, filter .35s ease;
  transform-origin: center;
}

/* =========================
   GRID SOLO PARA DESTACADOS
   (no afecta otras grids)
========================= */
.grid--premium{
  grid-template-columns: repeat(3, 1fr);
  align-items: start;   /* 🔥 evita que se estiren todas */
}

/* Mantener las 3 cards horizontales incluso en móvil */
@media (max-width: 900px){
  .grid--premium{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/*ACA MODIFICAMOS LAS CARDS*/

.home .card--premium {
  background: linear-gradient(160deg, #ffffff, #fdf2f2);
  border: 1px solid rgba(122, 11, 18, 0.25);
  border-radius: 22px;

  padding: 5px;     /* 🔥 espacio interno */
  height: 180px;      /* 🔥 elimina altura forzada */
  min-height: auto;  /* 🔥 elimina estiramiento */
}

/*ACA MODIFICAMOS EL TITULO */

.home .card--premium h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

/*ACA MODIFICAMOS TEXTO DE LAS CARDS DE DESTACADOS*/

.home .card--premium p {
  font-size: 11px;
  line-height: 1.3;
}
.home .card__benefits {
  font-size: 5px;   /* 🔥 aquí controlas los textos con ✓ */
  line-height: 1.5;
}

.home .card--premium .card__image {
  height: 80px;     /* 🔥 baja un poco la altura */
  overflow: hidden;
  border-radius: 16px; /* 🔥 iguala el redondeo interno */
}

.home .card--premium .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px; /* 🔥 evita que sobresalga */
  transition: transform .4s ease, filter .4s ease;
}

/*.card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 🔥 muestra la imagen completa */
  /*background: #fff;      /* 🔥 evita espacios feos */
/*}*/

/* =========================
   WHATSAPP
========================= */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25D366;
  color: #111;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 999;
}

/* =========================
   CARRITO EN NAV
========================= */
/*ACA CONTROLAMOPS TAMAÑOS*/

.nav__cart {
  font-size: 10px;        /* tamaño icono */
  text-decoration: none;
  color: #F7F3EE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__cart svg {
  width: 10px;   /* tamaño icono */
  height: 30px;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: -5px;
  background: #D4AF37;
  color: #000000;
  font-size: 3px;
  font-weight: bold;
  padding: 1px 2px;
  border-radius: 50px;
  display: none;
}

/* =========================
   MENU HAMBURGUESA
========================= */
/*.menu-toggle {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
}*/

/* =========================
   RESPONSIVE MÓVIL
========================= */
@media (max-width: 768px) {
  .brand-bar {
    height: auto;
    padding: 10px 0;
  }

  .brand-container {
    flex-direction: column;
    gap: 6px;
  }

  .nav {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .nav__link {
    font-size: 12px;
  }

  /* 🔥 AGREGAR DESDE AQUÍ */

  .grid:not(.grid--premium) {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    flex-direction: column;
    height: auto;
  }

  .hero-video {
    width: 100%;
    height: 200px;
  }

}

/* =========================
   MENÚ MÓVIL DEFINITIVO
========================= */

/*.brand-bar {
  position: relative;
}*/

/*.mobile-menu {
  display: none;

  position: absolute;   /* depende del header */
  /*top: 100%;
  right: 0;
  width: 240px;

  background: #000;
  padding: 20px;
  border-radius: 12px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.45);

  flex-direction: column;
  gap: 14px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s ease;

  z-index: 9999;
}*/

/*.mobile-menu.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}*/

/*.mobile-menu a:hover {
  opacity: 0.8;
}*/

/*.mobile-menu {
  right: 0;
}*/

/*.mobile-menu__explorer-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}*/

/*.mobile-menu__arrow {
  font-size: 11px;
  margin-left: 8px;
  transition: transform .2s ease;
}*/

/*.mobile-menu__explorer-toggle.open .mobile-menu__arrow {
  transform: rotate(180deg);
}*/

/*.mobile-submenu {
  display: none;
  margin-top: 4px;
  margin-left: 10px;
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 10px;
*/}

/*.mobile-submenu.show {
  display: flex;
  flex-direction: column;
  gap: 6px;
}*/

/*.mobile-submenu a {
  font-size: 12px;
  color: rgba(255,255,255,.92) !important;
}*/


/* =========================
   ANIMACIÓN EN IMÁGENES DE LOS CUADROS
========================= */

.home .card--premium:hover .card__image img {
  transform: scale(1.12);
  filter: saturate(1.05);
}

/* =========================
   ICONOS PROFESIONALES NAV
========================= */
.nav__cart svg
/*.menu-toggle svg*/ {
  display: block;
}

/* COLOR DEL CARRITO */
.nav__cart svg {
  stroke: #ffffff;
}

/* hamburguesa negra */
/*.menu-toggle svg {
  stroke: #111;
}*/


/* =========================================
   OCULTAR HAMBURGUESA SOLO EN INDEX
========================================= */

/*.home .menu-toggle {
  display: none !important;
}*/
/* ================================
   CART PANEL GLOBAL MEJORADO
================================ */ 
.cart-panel-global {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 25%; /*ACA CONTROLAMOS EL ANCHO DE LA VENTANA DEL CARRITO */
  max-height: 70vh;/*ACA CONTROLAMOS LA ALTURA DE LA VENTANA DEL CARRITO */
  background: #fff;
  box-shadow: -8px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .3s ease;
  border-radius: 18px 0 0 18px;
  overflow-y: auto;
}

.cart-panel-global.active {
  transform: translateX(0);
}

/* Header */
.cart-panel-header {
  padding: 18px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-panel-header h3 {
  font-size: 10px;
  margin: 0;
}

.cart-panel-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* Scroll interno elegante */
#cartPanelItems {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

/* Secciones internas más compactas */
.cart-panel-global h4 {
  font-size: 5px;       /*ENTREGA MODIFICAMOS TAMAÑO*/
  margin: 12px 15px 8px;
} 

.cart-panel-global label {
  font-size: 5px;           /* MODIFICAMOS TAMAÑO A DOMICILIO EFECTIVO ETC */
}

.delivery-zone-wrapper select {
  font-size: 5px;               /* MODIFICA LA PARTE DE LA ZONA DE ENTREGA DEL DOMICILIO*/
  padding: 6px;
}

/* Footer fijo siempre visible */
.cart-panel-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  background: #fff;
  position: relative;   /* 🔥 quitar sticky */
}

.cart-panel-footer button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  font-size: 5px;
}

/* =========================================
   MODAL PRODUCTOS AGREGADOS
========================================= */

.products-modal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.products-modal-item__name {
  font-size: 5px;
}

.products-modal-item__price {
  font-size: 2px;
  font-weight: 600;
}

.products-modal-item__remove {
  background: transparent;
  border: none;
  color: #7A0B12;
  cursor: pointer;
  font-size: 13px;
}
/* =========================================
   CONTROL INTERNO PRODUCTOS DEL CARRITO
========================================= */

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;     /* TODO SE AJUSTA AL TAMAÑO DE LA VENTANA */
  gap: 5px;
  padding: 1.5px 0;
  border-bottom: 1px solid #e5e5e5;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
}

.cart-item__name {
  font-size: 5px;        /* 🔥 nombre producto */
  font-weight: 100;
}

.cart-item__meta {
  font-size: 5px;        /* 🔥 peso / variante */
  opacity: 0.7;
}

.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
}

.cart-item__price {
  font-size: 5px;        /* 🔥 precio */
  font-weight: 100;
}

.cart-item__remove {
  background: #7A0B12;
  color: #fff;
  border: none;
  padding: 2px 5px;      /* 🔥 tamaño botón */
  border-radius: 14px;
  font-size: 4px;
  cursor: pointer;
  transition: 0.2s ease;
}

.cart-item__remove:hover {
  background: #a3121b;
}

/* =========================
   CONTACTO - ESTILO PREMIUM
========================= */

.contact-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}
.contact-map iframe {
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}
/* =========================================
   MINI SLIDER UNA SOLA IMAGEN
========================================= */

.mini-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
  width: 100%;
}

.mini-slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.mini-slider-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.mini-item {
  min-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.mini-item img {
  width: 100%;
  height: 180px;      /* altura fija igual para todos */
  object-fit: cover;  /* rellena el espacio */
  object-position: center;
  border-radius: 12px;
}

.mini-item span {
  font-size: 14px;
  font-weight: 600;
}

.mini-btn {
  background: #7A0B12;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: 0.2s ease;
}

.mini-btn:hover {
  background: #a3121b;
}

/* =========================
   REEMPLAZO STYLES INLINE
========================= */

.delivery-zone-wrapper {
  margin: 8px 0 12px 15px;
}

.qr-container {
  display: none;
  margin-top: 10px;
  text-align: center;
}
.qr-container.show {
  display: block;
}

.qr-image {
  width: 50px;          /*ACA MODIFICAMOS TAMAÑO DEL QR*/
  border-radius: 12px;
}

.products-modal {
  display: none;
  position: absolute;
  top: 120px;
  right: 40px;
  width: 320px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  z-index: 10000;
  animation: fadeIn .2s ease;
}

.products-modal-title {
  margin-top: 0;
  font-size: 14px;
  font-weight: 600;
}

.products-modal-list {
  max-height: 260px;
  overflow-y: auto;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.products-modal-footer {
  text-align: right;
  margin-top: 15px;
}

.products-modal-close {
  padding: 8px 16px;
  border: none;
  background: #7A0B12;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-icon {
  width: 22px;
  height: 22px;
}
/* ======================================
   CONTROL UNIVERSAL BUSCADOR
====================================== */
/*TAMAÑOS*/

.search-control {
  display: flex;
  gap: 2px;
}

.search-control input {
  flex: 1;
  height: 10px;
  padding: 0 2px;
  font-size: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.92);
}

.search-control button {
  height: 10px;
  padding: 0 2px;
  font-size: 7px;
  border-radius: 999px;
  border: 0.5px solid #fff;
  background: rgba(0,0,0,.2);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-control button:hover {
  background: #7A0B12;
}

/* =========================================
   FOOTER CONTROL TOTAL
========================================= */

.site-footer {
  background: #000;              /* 🔥 color banda negra */
  color: #fff;                   /* 🔥 color texto general */
  padding: 0px 0;               /* 🔥 alto de la banda */
}

.footer-container {
  width: 92%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 7px;               /* 🔥 tamaño títulos */
  margin-bottom: 5px;
}

.footer-col p {
  font-size: 4px;               /* 🔥 tamaño textos */
  margin-bottom: 2px;
}

.footer-col a {
  display: block;
  font-size: 5px;               /* 🔥 tamaño links */
  color: #1100fa;                /* 🔥 color Política y Términos */
  text-decoration: none;
  margin-bottom: 2px;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #E5C46A;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 10px;
  opacity: 0.7;
}

/* ==============================
   SECCIÓN ENTREGA Y PAGO
============================== */

/*.cart-section {
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.cart-section h3 {
  font-size: 2px;
  margin-bottom: 1px;
}

.cart-section label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1px;
  margin-bottom: 10px;
  cursor: pointer;
}

.cart-section select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}*/

/* ==============================
   TOTAL
============================== */

.cart-total {
  font-size: 2px;
  font-weight: 80;
  margin-top: 20px;
}

/*ACA SE MODIFICA LAS CARDS DE PRODUCTOS*/

.category-box {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.category-header h2 {
  margin: 0;
}

/* ==================================
   CONTROL CANTIDAD MODAL
================================== */

.modal-card input[type="number"] {
  width: 12px;      /* 🔥 ancho */
  height: 6px;      /* 🔥 alto */
  font-size: 10px;   /* 🔥 tamaño número */
  border-radius: 20px;
}

.modal-card button[data-inc],
.modal-card button[data-dec] {
  width: 50px;      /* ancho */
  height: 60px;     /* alto */
  font-size: 28px;  /* tamaño símbolo */
  border-radius: 20px;
}