/* ==========================================================================
   CRAFT GENIOS · Tienda en línea · craftgenios.click
   Sistema de diseño (UI/UX Pro Max): estilo "mexicano lúdico" — crema cálido,
   rojo, verde y amarillo de la marca, botones táctiles con relieve, tipografía
   Lilita One (títulos) + Inter (texto). Fuentes alojadas en /fonts.
   Orden: tokens · base · layout · componentes · páginas · checkout · utilidades
   ========================================================================== */

@font-face { font-family: "Lilita One"; src: url(/fonts/lilita-one.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-800.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  /* Marca */
  --red: #D42A2F;   --red-700: #A91C22;  --red-50: #FDECEA;
  --green: #1F7A3A; --green-700: #155A2A; --green-50: #E6F3E9;
  --yellow: #F5B80C; --yellow-600: #C99400; --yellow-300: #FBD56B; --yellow-50: #FFF4D2;
  --brown: #6B3B1D; --brown-900: #2B1A10;
  /* Neutros cálidos */
  --bg: #FFF8EC; --bg-2: #FBEFD9; --surface: #FFFFFF;
  --ink: #2B1A10; --ink-2: #4A3426; --muted: #6F5A4B; --subtle: #9A8573;
  --line: #EEDFC6; --line-2: #E0CBA8;
  /* Estados */
  --ok: #1F7A3A; --ok-bg: #E6F3E9; --warn: #8A5A00; --warn-bg: #FFF1D0; --info: #1F5FA3; --info-bg: #E7F0FA; --danger: #B91E26; --danger-bg: #FDECEC;
  /* Tipografía */
  --f-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Forma y espacio */
  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 28px); --max: 1240px; --header-h: 128px;
  /* Profundidad */
  --sh-1: 0 1px 2px rgba(60, 30, 0, .06);
  --sh-2: 0 14px 30px -18px rgba(60, 30, 0, .35);
  --sh-3: 0 26px 50px -24px rgba(60, 30, 0, .45);
  --ring: 0 0 0 3px rgba(31, 122, 58, .35);
  /* Movimiento */
  --ease: cubic-bezier(.32, .72, 0, 1); --t-fast: 140ms; --t: 220ms; --t-slow: 420ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-locked { overflow: hidden; }
body { margin: 0; min-height: 100vh; font: 400 1rem/1.6 var(--f-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-mbar { padding-bottom: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-700); }
p { margin: 0 0 .8em; } p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .45em; font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: .005em; color: var(--ink); text-wrap: balance; }
dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--yellow-300); }
[data-lucide], .lucide { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.18em; stroke-width: 2; }

