/* ════════════════════════════════════════════════════════════════════════
   MCV Store · store.mcv.life (store.html + js/store.js)
   La tienda de MCV. Papel crema = el color de la firma en descarga (#F4F1EA),
   noche navy y la prenda en el centro. Movimiento con criterio Emil Kowalski:
   solo transform y opacity, entradas con curva de cajón, nada rebota.
   ════════════════════════════════════════════════════════════════════════ */
:root{
  --navy:#1B396B;
  --night:#0E1F3D;
  --night-2:#091629;
  --cream:#F4F1EA;
  --cream-2:#EAE5DA;
  --ink:#16213A;
  --slate:#5E6676;
  --line:rgba(22,33,58,.12);
  --line-l:rgba(244,241,234,.16);
  --tee:#1E2B47;
  --tee-dark:#141D31;
  --print:#F4F1EA;
  --brown:#4B3427;
  --ease:cubic-bezier(.32,.72,0,1);
  --ease-out:cubic-bezier(.23,1,.32,1);
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --gut:max(16px, env(safe-area-inset-left));
  --maxw:1240px;
}
.st[data-color="brown"]{ --tee:#4B3427; --tee-dark:#33231A; --print:#EFE3CC; }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body.st{ margin:0; font-family:var(--font); background:var(--cream); color:var(--ink); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }
img,svg{ display:block; }
[hidden]{ display:none !important; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left:-999px; top:8px; z-index:100; background:var(--cream); color:var(--ink); padding:10px 14px; border-radius:99px; }
.skip:focus{ left:12px; }
:focus-visible{ outline:2px solid #C9A24B; outline-offset:3px; border-radius:6px; }

/* ── Botones ───────────────────────────────────────────────────────── */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 24px; border-radius:99px; border:0; font-size:15px; font-weight:650; letter-spacing:-.1px; text-decoration:none; cursor:pointer; transition:transform 160ms var(--ease-out), background-color 200ms, color 200ms, opacity 200ms; -webkit-tap-highlight-color:transparent; }
.btn:active{ transform:scale(.97); }
.btn .arr{ transition:transform 220ms var(--ease-out); }
@media (hover:hover) and (pointer:fine){ .btn:hover .arr{ transform:translateX(3px); } }
.btn-cream{ background:var(--cream); color:var(--night); }
.btn-ghost{ background:transparent; color:var(--cream); box-shadow:inset 0 0 0 1px var(--line-l); }
@media (hover:hover) and (pointer:fine){ .btn-ghost:hover{ background:rgba(244,241,234,.06); } .btn-cream:hover{ background:#fff; } }
.btn-navy{ background:var(--navy); color:#fff; }
.btn[disabled]{ opacity:.45; cursor:default; transform:none; }
.btn.wide{ width:100%; }
.link{ background:none; border:0; padding:8px 0; color:var(--slate); font-size:14px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.link-light{ color:rgba(244,241,234,.7); }

/* ── Cabecera ──────────────────────────────────────────────────────── */
.top{ position:fixed; z-index:40; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:calc(12px + env(safe-area-inset-top)) var(--gut) 12px; color:var(--cream); transition:background-color 300ms, color 300ms, box-shadow 300ms; }
.top.solid{ background:rgba(244,241,234,.82); color:var(--ink); -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%); box-shadow:0 1px 0 var(--line); }
.top-brand{ display:flex; align-items:baseline; gap:8px; text-decoration:none; }
.top-sig{ width:58px; height:9px; color:currentColor; }
.top-store{ font-size:12px; font-weight:700; letter-spacing:.24em; text-transform:uppercase; opacity:.75; }
.top-nav{ display:none; gap:26px; font-size:13.5px; font-weight:550; }
.top-nav a{ text-decoration:none; opacity:.72; transition:opacity 200ms; }
.top-nav a:hover{ opacity:1; }
@media (min-width:860px){ .top-nav{ display:flex; } }
.bag-btn{ position:relative; display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 14px; border-radius:99px; border:0; background:var(--cream); color:var(--night); cursor:pointer; transition:transform 160ms var(--ease-out); }
.top.solid .bag-btn{ background:var(--navy); color:#fff; }
.bag-btn:active{ transform:scale(.95); }
.bag-btn svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.bag-btn b{ font-size:13px; }
.bag-btn.bump{ animation:bump 420ms var(--ease-out); }
@keyframes bump{ 0%{ transform:scale(1); } 35%{ transform:scale(1.12); } 100%{ transform:scale(1); } }

/* ── Portada ───────────────────────────────────────────────────────── */
.hero{ position:relative; isolation:isolate; overflow:hidden; display:grid; gap:28px; align-items:center; min-height:100svh; padding:calc(96px + env(safe-area-inset-top)) var(--gut) 56px; background:radial-gradient(120% 90% at 70% 40%, #183462 0%, var(--night) 48%, var(--night-2) 100%); color:var(--cream); }
.hero-glow{ position:absolute; z-index:-1; width:72vmin; height:72vmin; right:-6vmin; top:18%; border-radius:50%; background:radial-gradient(circle, rgba(143,178,245,.20), rgba(143,178,245,0) 65%); pointer-events:none; }
.st[data-color="brown"] .hero-glow{ background:radial-gradient(circle, rgba(214,168,120,.18), rgba(214,168,120,0) 65%); }
.hero-glow{ transition:background 600ms; }
.hero-copy{ position:relative; max-width:600px; }
.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:rgba(244,241,234,.72); }
.dot{ width:7px; height:7px; border-radius:50%; background:#C9A24B; box-shadow:0 0 0 0 rgba(201,162,75,.6); animation:pulse 2.4s var(--ease) infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(201,162,75,.5); } 70%{ box-shadow:0 0 0 10px rgba(201,162,75,0); } 100%{ box-shadow:0 0 0 0 rgba(201,162,75,0); } }
.hero-title{ margin:18px 0 0; font-size:clamp(42px, 9.6vw, 92px); line-height:.95; letter-spacing:-.045em; font-weight:700; }
.hero-title .ln{ display:block; }
.hero-title .ln + .ln{ color:rgba(244,241,234,.5); }
.hero-lead{ margin:22px 0 0; font-size:clamp(16px, 1.7vw, 18.5px); line-height:1.55; color:rgba(244,241,234,.78); max-width:480px; }
.clock{ display:flex; align-items:flex-start; gap:6px; margin-top:30px; }
.clock-cell{ display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.clock-cell b{ font-size:clamp(34px, 6.4vw, 56px); font-weight:650; letter-spacing:-.04em; line-height:1; font-variant-numeric:tabular-nums; }
.clock-cell span{ margin-top:6px; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(244,241,234,.5); }
.clock-sep{ font-style:normal; font-size:clamp(28px, 5vw, 44px); line-height:1; color:rgba(244,241,234,.28); padding:0 2px; }
.hero-when{ margin:14px 0 0; font-size:14.5px; color:rgba(244,241,234,.7); }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }

.hero-stage{ position:relative; display:flex; flex-direction:column; align-items:center; }
.tee-wrap{ width:min(100%, 520px); perspective:1200px; }
.tee{ width:100%; height:auto; overflow:visible; transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform 600ms var(--ease-out); animation:float 7s ease-in-out infinite; will-change:transform; }
@keyframes float{ 0%,100%{ translate:0 0; } 50%{ translate:0 -8px; } }
.tee-body{ fill:var(--tee); transition:fill 650ms var(--ease); }
.tee-inner{ fill:var(--tee-dark); transition:fill 650ms var(--ease); }
.tee-label{ fill:rgba(244,241,234,.55); }
.tee-shadow{ fill:rgba(0,0,0,.45); filter:blur(8px); }
.tee-folds path{ fill:none; stroke:#000; stroke-opacity:.11; stroke-width:16; stroke-linecap:round; }
.tee-rib{ fill:none; stroke:var(--tee-dark); stroke-width:11; stroke-linecap:round; transition:stroke 650ms var(--ease); }
.tee-rib-line{ fill:none; stroke:rgba(255,255,255,.08); stroke-width:1.2; }
.tee-seams path{ fill:none; stroke:rgba(0,0,0,.28); stroke-width:1.4; }
.tee-stitch path{ fill:none; stroke:rgba(255,255,255,.14); stroke-width:1.2; stroke-dasharray:3 4; }
.tee-print{ color:var(--print); transition:color 650ms var(--ease); }
.swatches{ display:flex; gap:8px; margin-top:8px; padding:5px; border-radius:99px; background:rgba(244,241,234,.06); box-shadow:inset 0 0 0 1px var(--line-l); }
.sw{ display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 14px 0 8px; border:0; border-radius:99px; background:transparent; color:rgba(244,241,234,.7); font-size:13.5px; font-weight:600; cursor:pointer; transition:background-color 220ms, color 220ms, transform 160ms var(--ease-out); }
.sw:active{ transform:scale(.96); }
.sw i{ width:22px; height:22px; border-radius:50%; background:var(--c); box-shadow:inset 0 0 0 1px rgba(255,255,255,.22); }
.sw.on{ background:var(--cream); color:var(--night); }
.stage-note{ margin:10px 0 0; font-size:12px; color:rgba(244,241,234,.42); text-align:center; }
@media (min-width:960px){
  .hero{ grid-template-columns:1.05fr 1fr; padding-left:max(48px, calc((100vw - var(--maxw)) / 2)); padding-right:max(48px, calc((100vw - var(--maxw)) / 2)); }
}
@media (max-width:959px){ .hero-stage{ order:-1; } .tee-wrap{ width:min(86vw, 420px); } .hero{ padding-top:calc(76px + env(safe-area-inset-top)); } }

/* ── Cinta ─────────────────────────────────────────────────────────── */
.marquee{ overflow:hidden; background:var(--night-2); color:rgba(244,241,234,.8); border-top:1px solid var(--line-l); }
.marquee-track{ display:flex; gap:22px; width:max-content; padding:16px 0; font-size:12.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; white-space:nowrap; animation:slide 38s linear infinite; }
.marquee-track b{ color:#C9A24B; font-weight:700; }
@keyframes slide{ to{ transform:translateX(-50%); } }

/* ── Secciones ─────────────────────────────────────────────────────── */
section{ scroll-margin-top:64px; }
.piece,.number,.drop,.next,.buy{ padding:96px var(--gut); max-width:var(--maxw); margin:0 auto; }
.sec-head{ max-width:720px; margin-bottom:44px; }
.kicker{ display:inline-block; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--navy); }
.kicker-light{ color:rgba(244,241,234,.6); }
.sec-title{ margin:14px 0 0; font-size:clamp(32px, 5.4vw, 58px); line-height:1.02; letter-spacing:-.04em; font-weight:700; }
.sec-lead{ margin:18px 0 0; font-size:17px; line-height:1.6; color:var(--slate); max-width:560px; }
.rv{ opacity:0; transform:translateY(14px); transition:opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay:var(--d,0ms); }
.rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .rv{ transform:none; transition:opacity 200ms; } .tee{ animation:none; } .marquee-track{ animation:none; } .dot{ animation:none; } }

/* La pieza */
.piece-grid{ display:grid; gap:40px; }
@media (min-width:900px){ .piece-grid{ grid-template-columns:1fr 1fr; gap:64px; align-items:start; } .macro{ position:sticky; top:96px; } }
.macro{ margin:0; }
.macro-cloth{ position:relative; aspect-ratio:1/1; border-radius:28px; overflow:hidden; background:var(--tee); transition:background-color 650ms var(--ease); display:grid; place-items:center; box-shadow:0 30px 60px -30px rgba(14,31,61,.5); }
.macro-cloth::before{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px), radial-gradient(90% 70% at 30% 20%, rgba(255,255,255,.12), transparent 60%); }
.macro-sig{ position:relative; width:78%; height:auto; color:var(--print); transition:color 650ms var(--ease); }
.macro-sig use{ color:var(--print); }
.macro-rule{ position:absolute; left:11%; right:11%; bottom:22%; height:1px; background:rgba(244,241,234,.4); }
.macro-rule::before,.macro-rule::after{ content:""; position:absolute; top:-5px; width:1px; height:11px; background:rgba(244,241,234,.4); }
.macro-rule::before{ left:0; } .macro-rule::after{ right:0; }
.macro-rule span{ position:absolute; left:50%; top:10px; transform:translateX(-50%); font-size:12px; font-weight:600; letter-spacing:.12em; color:rgba(244,241,234,.7); }
.macro figcaption{ margin-top:12px; font-size:13px; color:var(--slate); }
.specs{ margin:0; display:grid; }
.spec{ display:grid; grid-template-columns:130px 1fr; gap:18px; padding:22px 0; border-top:1px solid var(--line); }
.spec:last-child{ border-bottom:1px solid var(--line); }
.spec dt{ font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--navy); padding-top:3px; }
.spec dd{ margin:0; font-size:16.5px; line-height:1.6; color:var(--ink); }
@media (max-width:520px){ .spec{ grid-template-columns:1fr; gap:6px; } }

/* El número */
.number{ max-width:none; background:var(--cream-2); }
.number-grid{ max-width:var(--maxw); margin:0 auto; display:grid; gap:48px; align-items:center; }
@media (min-width:900px){ .number-grid{ grid-template-columns:1.1fr 1fr; } }
.sixty{ display:grid; grid-template-columns:repeat(10, 1fr); gap:6px; margin-top:34px; max-width:520px; }
.sixty span{ aspect-ratio:1; display:grid; place-items:center; border-radius:8px; font-size:clamp(9px, 1.6vw, 11.5px); font-weight:650; font-variant-numeric:tabular-nums; color:rgba(22,33,58,.35); box-shadow:inset 0 0 0 1px var(--line); transition:background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms; transition-delay:var(--d,0ms); }
.sixty.in span{ background:var(--navy); color:var(--cream); box-shadow:none; }
.sixty.in span:nth-child(even){ background:var(--brown); }
.sixty span.pick{ background:#C9A24B !important; color:var(--night) !important; }
.card-stage{ display:flex; flex-direction:column; align-items:center; perspective:1100px; }
.card-stage .stage-note{ color:var(--slate); }
.ncard{ position:relative; width:min(100%, 380px); aspect-ratio:1.42/1; padding:22px 24px; border:0; border-radius:16px; text-align:left; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(160deg, #FBF9F4, #EFEADF); color:var(--night); box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 40px 60px -30px rgba(14,31,61,.45), 0 8px 20px -12px rgba(14,31,61,.3); transform:rotateX(var(--rx,6deg)) rotateY(var(--ry,-10deg)) rotateZ(-2deg); transition:transform 600ms var(--ease-out); -webkit-tap-highlight-color:transparent; }
.ncard::after{ content:""; position:absolute; inset:0; border-radius:inherit; background:repeating-linear-gradient(115deg, rgba(0,0,0,.018) 0 2px, transparent 2px 5px); pointer-events:none; }
.ncard:active{ transform:rotateX(var(--rx,6deg)) rotateY(var(--ry,-10deg)) rotateZ(-2deg) scale(.98); }
.ncard-top{ display:flex; justify-content:space-between; font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--slate); }
.ncard-num{ display:flex; align-items:baseline; gap:10px; }
.ncard-num b{ font-size:clamp(64px, 13vw, 92px); font-weight:700; letter-spacing:-.05em; line-height:.9; font-variant-numeric:tabular-nums; color:var(--navy); }
.ncard-num i{ font-style:normal; font-size:22px; font-weight:600; color:var(--slate); }
.ncard-meta{ font-size:13.5px; font-weight:600; color:var(--ink); }
.ncard-mcv{ color:var(--slate); font-weight:500; }
.ncard-mcv b{ color:var(--ink); font-weight:700; }
.ncard-foot{ display:flex; align-items:flex-end; justify-content:space-between; font-size:12px; font-style:italic; color:var(--slate); }
.ncard-foot svg{ width:54px; height:8px; color:var(--navy); }

/* La caja */
.box{ position:relative; height:240vh; background:var(--night); color:var(--cream); }
.box-sticky{ position:sticky; top:0; min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding:80px var(--gut) 40px; max-width:var(--maxw); margin:0 auto; }
.box .kicker{ color:rgba(244,241,234,.6); }
.box .sec-lead{ color:rgba(244,241,234,.68); }
.box .sec-head{ margin-bottom:24px; }
.box-grid{ display:grid; gap:24px; align-items:center; }
@media (min-width:900px){ .box-grid{ grid-template-columns:1.2fr 1fr; } }
.stack{ position:relative; height:min(48vh, 380px); margin-top:60px; perspective:1400px; transform-style:preserve-3d; }
.stack .layer{ position:absolute; left:50%; top:50%; width:min(62vw, 300px); aspect-ratio:1.25/1; margin-left:calc(min(62vw, 300px) / -2); margin-top:calc(min(62vw, 300px) / -2.5); border-radius:6px; transform:rotateX(60deg) rotateZ(-38deg) translateZ(calc(var(--i) * var(--gap, 6px))); transform-origin:center; transition:transform 120ms linear, opacity 300ms; box-shadow:0 2px 0 rgba(0,0,0,.18); }
.stack .layer.on{ outline:2px solid #C9A24B; outline-offset:2px; }
.l-kraft{ --i:0; background:linear-gradient(135deg, #B98F5F, #9C744A); display:grid; place-items:center; }
.l-kraft .seal{ width:44px; height:44px; padding:10px; border-radius:50%; background:var(--night); color:var(--cream); }
.l-tissue{ --i:1; background:rgba(250,248,242,.9); width:min(58vw, 282px) !important; }
.l-tee{ --i:2; background:var(--tee); display:grid; place-items:start end; padding:26px 30px; transition:background-color 650ms var(--ease), transform 120ms linear; }
.l-tee .fold-sig{ width:46px; height:8px; color:var(--print); }
.l-card{ --i:3; width:min(34vw, 170px) !important; margin-left:calc(min(34vw, 170px) / -2) !important; margin-top:calc(min(34vw, 170px) / -2.8) !important; aspect-ratio:1.42/1 !important; background:#F7F4EC; display:grid; place-items:center; }
.l-card span{ font-size:22px; font-weight:700; letter-spacing:-.04em; color:var(--navy); }
.l-letter{ --i:4; width:min(30vw, 150px) !important; margin-left:calc(min(30vw, 150px) / -2 + 40px) !important; aspect-ratio:.72/1 !important; margin-top:calc(min(30vw, 150px) / -1.4) !important; background:#FFFDF8; padding:14px; display:flex; flex-direction:column; gap:7px; }
.l-letter i{ display:block; height:3px; border-radius:2px; background:rgba(22,33,58,.18); }
.l-letter i:nth-child(2){ width:80%; } .l-letter i:nth-child(4){ width:60%; }
.l-letter em{ margin-top:auto; font-size:9px; color:var(--navy); font-style:italic; }
.l-sticker{ --i:5; width:74px !important; aspect-ratio:1 !important; margin-left:-37px !important; margin-top:-37px !important; border-radius:50% !important; background:var(--navy); display:grid; place-items:center; transform:rotateX(60deg) rotateZ(-38deg) translateZ(calc(var(--i) * var(--gap, 6px))) translateX(70px) !important; }
.l-sticker svg{ width:46px; height:8px; color:#fff; }
.box-list{ list-style:none; margin:0; padding:0; display:grid; gap:2px; counter-reset:b; }
.box-list li{ display:grid; grid-template-columns:28px 1fr; column-gap:10px; padding:12px 0; border-top:1px solid var(--line-l); opacity:.38; transition:opacity 400ms var(--ease); counter-increment:b; }
.box-list li::before{ content:counter(b, decimal-leading-zero); grid-row:span 2; font-size:12px; font-weight:700; color:#C9A24B; padding-top:2px; }
.box-list li.on{ opacity:1; }
.box-list b{ font-size:16px; font-weight:650; }
.box-list span{ font-size:14px; color:rgba(244,241,234,.66); }
@media (prefers-reduced-motion:reduce){ .box{ height:auto; } .box-sticky{ position:static; } .stack .layer{ transition:none; } .box-list li{ opacity:1; } }

/* El drop */
.steps{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
@media (min-width:760px){ .steps{ grid-template-columns:repeat(4, 1fr); } }
.steps li{ padding:22px 20px 24px; border-radius:20px; background:#fff; box-shadow:0 1px 0 var(--line); }
.steps .n{ font-size:12px; font-weight:700; letter-spacing:.14em; color:#B08B3B; }
.steps b{ display:block; margin-top:14px; font-size:18px; letter-spacing:-.02em; }
.steps p{ margin:8px 0 0; font-size:14.5px; line-height:1.55; color:var(--slate); }
.join{ margin-top:22px; display:grid; gap:24px; padding:34px 28px; border-radius:28px; background:radial-gradient(120% 120% at 100% 0%, #183462, var(--night) 60%); color:var(--cream); }
@media (min-width:860px){ .join{ grid-template-columns:1fr 1.1fr; align-items:center; padding:46px 48px; } }
.join-title{ margin:10px 0 0; font-size:clamp(28px, 4vw, 40px); letter-spacing:-.035em; line-height:1.05; font-weight:700; }
.join-copy p{ margin:10px 0 0; color:rgba(244,241,234,.72); font-size:15.5px; }
.join-row{ display:flex; gap:8px; padding:6px; border-radius:99px; background:rgba(244,241,234,.08); box-shadow:inset 0 0 0 1px var(--line-l); }
.join-input{ flex:1; min-width:0; height:46px; padding:0 16px; border:0; background:transparent; color:var(--cream); font:inherit; font-size:16px; outline:none; }
.join-input::placeholder{ color:rgba(244,241,234,.45); }
.join-row .btn{ min-height:46px; }
.join-consent{ display:flex; gap:10px; margin-top:14px; font-size:12.5px; line-height:1.5; color:rgba(244,241,234,.62); }
.join-consent input{ margin-top:2px; accent-color:#C9A24B; width:17px; height:17px; flex:none; }
.join-consent a{ color:var(--cream); }
.jf-msg{ margin-top:10px; font-size:14px; min-height:0; }
.jf-msg.ok{ color:#9BE3BF; } .jf-msg.err{ color:#F3A69F; }
.drawer .jf-msg.ok{ color:#1F7A4E; } .drawer .jf-msg.err{ color:#B23A33; }

/* Después */
.next-row{ display:grid; gap:12px; }
@media (min-width:760px){ .next-row{ grid-template-columns:repeat(3, 1fr); } }
.drop-card{ position:relative; min-height:200px; padding:22px; border-radius:22px; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; box-shadow:inset 0 0 0 1px var(--line); overflow:hidden; }
.drop-card .dc-n{ position:absolute; top:12px; right:18px; font-size:72px; font-weight:700; letter-spacing:-.06em; color:rgba(22,33,58,.07); }
.drop-card b{ font-size:20px; letter-spacing:-.02em; }
.drop-card .dc-when{ font-size:13.5px; color:var(--slate); }
.drop-card.is-now{ background:var(--navy); color:var(--cream); box-shadow:none; }
.drop-card.is-now .dc-n{ color:rgba(244,241,234,.12); }
.drop-card.is-now .dc-when{ color:rgba(244,241,234,.7); }

/* La app */
.app{ display:grid; gap:40px; align-items:center; padding:96px var(--gut); background:var(--navy); color:var(--cream); overflow:hidden; }
@media (min-width:900px){ .app{ grid-template-columns:1.2fr 1fr; padding-left:max(48px, calc((100vw - var(--maxw)) / 2)); padding-right:max(48px, calc((100vw - var(--maxw)) / 2)); } }
.app .sec-lead{ color:rgba(244,241,234,.74); }
.app-ctas{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.app-phone{ display:flex; justify-content:center; }
.ph{ width:250px; height:470px; border-radius:42px; padding:16px 16px; background:linear-gradient(180deg, #13284D, #0B1830); box-shadow:0 0 0 8px #0a1426, 0 50px 80px -30px rgba(0,0,0,.6); display:flex; flex-direction:column; gap:14px; transform:rotate(4deg); }
.ph-notch{ width:84px; height:22px; border-radius:99px; background:#05090f; margin:0 auto 8px; }
.ph-head{ display:flex; justify-content:space-between; align-items:center; font-size:11px; color:rgba(244,241,234,.6); }
.ph-head svg{ width:44px; height:7px; color:#fff; }
.ph-dna{ position:relative; padding:14px; border-radius:18px; background:rgba(255,255,255,.06); }
.ph-dna svg{ width:100%; height:44px; }
.ph-dna path{ fill:none; stroke:#fff; stroke-width:2.2; stroke-linecap:round; stroke-dasharray:420; stroke-dashoffset:420; animation:draw 3.2s var(--ease) .4s forwards; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
.ph-dna span{ display:block; margin-top:8px; font-size:20px; font-weight:700; letter-spacing:-.03em; }
.ph-row{ padding:12px 14px; border-radius:16px; background:rgba(255,255,255,.06); display:flex; flex-direction:column; gap:3px; }
.ph-row b{ font-size:12px; color:rgba(244,241,234,.6); font-weight:600; }
.ph-row span{ font-size:13.5px; font-weight:600; }
.ph-week{ display:flex; gap:6px; justify-content:space-between; padding:0 4px; }
.ph-week i{ width:22px; height:22px; border-radius:50%; box-shadow:inset 0 0 0 1.5px rgba(244,241,234,.25); }
.ph-week i.on{ background:#C9A24B; box-shadow:none; }
.ph-btn{ margin-top:auto; padding:13px; border-radius:99px; background:var(--cream); color:var(--night); text-align:center; font-size:13px; font-weight:700; }
@media (prefers-reduced-motion:reduce){ .ph-dna path{ animation:none; stroke-dashoffset:0; } }
.store-badge{ display:inline-flex; align-items:center; gap:10px; min-height:50px; padding:0 20px; border-radius:14px; background:#000; color:#fff; text-decoration:none; font-size:14px; font-weight:600; box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); transition:transform 160ms var(--ease-out); }
.store-badge:active{ transform:scale(.97); }
.store-badge small{ display:block; font-size:10.5px; font-weight:500; opacity:.7; }

/* Pie */
.foot{ padding:64px var(--gut) calc(28px + env(safe-area-inset-bottom)); background:var(--night-2); color:rgba(244,241,234,.75); }
.foot > *{ max-width:var(--maxw); margin-left:auto; margin-right:auto; }
.foot-top{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:36px; border-bottom:1px solid var(--line-l); }
.foot-sig{ width:min(60vw, 340px); height:auto; aspect-ratio:3244/457; color:var(--cream); }
.foot-claim{ margin:0; font-size:18px; font-weight:600; color:var(--cream); }
.foot-cols{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:28px; padding:34px 0; }
.foot-cols div{ display:flex; flex-direction:column; gap:10px; font-size:14px; }
.foot-cols a{ text-decoration:none; opacity:.8; } .foot-cols a:hover{ opacity:1; }
.foot-h{ font-size:11.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:rgba(244,241,234,.45); }
.foot-bottom{ margin-top:0; font-size:12.5px; color:rgba(244,241,234,.45); }

/* ── Comprar ───────────────────────────────────────────────────────── */
.catalog{ display:grid; gap:18px; }
@media (min-width:760px){ .catalog{ grid-template-columns:repeat(2, 1fr); } }
.prod{ border-radius:26px; background:#fff; overflow:hidden; box-shadow:0 1px 0 var(--line), 0 30px 50px -40px rgba(14,31,61,.5); }
.prod-visual{ display:grid; place-items:center; aspect-ratio:1.05/1; background:radial-gradient(80% 70% at 50% 40%, #1A3560, var(--night)); }
.prod-visual.brown{ background:radial-gradient(80% 70% at 50% 40%, #5a4232, #261a12); }
.prod-visual svg.mini-tee{ width:72%; height:auto; }
.prod-visual .towel{ width:56%; aspect-ratio:1.5/1; border-radius:10px; background:repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 5px), var(--navy); box-shadow:0 20px 30px -16px rgba(0,0,0,.6); display:grid; place-items:end start; padding:16px; }
.prod-visual .towel svg{ width:60px; height:9px; color:var(--cream); }
.prod-body{ padding:22px 22px 24px; }
.prod-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.prod-name{ margin:0; font-size:20px; letter-spacing:-.02em; }
.prod-price{ font-size:18px; font-weight:650; font-variant-numeric:tabular-nums; }
.prod-label{ display:block; margin-top:16px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--slate); }
.sizes{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.size{ min-width:58px; height:46px; padding:0 14px; border-radius:14px; border:0; background:var(--cream); box-shadow:inset 0 0 0 1px var(--line); font-size:15px; font-weight:650; cursor:pointer; display:inline-flex; flex-direction:column; align-items:center; justify-content:center; transition:background-color 180ms, color 180ms, transform 160ms var(--ease-out); }
.size small{ font-size:10px; font-weight:600; color:#B23A33; }
.size:active{ transform:scale(.96); }
.size.on{ background:var(--navy); color:#fff; box-shadow:none; }
.size.on small{ color:#FFD7D2; }
.size[disabled]{ opacity:.4; text-decoration:line-through; cursor:default; }
.prod-actions{ display:flex; align-items:center; gap:14px; margin-top:18px; }
.prod-note{ font-size:13.5px; color:var(--slate); }
.prod-note.err{ color:#B23A33; }

/* Bolsa */
.drawer-veil{ position:fixed; inset:0; z-index:60; background:rgba(9,22,41,.45); opacity:0; transition:opacity 300ms var(--ease); }
.drawer-veil.on{ opacity:1; }
.drawer{ position:fixed; z-index:61; top:0; right:0; bottom:0; width:min(100vw, 440px); background:var(--cream); color:var(--ink); transform:translateX(102%); transition:transform 420ms var(--ease); display:flex; flex-direction:column; box-shadow:-30px 0 60px -30px rgba(9,22,41,.5); outline:none; }
.drawer.on{ transform:none; }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:calc(16px + env(safe-area-inset-top)) 20px 14px; border-bottom:1px solid var(--line); font-size:17px; }
.x{ width:38px; height:38px; border-radius:50%; border:0; background:rgba(22,33,58,.06); font-size:22px; line-height:1; cursor:pointer; }
.drawer-body{ flex:1; overflow-y:auto; overscroll-behavior:contain; padding:18px 20px calc(28px + env(safe-area-inset-bottom)); }
.bag-empty{ color:var(--slate); }
.lines{ display:grid; gap:0; }
.line{ display:grid; grid-template-columns:1fr auto; gap:8px 12px; padding:14px 0; border-bottom:1px solid var(--line); }
.line-name{ font-weight:650; }
.line-size{ display:block; font-size:13px; color:var(--slate); }
.line-total{ font-weight:650; font-variant-numeric:tabular-nums; }
.qty{ display:inline-flex; align-items:center; gap:2px; border-radius:99px; box-shadow:inset 0 0 0 1px var(--line); }
.qty button{ width:36px; height:34px; border:0; background:none; font-size:17px; cursor:pointer; }
.qty button[disabled]{ opacity:.3; }
.qty span{ min-width:20px; text-align:center; font-weight:650; }
.line-rm{ border:0; background:none; color:var(--slate); font-size:13px; cursor:pointer; text-decoration:underline; justify-self:end; }
.bag-note{ font-size:13.5px; color:var(--slate); }
.bag-note.err{ color:#B23A33; }
.totals{ display:grid; gap:6px; margin:16px 0; font-size:15px; }
.totals div{ display:flex; justify-content:space-between; font-variant-numeric:tabular-nums; }
.totals .grand{ font-size:18px; font-weight:700; padding-top:8px; border-top:1px solid var(--line); }
.checkout{ display:grid; gap:12px; margin-top:8px; }
.fs-label{ font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--navy); margin-top:6px; }
.f{ display:grid; gap:5px; }
.f label{ font-size:13px; font-weight:600; }
.f label small{ font-weight:400; opacity:.6; }
.f input,.f select{ height:48px; padding:0 14px; border-radius:12px; border:0; background:#fff; box-shadow:inset 0 0 0 1px var(--line); font:inherit; font-size:16px; color:var(--ink); }
.f input:focus,.f select:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--navy); }
.f-err{ display:none; font-size:12.5px; color:#B23A33; }
.f.err .f-err{ display:block; }
.f.err input{ box-shadow:inset 0 0 0 2px #B23A33; }
.f-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.consent{ display:flex; gap:10px; font-size:13px; line-height:1.5; color:var(--slate); }
.consent input{ width:18px; height:18px; flex:none; margin-top:1px; accent-color:var(--navy); }
.consent.err{ color:#B23A33; }
.pay-note{ font-size:12.5px; color:var(--slate); margin:0; }

/* ── Veníais de un enlace de la app ────────────────────────────────── */
.handoff{ position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:var(--gut); background:rgba(9,22,41,.6); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); animation:fade 260ms var(--ease-out); }
@keyframes fade{ from{ opacity:0; } }
.handoff-card{ position:relative; width:min(100%, 440px); padding:34px 26px 24px; border-radius:28px; background:radial-gradient(120% 90% at 80% 0%, #183462, var(--night) 65%); color:var(--cream); text-align:left; animation:rise 420ms var(--ease); box-shadow:0 40px 80px -30px rgba(0,0,0,.7); }
@keyframes rise{ from{ opacity:0; transform:translateY(16px) scale(.98); } }
.handoff-card .x{ position:absolute; top:14px; right:14px; background:rgba(244,241,234,.1); color:var(--cream); }
.ho-mark{ width:38px; height:34px; color:var(--cream); margin-bottom:20px; }
.ho-title{ margin:10px 0 0; font-size:28px; letter-spacing:-.035em; line-height:1.08; }
.ho-text{ margin:12px 0 0; font-size:15.5px; line-height:1.55; color:rgba(244,241,234,.76); }
.ho-code{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; padding:8px 8px 8px 18px; border-radius:16px; background:rgba(244,241,234,.08); box-shadow:inset 0 0 0 1px var(--line-l); }
.ho-code span{ font-size:22px; font-weight:700; letter-spacing:.06em; }
.ho-code button{ height:40px; padding:0 16px; border-radius:12px; border:0; background:var(--cream); color:var(--night); font-weight:650; cursor:pointer; }
.ho-ctas{ display:grid; gap:8px; margin-top:20px; }
.ho-ctas .btn{ width:100%; }
.handoff .link{ margin-top:8px; }
@media (prefers-reduced-motion:reduce){ .handoff,.handoff-card{ animation:none; } }

/* Estados */
.st[data-state="buying"] .buy{ display:block; }
.st[data-state="buying"] .join,.st[data-state="buying"] #heroWhen:empty{ display:none; }

/* Gracias (gracias.html) */
.thanks-st{ min-height:100svh; display:grid; place-items:center; padding:calc(40px + env(safe-area-inset-top)) var(--gut) 40px; background:radial-gradient(120% 90% at 70% 30%, #183462, var(--night) 55%, var(--night-2)); color:var(--cream); }
.thanks-in{ max-width:520px; }
.thanks-sig{ width:120px; height:auto; margin-bottom:28px; }
.thanks-st .sec-lead{ color:rgba(244,241,234,.76); }
.thanks-st .hero-ctas{ margin-top:28px; }

/* La marca (entre la pieza y la caja) */
.mani{ padding:120px var(--gut); background:var(--cream-2); text-align:center; }
.mani-words{ margin:0; display:flex; flex-wrap:wrap; justify-content:center; gap:0 .35em; font-size:clamp(40px, 9vw, 112px); font-weight:700; letter-spacing:-.05em; line-height:1; color:var(--navy); }
.mani-words span:nth-child(2){ transition-delay:120ms; color:var(--brown); }
.mani-words span:nth-child(3){ transition-delay:240ms; }
.mani-claim{ margin:28px 0 0; font-size:clamp(17px, 2vw, 21px); font-weight:600; color:var(--slate); transition-delay:360ms; }
