/* West 24 Horas — port fiel del wireframe aprobado por el cliente. */

/* Reset universal del wireframe, escopado a .w24-app. */
.w24-app, .w24-app *, .w24-app *::before, .w24-app *::after{
  box-sizing:border-box; margin:0; padding:0;
}
/* Las páginas de categoría/producto (WooCommerce) renderizan su <main> y el
   cajón de carrito del footer por fuera de .w24-app (header/main/footer son
   template-parts independientes) — mismo reset de caja para que .pcard,
   .cart-drawer, etc. midan igual que en el home. */
main.wp-block-group, main.wp-block-group *, main.wp-block-group *::before, main.wp-block-group *::after,
.cart-drawer, .cart-drawer *, .cart-drawer *::before, .cart-drawer *::after,
.toast, .toast *{
  box-sizing:border-box; margin:0; padding:0;
}

:root{
  --bg:#efe9fb; --paper:#ffffff; --line:#ece7f5; --line2:#d9cfee;
  --ink:#221626; --ink2:#5a4f63; --mut:#948da3; --mut2:#c6b9e0;
  --tile:#f6f4fb; --tile2:#e2d8f7;
  --brand:#672a7a; --brand-h:#7a3591; --brand-lt:#b4aced; --brand-dk:#3d1a49;
  --wa:#25a63e; --wa-h:#1e8a33;
  --radius:18px;
  --shadow-sm:0 2px 8px rgba(103,42,122,.08);
  --shadow-md:0 10px 28px -8px rgba(103,42,122,.18);
  --shadow-lg:0 26px 56px -16px rgba(103,42,122,.30);
  --nav-h:124px;
}
body{
  font-family:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg); color:var(--ink); line-height:1.5;
}
img{ max-width:100%; display:block; }
button{ font-family:inherit; }
.wrap{ max-width:1360px; margin:0 auto; padding:0 40px; }
.admin-bar #nav{ top:32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

/* ── NAV ─────────────────────────────────────────── */
#nav{
  position:sticky; top:0; z-index:200; height:var(--nav-h);
  background:rgba(255,255,255,.85); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  display:flex; align-items:center;
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; width:100%; gap:32px; }
.nav-logo img{ height:96px; }
.nav-links{ display:flex; gap:8px; }
.nav-link{
  padding:10px 18px; border-radius:11px; font-size:13.5px; font-weight:700; color:var(--ink2);
  cursor:pointer; border:none; background:none; transition:background .15s, color .15s;
}
.nav-link:hover{ background:var(--tile); color:var(--brand); }
.nav-link.active{ background:var(--brand); color:#fff; }
.nav-right{ display:flex; align-items:center; gap:16px; }
.nav-addr{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink2); }
.nav-addr svg{ width:16px; height:16px; stroke:var(--brand); flex-shrink:0; }
.nav-addr b{ color:var(--ink); }

/* ── MENÚ MÓVIL (botón hamburguesa + panel desplegable) ── */
.nav-burger{
  display:none; width:40px; height:40px; border-radius:11px; border:1.5px solid var(--line2); background:#fff;
  align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; box-shadow:var(--shadow-sm);
}
.nav-burger svg{ width:19px; height:19px; stroke:var(--ink); }
.nav-burger .ic-close{ display:none; }
#nav.mobile-open .nav-burger .ic-burger{ display:none; }
#nav.mobile-open .nav-burger .ic-close{ display:block; }
.nav-cart{
  position:relative; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line2);
  background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:var(--shadow-sm); transition:transform .15s;
}
.nav-cart:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.nav-cart svg{ width:20px; height:20px; stroke:var(--brand); }
.nav-cart-badge{
  position:absolute; top:-4px; right:-4px; min-width:19px; height:19px; padding:0 4px; border-radius:10px;
  background:linear-gradient(135deg,var(--brand-h),var(--brand-dk)); color:#fff; font-size:10.5px; font-weight:800;
  display:flex; align-items:center; justify-content:center; box-shadow:0 3px 8px rgba(61,26,73,.4);
}
.nav-cart-badge.hidden{ display:none; }
.nav-cart-badge.bump{ animation:west-badge-bump .32s ease; }
@keyframes west-badge-bump{ 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }
.nav-cart.bump{ animation:west-cart-bump .32s ease; }
@keyframes west-cart-bump{ 0%{transform:scale(1)} 40%{transform:scale(1.1)} 100%{transform:scale(1)} }

@media (max-width:980px){
  .nav-links{
    display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; gap:2px;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow-md); padding:10px 20px 16px;
  }
  #nav.mobile-open .nav-links{ display:flex; }
  #nav.mobile-open .nav-link{ text-align:left; padding:13px 14px; }
  .nav-burger{ display:flex; }
  .nav-addr span{ display:none; }
  .nav-addr{ padding:9px; border-radius:50%; background:var(--tile); }
}
@media (max-width:640px){
  :root{ --nav-h:76px; }
  .nav-logo img{ height:52px; }
  .nav-inner{ gap:14px; }
  .nav-right{ gap:10px; }
}