.display { font-size: clamp(2.5rem, 6.4vw, 4.9rem); line-height: .98; }
.h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.03rem, 1.4vw, 1.15rem); color: var(--ink-2); max-width: 64ch; }
.eyebrow { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .55rem; font: 800 .75rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }
.eyebrow a { color: inherit; text-decoration: none; } .eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: var(--yellow-300); }
.muted { color: var(--muted); } .muted-light { color: #E8D7C2; }
.optional { font-weight: 400; color: var(--subtle); font-size: .82rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 8vw, 96px); }
.section--tight { padding-block: clamp(24px, 4vw, 44px) clamp(48px, 6vw, 72px); }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--brown-900); color: #F3E6D3; }
.section--dark .h2, .section--dark h3 { color: #fff; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.shead .h2 { margin: 0; }
.shead__desc { max-width: 60ch; margin: .5rem 0 0; }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.row-center { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.serape { height: 8px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--yellow) 40px 60px, var(--green) 60px 100px, #fff 100px 108px, var(--brown) 108px 128px, #fff 128px 136px); }

/* ---------- Botones (relieve tipo “tecla”, responden al presionar) ---------- */
.btn { --bg: var(--surface); --fg: var(--ink); --edge: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem;
  font: 700 .97rem/1.1 var(--f-body); text-decoration: none; white-space: nowrap; color: var(--fg); background: var(--bg);
  border: 2px solid transparent; border-radius: var(--r-pill); box-shadow: 0 5px 0 var(--edge);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.btn:hover { color: var(--fg); transform: translateY(2px); box-shadow: 0 3px 0 var(--edge); }
.btn:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 0 0 var(--edge); transition-duration: 60ms; }
.btn:disabled, .btn.is-off { opacity: .55; cursor: not-allowed; }
.btn--primary { --bg: var(--red); --fg: #fff; --edge: var(--red-700); }
.btn--green { --bg: var(--green); --fg: #fff; --edge: var(--green-700); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --edge: var(--yellow-600); }
.btn--light { --bg: #fff; --fg: var(--ink); --edge: #D9C4A3; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; transform: none; }
.btn--oxxo { --bg: #E30613; --fg: #fff; --edge: #A3040E; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; box-shadow: 0 4px 0 var(--edge); }
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn--xl { min-height: 60px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn.is-added { --bg: var(--green); --edge: var(--green-700); }
.btn.is-busy { cursor: progress; }
.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--red-700); text-decoration: none; min-height: 44px; }
.link:hover { color: var(--red); } .link:hover [data-lucide], .link:hover svg { transform: translateX(3px); }
.link svg { transition: transform var(--t) var(--ease); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background-color var(--t) var(--ease); }
.icon-btn:hover { background: var(--line); }

/* ---------- Pills, estado ---------- */
.pill { display: inline-flex; align-items: center; padding: .28rem .65rem; border-radius: var(--r-pill); font: 800 .72rem/1 var(--f-body); letter-spacing: .03em; color: #fff; }
.pill--red { background: var(--red); } .pill--green { background: var(--green); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; vertical-align: middle; }
.badge--ok { background: var(--ok-bg); color: var(--ok); } .badge--info { background: var(--info-bg); color: var(--info); }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; margin: 0; }
.stock span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--ok { color: var(--green-700); } .stock--warn { color: var(--warn); } .stock--info { color: var(--info); }
.save { color: var(--green-700); font-weight: 700; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--green); color: #fff; font-size: .84rem; font-weight: 500; }
.topbar__in { display: flex; justify-content: center; gap: .5rem 2rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .4rem; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 248, 236, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow var(--t) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(60, 30, 0, .4); }
.nav { display: flex; align-items: center; gap: 1rem; height: 76px; }
.nav__burger { display: none; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 56px; height: 56px; object-fit: contain; transition: transform var(--t-slow) var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand b { font: 400 1.5rem/0.9 var(--f-display); color: var(--ink); }
.brand b span { display: block; color: var(--green); font-size: .78em; letter-spacing: .04em; }
.brand--light b { color: #fff; } .brand--light b span { color: var(--yellow); }
.nav__main { display: flex; gap: 1.8rem; margin-left: auto; font-weight: 700; }
.nav__main a { position: relative; padding: .6rem 0; text-decoration: none; color: var(--ink); }
.nav__main a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 3px; width: 0; border-radius: 3px; background: var(--red); transition: width var(--t) var(--ease); }
.nav__main a:hover::after, .nav__main a[aria-current]::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .5rem; margin-left: 1.2rem; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); transition: background-color var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.cart-btn:hover { background: var(--yellow-50); } .cart-btn:active { transform: scale(.94); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; box-shadow: 0 0 0 2px var(--bg); }
.cart-count.is-bump { animation: bump 380ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.catbar { border-top: 1px solid var(--line); }
.catbar__in { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding-block: .35rem; }
.catbar__in::-webkit-scrollbar { display: none; }
.catbar a { flex-shrink: 0; padding: .45rem .9rem; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.catbar a:hover { background: var(--line); color: var(--ink); }
.catbar a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 40%, #FFE9B0 0, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 4vw, 48px); padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--green-700); box-shadow: var(--sh-1); }
.hero h1 { margin: 1.1rem 0 1.1rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero h1 .g { color: var(--green); }
.hero .lead { margin-bottom: 1.8rem; }
.hero__ctas { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 1.2rem 2.6rem; flex-wrap: wrap; margin-top: 2.4rem; list-style: none; }
.hero__stats b { display: block; font: 400 2.2rem/1 var(--f-display); color: var(--green); }
.hero__stats small { color: var(--muted); font-weight: 600; }
.hero__art { position: relative; height: clamp(360px, 44vw, 540px); }
.blob { position: absolute; inset: 6% 4% 2% 8%; background: var(--yellow); border-radius: 46% 54% 42% 58% / 55% 40% 60% 45%; animation: morph 12s ease-in-out infinite; }
.blob::after { content: ""; position: absolute; inset: 22px; border: 3px dashed rgba(255, 255, 255, .75); border-radius: inherit; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.hero__mascot { position: absolute; left: 6%; top: 4%; width: 72%; height: auto; filter: drop-shadow(0 22px 26px rgba(60, 30, 0, .3)); animation: float 6s ease-in-out infinite; }
.hero__bottle { position: absolute; right: 6%; bottom: 0; height: 66%; width: auto; transform: rotate(-7deg); filter: drop-shadow(0 26px 24px rgba(60, 30, 0, .3)); animation: float2 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes float2 { 50% { transform: translateY(-12px) rotate(-4deg); } }
.sticker { position: absolute; top: 4%; right: 0; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--red); color: #fff; font: 400 1.25rem/1.02 var(--f-display); transform: rotate(12deg); box-shadow: 0 0 0 6px var(--bg), 0 0 0 9px var(--red); }
.chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-radius: 14px; background: #fff; font-weight: 700; font-size: .86rem; box-shadow: var(--sh-2); }
.chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.chip--1 { left: 0; bottom: 22%; } .chip--1 i { background: var(--green); }
.chip--2 { left: 18%; bottom: 3%; } .chip--2 i { background: var(--red); }

/* ---------- Categorías (home) ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.catcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 18px 12px 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.catcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); color: var(--ink); }
.catcard__img { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; background: var(--yellow-50); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--yellow); margin-bottom: .4rem; }
.catcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.catcard__img--contain img { object-fit: contain; padding: 10px; }
.catcard:hover .catcard__img img { transform: scale(1.08); }
.catcard__pill { position: absolute; top: 10px; right: 10px; padding: .2rem .5rem; border-radius: var(--r-pill); background: var(--green-50); color: var(--green-700); font-size: .66rem; font-weight: 800; }
.catcard strong { font: 400 1.12rem/1.1 var(--f-display); }
.catcard small { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-weight: 600; }

/* ---------- Banda Poweroso ---------- */
.pw { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.pw::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--yellow); left: -140px; top: 50%; transform: translateY(-50%); opacity: .95; }
.pw__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.pw__art img { height: clamp(300px, 34vw, 430px); width: auto; margin-inline: auto; transform: rotate(-6deg); filter: drop-shadow(0 28px 28px rgba(60, 20, 0, .35)); }
.pw .h2 { color: #fff; }
.pw__copy > p { color: #FFE6DF; max-width: 58ch; }
.pw__steps { list-style: none; display: grid; gap: .7rem; margin: 1.4rem 0 1rem; }
.pw__steps li { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .1); }
.pw__steps b { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 400 1.1rem/1 var(--f-display); }
.pw__note { font-size: .85rem; color: #FFD7CC; margin-bottom: 1.4rem; }

/* ---------- Tarjeta de producto ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: var(--yellow-50); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.pcard__media--contain { background: radial-gradient(circle at 50% 60%, #FFE9B0, var(--yellow-50) 70%); }
.pcard__media--contain img { object-fit: contain; padding: 14px; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__pills { position: absolute; top: 12px; left: 12px; display: flex; gap: .3rem; flex-wrap: wrap; }
.pcard__body { display: flex; flex-direction: column; gap: .35rem; padding: 16px 16px 14px; flex: 1; }
.pcard__line { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); }
.pcard__title { margin: 0; font: 700 1.02rem/1.3 var(--f-body); letter-spacing: 0; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--red-700); text-decoration: underline; }
.pcard__pres { margin: 0; font-size: .85rem; color: var(--muted); }
.pcard .select { margin-top: .3rem; }
.pcard__price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-top: auto; padding-top: .55rem; }
.pcard__price strong { font: 400 1.65rem/1 var(--f-display); color: var(--ink); }
.pcard__price span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pcard__iva { margin: 0; font-size: .82rem; color: var(--green-700); font-weight: 700; }
.pcard__tier { margin: 0; display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.pcard__buy { display: flex; gap: .45rem; margin-top: .6rem; }
.pcard__buy .btn { flex: 1; min-width: 0; padding-inline: .7rem; min-height: 44px; box-shadow: 0 4px 0 var(--edge); }
.pcard__buy .qty__btn { width: 36px; height: 40px; } .pcard__buy .qty__input { width: 34px; }
.pcard__min { margin: .2rem 0 0; font-size: .74rem; color: var(--subtle); text-align: center; }

/* ---------- Cantidad ---------- */
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line-2); border-radius: var(--r-pill); background: #fff; flex-shrink: 0; }
.qty__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; color: var(--ink); transition: background-color var(--t) var(--ease); }
.qty__btn:hover:not(:disabled) { background: var(--bg-2); } .qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty__input { width: 44px; min-height: 40px !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: center; font-weight: 800; box-shadow: none !important; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg .qty__btn { width: 48px; height: 48px; } .qty--lg .qty__input { width: 56px; font-size: 1.1rem; }
.qty--compact .qty__btn { width: 34px; height: 34px; } .qty--compact .qty__input { width: 38px; min-height: 34px !important; }

/* ---------- Formularios ---------- */
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink-2); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; background: #fff; border: 2px solid var(--line-2); border-radius: var(--r-sm); font-size: 1rem; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); -webkit-appearance: none; appearance: none; }
input:hover, select:hover { border-color: var(--subtle); }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: var(--ring); outline: none; }
input::placeholder { color: var(--subtle); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #FFFBFB !important; }
.hint-text { font-size: .82rem; color: var(--muted); margin: 0; }
.field__error { color: var(--danger); font-size: .84rem; font-weight: 600; margin: 0; }
.select { position: relative; }
.select select { padding-right: 2.6rem; cursor: pointer; }
.select > svg, .select > i { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select--sm select { min-height: 42px; font-size: .88rem; padding-block: .4rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: .93rem; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--line-2); border-radius: 7px; background: #fff center/13px no-repeat; cursor: pointer; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.check input:checked { background-color: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.check input:focus-visible { box-shadow: var(--ring); }

/* ---------- Beneficios, pasos, envíos ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.benefit h3 { font-size: 1.3rem; margin: 1rem 0 .4rem; }
.benefit p { color: var(--muted); margin: 0; }
.benefit__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; transform: rotate(-4deg); }
.benefit__ic svg, .benefit__ic i { width: 26px; height: 26px; }
.benefit__ic--red { background: var(--red); } .benefit__ic--green { background: var(--green); } .benefit__ic--yellow { background: var(--yellow); color: var(--ink); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 24px; background: #fff; border: 2px dashed var(--line-2); border-radius: var(--r-lg); }
.steps__ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.steps__ic svg, .steps__ic i { width: 24px; height: 24px; }
.steps__n { position: absolute; top: 14px; right: 18px; font: 400 2.6rem/1 var(--f-display); color: var(--line-2); }
.steps h3 { font-size: 1.25rem; margin: 1rem 0 .35rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.checks { list-style: none; display: grid; gap: .55rem; margin-top: 1.3rem; }
.checks li { display: flex; gap: .55rem; align-items: center; font-weight: 600; }
.checks svg, .checks i { color: var(--yellow); }
.ship__regions h3 { font-size: 1.1rem; margin: 0 0 .6rem; color: var(--yellow-300) !important; }
.ship__regions > div { margin-bottom: 1.3rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .35rem .75rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .86rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: .65rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--sh-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; min-height: 56px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg, .faq summary i { flex-shrink: 0; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--yellow-50); color: var(--ink); transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--yellow); }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }
.faq-groups { display: grid; gap: 2.2rem; max-width: 860px; }
.faq-group h2 { margin-bottom: .9rem; }

/* ---------- Banda CTA + footer ---------- */
.cta-band { background: var(--yellow); }
.cta-band__in { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding-block: clamp(32px, 5vw, 52px); }
.cta-band img { width: 110px; height: 110px; object-fit: contain; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.cta-band__btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.site-footer { background: var(--brown-900); color: #E8D7C2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
.site-footer h2 { font: 400 1.15rem/1.2 var(--f-display); color: #fff; margin-bottom: .9rem; }
.site-footer nav, .site-footer .footer__grid > div:not(.footer__brand) { display: grid; gap: .1rem; align-content: start; }
.site-footer a { color: #E8D7C2; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; }
.site-footer a:hover { color: var(--yellow); }
.footer__brand p { margin: 1rem 0 1.2rem; max-width: 42ch; font-size: .93rem; }
.footer__muted { display: flex; align-items: center; gap: .45rem; margin: .4rem 0; }
.footer__legal { display: flex; justify-content: space-between; gap: .6rem 2rem; flex-wrap: wrap; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.footer__legal p { margin: 0; }
.credit a { display: inline; min-height: 0; color: var(--yellow) !important; font-weight: 700; text-decoration: underline; }
.pay-badges, .pay-strip { display: flex; gap: .4rem; flex-wrap: wrap; }
.pay-badges img, .pay-strip img { width: 48px; height: 30px; object-fit: contain; padding: 4px 6px; background: #fff; border-radius: 6px; border: 1px solid var(--line); }

/* ---------- Encabezados de página, rail, filtros ---------- */
.phead { padding-block: 18px clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.phead .h1 { margin-top: .4rem; }
.phead__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.phead__img { aspect-ratio: 5/4; border-radius: 40% 60% 46% 54% / 52% 44% 56% 48%; overflow: hidden; background: var(--yellow); border: 6px solid #fff; box-shadow: var(--sh-3); }
.phead__img img { width: 100%; height: 100%; object-fit: cover; }
.phead__img--contain img { object-fit: contain; padding: 22px; }
.phead__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.phead__facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding-block: .8rem; font-size: .86rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--red-700); text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; color: var(--subtle); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail, .filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 18px; margin-bottom: 8px; }
.rail::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.rail a, .fchip { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill); border: 2px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease); }
.rail a:hover, .fchip:hover { border-color: var(--ink); color: var(--ink); }
.rail a[aria-current], .fchip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.fchip span { padding: .05rem .45rem; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); font-size: .75rem; }
.fchip[aria-pressed="true"] span { background: rgba(255, 255, 255, .2); color: #fff; }
.shop { padding-block: 8px 72px; }
.shop-sec { padding-top: 28px; }
.shop-sec + .shop-sec { margin-top: 28px; border-top: 2px dashed var(--line-2); }
.cross { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1.4rem; padding: .9rem 1.1rem; border-radius: var(--r); background: var(--green-50); font-size: .95rem; }
.cross span { font-weight: 700; }
.note-line { margin-top: 1.2rem; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4.5vw, 60px); align-items: start; padding-bottom: 40px; }
.pdp__media { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--yellow-50); border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main--contain { background: radial-gradient(circle at 50% 60%, #FFE2A0, var(--yellow-50) 72%); }
.gallery__main--contain img { object-fit: contain; padding: 28px; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; }
.gallery__thumbs button { flex-shrink: 0; width: 72px; height: 72px; padding: 0; border-radius: 14px; overflow: hidden; border: 3px solid transparent; background: var(--bg-2); transition: border-color var(--t) var(--ease); }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--red); }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 16px; }
.facts li { display: flex; gap: .45rem; align-items: flex-start; padding: .6rem .75rem; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); font-size: .87rem; font-weight: 600; }
.facts svg, .facts i { color: var(--green); margin-top: 2px; }
.pdp__pres { font-weight: 700; color: var(--green-700); margin-bottom: .9rem; }
.pdp__desc { color: var(--ink-2); }
.notice { display: flex; gap: .55rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--yellow-50); border: 1px solid var(--yellow-300); font-size: .93rem; }
.notice svg, .notice i { color: var(--yellow-600); margin-top: 3px; }
.buybox { display: grid; gap: 1rem; margin-top: 1.4rem; padding: clamp(18px, 3vw, 26px); background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--yellow); }
.buybox__lbl { margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.buybox__big { margin: .1rem 0 0; display: flex; align-items: baseline; gap: .45rem; }
.buybox__big strong { font: 400 clamp(2.2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--red); }
.buybox__big span { font-weight: 700; color: var(--muted); }
.buybox__iva { margin: .2rem 0 0; font-weight: 700; color: var(--green-700); }
.buybox__specs { display: grid; grid-template-columns: repeat(4, auto); gap: .4rem 1rem; padding: .8rem 0; border-block: 1px dashed var(--line-2); font-size: .85rem; }
.buybox__specs dt { color: var(--muted); font-size: .75rem; font-weight: 600; } .buybox__specs dd { font-weight: 700; }
.buybox__row { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: end; }
.calc { display: grid; gap: .2rem; font-size: .9rem; }
.calc > div { display: flex; justify-content: space-between; gap: 1rem; }
.calc dt { color: var(--muted); } .calc dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc .is-save dd, .calc .is-save dt { color: var(--green-700); }
.calc__total { padding-top: .35rem; margin-top: .2rem; border-top: 1px solid var(--line); font-size: 1rem; }
.calc__total dt { color: var(--ink); font-weight: 700; } .calc__total small { font-weight: 400; color: var(--muted); }
.nudge { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .65rem .9rem; border-radius: var(--r-sm); background: var(--green-50); color: var(--green-700); font-size: .9rem; }
.buybox__ship { display: flex; gap: .5rem; align-items: center; margin: 0; font-size: .9rem; color: var(--ink-2); }
.buybox__trust { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.buybox__trust p { display: flex; align-items: center; gap: .35rem; margin: 0; }
.pdp-more { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4.5vw, 60px); padding-bottom: clamp(48px, 7vw, 80px); align-items: start; }
.block { margin-bottom: 2rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; margin-top: .8rem; }
.ptable { font-size: .92rem; font-variant-numeric: tabular-nums; }
.ptable th { text-align: left; padding: .75rem 1rem; background: var(--bg-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.ptable td { padding: .7rem 1rem; border-top: 1px solid var(--line); }
.ptable tr.is-current td { background: var(--yellow-50); }
.ptable tr.is-current td:first-child { box-shadow: inset 4px 0 0 var(--yellow); }
.uses { list-style: none; display: grid; gap: .5rem; margin-top: .8rem; }
.uses li { display: flex; gap: .55rem; align-items: flex-start; }
.uses svg, .uses i { color: var(--green); margin-top: 3px; }

/* ---------- Guías, legales ---------- */
.info-card { padding: 1.1rem 1.25rem; margin-bottom: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.info-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.info-card p { color: var(--muted); }
.prose, .prose-narrow { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-bottom: 1rem; }
.prose em { color: var(--warn); }

/* ---------- Cajones (carrito y menú) ---------- */
.drawer-root { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.drawer-root.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(43, 26, 16, .45); opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.drawer-root.is-open .drawer-scrim { opacity: 1; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: -20px 0 50px -20px rgba(43, 26, 16, .5); transform: translateX(100%); transition: transform var(--t-slow) var(--ease); }
.drawer-root--left .drawer { right: auto; left: 0; transform: translateX(-100%); }
.drawer-root.is-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer__head h2 { margin: 0; font-size: 1.5rem; }
.drawer__head .brand img { width: 44px; height: 44px; } .drawer__head .brand b { font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 18px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: .3rem; }
.drawer__foot .btn { margin-top: .6rem; }
.drawer__foot .pay-strip { justify-content: center; margin-top: .4rem; }
.sum { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-2); }
.sum span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.sum.is-save { color: var(--green-700); }
.sum.total { font-size: 1.1rem; color: var(--ink); padding-top: .35rem; border-top: 1px dashed var(--line-2); margin-top: .2rem; }
.sum.total span:last-child { font: 400 1.35rem/1 var(--f-display); color: var(--red); }
.note { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--yellow-50); }
.ln { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.lp { font-size: .8rem; color: var(--muted); margin: .15rem 0 .45rem; }
.lt { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.rm { border: 0; background: none; color: var(--danger); font-size: .8rem; font-weight: 600; padding: .4rem 0; min-height: 32px; text-decoration: underline; }
.mnav { display: grid; gap: .2rem; }
.mnav a { display: flex; align-items: center; gap: .75rem; padding: .7rem .6rem; min-height: 52px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 700; }
.mnav a:hover { background: var(--bg-2); }
.mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow-50); color: var(--red-700); }
.empty { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 36px 12px; }
.empty__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-50); color: var(--red); }
.empty__icon svg, .empty__icon i { width: 28px; height: 28px; }
.empty__title { font: 400 1.4rem/1.1 var(--f-display); margin: .3rem 0 0; }
.empty__text { color: var(--muted); max-width: 40ch; }
.empty img { width: 140px; }

/* ---------- WhatsApp, barra móvil, toast ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.wa-float .orb { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8); transition: transform var(--t) var(--ease); }
.wa-float .orb svg { width: 30px; height: 30px; }
.wa-float:hover .orb { transform: scale(1.07); }
.wa-float .bubble { padding: .55rem .85rem; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; box-shadow: var(--sh-2); opacity: 0; transform: translateX(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); pointer-events: none; }
.wa-float:hover .bubble, .wa-float:focus-visible .bubble { opacity: 1; transform: none; }
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(92vw, 440px); padding: .8rem 1.1rem; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-3); transform: translate(-50%, 140%); opacity: 0; transition: transform var(--t-slow) var(--ease), opacity var(--t) var(--ease); pointer-events: none; }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   CHECKOUT Y CONFIRMACIÓN
   ========================================================================== */
.co-page { background: var(--bg); }
.site-header--co .nav { height: 68px; justify-content: space-between; }
.co-secure { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--green-700); font-size: .9rem; }
.co-main { padding-block: 22px 72px; }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.co-steps li { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); }
.co-steps b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: .72rem; }
.co-steps .done { color: var(--green-700); border-color: var(--green-50); background: var(--green-50); }
.co-steps [aria-current] { color: #fff; background: var(--ink); border-color: var(--ink); } .co-steps [aria-current] b { background: var(--yellow); color: var(--ink); }
.co-alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn); font-weight: 600; margin-bottom: 1rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.co-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: start; }
.co-left { display: grid; gap: 18px; }
.co-box { padding: clamp(18px, 3vw, 26px); }
.co-box h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.45rem; margin-bottom: 1.1rem; }
.co-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.05rem; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.co-fields .is-optional { opacity: .55; }
.co-rates { grid-column: 1 / -1; display: grid; gap: .55rem; }
.co-rates-hint { display: flex; align-items: center; gap: .55rem; margin: 0; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--bg-2); color: var(--ink-2); font-size: .92rem; }
.co-rates-hint.is-err { background: var(--danger-bg); color: var(--danger); flex-wrap: wrap; }
.co-rates-hint button { border: 0; background: none; color: inherit; font-weight: 700; text-decoration: underline; min-height: 32px; }
.co-rates-t { font-weight: 700; font-size: .92rem; }
.co-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green); border-right-color: transparent; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.choice-list { display: grid; gap: .6rem; }
.choice { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; min-height: 64px; border: 2px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.choice:hover { border-color: var(--subtle); }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-50); box-shadow: 0 0 0 1px var(--green); }
.choice input { accent-color: var(--green); width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.choice__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow-50); color: var(--ink); flex-shrink: 0; }
.choice__body { flex: 1; display: grid; gap: .1rem; min-width: 0; }
.choice__body small { color: var(--muted); font-size: .82rem; }
.choice__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-logos { display: flex; gap: .3rem; }
.pay-logos img { width: 42px; height: 26px; object-fit: contain; padding: 3px 5px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.co-info { margin: .8rem 0 0; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--info-bg); color: var(--info); font-size: .9rem; }
.co-terms { padding: 0 .3rem; }
.co-right { position: sticky; top: 90px; }
.summary { padding: clamp(18px, 3vw, 24px); background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--yellow); display: grid; gap: .8rem; }
.summary__title { font-size: 1.5rem; margin: 0; }
.summary__lines { list-style: none; display: grid; gap: .8rem; max-height: 340px; overflow-y: auto; }
.summary__lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: .7rem; align-items: start; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.summary__lines img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; background: var(--yellow-50); }
.summary__lines p { margin: 0; font-weight: 700; font-size: .88rem; line-height: 1.3; }
.summary__lines small { display: block; color: var(--muted); font-size: .78rem; margin: .1rem 0 .35rem; }
.summary__lines strong { font-variant-numeric: tabular-nums; font-size: .92rem; }
.summary__rows { display: grid; gap: .35rem; font-size: .92rem; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary__rows dt { color: var(--ink-2); } .summary__rows dt small { display: block; color: var(--subtle); font-size: .74rem; }
.summary__rows dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.summary__rows .is-save { color: var(--green-700); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .7rem; border-top: 2px dashed var(--line-2); }
.summary__total span { font-weight: 800; }
.summary__total strong { font: 400 1.7rem/1 var(--f-display); color: var(--red); }
.summary__tax { font-size: .84rem; color: var(--ink-2); background: var(--yellow-50); padding: .7rem .85rem; border-radius: var(--r-sm); margin: 0; }
.co-err { margin: 0; padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: .9rem; }
.summary .pay-strip { justify-content: center; }
.assurances { list-style: none; display: grid; gap: .4rem; font-size: .86rem; color: var(--ink-2); }
.assurances li { display: flex; gap: .5rem; align-items: center; }
.assurances svg, .assurances i { color: var(--green); }
.co-foot { padding-block: 22px 90px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); }
.co-foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; }
.co-foot a { color: var(--ink-2); }
.co-done { max-width: 760px; margin-inline: auto; text-align: center; padding: clamp(24px, 5vw, 44px); }
.co-badge { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 400 2.2rem/1 var(--f-display); color: var(--ink); }
.co-done.is-ok .co-badge { background: var(--green); color: #fff; }
.co-done.is-pending .co-badge { background: var(--yellow); }
.co-done.is-warn .co-badge { background: var(--red); color: #fff; }
.co-done .lead { margin-inline: auto; }
.co-oxxo { display: grid; gap: 1rem; margin: 1.4rem auto; padding: 1.2rem; max-width: 480px; border: 2px dashed var(--line-2); border-radius: var(--r); text-align: left; }
.co-oxxo > div { display: grid; } .co-oxxo b { font: 400 1.5rem/1.2 var(--f-display); letter-spacing: .04em; word-break: break-all; }
.co-oxxo small { color: var(--muted); }
.co-oxxo-steps { padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .9rem; }
.co-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin: 1.4rem 0; padding: 1.1rem; border-radius: var(--r); background: var(--bg-2); text-align: left; }
.co-dl .full { grid-column: 1 / -1; } .co-dl dt { font-size: .78rem; color: var(--muted); font-weight: 600; } .co-dl dd { font-weight: 700; }
.co-dl ul { padding-left: 1.1rem; font-weight: 500; }
.co-next { margin-top: 1.4rem; } .co-next p { color: var(--muted); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 118px; }
  .nav__main { display: none; }
  .nav__burger { display: inline-grid; margin-left: -8px; }
  .nav__actions { margin-left: auto; }
  .hero__grid, .pw__grid, .ship, .faq-wrap, .pdp, .pdp-more, .co-grid, .phead__grid, .two { grid-template-columns: 1fr; }
  .hero__art { height: clamp(300px, 70vw, 440px); max-width: 520px; width: 100%; margin-inline: auto; }
  .pw__art img { height: 260px; }
  .pw::before { width: 380px; height: 380px; left: 50%; top: 150px; transform: translateX(-50%); }
  .pdp__media, .co-right { position: static; }
  .phead__img { max-width: 420px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .cta-band__in { grid-template-columns: auto 1fr; } .cta-band__btns { grid-column: 1 / -1; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: flex; gap: .6rem; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 236, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; }
  body.has-mbar { padding-bottom: 76px; }
  body.has-mbar .wa-float { bottom: 88px; }
  body.has-mbar .toast { bottom: 92px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .topbar__in { gap: .3rem 1rem; font-size: .78rem; }
  .nav { height: 66px; }
  .brand img { width: 46px; height: 46px; } .brand b { font-size: 1.3rem; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catcard__img { width: 96px; height: 96px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard__body { padding: 12px; }
  .pcard__price strong { font-size: 1.35rem; }
  .pcard__buy { flex-direction: column; }
  .pcard__buy .qty { justify-content: space-between; width: 100%; }
  .pcard__buy .qty__input { flex: 1; }
  .pcard__pres { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .buybox__specs { grid-template-columns: 1fr 1fr; }
  .buybox__row { grid-template-columns: 1fr; }
  .co-fields, .co-dl { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; padding-block: 40px 24px; }
  .cta-band__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band__btns { justify-content: center; }
  .sticker { width: 92px; height: 92px; font-size: 1rem; }
  .chip { font-size: .78rem; padding: .45rem .7rem; } .chip i { width: 26px; height: 26px; }
  .wa-float .bubble { display: none; }
  .hero__stats b { font-size: 1.8rem; }
}
@media (max-width: 360px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- Movimiento reducido y contraste ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-contrast: more) { :root { --line: #B9A486; --line-2: #8C7759; --muted: #4D3B2E; } }
@media print { .site-header, .topbar, .serape, .wa-float, .mbar, .cta-band, .site-footer, .drawer-root { display: none !important; } }
.pdp > *, .pdp-more > *, .co-grid > *, .hero__grid > *, .two > * { min-width: 0; }
.qty input.qty__input { width: 44px; } .qty--lg input.qty__input { width: 56px; } .qty--compact input.qty__input { width: 38px; } .pcard__buy .qty input.qty__input { width: 34px; }
@media (max-width: 900px) {
  .pdp__media { display: contents; }
  .pdp .gallery { order: 1; } .pdp__info { order: 2; } .pdp .facts { order: 3; margin-top: 0; }
}
@media (max-width: 640px) { .pcard__buy .qty input.qty__input { flex: 1; width: auto; } }
