/* ═══════════════════════════════════════════════════════════════
   PATAS Y BIGOTES — estilos (versión minimalista)
   DECISION (dirección visual):
   - Blanco y aire. Aguamarina (azulada) y morado como acentos puntuales.
   - Líneas finas de 1px, sin sombras duras ni bloques de color grandes.
   - Bricolage Grotesque (títulos) + Figtree (texto), autoalojadas.
   - Íconos Phosphor (sprite /img/icons.svg), sin emojis.
   - Identidad: el gato del logo, que sale a pasear por la página (js/gato.js).
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --white: #FFFFFF;
  --aqua: #1E9FC4;
  --aqua-deep: #0E7896;
  --aqua-tint: #EEF8FB;
  --purple: #6B46D6;
  --purple-deep: #5534BD;
  --purple-tint: #F5F2FE;
  --ink: #17132B;
  --ink-2: #625F74;
  --line: #E8E6EF;
  --soft: #F8F8FA;

  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .45em; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-stretch: 94%; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
a { color: var(--purple); text-underline-offset: 3px; }
code { font-size: .88em; background: var(--soft); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--aqua); color: #fff; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.accent { color: var(--purple); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--body); padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-deep); }
.btn--primary:active { transform: scale(.98); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--lg { padding: 16px 26px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--aqua); padding-bottom: 2px; }
.link-arrow:hover { color: var(--aqua-deep); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--purple); font: 600 .95rem var(--body); cursor: pointer; margin-bottom: 18px; }

/* ── Barra superior + header ── */
.topbar { border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .82rem; text-align: center; }
.topbar p { margin: 0; padding: 7px 0; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__logo { height: 44px; width: auto; }
@media (max-width: 639px) { .brand__logo { height: 36px; } }
.nav { display: none; gap: 30px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--aqua); color: #fff; font: 700 .72rem/20px var(--body); text-align: center; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.hide-mobile { display: none; }

/* ── El gato (dibujo: js/gato-rig.js · comportamiento: js/gato.js) ──
   DECISION: tamaño FIJO en px por unidad del gato (1 px escritorio, 0.9 tablet, 0.8 móvil).
   El viewBox del logo mide 24 × 35.5 unidades; el gato que pasea usa la misma escala (la lee de aquí). */
.brand__cat { width: 24px; height: 35.5px; flex: none; overflow: visible; }
.cat__body { fill: var(--cat-ink, #17132B); }
.cat__far { fill: var(--cat-far, #2A2540); }
.cat-layer { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 45; pointer-events: none; }
.cat-sprite { position: absolute; left: 0; top: 0; overflow: visible; transform-origin: 0 0; opacity: 0; will-change: transform; pointer-events: none; }
.cat-layer.is-on .cat-sprite { opacity: 1; }
.cat-layer.is-on .cat-sprite path { pointer-events: visiblePainted; cursor: pointer; }
.cat-yarn { position: absolute; left: 0; top: 0; overflow: visible; opacity: 0; transition: opacity .2s; will-change: transform; }
.cat-yarn.is-on { opacity: 1; }
.cat-yarn__ball { transform-box: fill-box; transform-origin: center; }
.cat-yarn__ball circle { fill: var(--purple); }
.cat-yarn__ball path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: .45; stroke-linecap: round; }
@media (max-width: 1023px) { .brand__cat { width: 21.6px; height: 31.95px; } }
@media (max-width: 639px) { .brand__cat { width: 19.2px; height: 28.4px; } }

/* ── Hero ── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--aqua-deep); margin-bottom: 52px; }
.kicker svg { width: 18px; height: 18px; }
.hero__title { font-size: clamp(3rem, 7.2vw, 5.6rem); font-stretch: 90%; line-height: .95; letter-spacing: -.03em; margin-bottom: .4em; }
.hero__title-sub { display: block; margin-top: .35em; font-size: .4em; line-height: 1.1; letter-spacing: -.015em; color: var(--ink-2); font-weight: 600; }
.scribble { position: relative; display: inline-block; color: var(--purple); }
.scribble svg { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .2em; overflow: visible; }
.scribble path { fill: none; stroke: var(--aqua); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.16rem); color: var(--ink-2); max-width: 32em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 30px 0 38px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .93rem; }
.facts svg { width: 20px; height: 20px; color: var(--aqua); }
.hero__media { position: relative; }

/* ── Espacios para fotos: se reemplazan solos cuando la imagen existe ── */
.ph { position: relative; overflow: hidden; background: var(--soft); border-radius: var(--r); isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; margin: auto; width: 26%; aspect-ratio: 1; background: var(--ink); opacity: .06; -webkit-mask: url("/img/cat.svg") center / contain no-repeat; mask: url("/img/cat.svg") center / contain no-repeat; z-index: -1; }
.ph::after { content: "Foto · " attr(data-label); position: absolute; left: 14px; bottom: 12px; font: 500 .72rem var(--body); color: var(--ink-2); background: rgba(255, 255, 255, .9); padding: 4px 9px; border-radius: 6px; }
.ph.has-img::before, .ph.has-img::after { display: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:not(.has-img) img { opacity: 0; }
/* Fotos de producto: vienen con fondo blanco puro (procesadas con sharp); "multiply" hace que ese blanco
   tome el tinte del marco, así todas las bolsas se ven sobre el mismo fondo. */
.ph--product img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.ph--arch.ph--product img { padding: 9% 5% 3%; }
.variant .ph--product img { padding: 5% 0 0; object-position: bottom; transition: transform .35s var(--ease); }
.variant:hover .ph--product img { transform: translateY(-4px) scale(1.03); }
.cart-item .ph--product img { padding: 4%; }
.ph--arch { aspect-ratio: 5 / 6; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--aqua-tint); }
.ph--arch::after { left: auto; right: 16px; }

/* ── Secciones ── */
.section { padding: clamp(80px, 11vw, 144px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--tint { background: var(--soft); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p { font-size: 1.08rem; }
.big-p { font-size: clamp(1.04rem, 1.3vw, 1.14rem); color: var(--ink-2); max-width: 36em; }

/* Qué es */
.why { display: grid; gap: 48px; align-items: start; }
.note { display: flex; gap: 10px; align-items: center; padding: 14px 0 0; margin-top: 8px; border-top: 1px solid var(--line); font-weight: 500; }
.note svg { width: 20px; height: 20px; color: var(--aqua-deep); }
.texture { margin: 0; }
.texture .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.texture figcaption { padding: 16px 2px 0; }
.texture figcaption strong { font: 600 1rem var(--body); }
.texture__tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.texture__tags li { font-size: .84rem; padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }

/* Beneficios */
.benefits { display: grid; gap: 40px; }
.benefits__head p { font-size: 1.08rem; margin-bottom: 26px; }
.benefits__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.benefit { display: grid; grid-template-columns: 34px 40px 1fr; gap: 16px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.benefit__n { font: 600 .85rem var(--display); color: var(--ink-2); padding-top: 3px; }
.benefit__icon { width: 34px; height: 34px; color: var(--purple); }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--ink-2); }

/* Variedades */
[data-v="moca-coffee"] { --v: #7A5236; --v-tint: #F6F0EB; }
[data-v="manzana-verde"] { --v: #6FAE2E; --v-tint: #F1F7EA; }
[data-v="manzanilla"] { --v: #E0B020; --v-tint: #FCF6E3; }
[data-v="sandia"] { --v: #E5546A; --v-tint: #FDEEF0; }
[data-v="arandano"] { --v: #4D5BCF; --v-tint: #EEF0FC; }
[data-v="carbon-activado"] { --v: #2A2833; --v-tint: #F0EFF3; }
.variants { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.variant { display: grid; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, transform .25s var(--ease); }
.variant:hover { border-color: var(--ink); transform: translateY(-3px); }
.variant .ph { border-radius: 0; aspect-ratio: 16 / 10; background: var(--v-tint); }
.variant__body { padding: 16px 20px 20px; }
.variant__kind { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.variant__kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v); }
.variant h3 { font-size: 1.35rem; margin: 0 0 4px; }
.variant__price { margin: 0; color: var(--ink-2); font-size: .95rem; }
.variant__price b { color: var(--ink); font-weight: 600; }
.variant__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--purple); }
.variant__cta svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.variant:hover .variant__cta svg { transform: translateX(3px); }
.carbon { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.carbon__icon { width: 30px; height: 30px; color: var(--purple); }
.carbon h3 { margin-bottom: 6px; }
.carbon p { margin: 0; color: var(--ink-2); max-width: 62em; }

/* Comprar */
.shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.shop__head h2 { margin: 0; }
.shop__pay { display: inline-flex; gap: 8px; align-items: center; margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 30em; }
.shop__pay svg { width: 18px; height: 18px; color: var(--aqua-deep); }
.buy { display: grid; gap: 28px; align-items: start; }
.buy__media { position: relative; }
.ph--buy { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--v-tint, var(--soft)); transition: background .3s; }
.buy__badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 6px 13px; font-weight: 600; font-size: .88rem; }
.buy__badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--v, var(--aqua)); }
.buy__badge:empty { display: none; }
.buy__photo-note { position: absolute; right: 16px; bottom: 14px; margin: 0; font-size: .78rem; color: var(--ink-2); background: rgba(255, 255, 255, .85); padding: 4px 10px; border-radius: 99px; }
.buy__brand { font: 700 .78rem var(--body); letter-spacing: .32em; color: var(--purple); margin: 0 0 4px; }
.buy__title { font-size: clamp(2.2rem, 4vw, 3rem); font-stretch: 92%; margin: 0; }
.buy__variant { color: var(--ink-2); margin: 4px 0 22px; min-height: 1.6em; }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt legend { font-weight: 600; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.opt__variants, .opt__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 500; font-size: .94rem; background: #fff; transition: border-color .15s, background .15s; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--v); }
.chip:hover { border-color: var(--ink-2); }
.opt input:checked + .chip { border-color: var(--ink); background: var(--v-tint); font-weight: 600; }
.opt input:focus-visible + .chip, .opt input:focus-visible + .size { outline: 2px solid var(--aqua); outline-offset: 2px; }
.opt__or { flex-basis: 100%; font-size: .8rem; color: var(--ink-2); margin: 4px 0 0; }
.size { display: grid; gap: 1px; min-width: 100px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.size b { font: 700 1.1rem var(--display); }
.size span { font-size: .85rem; color: var(--ink-2); }
.size:hover { border-color: var(--ink-2); }
.opt input:checked + .size { border-color: var(--ink); background: var(--soft); }
.opt input:disabled + .size { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.buy__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.buy__price { font: 700 clamp(2.1rem, 3.6vw, 2.6rem)/1 var(--display); letter-spacing: -.02em; margin: 0; }
.buy__note { margin: 0; font-size: .85rem; color: var(--ink-2); }
.buy__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.buy__actions .btn { flex: 1; min-width: 180px; }
.buy__yield { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .88rem; color: var(--ink-2); }
.buy__yield svg { width: 22px; height: 22px; color: var(--aqua-deep); }
.buy__yield strong { color: var(--ink); font-weight: 600; }
.product__soldout { font-weight: 600; color: var(--purple-deep); margin: 0; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.qty button { width: 40px; height: 48px; border: 0; background: transparent; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button svg { width: 14px; height: 14px; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }

/* Tabla de precios */
.prices { margin-top: 56px; }
.prices h3 { font-size: 1.3rem; }
.prices__scroll { overflow-x: auto; }
.prices table { width: 100%; border-collapse: collapse; min-width: 560px; }
.prices th, .prices td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.prices thead th { font: 600 .85rem var(--body); color: var(--ink-2); border-bottom-color: var(--ink); }
.prices thead th:first-child, .prices tbody th { text-align: left; padding-left: 0; }
.prices tbody th { font-weight: 600; }
.prices tbody th small { display: block; font-weight: 400; color: var(--ink-2); font-size: .8rem; }
.prices__foot { font-size: .85rem; margin-top: 12px; }
.preview-note { margin-top: 18px; color: var(--ink-2); font-size: .88rem; }

/* Cómo se usa */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 28px; }
.step { padding-top: 18px; border-top: 1px solid var(--ink); }
.step__n { display: block; font: 600 .85rem var(--display); color: var(--purple); margin-bottom: 8px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); }
.tips { margin: 0 0 48px; }
.tips h3 { font-size: 1rem; margin-bottom: 12px; }
.tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 24px; }
.tips li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.tips svg { width: 18px; height: 18px; color: var(--aqua); }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.ph--g1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ph--g2, .ph--g3 { aspect-ratio: 4 / 5; }

/* Mayoristas */
.ship { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: var(--r-lg); background: var(--aqua-tint); }
.ship h2 { margin-bottom: .3em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ship p { margin: 0; color: var(--ink-2); max-width: 36em; }
.ship .btn { justify-self: start; }
.ship .btn svg { width: 20px; height: 20px; color: #1FA855; }

/* Preguntas */
.faq-wrap { display: grid; gap: 40px; }
.faq-wrap__head p { font-size: 1.05rem; margin-bottom: 24px; }
.faq-wrap__head .btn svg { width: 20px; height: 20px; color: #1FA855; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font: 600 1.08rem/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--purple); }
.faq details p { color: var(--ink-2); padding: 0 40px 22px 0; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 28px; overflow: hidden; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 48px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.footer__grid { display: grid; gap: 28px; margin-bottom: 48px; font-size: .95rem; color: var(--ink-2); }
.footer h3 { color: var(--ink); font: 600 .9rem var(--body); margin-bottom: 8px; }
.footer a { color: var(--ink); }
.footer__logo { width: clamp(170px, 18vw, 230px); height: auto; margin: 0 0 32px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--ink-2); padding-bottom: 60px; }

/* ── Carrito (drawer) ── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(23, 19, 43, .35); z-index: 60; opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: #fff; z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -24px 0 60px -30px rgba(23, 19, 43, .35); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.45rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .ph { aspect-ratio: 1; border-radius: 12px; background: var(--v-tint, var(--soft)); }
.cart-item .ph::after { display: none; }
.cart-item .ph::before { width: 50%; }
.cart-item__name { font-weight: 600; line-height: 1.3; margin: 0; }
.cart-item__price { color: var(--ink-2); font-size: .88rem; margin: 2px 0 8px; }
.cart-item .qty button { width: 32px; height: 34px; }
.cart-item__total { font-weight: 600; text-align: right; }
.cart-item__remove { display: block; margin: 6px 0 0 auto; background: none; border: 0; color: var(--ink-2); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-empty { text-align: center; padding: 56px 0; color: var(--ink-2); }
.cart-empty svg { width: 56px; height: 56px; color: var(--purple); margin-bottom: 10px; }
.totals { margin: 0 0 16px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-weight: 600; }
.totals__total { font: 700 1.25rem var(--display); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals__total dt { color: var(--ink); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .82rem; color: var(--ink-2); margin: 12px 0 0; }
.secure svg { width: 14px; height: 14px; }

/* Checkout */
.checkout fieldset { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.checkout legend { font: 700 1.1rem var(--display); margin-bottom: 10px; }
.checkout label { display: grid; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.checkout input, .checkout select, .checkout textarea { font: 400 1rem var(--body); color: var(--ink); padding: 12px 14px; border: 1px solid #D6D4DE; border-radius: var(--r-sm); background: #fff; width: 100%; transition: border-color .2s, box-shadow .2s; }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-tint); }
.checkout .is-invalid { border-color: #D6336C; background: #FFF7F9; }
.checkout .row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.checkout .row__s { min-width: 0; }
.checkout .check { display: flex; gap: 10px; align-items: flex-start; }
.checkout .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #C2255C; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 10px 0 0; }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 50px); transform: translate(-50%, -10px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 99px; font-weight: 500; font-size: .95rem; z-index: 80; opacity: 0; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 40px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Página de gracias */
.thanks { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 0; }
.thanks__card { width: min(100%, 540px); text-align: center; }
.thanks__icon { width: 56px; height: 56px; color: var(--purple); margin-bottom: 14px; }
.thanks__card h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-stretch: 92%; }
.thanks__items { list-style: none; padding: 16px 0; margin: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 6px; }
.thanks__items:empty { display: none; }
.thanks__total { font-weight: 600; margin-bottom: 26px; }
.thanks__total:empty { display: none; }

/* ── Aparición al hacer scroll ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Responsive (mobile-first) ── */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .tips ul { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1.4fr 1fr 1fr; }
  .ph--g1 { grid-column: auto; aspect-ratio: auto; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hide-mobile { display: inline-flex; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .why { grid-template-columns: 1.15fr .85fr; gap: 80px; }
  .benefits { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .benefits__head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
  .buy { grid-template-columns: 1fr 1fr; gap: 56px; }
  .buy__media { position: sticky; top: calc(var(--header-h) + 24px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .ship { grid-template-columns: 1fr auto; }
  .ship .btn { justify-self: end; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq-wrap__head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
}
@media (max-width: 640px) {
  .topbar__extra { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scribble path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