/* ── HERO ────────────────────────────────────────── */
.hero{
  position:relative; overflow:hidden; padding:76px 0 64px;
  background:
    radial-gradient(900px 480px at 12% -20%, rgba(180,172,237,.55), transparent),
    radial-gradient(700px 420px at 100% 0%, rgba(103,42,122,.18), transparent),
    linear-gradient(180deg, #f7f4fd 0%, var(--bg) 100%);
}
.hero-inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase; color:var(--brand); margin-bottom:18px;
}
.hero-eyebrow .dot{ width:8px; height:8px; border-radius:50%; background:var(--wa); animation:west-pulse 1.8s infinite; }
@keyframes west-pulse{ 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1{ font-size:clamp(34px,3.6vw,54px); font-weight:800; line-height:1.08; letter-spacing:-.02em; margin-bottom:18px; }
.hero h1 span{ color:var(--brand); }
.hero p{ font-size:16.5px; color:var(--ink2); max-width:480px; line-height:1.65; margin-bottom:32px; }
.hero-search-wrap{ position:relative; max-width:460px; }
.hero-search{
  display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid var(--line2);
  border-radius:16px; padding:16px 20px; box-shadow:var(--shadow-md); position:relative; z-index:2;
  transition:border-color .15s;
}
.hero-search:focus-within{ border-color:var(--brand-lt); }
.hero-search svg{ width:19px; height:19px; stroke:var(--brand); flex-shrink:0; }
.hero-search input{ border:none; outline:none; font-size:14.5px; font-family:inherit; width:100%; color:var(--ink); background:none; }
.hero-search input::placeholder{ color:var(--mut); }

.hero-search-results{
  display:none; position:fixed; z-index:600;
  background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg);
  max-height:360px; overflow-y:auto;
}
.hero-search-results.open{ display:block; }
.hsr-item{
  display:flex; align-items:center; gap:12px; padding:10px 16px; cursor:pointer; text-align:left;
  width:100%; border:none; background:none; border-bottom:1px solid var(--line); transition:background .12s;
}
.hsr-item:last-child{ border-bottom:none; }
.hsr-item:hover, .hsr-item.active{ background:var(--tile); }
.hsr-item img{ width:38px; height:38px; border-radius:10px; object-fit:cover; flex-shrink:0; }
.hsr-item-body{ flex:1; min-width:0; }
.hsr-item-name{ font-size:13px; font-weight:700; color:var(--ink); line-height:1.3; }
.hsr-item-cat{ font-size:11px; color:var(--mut); margin-top:1px; }
.hsr-item-price{ font-size:12.5px; font-weight:800; color:var(--brand-dk); flex-shrink:0; }
.hsr-empty{ padding:20px 16px; font-size:13px; color:var(--mut); text-align:center; }
.hero-stats{ display:flex; gap:36px; margin-top:36px; }
.hero-stat b{ display:block; font-size:24px; font-weight:800; color:var(--brand); }
.hero-stat span{ font-size:12px; color:var(--mut); }

.hero-visual{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; }
.hero-visual::before{
  content:''; position:absolute; z-index:0; width:420px; height:420px; border-radius:50%; top:0;
  background:radial-gradient(circle, rgba(103,42,122,.35), rgba(180,172,237,.15) 60%, transparent 72%);
  filter:blur(6px); animation:west-hero-glow 4.5s ease-in-out infinite;
}
@keyframes west-hero-glow{ 0%,100%{ transform:scale(1); opacity:.75; } 50%{ transform:scale(1.12); opacity:1; } }
@media (prefers-reduced-motion:reduce){ .hero-visual::before{ animation:none; } }

/* ── CARRUSEL DEL HERO (4 categorías + Favores, autoplay) ──────── */
.hv-slides{ position:relative; z-index:1; width:380px; height:380px; }
.hv-slide{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.96); pointer-events:none; transition:opacity .5s ease, transform .5s ease;
}
.hv-slide.active{ opacity:1; transform:scale(1); pointer-events:auto; z-index:1; }
.hv-card{
  position:absolute; background:#fff; border-radius:18px; box-shadow:var(--shadow-lg);
  padding:14px 18px; display:flex; align-items:center; gap:12px; border:1px solid var(--line); max-width:220px;
}
.hv-card img{ width:46px; height:46px; border-radius:12px; object-fit:cover; flex-shrink:0; }
.hv-card-ic{
  width:46px; height:46px; border-radius:12px; flex-shrink:0; background:var(--tile); font-size:22px;
  display:flex; align-items:center; justify-content:center;
}
.hv-card .t{ font-size:12.5px; font-weight:700; color:var(--ink); line-height:1.3; }
.hv-card .s{ font-size:11px; color:var(--mut); }
.hv-1{ top:6%; left:2%; z-index:2; animation:west-float 5s ease-in-out infinite; }
.hv-2{ bottom:10%; right:0%; z-index:2; animation:west-float 6s ease-in-out infinite 1s; }
.hv-ring{
  position:relative; z-index:1; width:380px; height:380px; border-radius:50%;
  background:linear-gradient(135deg, var(--brand-lt), var(--brand));
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg);
  transition:background .5s ease;
}
.hv-ring img{ width:66%; filter:drop-shadow(0 14px 24px rgba(0,0,0,.25)); }
/* Fotos .jpg con fondo blanco rectangular: se funden con el círculo en vez de
   verse como un recuadro flotando encima (las .png con transparencia real no
   llevan esta clase, así que no se ven afectadas). */
