/* ============================================================
   PRODUCTOS CARMENCHU — Frontend "El sabor que prende tus comidas"
   Rediseño visual del home (mockup aprobado) + páginas internas.
   ============================================================ */
:root{
  --red:#D6231B;
  --red-dark:#B81D16;
  --yellow:#F5B91E;
  --dark:#0E0B09;        /* fondo principal oscuro premium */
  --dark-2:#171210;      /* tarjetas/bandas sobre oscuro */
  --dark-3:#211A16;
  --ink:#1B1B1B;         /* texto sobre claro */
  --cream:#F6F1E9;       /* fondo claro */
  --paper:#FFFFFF;
  --line:#E8E0D4;
  --muted:#8A8178;
  --shadow:0 14px 34px rgba(14,11,9,.12);
  --radius:16px;
  /* ---- Tipografía ----
     display  → titulares con presencia, anchos y legibles
     body     → lectura cómoda en cualquier tamaño
     accent   → etiquetas, kickers y datos cortos en mayúsculas */
  --font-display:'Archivo Black','Arial Black',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-accent:'Barlow Condensed','Inter',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--ink);background:var(--cream);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(1180px,92%);margin:0 auto}
.t-center{text-align:center}
.t-left{text-align:left}

/* ---------- Botones ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--font-accent);font-weight:700;font-size:15px;letter-spacing:1px;text-transform:uppercase;text-decoration:none;border:none;cursor:pointer;border-radius:999px;padding:13px 26px;transition:.25s}
.btn-ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-red{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(214,35,27,.35)}
.btn-red:hover{background:var(--red-dark);transform:translateY(-2px)}
.btn-yellow{background:var(--yellow);color:var(--ink)}
.btn-yellow:hover{filter:brightness(1.06);transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000;transform:translateY(-2px)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55)}
.btn-outline:hover{border-color:#fff}
.btn-outline-yellow{background:transparent;color:#fff;border:1.5px solid var(--yellow)}
.btn-outline-yellow:hover{background:var(--yellow);color:var(--ink)}
.btn-outline-dark{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.btn-outline-dark:hover{background:var(--ink);color:#fff}
.btn-outline-gray{background:transparent;color:#666;border:1.5px solid #ccc}
.btn-lg{padding:15px 30px;font-size:14px}
.btn-sm{padding:9px 16px;font-size:11px}
.btn-xs{padding:7px 14px;font-size:10.5px}
.btn-header{padding:11px 20px;font-size:12px}
.btn-cart{width:auto}

/* ---------- Encabezados de sección ---------- */
.eyebrow{display:block;text-align:center;font-family:var(--font-accent);font-size:14px;font-weight:700;letter-spacing:1.8px;color:var(--red);margin-bottom:8px}
.eyebrow.t-left{text-align:left}
.section-title{font-family:var(--font-display);font-size:clamp(27px,3.7vw,38px);letter-spacing:-.4px;text-transform:uppercase;line-height:1.16;color:var(--ink)}
.section-title em{color:var(--red);font-style:normal}
.section-title.t-ondark{color:#fff}
.section-title-sm{font-family:var(--font-display);font-size:clamp(19px,2.6vw,24px);text-transform:uppercase;letter-spacing:-.2px;line-height:1.25}
.section-sub{color:#6d655c;line-height:1.75;margin:14px 0 22px;font-size:15.5px}
.hl-yellow{color:var(--yellow);font-weight:800}

/* ---------- Animaciones reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{position:sticky;top:0;z-index:100;background:rgba(14,11,9,.96);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;gap:26px;padding:10px 0}
.brand img{height:58px;width:auto;transition:.25s}
.main-nav{display:flex;gap:24px;margin-left:auto}
.main-nav a{color:#E9E2D9;text-decoration:none;font-family:var(--font-accent);font-size:16px;font-weight:600;letter-spacing:1px;padding:8px 0;position:relative;transition:.2s}
.main-nav a:hover{color:#fff}
.main-nav a.is-active{color:var(--red)}
.main-nav a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background:var(--red);border-radius:2px}
.header-actions{display:flex;align-items:center;gap:8px}
.icon-btn{background:none;border:none;cursor:pointer;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:.2s;color:#E9E2D9;text-decoration:none}
.icon-btn:hover{background:rgba(255,255,255,.08);color:#fff}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cart-btn{position:relative}
.cart-count{position:absolute;top:-2px;right:-4px;background:var(--red);color:#fff;font-size:10px;font-weight:800;min-width:17px;height:17px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.nav-toggle{display:none}
.search-bar{display:none;background:var(--dark-2);border-top:1px solid rgba(255,255,255,.06);padding:14px 0}
.search-bar.is-open{display:block}
.search-bar form{display:flex;gap:10px}
.search-bar input{flex:1;border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;padding:11px 18px;font:inherit}
.search-bar input::placeholder{color:#9a9189}
.search-bar input:focus{outline:none;border-color:var(--red)}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative;background:var(--dark);color:#fff;overflow:hidden}
.hero-slide{display:none;position:relative;min-height:560px}
.hero-slide.is-active{display:block;animation:heroFade .8s ease}
@keyframes heroFade{from{opacity:0}to{opacity:1}}
/* Imagen del slide a pantalla completa del hero, recargada a la derecha */
.hero-bg{position:absolute;inset:0;z-index:1}
.hero-bg img,.hero-bg video{width:100%;height:100%;object-fit:cover;object-position:center right}
/* Sombra: oscurece la izquierda para que el texto siempre se lea + base para la barra de beneficios */
.hero-shade{position:absolute;inset:0;background:
  linear-gradient(90deg, rgba(14,11,9,.96) 0%, rgba(14,11,9,.86) 28%, rgba(14,11,9,.35) 52%, rgba(14,11,9,0) 70%),
  linear-gradient(0deg, rgba(14,11,9,.92) 0%, rgba(14,11,9,0) 26%),
  linear-gradient(180deg, rgba(14,11,9,.55) 0%, rgba(14,11,9,0) 18%)}
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;min-height:560px;padding:40px 0 110px}
.hero-content{max-width:480px}
.hero-title{font-family:var(--font-display);font-size:clamp(36px,4.9vw,58px);line-height:1.08;letter-spacing:-.8px;text-transform:uppercase;text-shadow:0 4px 24px rgba(0,0,0,.55)}
.hero-title span{display:block}
.hero-title .t-white{color:#fff}
.hero-title .t-red{color:var(--red);text-shadow:0 0 34px rgba(214,35,27,.55)}
.hero-sub{margin:20px 0 26px;color:#E2D9CF;font-size:16px;line-height:1.65;max-width:420px;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:118px;display:flex;gap:8px;z-index:5}
.hero-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.3);cursor:pointer;transition:.2s}
.hero-dots button.is-active{background:var(--red);width:22px;border-radius:999px}
.hero-dots button.is-ghost{display:none}
/* Barra de beneficios montada sobre la imagen, al pie del hero */
.hero-features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;border-top:1px solid rgba(255,255,255,.14);padding:20px 0 24px;position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:min(1180px,92%);z-index:4}
.feature{display:flex;align-items:center;gap:12px}
.feature-ico{width:42px;height:42px;border:1.5px solid rgba(255,255,255,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.feature-ico svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feature strong{display:block;font-family:var(--font-accent);font-weight:700;font-size:14px;letter-spacing:.8px;text-transform:uppercase;color:#fff}
.feature span{font-family:var(--font-accent);font-size:13px;color:#A99F94;text-transform:uppercase;letter-spacing:.6px}

/* ============================================================
   PRODUCTOS (home)
   ============================================================ */
.products-section{padding:72px 0 80px;position:relative}
.deco-chiles{position:relative}
.deco-chiles::before{content:"🌶️";position:absolute;font-size:54px;left:-8px;top:34px;transform:rotate(-30deg);opacity:.85}
.deco-chiles::after{content:"🌿";position:absolute;font-size:50px;right:-4px;top:60px;transform:rotate(20deg);opacity:.85}
.products-carousel{position:relative;margin:36px 0 10px}
.products-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4*18px)/5);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:4px}
.products-track::-webkit-scrollbar{display:none}
.products-track .product-card{scroll-snap-align:start}
.products-carousel .car-arrow{position:absolute;top:42%;transform:translateY(-50%);z-index:6;background:var(--red);border-color:var(--red);box-shadow:0 8px 20px rgba(214,35,27,.35)}
.products-carousel .car-arrow svg{stroke:#fff}
.products-carousel .car-arrow:hover{background:var(--red-dark)}
.products-carousel .car-prev{left:-16px}
.products-carousel .car-next{right:-16px}
.product-card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s ease, box-shadow .3s ease}
.product-card:hover{transform:translateY(-8px);box-shadow:0 24px 44px rgba(14,11,9,.18)}
.product-img{display:block;overflow:hidden;aspect-ratio:1.05/1;background:#181210}
.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-img img{transform:scale(1.07)}
.product-body{padding:16px 14px 18px;display:flex;flex-direction:column;gap:7px;flex:1;text-align:center}
.product-card h3{font-family:var(--font-accent);font-weight:700;font-size:17px;letter-spacing:.5px;line-height:1.25;text-transform:uppercase}
.product-desc{font-size:12px;color:#857c72;line-height:1.5;flex:1}
.product-pres{font-size:12px;color:#999}
.product-price{font-family:var(--font-display);font-size:18px;color:var(--red);letter-spacing:-.2px}
.product-price small{font-family:var(--font-body);font-size:11px;color:#999;font-weight:600}
.product-actions{display:flex;gap:8px;justify-content:center;margin-top:6px}
.product-actions .btn{flex:1}
.btn-cart-sq{width:38px;height:38px;border:1.5px solid var(--line);background:#fff;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s;flex-shrink:0}
.btn-cart-sq svg{width:17px;height:17px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.btn-cart-sq:hover{background:var(--red);border-color:var(--red)}
.btn-cart-sq:hover svg{stroke:#fff}
.btn-cart{padding:10px}
.btn-cart svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}

/* ============================================================
   RECETAS (home, banda oscura)
   ============================================================ */
.recipes-section{background:radial-gradient(900px 400px at 8% 80%, #2A160E 0%, var(--dark) 60%);color:#fff;padding:64px 0;position:relative;overflow:hidden}
.recipes-section::before{content:"🔥";position:absolute;left:2%;bottom:8%;font-size:46px;opacity:.6}
.recipes-grid{display:grid;grid-template-columns:240px 1fr;gap:34px;align-items:center;position:relative}
.recipes-head .section-title{color:#fff}
.recipes-head .section-sub{color:#B8AEA3}
.recipes-track{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;align-items:stretch}
.recipes-track::-webkit-scrollbar{display:none}
.recipe-card{border-radius:14px;overflow:hidden;background:#fff;scroll-snap-align:start;transition:transform .3s;height:100%}
.recipe-card:hover{transform:translateY(-6px)}
.recipes-track .recipe-card > a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.recipe-card img{width:100%;aspect-ratio:1/1;object-fit:cover;flex-shrink:0}
/* Caption con altura uniforme: todas las tarjetas miden lo mismo */
.recipe-caption{background:#fff;color:var(--ink);text-align:center;padding:12px 12px 14px;flex:1;display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:86px}
.recipe-caption strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:800;line-height:1.3}
.recipe-caption span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;color:#8b8278;line-height:1.4}
.recipes-arrow{position:absolute;right:-14px;top:50%;transform:translateY(-50%)}
.car-arrow{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.06);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s;z-index:5}
.car-arrow svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.car-arrow:hover{background:var(--red);border-color:var(--red)}
/* overlay clásico (lo usan páginas internas de recetas) */
.recipe-overlay{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(to top, rgba(14,11,9,.95) 30%, rgba(14,11,9,.72) 62%, transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:7px;padding:20px 16px 16px;color:#fff}
.grid-recipes .recipe-card{position:relative;overflow:hidden}
.grid-recipes .recipe-card > a{display:block;position:relative;height:100%}
.grid-recipes .recipe-card img{aspect-ratio:4/5;object-fit:cover;transition:transform .5s ease}
.grid-recipes .recipe-card:hover img{transform:scale(1.05)}
.recipe-overlay h3{font-family:var(--font-display);font-size:16px;letter-spacing:-.1px;line-height:1.3;text-shadow:0 2px 10px rgba(0,0,0,.7);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.recipe-overlay span{font-size:12px;color:#D8CFC5;line-height:1.4}
/* El enlace VER RECETA es un botón normal, no una columna flex */
.recipe-overlay .btn{display:inline-flex;width:auto;height:auto;flex:0 0 auto;align-self:flex-start;margin-top:4px}

/* ============================================================
   HISTORIA (home)
   ============================================================ */
.historia{padding:72px 0;background:var(--cream)}
.historia-grid{display:grid;grid-template-columns:1fr 1fr .8fr;gap:34px;align-items:center}
.historia-img img{border-radius:18px;box-shadow:var(--shadow);width:100%}
.historia-parr{color:#6d655c;line-height:1.75;font-size:14.5px;margin:14px 0 16px}
.check-list{list-style:none;margin:0 0 22px}
.check-list li{position:relative;padding:5px 0 5px 30px;font-size:14px;font-weight:600}
.check-list li::before{content:"✓";position:absolute;left:0;top:4px;width:20px;height:20px;background:#1d9d54;color:#fff;border-radius:50%;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.historia-molcajete img{width:100%;mix-blend-mode:multiply}

/* ============================================================
   INSTAGRAM (home)
   ============================================================ */
.instagram{background:var(--dark);padding:60px 0;position:relative;overflow:hidden}
.instagram::after{content:"🌶️";position:absolute;right:1.5%;bottom:10px;font-size:44px;opacity:.7;transform:rotate(24deg)}
.instagram .section-title{color:#fff;margin-bottom:30px}
.ig-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:30px}
.ig-item{position:relative;border-radius:12px;overflow:hidden;display:block}
.ig-item img{width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .4s}
.ig-item:hover img{transform:scale(1.08)}
.ig-hover{position:absolute;inset:0;background:rgba(214,35,27,.55);display:flex;align-items:center;justify-content:center;opacity:0;transition:.25s}
.ig-item:hover .ig-hover{opacity:1}
.ig-hover svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2}
.ig-user{color:#fff}

/* ============================================================
   TESTIMONIOS (home)
   ============================================================ */
.testimonios{padding:72px 0;background:var(--cream)}
.testi-grid{display:grid;grid-template-columns:280px 1fr;gap:36px;align-items:center}
.testi-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.testimonio{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px 20px;display:flex;flex-direction:column;gap:12px;transition:transform .3s}
.testimonio:hover{transform:translateY(-6px)}
.stars{color:var(--yellow);font-size:15px;letter-spacing:2px}
.testimonio p{font-size:13.5px;line-height:1.65;color:#5d564e;flex:1}
.testi-author{display:flex;align-items:center;gap:10px}
.testi-avatar{width:34px;height:34px;border-radius:50%;background:var(--dark);color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.testi-author strong{font-size:13px}
.testi-dots{display:none}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--dark);color:#B9AFA4}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr 1.2fr;gap:34px;padding:56px 0 40px}
.footer-brand img{height:86px;width:auto;margin-bottom:14px}
.footer-sub-text{font-size:12.5px;line-height:1.7;color:#9C9288;margin-bottom:14px}
.footer-social{display:flex;gap:9px}
.footer-social a{width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;transition:.2s}
.footer-social a:hover{background:var(--red);border-color:var(--red)}
.footer-social svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-footer h4{font-family:var(--font-accent);font-weight:700;color:#fff;font-size:15px;letter-spacing:1.4px;margin-bottom:16px}
.site-footer ul{list-style:none}
.site-footer ul li{margin-bottom:9px}
.site-footer ul a{color:#B9AFA4;text-decoration:none;font-size:13px;transition:.2s}
.site-footer ul a:hover{color:var(--red)}
.footer-contact li{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5}
.footer-contact svg{width:15px;height:15px;flex-shrink:0;margin-top:2px;fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.footer-newsletter{display:flex;flex-direction:column;gap:9px}
.footer-newsletter input{border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.07);color:#fff;border-radius:9px;padding:11px 14px;font:inherit;font-size:13px}
.footer-newsletter input::placeholder{color:#8d847b}
.footer-newsletter input:focus{outline:none;border-color:var(--red)}
.footer-newsletter button{background:var(--red);color:#fff;border:none;border-radius:9px;padding:11px;font-weight:800;font-size:12px;letter-spacing:.8px;cursor:pointer;transition:.2s}
.footer-newsletter button:hover{background:var(--red-dark)}
.footer-newsletter button svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2}
.footer-newsletter-msg{font-size:12px;color:var(--yellow);margin-top:6px;display:block}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;font-size:12px;color:#8d847b}
.footer-bottom-inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* WhatsApp flotante */
.whatsapp-fab{position:fixed;right:22px;bottom:22px;width:54px;height:54px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 26px rgba(0,0,0,.3);z-index:90;transition:.25s}
.whatsapp-fab:hover{transform:scale(1.08)}
.whatsapp-fab svg{width:28px;height:28px;fill:#fff}

/* ============================================================
   PÁGINAS INTERNAS
   ============================================================ */
.page-hero{background:radial-gradient(800px 360px at 50% 0%, #2A1B12 0%, var(--dark) 65%);color:#fff;padding:60px 0 48px;text-align:center}
.page-hero h1{font-family:var(--font-display);font-size:clamp(30px,5vw,50px);letter-spacing:-.6px;line-height:1.12;text-transform:uppercase}
.page-hero h1 em{color:var(--red);font-style:normal}
.page-hero p{color:rgba(255,255,255,.7);max-width:640px;margin:12px auto 0;line-height:1.6}
.page-body{padding:56px 0}
.grid-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.grid-products .product-card{padding-bottom:16px}
.grid-products .product-card h3{margin:14px 12px 4px}
.grid-products .product-pres{display:block;margin:0 12px}
.grid-products .product-price{display:block;margin:6px 12px}
.grid-products .btn-cart{margin:8px auto 0}
.grid-products .tag-stock{margin:10px auto 0}
.cat-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:-14px 0 36px}
.cat-filters a{padding:9px 20px;border-radius:999px;border:1.5px solid var(--ink);font-family:var(--font-accent);font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.8px;color:var(--ink);text-decoration:none;transition:.2s}
.cat-filters a.is-active,.cat-filters a:hover{background:var(--red);border-color:var(--red);color:#fff}
.grid-recipes{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;align-items:stretch}
.grid-recipes .recipe-card{box-shadow:var(--shadow);background:var(--dark-2);height:100%}
/* Detalle producto */
.prod-detail{display:grid;grid-template-columns:1fr 1.05fr;gap:44px;align-items:start}
/* Galería: la foto manda, sin marcos blancos ni cuadrados forzados.
   Respeta la proporción real de la imagen (ej. 1200x843). */
.prod-gallery{position:sticky;top:100px;max-width:560px}
.prod-gallery .main-wrap{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 20px 44px rgba(14,11,9,.20);background:var(--dark-2)}
.prod-gallery .main-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -70px 90px -50px rgba(14,11,9,.55)}
.prod-gallery img.main{display:block;width:100%;height:auto;border-radius:20px;transition:transform .5s ease}
.prod-gallery .main-wrap:hover img.main{transform:scale(1.03)}
.prod-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.prod-thumbs img{width:76px;height:60px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid transparent;box-shadow:0 4px 12px rgba(14,11,9,.10);transition:.2s}
.prod-thumbs img:hover{transform:translateY(-2px)}
.prod-thumbs img.is-active{border-color:var(--red)}
.prod-info h1{font-family:var(--font-display);font-size:clamp(28px,3.5vw,42px);text-transform:uppercase;line-height:1.14;letter-spacing:-.5px}
.prod-pres{color:#857c72;font-weight:600;margin:6px 0 14px}
.prod-price{font-family:var(--font-display);font-size:36px;letter-spacing:-.5px;color:var(--red)}
.prod-desc{margin:18px 0;color:#5a534b;line-height:1.75;font-size:15.5px}
.qty-row{display:flex;align-items:center;gap:14px;margin:20px 0;flex-wrap:wrap}
.qty-box{display:flex;align-items:center;border:1.5px solid var(--ink);border-radius:12px;overflow:hidden;background:#fff}
.qty-box button{width:42px;height:46px;background:none;border:none;font-size:20px;font-weight:800;cursor:pointer}
.qty-box input{width:56px;height:46px;border:none;text-align:center;font-weight:800;font-size:16px}
.escala-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px;background:#fff;border-radius:12px;overflow:hidden}
.escala-table th,.escala-table td{padding:10px 14px;border-bottom:1px solid #f0e9de;text-align:left}
.escala-table th{background:var(--dark);color:#fff;font-family:var(--font-accent);font-weight:700;text-transform:uppercase;font-size:13px;letter-spacing:.8px}
.tag-stock{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800;background:#e9f9ef;color:#1d9d54}
.tag-stock.out{background:#fdeaea;color:var(--red)}
/* Detalle receta */
.receta-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:start}
.receta-meta{display:flex;gap:18px;margin:14px 0 20px;font-weight:700;color:#857c72;font-size:14px;flex-wrap:wrap}
.receta-list{margin:12px 0 10px;padding-left:0;list-style:none}
.receta-list li{padding:10px 0 10px 34px;position:relative;border-bottom:1px dashed #eadfce}
.receta-list li::before{content:"🌶️";position:absolute;left:0;top:9px}
.receta-steps{counter-reset:paso;list-style:none;padding:0}
.receta-steps li{counter-increment:paso;position:relative;padding:12px 0 12px 52px;line-height:1.6}
.receta-steps li::before{content:counter(paso);position:absolute;left:0;top:8px;width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;font-family:var(--font-display);font-size:14px;display:flex;align-items:center;justify-content:center}
.video-embed{position:relative;padding-top:56.25%;border-radius:16px;overflow:hidden;margin:20px 0}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Carrito / checkout */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th{font-size:11px;text-transform:uppercase;letter-spacing:.6px;text-align:left;padding:12px;border-bottom:2px solid var(--ink)}
.cart-table td{padding:14px 12px;border-bottom:1px solid #f0e9de;vertical-align:middle}
.cart-table img{width:64px;height:64px;object-fit:cover;border-radius:10px}
.cart-layout{display:grid;grid-template-columns:1.4fr .6fr;gap:36px;align-items:start}
.cart-summary{background:var(--paper);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);position:sticky;top:96px}
.cart-summary h3{font-family:var(--font-display);text-transform:uppercase;margin-bottom:14px;font-size:17px;letter-spacing:.2px;line-height:1.3}
.sum-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px dashed #eee;gap:12px}
.sum-row.total{font-family:var(--font-display);font-size:22px;border:none;padding-top:14px}
.coupon-row{display:flex;gap:8px;margin:14px 0}
.coupon-row input{flex:1;border:1.5px solid var(--ink);border-radius:10px;padding:10px 12px;font-weight:700;text-transform:uppercase;min-width:0}
.form-box{background:var(--paper);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.form-box h3{font-family:var(--font-display);text-transform:uppercase;margin-bottom:16px;font-size:17px;letter-spacing:.2px;line-height:1.3}
.f-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.f-grid .full{grid-column:1/-1}
.f-grid label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;display:block;margin-bottom:5px}
.f-grid input,.f-grid select,.f-grid textarea{width:100%;border:1.5px solid #e3dccf;border-radius:10px;padding:11px 13px;font:inherit;background:#fff}
.f-grid input:focus,.f-grid textarea:focus,.f-grid select:focus{outline:none;border-color:var(--red)}
.pay-option{display:flex;align-items:center;gap:12px;border:1.5px solid #e7e0d6;border-radius:12px;padding:14px;margin-bottom:10px;cursor:pointer;font-weight:700;transition:.2s}
.pay-option input{accent-color:var(--red)}
.pay-option.is-active{border-color:var(--red);background:#fff7f6}
/* FAQ */
.faq-item{background:var(--paper);border-radius:14px;margin-bottom:12px;box-shadow:var(--shadow);overflow:hidden}
.faq-item summary{padding:18px 22px;font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq-item summary::after{content:"+";font-family:var(--font-display);font-size:22px;color:var(--red)}
.faq-item[open] summary::after{content:"−"}
.faq-item p{padding:0 22px 20px;color:#6d655c;line-height:1.7}
/* Distribuidores */
.dist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.dist-card{background:var(--paper);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.dist-card h3{font-family:var(--font-display);text-transform:uppercase;font-size:17px;letter-spacing:-.1px;line-height:1.3}
.dist-card .region{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:4px 12px;border-radius:999px;margin:8px 0 10px;text-transform:uppercase;letter-spacing:.5px}
/* CTA reutilizable (la usa distribuidores.php) */
.cta-final{background:radial-gradient(700px 300px at 20% 50%, #2A1B12 0%, var(--dark) 70%);color:#fff;padding:44px 0;margin-top:48px;border-radius:20px;overflow:hidden}
.cta-final-inner{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;padding:0 36px}
.cta-final-text h2{font-family:var(--font-display);font-size:clamp(23px,3.1vw,34px);text-transform:uppercase;letter-spacing:-.3px;line-height:1.18}
.cta-final-text h2 em{color:var(--yellow);font-style:normal}
.cta-final-text p{color:#C9BFB4;margin-top:8px;max-width:560px;line-height:1.6}
/* Alerts / vacíos / migas */
.alert{padding:14px 18px;border-radius:12px;margin-bottom:20px;font-weight:600}
.alert-ok{background:#e9f9ef;color:#1d9d54}
.alert-error{background:#fdeaea;color:#c01f18}
.empty-state{text-align:center;padding:70px 20px;color:#9b9287}
.empty-state .big{font-size:54px;margin-bottom:10px}
.breadcrumb{font-size:13px;color:#9b9287;margin-bottom:22px}
.breadcrumb a{color:var(--red);text-decoration:none;font-weight:700}
/* features reutilizada en nosotros.php */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.features-grid .feature{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;flex-direction:column;text-align:center}
.features-grid .feature-ico{border-color:var(--red);width:52px;height:52px;font-size:24px}
.features-grid .feature-ico svg{stroke:var(--red)}
.features-grid .feature h3{font-family:var(--font-display);font-size:15px;text-transform:uppercase;margin:4px 0}
.features-grid .feature p{font-size:13px;color:#857c72;line-height:1.6}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1180px){
  .products-track{grid-auto-columns:calc((100% - 2*18px)/3)}
  .recipes-track{grid-template-columns:repeat(2,1fr)}
  .ig-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(3,1fr)}
  .historia-grid{grid-template-columns:1fr 1fr}
  .historia-molcajete{display:none}
}
@media(max-width:980px){
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--dark-2);flex-direction:column;gap:0;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px 24px}
  .nav-toggle{display:flex}
  .btn-header{display:none}
  .hero-slide{min-height:86vh;max-height:820px}
  .hero-inner{align-items:flex-end;text-align:left;min-height:86vh;max-height:820px;padding:30px 0 235px}
  .hero-content{max-width:560px}
  /* Botellas visibles arriba-derecha + zona inferior oscura para el texto */
  .hero-bg img,.hero-bg video{object-position:68% 18%}
  .hero-shade{background:
    linear-gradient(0deg, rgba(14,11,9,.97) 0%, rgba(14,11,9,.88) 30%, rgba(14,11,9,.45) 58%, rgba(14,11,9,.12) 80%, rgba(14,11,9,.35) 100%),
    linear-gradient(90deg, rgba(14,11,9,.5) 0%, rgba(14,11,9,0) 55%)}
  .hero-title{font-size:clamp(38px,11vw,52px)}
  .hero-sub{font-size:15px;margin:14px 0 20px}
  .hero-dots{bottom:auto;top:14px;left:auto;right:18px;transform:none}
  .hero-features{grid-template-columns:repeat(2,1fr);position:absolute;gap:12px 16px;padding:16px 0 18px}
  .feature-ico{width:36px;height:36px}
  .feature-ico svg{width:17px;height:17px}
  .feature strong{font-size:11px}
  .feature span{font-size:10px}
  .recipes-grid{grid-template-columns:1fr}
  .recipes-arrow{display:none}
  .testi-grid{grid-template-columns:1fr}
  .testi-cards{grid-template-columns:repeat(2,1fr)}
  .prod-detail,.receta-grid,.cart-layout{grid-template-columns:1fr}
  .prod-gallery{position:static;max-width:100%;margin:0 auto}
  .cart-summary{position:static}
  .features-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .products-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}
  .recipes-track{grid-template-columns:1fr 1fr}
  .testi-cards{grid-template-columns:1fr}
  .ig-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;padding:40px 0 28px}
  .footer-bottom-inner{justify-content:center;text-align:center}
  .hero-title{font-size:clamp(34px,9.5vw,46px)}
  .brand img{height:48px}
  .f-grid{grid-template-columns:1fr}
  .deco-chiles::before,.deco-chiles::after{font-size:34px}
}
@media(max-width:430px){
  .products-track{grid-auto-columns:82%}
  .products-carousel .car-prev{left:2px}
  .products-carousel .car-next{right:2px}
  .hero-slide{min-height:88vh;max-height:880px}
  .hero-inner{min-height:88vh;max-height:880px;padding-bottom:225px}
  .hero-title{font-size:clamp(36px,12vw,46px)}
  .hero-ctas .btn{padding:13px 22px;font-size:12.5px}
  .hero-features{gap:10px 14px;padding:14px 0 16px}
  .footer-grid{grid-template-columns:1fr}
}

/* Auxiliares */
.c-red{color:var(--red)}
.historia-text{min-width:0}
.testi-head{min-width:0}

/* Selector de presentación (variantes de tamaño) en la ficha de producto */
.prod-variantes{margin:20px 0 4px}
.var-label{display:block;font-family:var(--font-accent);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);margin-bottom:10px}
.var-options{display:flex;flex-wrap:wrap;gap:10px}
.var-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:10px 16px;cursor:pointer;transition:.2s;min-width:96px}
.var-chip span{font-size:12px;font-weight:700;color:var(--ink)}
.var-chip b{font-family:var(--font-display);font-size:15px;color:var(--red);letter-spacing:-.2px}
.var-chip:hover{border-color:var(--red)}
.var-chip.is-active{border-color:var(--red);background:#fff7f6;box-shadow:0 4px 14px rgba(214,35,27,.15)}

/* Acordeón de precios por volumen en la ficha de producto */
.escala-accordion{margin:16px 0;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.escala-accordion summary{list-style:none;cursor:pointer;padding:14px 18px;font-family:var(--font-accent);font-weight:700;font-size:16px;text-transform:uppercase;letter-spacing:.8px;display:flex;align-items:center;justify-content:space-between;color:var(--ink)}
.escala-accordion summary::-webkit-details-marker{display:none}
.escala-accordion summary::after{content:"+";font-family:var(--font-display);font-size:22px;color:var(--red);line-height:1}
.escala-accordion[open] summary::after{content:"−"}
.escala-accordion summary:hover{background:var(--cream)}
.escala-accordion .acc-hint{font-weight:600;font-size:11px;text-transform:none;letter-spacing:0;color:var(--muted);margin-left:6px}
.escala-accordion .escala-table{margin:0;border-radius:0;box-shadow:none;border-top:1px solid var(--line)}
.escala-accordion .acc-note{font-size:11px;color:#999;padding:10px 18px 14px;margin:0}

.prod-single-pres{margin:14px 0 4px;font-size:14px;color:#555}
.prod-single-pres b{color:var(--ink)}

/* Imagen principal de la receta: contenida, no gigante */
.receta-hero-img{position:relative;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px rgba(14,11,9,.18);max-height:440px;background:var(--dark-2)}
.receta-hero-img img{display:block;width:100%;height:100%;max-height:440px;object-fit:cover}
.receta-galeria-img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}
@media(max-width:640px){
  .receta-hero-img,.receta-hero-img img{max-height:280px}
}

/* Título de la receta */
.receta-titulo{font-family:var(--font-display);font-size:clamp(28px,4.4vw,44px);text-transform:uppercase;line-height:1.14;letter-spacing:-.6px}