.hv-ring img.blend{ mix-blend-mode:multiply; filter:none; }
.hv-slide[data-cat] .hv-ring{ background:linear-gradient(135deg, var(--cat-lt), var(--cat-dk)); }
.hv-slide[data-favor] .hv-ring{ background:linear-gradient(135deg, #4c5aa8, #13226b); }
.hv-slide[data-favor] .hv-ring svg{ width:56%; height:56%; stroke:#fff; fill:none; }
@keyframes west-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

.hv-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:38px; height:38px; border-radius:50%;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-md); display:flex; align-items:center;
  justify-content:center; cursor:pointer; color:var(--ink2); transition:transform .15s, box-shadow .15s, color .15s;
}
.hv-arrow:hover{ transform:translateY(-50%) scale(1.08); box-shadow:var(--shadow-lg); color:var(--brand); }
.hv-arrow.prev{ left:-16px; }
.hv-arrow.next{ right:-16px; }
.hv-arrow svg{ width:17px; height:17px; }
.hv-dots{ position:relative; z-index:1; display:flex; gap:8px; }
.hv-dot{ width:8px; height:8px; border-radius:5px; background:var(--line2); border:none; cursor:pointer; padding:0; transition:background .2s, width .2s; }
.hv-dot.active{ background:var(--brand); width:24px; }
.hv-dot:hover{ background:var(--brand-lt); }

@media (max-width:980px){ .hero-inner{ grid-template-columns:1fr; } .hero-visual{ display:none; } }
@media (max-width:640px){
  .hero{ padding-bottom:40px; }
  .hero-stats{ gap:22px; row-gap:16px; flex-wrap:wrap; }
  .wa-float{ width:50px; height:50px; right:16px; bottom:16px; }
  .wa-float svg{ width:23px; height:23px; }
}

/* ── MARCA DE AGUA (isotipo rayo, opacidad muy baja) ── */
.brand-mark{
  position:absolute; pointer-events:none; z-index:0; opacity:.05; color:var(--brand);
}
.brand-mark svg{ width:100%; height:100%; fill:currentColor; }
.brand-mark--favores{ top:-10%; left:-5%; width:380px; height:380px; transform:rotate(-16deg); opacity:.06; }
.brand-mark--trust{ top:50%; right:-6%; width:340px; height:340px; transform:translateY(-50%) rotate(-10deg); opacity:.07; }
.brand-mark--footer{ bottom:-12%; right:-3%; width:360px; height:360px; transform:rotate(8deg); opacity:.06; }
@media (max-width:768px){ .brand-mark{ display:none; } }

/* ── CORTE DIAGONAL ENTRE SECCIONES ──────────────── */
.sec-cut{
  height:52px; margin-top:-52px; position:relative; z-index:1;
  background:var(--bg); clip-path:polygon(0 100%, 100% 0, 100% 100%);
}
@media (max-width:640px){ .sec-cut{ height:28px; margin-top:-28px; } }

/* ── CATEGORY STRIP (ahora vive dentro de "Haz tu pedido", ver .menu) ── */
.catstrip-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:26px; }
.catstrip-head h2{ font-size:26px; font-weight:800; letter-spacing:-.01em; }
.catstrip-head span{ font-size:13px; color:var(--mut); }
.cat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:40px; }
.cat-card{
  position:relative; overflow:hidden; background:var(--paper); border:1px solid var(--line); border-radius:20px;
  padding:26px 22px; display:flex; flex-direction:column; align-items:flex-start; gap:14px; cursor:pointer;
  box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.cat-card::after{
  content:''; position:absolute; inset:0; z-index:0; opacity:0; pointer-events:none; transition:opacity .25s ease;
  background:linear-gradient(155deg, transparent 40%, color-mix(in srgb, var(--cat-lt) 18%, transparent));
}
.cat-card > *{ position:relative; z-index:1; }
.cat-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px -12px color-mix(in srgb, var(--cat-dk) 45%, transparent);
  border-color:var(--cat-dk);
}
.cat-card:hover::after{ opacity:1; }
.cat-card:active{ transform:translateY(-2px); }
.cat-card.active{ border-color:var(--cat-dk); box-shadow:0 14px 28px -12px color-mix(in srgb, var(--cat-dk) 40%, transparent); }
.cat-card.active .name, .cat-card:hover .name{ color:var(--cat-dk); }
.cat-card .ic{
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(155deg,#fff, color-mix(in srgb, var(--cat-lt) 45%, #fff));
  border:1px solid color-mix(in srgb, var(--cat-dk) 30%, var(--line));
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cat-card .ic svg{ width:26px; height:26px; stroke:var(--cat-dk); fill:none; stroke-width:1.7; }
.cat-card:hover .ic{ transform:scale(1.12) rotate(-6deg); }
.cat-card .name{ font-size:16px; font-weight:800; transition:color .2s ease; }
.cat-card .count{ font-size:12px; color:var(--mut); }
.cat-card .go{
  font-size:11.5px; font-weight:800; color:var(--cat-dk); opacity:0; transform:translateX(-6px);
  transition:opacity .2s ease, transform .2s ease; margin-top:-4px;
}
.cat-card:hover .go{ opacity:1; transform:translateX(0); }

/* ── ACENTO POR CATEGORÍA (paleta secundaria oficial, manual de marca 2020) ──
   Colores reales del manual (hex exactos), aplicados sutil vía color-mix —
   el morado de marca sigue siendo el único color de acción (CTA, WhatsApp). */
[data-cat="restaurante"]{ --cat-lt:#D88095; --cat-dk:#B55772; }
[data-cat="licores"]{ --cat-lt:#F0E85A; --cat-dk:#D1AF15; }
[data-cat="hipermercado"]{ --cat-lt:#99C6B0; --cat-dk:#5C9378; }
[data-cat="farmacia"]{ --cat-lt:#B0AAEA; --cat-dk:#7D7CCE; }

.cat-header-ic-sm[data-cat]{
  background:linear-gradient(155deg,#fff, color-mix(in srgb, var(--cat-lt) 45%, #fff));
  border-color:color-mix(in srgb, var(--cat-dk) 30%, var(--line));
}
.cat-header-ic-sm[data-cat] svg{ stroke:var(--cat-dk); }
@media (max-width:980px){ .cat-row{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:400px){
  .cat-row{ gap:12px; }
  .cat-card{ padding:22px 16px; }
  .cat-card .name{ font-size:15px; }
}

/* ── POPULARES ────────────────────────────────────── */
.popular{ padding:48px 0 8px; }
.pop-row{
  display:flex; gap:20px; overflow-x:auto; padding:2px 2px 12px; cursor:grab; user-select:none;
  mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.pop-row.dragging{ cursor:grabbing; }
.pop-row.dragging .pop-card{ pointer-events:none; }
.pop-row::-webkit-scrollbar{ height:6px; }
.pop-row::-webkit-scrollbar-thumb{ background:var(--line2); border-radius:6px; }
.pop-card{
  flex:0 0 230px; background:var(--paper); border:1px solid var(--line); border-radius:20px; overflow:hidden;
  cursor:pointer; box-shadow:var(--shadow-sm); transition:transform .18s, box-shadow .18s;
}
.pop-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.pop-card .img{ width:100%; aspect-ratio:1.3; overflow:hidden; background:var(--tile); position:relative; }
.pop-card .img img{ width:100%; height:100%; object-fit:cover; }
.pop-card .body{ padding:14px 17px 17px; }
.pop-card .name{ font-size:13.5px; font-weight:700; margin-bottom:4px; line-height:1.3; }
.pop-card .price{ font-size:14px; font-weight:800; color:var(--brand-dk); }

/* ── FAVORES (mensajería a domicilio, tono navy del manual 2020) ──── */
.favores{
  position:relative; overflow:hidden; margin:56px 0 0; padding:72px 0;
  background:linear-gradient(180deg,#13226B 0%,#281e5a 100%);
}
.favores-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1fr .85fr; gap:60px; align-items:center; }
.favores-badge{
  display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2); color:#fff; font-size:11px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; padding:7px 15px 7px 12px; border-radius:20px; margin-bottom:22px;
}
.favores-badge::before{ content:''; width:7px; height:7px; border-radius:50%; background:#e0384f; flex-shrink:0; }
.favores-icon{ width:76px; height:76px; color:#fff; opacity:.9; margin-bottom:18px; }
.favores-icon svg{ width:100%; height:100%; }
.favores-intro h2{ font-size:clamp(26px,3vw,36px); font-weight:800; color:#fff; letter-spacing:-.015em; margin-bottom:14px; line-height:1.15; }
.favores-intro p{ font-size:14.5px; color:rgba(255,255,255,.7); line-height:1.65; max-width:460px; margin-bottom:26px; }
.favores-examples{ display:flex; flex-direction:column; gap:10px; max-width:460px; }
.favores-examples span{
  display:block; font-size:13px; color:rgba(255,255,255,.88); font-weight:600; line-height:1.5;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:11px 15px;
  transition:background .18s, border-color .18s;
}
.favores-examples span:hover{ background:rgba(255,255,255,.11); border-color:rgba(255,255,255,.22); }

.favores-form{
  position:relative; background:#fff; border-radius:22px; padding:32px 30px;
  box-shadow:0 34px 64px -18px rgba(0,0,0,.5);
}
.favores-form h3{ font-size:19px; font-weight:800; letter-spacing:-.01em; margin-bottom:4px; }
.favores-form-sub{ font-size:12.5px; color:var(--mut); line-height:1.5; margin-bottom:22px; }
.fav-field{ margin-bottom:16px; }
.fav-field label{ display:block; font-size:12px; font-weight:700; color:var(--ink2); margin-bottom:7px; }
.fav-field textarea, .fav-field input{
  width:100%; border:1.5px solid var(--line2); border-radius:13px; padding:12px 14px; font-family:inherit;
  font-size:13.5px; color:var(--ink); background:var(--tile); transition:border-color .15s, background .15s;
}
.fav-field textarea::placeholder, .fav-field input::placeholder{ color:var(--mut); }
.fav-field textarea:focus, .fav-field input:focus{ outline:none; border-color:#13226B; background:#fff; }
.fav-field textarea{ resize:vertical; min-height:78px; }
.favores-form .btn-wa{ margin-top:4px; }

@media (max-width:980px){
  .favores-grid{ grid-template-columns:1fr; gap:40px; }
  .favores-intro{ text-align:center; }
  .favores-icon{ margin-left:auto; margin-right:auto; }
  .favores-intro p{ margin-left:auto; margin-right:auto; }
}

/* ── FRANJA DE CONFIANZA (cierre de la página, foto + cifras) ────── */
.trust{
  position:relative; overflow:hidden; padding:64px 0;
  background:linear-gradient(180deg,#281e5a 0%,var(--brand-dk) 45%,#2a1233 100%);
}
.trust-head{ max-width:640px; margin-bottom:40px; }
.trust-head h2{ font-size:26px; font-weight:800; letter-spacing:-.01em; color:#fff; margin-bottom:10px; }
.trust-head p{ font-size:14px; color:rgba(255,255,255,.65); line-height:1.65; }
.trust-grid{ position:relative; z-index:1; display:grid; grid-template-columns:.9fr 1fr; gap:56px; align-items:center; }
.trust-photo-img{
  width:100%; height:100%; border-radius:22px; overflow:hidden; box-shadow:0 30px 60px -18px rgba(0,0,0,.5);
  border:1px solid rgba(255,255,255,.08); aspect-ratio:1.15;
}
.trust-photo img{ width:100%; height:100%; object-fit:cover; }
.trust-col{ display:flex; flex-direction:column; align-items:flex-start; width:100%; }
.trust-stats{ display:grid; grid-template-columns:1fr 1fr; gap:32px 28px; width:100%; }
.trust-stat b{ display:block; font-size:clamp(30px,3vw,40px); font-weight:900; color:#fff; letter-spacing:-.02em; line-height:1; margin-bottom:10px; }
.trust-stat span{ font-size:12.5px; color:rgba(255,255,255,.62); line-height:1.5; }

/* ── BADGE DE RESEÑAS DE GOOGLE (cifra real, verificable, linkeada) ──
   Mismo lenguaje "glass" oscuro que .favores-examples, para que no se
   sienta como un sticker blanco pegado encima de la sección. */
.gr-badge{
  display:flex; align-items:center; gap:13px; width:100%; background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16); border-radius:16px; padding:15px 18px 15px 15px;
  text-decoration:none; margin-bottom:28px; transition:background .18s, border-color .18s, transform .15s;
}
.gr-badge:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.3); transform:translateY(-2px); }
.gr-badge-star{ width:30px; height:30px; flex-shrink:0; }
.gr-badge-star svg{ width:100%; height:100%; fill:#f5b400; }
.gr-badge-body{ display:flex; flex-direction:column; flex:1; min-width:0; }
.gr-badge-score{ font-size:19px; font-weight:800; color:#fff; line-height:1.2; }
.gr-badge-meta{ font-size:11.5px; color:rgba(255,255,255,.6); line-height:1.3; }
.gr-badge-arrow{ font-size:11.5px; font-weight:800; color:rgba(255,255,255,.75); white-space:nowrap; flex-shrink:0; }
@media (max-width:980px){
  .trust-grid{ grid-template-columns:1fr; gap:44px; }
  .trust-photo-img{ aspect-ratio:1.8; }
  .trust-col{ align-items:center; text-align:center; }
  .gr-badge{ text-align:left; }
}
@media (max-width:480px){ .trust-stats{ grid-template-columns:1fr; text-align:center; } }

/* ── MENU (encabezado instruccional + sidebar + grid + cart) ────── */
.menu{ padding:56px 0 100px; }
.menu-head{ max-width:640px; margin-bottom:32px; }
.menu-head h2{ font-size:26px; font-weight:800; letter-spacing:-.01em; margin-bottom:10px; }
.menu-head p{ font-size:14px; color:var(--ink2); line-height:1.65; }
.menu-grid{ display:grid; grid-template-columns:1fr 320px; gap:32px; align-items:start; }

.menu-main{ min-width:0; }
.chips{
  display:flex; flex-wrap:wrap; gap:9px; margin-bottom:24px; position:sticky;
  top:calc(var(--nav-h) + 12px); z-index:5; background:var(--bg); padding:10px 0; margin-top:-10px;
}
.chip{
  flex:0 0 auto; padding:10px 18px; border-radius:20px; background:#fff; border:1.5px solid var(--line2);
  font-size:13px; font-weight:700; color:var(--ink2); cursor:pointer; white-space:nowrap; transition:all .15s;
}
.chip.active{ background:var(--brand); color:#fff; border-color:var(--brand); box-shadow:var(--shadow-sm); }
.menu-title{ font-size:22px; font-weight:800; margin-bottom:4px; letter-spacing:-.01em; }
.menu-sub{ font-size:13px; color:var(--mut); margin-bottom:22px; }

.pgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (min-width:1400px){ .pgrid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:1200px){ .pgrid{ grid-template-columns:repeat(2,1fr); } }
.pcard{
  background:var(--paper); border:1px solid var(--line); border-radius:20px; overflow:hidden; cursor:pointer;
  box-shadow:var(--shadow-sm); transition:transform .18s, box-shadow .18s;
}
.pcard:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.pcard .img{ width:100%; aspect-ratio:1.15; overflow:hidden; background:var(--tile); position:relative; }
.pcard .img img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.pcard:hover .img img{ transform:scale(1.06); }
.fab{
  position:absolute; right:12px; bottom:12px; width:38px; height:38px; border-radius:50%; border:none;
  background:linear-gradient(155deg,var(--brand-h),var(--brand)); color:#fff; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 18px -4px rgba(61,26,73,.55);
  transition:transform .15s; z-index:2;
}
.fab:hover{ transform:scale(1.1); }
.pcard .body{ padding:18px 16px 16px; }
.pcard .name{ font-size:14.5px; font-weight:700; margin-bottom:5px; line-height:1.3; }
.pcard .desc{ font-size:12px; color:var(--mut); line-height:1.5; margin-bottom:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:36px; }
.pcard .price{ font-size:15px; font-weight:800; color:var(--brand-dk); }
.pcard .img > a, .pcard-body-link{ display:block; color:inherit; text-decoration:none; }
.pcard-body-link:hover{ color:inherit; }

/* ── PÁGINAS DE CATEGORÍA / TIENDA (WooCommerce) ──────
   Estas reglas viven fuera de .w24-app porque WooCommerce renderiza
   el <main> de estas páginas por fuera de ese wrapper; reusan las
   mismas variables --brand/--paper/etc. definidas arriba en :root. */
.cat-breadcrumb{ padding:22px 0 0; font-size:12.5px; color:var(--mut); display:flex; gap:8px; flex-wrap:wrap; }
.cat-breadcrumb a{ color:var(--mut); text-decoration:none; }
.cat-breadcrumb a:hover{ color:var(--brand); }
.cat-breadcrumb .current{ color:var(--ink2); font-weight:700; }

.content-area.alignwide{ max-width:1360px; margin:0 auto; padding:0 40px; }
.woocommerce-products-header{ padding:22px 0 26px; }
.page-title.woocommerce-products-header__title{ font-size:clamp(24px,3vw,34px); font-weight:800; letter-spacing:-.015em; margin-bottom:10px; }
.woocommerce-products-header p.woocommerce-product-details__short-description,
.term-description{ font-size:13.5px; color:var(--ink2); max-width:640px; line-height:1.6; margin-bottom:10px; }

.cat-subrow{ display:flex; align-items:flex-start; gap:14px; margin-top:6px; }
.cat-header-ic-sm{ margin-top:2px; }
.cat-chips{ padding-top:2px; }
.cat-header-ic-sm{
  flex-shrink:0; width:38px; height:38px; border-radius:50%; background:linear-gradient(155deg,#fff,var(--tile));
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm);
}
.cat-header-ic-sm svg{ width:19px; height:19px; stroke:var(--brand); fill:none; stroke-width:1.7; }

.cat-chips{ margin:0; flex:1; min-width:0; }
a.chip{ text-decoration:none; display:inline-flex; align-items:center; }

.cat-sortrow{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
p.woocommerce-result-count{ font-size:12.5px; color:var(--mut); margin:0; }
form.woocommerce-ordering select{
  font-family:inherit; font-size:12.5px; font-weight:700; color:var(--ink2); background:#fff;
  border:1.5px solid var(--line2); border-radius:11px; padding:9px 14px; cursor:pointer;
}
ul.products{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px; list-style:none; margin:0 0 12px; padding:0;
}
@media (max-width:1200px){ ul.products{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ ul.products, .pgrid{ grid-template-columns:1fr; } .content-area.alignwide{ padding:0 20px; } }
.woocommerce-info{
  grid-column:1/-1; background:var(--tile); border:1px solid var(--line); border-radius:12px;
  padding:16px 18px; font-size:13.5px; color:var(--ink2); list-style:none;
}

nav.woocommerce-pagination{ display:flex; justify-content:center; padding:24px 0 60px; }
nav.woocommerce-pagination ul{ display:flex; list-style:none; gap:6px; }
nav.woocommerce-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px;
  border-radius:11px; border:1.5px solid var(--line2); background:#fff; color:var(--ink2); font-size:13px;
  font-weight:700; text-decoration:none; padding:0 10px;
}
nav.woocommerce-pagination .page-numbers.current{ background:var(--brand); border-color:var(--brand); color:#fff; }
nav.woocommerce-pagination a.page-numbers:hover{ border-color:var(--brand-lt); color:var(--brand); }

/* ── PÁGINA DE PRODUCTO INDIVIDUAL ────────────────────
   Mismo lenguaje visual del modal de producto del home, pero de
   página completa en vez de superpuesto. */
.product-hero{ display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:28px 0 56px; align-items:start; }
.ph-img{
  background:var(--tile); border-radius:var(--radius); overflow:hidden; aspect-ratio:1.05;
  box-shadow:var(--shadow-sm); position:sticky; top:calc(var(--nav-h) + 24px);
}
.ph-img img{ width:100%; height:100%; object-fit:cover; }
.ph-body{ padding-top:6px; }
.ph-body .modal-name{ font-size:clamp(24px,2.6vw,32px); }
.ph-stock{ font-size:12.5px; color:var(--mut); margin-bottom:22px; }
.ph-outofstock{
  background:var(--tile); border:1px solid var(--line); border-radius:12px; padding:14px 16px;
  font-size:13px; color:var(--ink2); line-height:1.6; margin-top:8px;
}
.product-hero .modal-foot{ margin-top:8px; }
@media (max-width:820px){
  .product-hero{ grid-template-columns:1fr; gap:26px; }
  .ph-img{ position:static; aspect-ratio:1.3; }
}

.related-strip{ padding:24px 0 64px; }

/* ── CART SIDEBAR ─────────────────────────────────── */
.menu-cart{
  position:sticky; top:calc(var(--nav-h) + 24px); background:var(--paper); border:1px solid var(--line);
  border-radius:20px; box-shadow:var(--shadow-lg); overflow:hidden; max-height:calc(100vh - var(--nav-h) - 48px);
  display:flex; flex-direction:column; border-top:3px solid var(--brand);
}
@media (min-width:1201px){
  /* "Breakout": el panel del pedido se sale levemente de su columna del grid
     para señalar que es el bloque de mayor jerarquía de la sección. */
  .menu-cart{ margin-right:-18px; box-shadow:0 32px 64px -18px rgba(61,26,73,.38); }
}
.mc-head{ padding:20px 22px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.mc-head h3{ font-size:15.5px; font-weight:800; }
.mc-head span{ font-size:11.5px; color:var(--mut); font-weight:600; }
.mc-head-right{ display:flex; align-items:center; gap:10px; }
.mc-clear{
  font-size:11px; font-weight:700; color:var(--brand); background:none; border:none; cursor:pointer;
  text-decoration:underline; text-underline-offset:2px; padding:0;
}
.mc-clear:hover{ color:var(--brand-dk); }
.mc-clear.hidden{ display:none; }
.mc-list{ padding:8px 14px; overflow-y:auto; flex:1; }
.mc-empty{ padding:40px 20px; text-align:center; color:var(--mut); font-size:12.5px; line-height:1.6; }
.mc-item{ display:flex; gap:11px; padding:12px 6px; align-items:center; border-bottom:1px solid var(--line); }
.mc-item:last-child{ border-bottom:none; }
.mc-item img{ width:48px; height:48px; border-radius:10px; object-fit:cover; flex-shrink:0; }
.mc-item-body{ flex:1; min-width:0; }
.mc-item-name{ font-size:12.5px; font-weight:700; margin-bottom:2px; line-height:1.3; }
.mc-item-price{ font-size:11.5px; color:var(--mut); }
.mc-qty{ display:flex; align-items:center; gap:7px; }
.mc-qty button{
  width:22px; height:22px; border-radius:50%; border:1.5px solid var(--line2); background:#fff;
  font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.mc-qty span{ font-size:12px; font-weight:800; min-width:12px; text-align:center; }
.mc-foot{ padding:18px 22px 22px; border-top:1px solid var(--line); }
.mc-sumrow{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink2); padding:4px 0; }
.mc-sumrow.total{ font-size:16px; font-weight:800; color:var(--ink); padding-top:9px; margin-top:5px; border-top:1px solid var(--line); }
.mc-note{
  background:var(--tile); border:1px solid var(--line); border-radius:12px; padding:12px 13px;
  font-size:11px; color:var(--ink2); line-height:1.55; margin:14px 0; display:flex; gap:8px;
}
.mc-note svg{ width:15px; height:15px; stroke:var(--brand); flex-shrink:0; margin-top:1px; }
.btn-wa{
  width:100%; padding:15px; border-radius:13px; background:linear-gradient(135deg,#2fbf4a,var(--wa)); color:#fff;
  border:none; font-size:13.5px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center;
  gap:9px; text-decoration:none; box-shadow:0 12px 24px -8px rgba(37,166,62,.5); transition:transform .12s;
}
.btn-wa:hover{ transform:translateY(-2px); }
.btn-wa svg{ width:17px; height:17px; fill:#fff; }
.btn-wa.disabled{ opacity:.4; pointer-events:none; }

@media (max-width:1200px){
  .menu-grid{ grid-template-columns:1fr; }
  .menu-cart{ position:static; max-height:none; }
}

/* ── PRODUCT MODAL ────────────────────────────────── */
.modal-bg{
  position:fixed; inset:0; background:rgba(34,22,38,.55); backdrop-filter:blur(3px); z-index:500;
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.modal-bg.open{ opacity:1; pointer-events:auto; }
.modal{
  background:#fff; border-radius:24px; width:100%; max-width:760px; max-height:88vh; overflow-y:auto;
  display:grid; grid-template-columns:1fr 1fr; box-shadow:var(--shadow-lg);
  transform:translateY(16px) scale(.98); transition:transform .22s;
}
.modal-bg.open .modal{ transform:translateY(0) scale(1); }
.modal-img{ background:var(--tile); position:relative; min-height:320px; }
.modal-img img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.modal-close{
  position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%; border:none;
  background:rgba(255,255,255,.92); box-shadow:var(--shadow-sm); cursor:pointer; font-size:16px;
  display:flex; align-items:center; justify-content:center; z-index:2;
}
.modal-body{ padding:34px 32px; display:flex; flex-direction:column; }
.modal-sub{ font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--mut); margin-bottom:10px; }
.modal-name{ font-size:25px; font-weight:800; letter-spacing:-.015em; line-height:1.2; margin-bottom:12px; }
.modal-price{ font-size:21px; font-weight:800; color:var(--brand-dk); margin-bottom:18px; }
.modal-desc{ font-size:14px; color:var(--ink2); line-height:1.65; margin-bottom:28px; }
.modal-foot{ margin-top:auto; display:flex; align-items:center; gap:18px; }
.stepper{ display:flex; align-items:center; gap:16px; }
.step-btn{
  width:38px; height:38px; border-radius:50%; border:1.5px solid var(--line2); background:#fff;
  font-size:17px; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--ink);
  box-shadow:var(--shadow-sm); transition:transform .12s;
}
.step-btn:hover{ transform:scale(1.08); }
.step-val{ font-size:16px; font-weight:800; min-width:18px; text-align:center; }
.btn-add{
  flex:1; min-width:0; padding:13px 20px; border-radius:13px; background:linear-gradient(135deg,var(--brand-h),var(--brand-dk));
  color:#fff; border:none; cursor:pointer; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:2px; line-height:1.2; box-shadow:var(--shadow-md); transition:transform .12s;
}
.btn-add span:first-child{ font-size:12.5px; font-weight:700; opacity:.9; }
.btn-add span:last-child{ font-size:16px; font-weight:800; }
.btn-add:hover{ transform:translateY(-2px); }
@media (max-width:640px){ .modal{ grid-template-columns:1fr; } .modal-img{ min-height:220px; } }

/* ── FAQ (SEO/AEO) ────────────────────────────────── */
.w24-faq{ background:var(--tile,#f6f3fb); padding:48px 0; }
.w24-faq h2{ font-size:22px; font-weight:800; margin-bottom:18px; }
.w24-faq details{ background:#fff; border-radius:12px; padding:14px 18px; margin-bottom:10px; border:1px solid rgba(0,0,0,.06); }
.w24-faq summary{ font-weight:700; cursor:pointer; font-size:14.5px; }
.w24-faq p{ margin-top:10px; font-size:13.5px; color:#555; line-height:1.6; }

/* ── FOOTER ───────────────────────────────────────── */
.w24-footer{ position:relative; overflow:hidden; background:var(--brand-dk); color:#fff; padding:56px 0 32px; margin-top:40px; }
.ft-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; margin-bottom:36px; flex-wrap:wrap; }
.ft-logo img{ height:75px; margin-bottom:18px; filter:brightness(0) invert(1); }
.ft-logo p{ font-size:13px; color:rgba(255,255,255,.55); max-width:280px; line-height:1.6; }
.ft-col h4{ font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-lt); margin-bottom:14px; }
.ft-col div{ font-size:13px; color:rgba(255,255,255,.7); margin-bottom:8px; }
.ft-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; font-size:11.5px; color:rgba(255,255,255,.35); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }

/* ── WHATSAPP FLOTANTE ────────────────────────────── */
.wa-float{
  position:fixed; right:28px; bottom:28px; z-index:300;
  width:58px; height:58px; border-radius:50%;
  background:linear-gradient(135deg,#2fbf4a,var(--wa)); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(37,166,62,.55); text-decoration:none;
  transition:transform .15s, box-shadow .15s;
}
.wa-float:hover{ transform:translateY(-4px) scale(1.05); box-shadow:0 18px 36px -8px rgba(37,166,62,.65); }
.wa-float svg{ width:27px; height:27px; fill:#fff; }

/* ── CAJÓN DE CARRITO (páginas de categoría/producto) ── */
.cart-drawer-bg{
  position:fixed; inset:0; background:rgba(34,22,38,.45); backdrop-filter:blur(2px); z-index:400;
  opacity:0; pointer-events:none; transition:opacity .22s;
}
.cart-drawer-bg.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:410; width:380px; max-width:92vw;
  background:var(--paper); box-shadow:var(--shadow-lg); display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .28s ease;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-drawer .mc-head{ padding-top:26px; }
.cart-drawer .mc-list{ flex:1; }
.cart-drawer-close{
  width:26px; height:26px; border-radius:50%; border:1.5px solid var(--line2); background:#fff;
  font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--ink2);
}
@media (max-width:480px){ .cart-drawer{ width:100vw; } }

/* ── TOAST (confirmación al agregar al pedido) ────── */
.toast{
  position:fixed; left:50%; bottom:28px; z-index:700;
  transform:translate(-50%, 20px); opacity:0; pointer-events:none;
  background:var(--ink); color:#fff; padding:13px 22px; border-radius:13px;
  font-size:13.5px; font-weight:700; box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:10px; max-width:calc(100vw - 48px);
  transition:opacity .22s ease, transform .22s ease;
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }
.toast svg{ width:18px; height:18px; stroke:#22c55e; flex-shrink:0; }
@media (max-width:640px){ .toast{ bottom:96px; } }

/* ── REVEAL ON SCROLL ─────────────────────────────── */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .55s ease, transform .55s ease; }
.reveal.reveal-in{ opacity:1; transform:none; }

/* ── FLY TO CART (feedback al agregar un producto) ── */
.fly-ghost{
  position:fixed; z-index:800; border-radius:50%; object-fit:cover;
  pointer-events:none; transition:transform .55s cubic-bezier(.3,.6,.3,1), opacity .55s ease;
  box-shadow:var(--shadow-lg);
}

@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .hv-1, .hv-2, .hero-eyebrow .dot, .hero-visual::before{ animation:none !important; }
  .fly-ghost{ display:none; }
}
