/* ════════════════════════════════════════════════════════════
   Nine Fitness · Official Store
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0a;
  --bg-2: #111110;
  --bg-3: #1a1a19;
  --fg: #ecebe6;
  --fg-2: #bdbcb5;
  --mute: #84837d;
  --line: rgba(236, 235, 230, .12);
  --line-2: rgba(236, 235, 230, .24);
  --bone: #ecebe6;
  --ink: #0a0a0a;
  --glow: #8ff0ea;
  --ok: #8fe3a9;
  --warn: #f3c56f;
  --bad: #ff8270;

  --f-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--bone); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mute { color: var(--mute); }
.small { font-size: 13px; line-height: 1.5; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

.ico { width: 20px; height: 20px; flex: none; }

/* ───────── Tipografía ───────── */
.display, .display-md, .display-sm {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .86;
  margin: 0;
}
.display-md { font-size: clamp(38px, 5.6vw, 84px); line-height: .9; }
.display-sm { font-size: clamp(28px, 3vw, 40px); line-height: .95; }
.serif { font-family: var(--f-serif); font-weight: 500; letter-spacing: -.01em; }
.serif-caps { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; line-height: 1.05; }
.mono-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px var(--glow); vertical-align: 1px; margin-right: 4px; }
.dot--rec { background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: blink 1.6s steps(2) infinite; }
.dot--pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(143, 240, 234, 0); opacity: .6; } }

/* ───────── Botones ───────── */
.btn {
  --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, opacity .2s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--light { --b-bg: var(--bone); --b-fg: var(--ink); --b-bd: var(--bone); }
.btn--light:hover { --b-bg: #fff; }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--bone); --b-bd: var(--ink); }
.btn--ghost:hover { --b-bd: var(--fg); }
.btn--lg { height: 58px; font-size: 16px; padding: 0 28px; }
.btn--small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__sep { width: 1px; height: 18px; background: currentColor; opacity: .3; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--b-fg); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link-btn:hover { color: var(--fg); }
.link-btn .ico { width: 16px; height: 16px; }

/* ───────── Navegación ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .page-inner .nav {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav__logo { width: 52px; height: auto; }
.nav__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--fg-2); }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.nav__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; color: var(--fg-2); transition: color .2s; }
.nav__link:hover { color: var(--fg); }
.nav__bag {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px;
  transition: border-color .2s, background .2s;
}
.nav__bag:hover { border-color: var(--fg); }
.nav__count {
  min-width: 26px; height: 26px; padding: 0 7px; display: grid; place-items: center;
  border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 12px; font-family: var(--f-mono);
  transition: transform .4s var(--ease-out);
}
.nav__count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 20px) var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden; isolation: isolate;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.04); animation: heroIn 2.4s var(--ease-out) both; }
@keyframes heroIn { from { transform: scale(1.14); filter: brightness(.3); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 45%, rgba(10,10,10,.82) 82%, var(--bg) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(10,10,10,.7), transparent 60%);
}
.grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
.hero__meta {
  position: absolute; top: calc(var(--nav-h) + 18px); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; color: var(--fg-2);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.hero__kicker { color: var(--fg-2); margin-bottom: 18px; }
.hero__title { font-size: clamp(52px, 14.5vw, 232px); margin-left: -.04em; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .02em 0; margin-bottom: -.02em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
.hero__title i { color: var(--glow); font-style: inherit; text-shadow: 0 0 30px rgba(143,240,234,.6); }
@keyframes rise { to { transform: translateY(0); } }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.hero__lead { max-width: 420px; margin: 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-2); }
.hero__cta { display: flex; align-items: center; gap: 20px; }
.hero__swatches { display: flex; }
.hero__swatches span { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); border: 1.5px solid rgba(236,235,230,.5); margin-left: -6px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 50%; writing-mode: vertical-rl; text-decoration: none; color: var(--fg-2); display: flex; align-items: center; gap: 12px; }
.hero__scroll span { width: 1px; height: 54px; background: linear-gradient(var(--fg), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .nav__label { display: none; }
  .hero__scroll { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 20%, rgba(10,10,10,.15) 40%, rgba(10,10,10,.88) 70%, var(--bg) 100%); }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .hero__meta { font-size: 10px; }
}

/* ───────── Ticker ───────── */
.ticker { background: var(--bone); color: var(--ink); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--bone); }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker__group span { font-family: var(--f-serif); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.ticker__x { width: 40px; height: 20px; color: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ───────── Producto ───────── */
.product {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(56px, 8vw, 120px) var(--gutter);
  align-items: start;
}
.gallery__track { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__item { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 5; position: relative; }
.gallery__item--hero { grid-column: 1 / -1; aspect-ratio: 4 / 4.2; }
.gallery__item:nth-child(even):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .5s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__track.is-swapping img { opacity: 0; }
.gallery__dots { display: none; }

.panel__sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.crumbs { color: var(--mute); }
.crumbs span { opacity: .5; margin: 0 6px; }
.panel__title { margin-top: 18px; font-size: clamp(34px, 3.6vw, 52px); }
.panel__sub { font-size: 22px; font-style: italic; color: var(--fg-2); margin: 6px 0 0; }
.panel__price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 18px; }
.price { font-size: 30px; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.price--old { color: var(--mute); font-size: 18px; }
.panel__desc { color: var(--fg-2); margin: 0 0 30px; font-size: 15px; max-width: 46ch; }

.field-group { margin-bottom: 26px; }
.field-group__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.field-group__value { font-size: 14px; color: var(--fg-2); }

.swatches { display: flex; gap: 10px; }
.swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.swatch:hover { border-color: var(--line-2); }
.swatch.is-active { border-color: var(--fg); background: rgba(255,255,255,.04); }
.swatch__chip { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(236,235,230,.35); }
.swatch__name { font-size: 14px; font-weight: 600; }

.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.size {
  position: relative; height: 52px; border-radius: 12px; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 14px; font-weight: 500;
  transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease);
}
.size:hover:not([disabled]) { border-color: var(--fg); }
.size.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.size[disabled] { color: var(--mute); border-color: var(--line); cursor: not-allowed; overflow: hidden; }
.size[disabled]::after { content: ""; position: absolute; inset: 50% -10% auto; height: 1px; background: var(--line-2); transform: rotate(-28deg); }
.size__tag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: .06em; background: var(--warn); color: var(--ink); padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
.sizes.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sizes__msg { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--warn); }

.buy { display: flex; gap: 10px; margin-bottom: 30px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 58px; flex: none; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; color: var(--fg-2); }
.qty button:hover { color: var(--fg); }
.qty output { min-width: 22px; text-align: center; font-family: var(--f-mono); }

.perks { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.perks .ico { color: var(--fg-2); margin-top: 2px; }
.perks b { display: block; font-size: 14px; font-weight: 600; }
.perks span { font-size: 13px; color: var(--mute); }

.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { transition: transform .3s var(--ease); width: 18px; height: 18px; }
.acc details[open] summary .ico { transform: rotate(45deg); }
.acc p, .acc__list { color: var(--fg-2); font-size: 14px; margin: 0 0 14px; }
.acc__list { padding-left: 18px; }
.acc__list li { margin-bottom: 4px; }

@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; padding-top: 0; padding-left: 0; padding-right: 0; }
  .product__panel { padding: 0 var(--gutter); }
  .gallery__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item--hero { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; aspect-ratio: 4 / 5; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 26px; }
  .gallery__dots button { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
  .gallery__dots button.is-on { width: 22px; background: var(--fg); }
  .panel__sticky { position: static; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
}

/* ───────── Giro (scroll scrub) ───────── */
.spin { position: relative; height: 280vh; background: #dddddd; color: var(--ink); }
.spin__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: center;
  padding: var(--nav-h) var(--gutter) 0;
}
.spin__copy { position: relative; z-index: 2; max-width: 460px; }
.spin__copy .mono-label { color: #5b5a55; }
.spin__arrow { display: inline-block; margin: 0 6px; }
.spin__title { font-size: clamp(48px, 6.4vw, 104px); line-height: .9; margin: 18px 0 22px; }
.spin__title em { font-style: italic; }
.spin__text { color: #3a3935; max-width: 40ch; margin: 0 0 32px; }
.spin__progress { height: 2px; background: rgba(10,10,10,.12); border-radius: 2px; overflow: hidden; }
.spin__progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.spin__labels { display: flex; justify-content: space-between; margin-top: 12px; color: #8b8a85; }
.spin__labels .is-on { color: var(--ink); }
.spin__stage { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.flip { width: min(100%, 560px); aspect-ratio: 4 / 5; perspective: 1800px; }
.flip__card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.flip__face { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); }
.flip__face img { width: 100%; height: 100%; object-fit: cover; }
.flip__back { transform: rotateY(180deg); }
@media (max-width: 860px) {
  .spin { height: 240vh; }
  .spin__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-top: calc(var(--nav-h) + 24px); }
  .spin__title { font-size: 44px; margin: 10px 0 12px; }
  .spin__text { font-size: 14px; margin-bottom: 18px; }
  .flip { width: min(100%, 360px); margin: 0 auto; }
  .spin__stage { align-items: flex-start; padding-top: 8px; }
}

/* ───────── Secciones genéricas ───────── */
.section-head { margin-bottom: clamp(28px, 4vw, 56px); }
.section-head .mono-label { color: var(--mute); margin-bottom: 16px; }

.details { padding: clamp(80px, 10vw, 150px) var(--gutter); }
.details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.detail__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); margin-bottom: 20px; }
.detail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.detail:hover .detail__img img { transform: scale(1.05); }
.detail__n { color: var(--mute); }
.detail__t { font-size: 24px; font-weight: 700; margin: 6px 0 6px; font-variation-settings: "wdth" 112; }
.detail__d { color: var(--fg-2); margin: 0; font-size: 15px; max-width: 34ch; }
@media (max-width: 860px) {
  .details__grid { grid-template-columns: 1fr; }
  .detail__img { aspect-ratio: 16 / 11; }
}

.film {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px);
  align-items: center; padding: 0 var(--gutter) clamp(80px, 10vw, 150px);
}
.film__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); }
.film__media video { width: 100%; height: 100%; object-fit: cover; }
.film__tag { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(10,10,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.film__copy .mono-label { color: var(--mute); margin-bottom: 18px; }
.film__copy p:not(.mono-label) { color: var(--fg-2); max-width: 44ch; margin: 26px 0 30px; font-size: 17px; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__card { --band: #d2d2d2; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--band); color: var(--ink); }
.duo__card--blanco { --band: #cacaca; }
.duo__card picture { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.duo__card picture::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8%; background: linear-gradient(transparent, var(--band)); }
.duo__card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.6s var(--ease-out); }
.duo__card:hover img { transform: scale(1.04); }
.duo__info { position: relative; z-index: 1; padding: 0 clamp(24px, 4vw, 56px) clamp(28px, 4vw, 56px); margin-top: -2px; display: grid; gap: 14px; justify-items: start; }
.duo__card .display-md { font-size: clamp(54px, 8vw, 128px); }
@media (max-width: 720px) {
  .duo { grid-template-columns: 1fr; }
}

.soon {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  background: radial-gradient(80% 60% at 20% 50%, #161615, var(--bg));
}
.soon__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.soon__img img { width: 100%; height: 100%; object-fit: cover; }
.soon__copy .mono-label { color: var(--fg-2); margin-bottom: 18px; }
.soon__copy > p:not(.mono-label):not(.small) { color: var(--fg-2); max-width: 44ch; margin: 22px 0 28px; font-size: 17px; }
.soon__form { display: flex; gap: 8px; max-width: 460px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 12px; }
.soon__form input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; outline: none; font-size: 15px; }
.soon__form input::placeholder { color: var(--mute); }
.soon__form .btn { height: 44px; }
@media (max-width: 860px) { .soon { grid-template-columns: 1fr; } }

/* ───────── Lookbook ───────── */
.look { padding: 0 0 clamp(80px, 10vw, 150px); overflow: hidden; }
.look__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: 0 var(--gutter); margin-bottom: clamp(26px, 3vw, 44px); }
.look__head .mono-label { color: var(--mute); margin-bottom: 16px; display: flex; gap: 14px; }
.look__count { color: var(--fg-2); }
.look__side { max-width: 360px; display: grid; gap: 18px; justify-items: start; }
.look__side p { margin: 0; color: var(--fg-2); }
.look__nav { display: flex; gap: 8px; }
.look__nav .icon-btn { width: 48px; height: 48px; }
.look__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 6px; scrollbar-width: none; cursor: grab; outline: none; align-items: flex-start;
}
.look__track::-webkit-scrollbar { display: none; }
.look__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.look__track.is-drag img { pointer-events: none; }
.look__item { flex: 0 0 clamp(250px, 30vw, 460px); margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; background: var(--bg-3); }
.look__item:nth-child(even) { margin-top: clamp(0px, 4vw, 64px); }
.look__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.look__item:hover img { transform: scale(1.03); }
.look__bar { margin: 26px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.look__bar span { display: block; height: 100%; width: 100%; background: var(--fg); transform-origin: left; transform: scaleX(.1); transition: transform .2s; }
@media (max-width: 720px) {
  .look__item { flex-basis: 78vw; }
  .look__item:nth-child(even) { margin-top: 0; }
  .look__nav { display: none; }
}

/* ───────── Footer ───────── */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) var(--gutter) 28px; overflow: hidden; }
.foot__mega { color: var(--bg-3); margin-bottom: clamp(36px, 5vw, 64px); }
.foot__logo { width: 100%; height: auto; opacity: .07; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 48px; }
.foot__col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot__col a, .foot__col span { color: var(--fg-2); text-decoration: none; }
.foot__col a:hover { color: var(--fg); }
.foot__col h3 { color: var(--mute); margin-bottom: 8px; }
.foot__col--intro .serif-caps { font-size: 26px; margin: 0 0 14px; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__legal a { text-decoration: none; color: var(--mute); }
.foot__legal a:hover { color: var(--fg); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__col--intro { grid-column: 1 / -1; } }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Drawer (bolsa) ───────── */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .4s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--ease-out);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 20px; font-weight: 700; font-variation-settings: "wdth" 115; }
.drawer__head sup { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__foot .row-between { font-size: 17px; }

.bag-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-line__img { width: 84px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.bag-line__img img { width: 100%; height: 100%; object-fit: cover; }
.bag-line__name { font-weight: 600; font-size: 15px; margin: 0 0 2px; }
.bag-line__meta { font-size: 13px; color: var(--mute); margin: 0 0 12px; }
.bag-line__price { font-family: var(--f-mono); font-size: 14px; }
.bag-line .qty { height: 36px; display: inline-flex; }
.bag-line .qty button { width: 34px; }
.bag-line .qty .ico { width: 16px; height: 16px; }
.bag-line__rm { font-size: 12px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; margin-top: 10px; display: block; }
.bag-empty { text-align: center; padding: 70px 10px; display: grid; justify-items: center; gap: 14px; color: var(--fg-2); }
.bag-empty img { width: 80px; opacity: .15; }

/* ───────── Checkout ───────── */
.checkout {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.checkout.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.checkout__bar {
  position: sticky; top: 0; z-index: 2; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter); background: rgba(10,10,10,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.checkout__brand { display: flex; align-items: center; gap: 12px; color: var(--fg-2); }
.checkout__logo { width: 42px; height: auto; }
.checkout__lock { display: flex; align-items: center; gap: 6px; color: var(--mute); }
.checkout__lock .ico { width: 16px; height: 16px; }
.checkout__wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(28px, 5vw, 80px);
  max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 80px;
  align-items: start;
}
.checkout__mobile-sum { display: none; }
.co-step { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.co-step:last-child { border-bottom: 0; }
.co-step__title { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 700; font-variation-settings: "wdth" 115; margin: 0 0 22px; }
.co-step__titlebar { display: flex; justify-content: space-between; align-items: center; }
.co-step__n { font-family: var(--f-mono); font-size: 11px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 9px; font-weight: 500; }
.co-step.is-done { opacity: .5; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font-size: 12px; color: var(--fg-2); letter-spacing: .02em; }
.fld em { color: var(--mute); font-style: normal; }
.fld input, .fld select {
  height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.fld input:focus { border-color: var(--fg); box-shadow: 0 0 0 4px rgba(236,235,230,.08); }
.fld input.is-invalid { border-color: var(--bad); }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.ship-opts { display: grid; gap: 10px; margin-bottom: 18px; }
.ship input, .club input { position: absolute; opacity: 0; pointer-events: none; }
.ship__box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ship__txt b { display: block; font-size: 15px; }
.ship__txt small { color: var(--mute); font-size: 13px; }
.ship__price { font-family: var(--f-mono); font-size: 14px; }
.ship input:checked + .ship__box { border-color: var(--fg); background: rgba(236,235,230,.05); box-shadow: inset 0 0 0 1px var(--fg); }
.ship input:focus-visible + .ship__box, .club input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.ship-detail { margin-bottom: 20px; }
.ship-detail .mono-label { margin-bottom: 10px; }
.clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.club span { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.club span .ico { width: 16px; height: 16px; color: var(--mute); }
.club input:checked + span { border-color: var(--fg); background: var(--bone); color: var(--ink); }
.club input:checked + span .ico { color: var(--ink); }
.clubs.is-invalid .club span { border-color: var(--bad); }
@media (max-width: 560px) { .clubs { grid-template-columns: 1fr 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--fg-2); margin: 8px 0 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--bone); margin-top: 1px; flex: none; }
.check.is-invalid { color: var(--bad); }
.form-error { color: var(--bad); font-size: 14px; background: rgba(255,130,112,.08); border: 1px solid rgba(255,130,112,.3); padding: 12px 14px; border-radius: 12px; margin: 0 0 14px; }

.pay-recap { font-size: 14px; color: var(--fg-2); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.pay-recap b { color: var(--fg); }
.pay-element { min-height: 120px; margin-bottom: 18px; }
.co-step--pay .small .ico { display: inline; width: 14px; height: 14px; vertical-align: -2px; }

.checkout__summary { position: sticky; top: calc(var(--nav-h) + 28px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.checkout__summary h3 { color: var(--mute); margin-bottom: 8px; }
.sum__line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum__thumb { position: relative; width: 56px; aspect-ratio: 4/5; border-radius: 8px; overflow: visible; }
.sum__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sum__thumb b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--fg-2); color: var(--ink); font-size: 11px; display: grid; place-items: center; font-family: var(--f-mono); }
.sum__line small { display: block; color: var(--mute); }
.sum__rows { display: grid; gap: 8px; padding-top: 16px; font-size: 14px; color: var(--fg-2); }
.sum__total { color: var(--fg); font-size: 20px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.sum__total b { font-variation-settings: "wdth" 110; }

@media (max-width: 900px) {
  .checkout__wrap { grid-template-columns: 1fr; padding-top: 0; }
  .checkout__summary { display: none; }
  .checkout__mobile-sum { display: block; margin: 0 calc(var(--gutter) * -1) 28px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
  .checkout__mobile-sum summary { list-style: none; display: flex; justify-content: space-between; padding: 16px var(--gutter); cursor: pointer; font-size: 14px; }
  .checkout__mobile-sum summary::-webkit-details-marker { display: none; }
  .checkout__mobile-sum summary span { text-decoration: underline; text-underline-offset: 3px; color: var(--fg-2); }
  .checkout__mobile-sum > div { padding: 0 var(--gutter) 18px; }
}

/* ───────── Modal ───────── */
.modal { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); color: var(--fg); padding: 0; width: min(560px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal__inner { padding: 26px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.size-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 14px; }
.size-table th, .size-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table thead th { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.size-table tbody th { text-align: left; }

/* ───────── Toast ───────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 200%); opacity: 0; visibility: hidden;
  background: var(--bone); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,.4); transition: transform .5s var(--ease-out), opacity .3s, visibility 0s; white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ════════ Páginas interiores (pedido, seguimiento, legal) ════════ */
.page-inner main { min-height: 100vh; padding: calc(var(--nav-h) + clamp(32px, 6vw, 80px)) var(--gutter) 80px; }
.inner-wrap { max-width: 1080px; margin: 0 auto; }
.inner-head .mono-label { color: var(--mute); margin-bottom: 16px; }
.inner-head .display { font-size: clamp(48px, 9vw, 128px); }
.confirm-hero .inner-head .display { font-size: clamp(44px, 6.4vw, 104px); }
.inner-head p.lead { color: var(--fg-2); font-size: 18px; max-width: 52ch; margin: 22px 0 0; }

.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.card + .card { margin-top: 16px; }
.card h3 { margin: 0 0 14px; color: var(--mute); }

.order-no { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: clamp(22px, 3vw, 32px); letter-spacing: .04em; padding: 10px 18px; border-radius: 14px; border: 1px dashed var(--line-2); }
.order-no button { color: var(--mute); }
.order-no button:hover { color: var(--fg); }

/* Seguimiento */
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 36px; max-width: 820px; }
.track-form .btn { height: 52px; }
@media (max-width: 720px) { .track-form { grid-template-columns: 1fr; } }

.track { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 16px; margin-top: 40px; align-items: start; }
@media (max-width: 900px) { .track { grid-template-columns: 1fr; } }
.track__status { position: relative; overflow: hidden; }
.track__status .status-word { font-size: clamp(40px, 6vw, 76px); margin: 8px 0 6px; }
.track__status .status-sub { color: var(--fg-2); margin: 0; }
.track__status::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,240,234,.18), transparent 70%); pointer-events: none;
}
.track__status.is-bad::after { background: radial-gradient(circle, rgba(255,130,112,.18), transparent 70%); }

.steps { list-style: none; margin: 34px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.steps__fill { position: absolute; top: 15px; left: 12.5%; height: 2px; background: var(--glow); box-shadow: 0 0 12px var(--glow); width: 0; transition: width 1.4s var(--ease-out) .3s; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step__dot { width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-2); position: relative; z-index: 1; transition: all .4s; }
.step__dot .ico { width: 16px; height: 16px; opacity: 0; }
.step.is-done .step__dot { background: var(--glow); border-color: var(--glow); color: var(--ink); }
.step.is-done .step__dot .ico { opacity: 1; }
.step.is-current .step__dot { border-color: var(--glow); box-shadow: 0 0 0 6px rgba(143,240,234,.14); }
.step.is-current .step__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); position: absolute; animation: pulse 2s infinite; }
.step.is-current.is-done .step__dot::after { display: none; }
.step b { display: block; font-size: 13px; font-weight: 600; }
.step small { display: block; font-size: 11px; color: var(--mute); font-family: var(--f-mono); margin-top: 3px; }
.step:not(.is-done):not(.is-current) b { color: var(--mute); }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .steps::before { left: 15px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .steps__fill { left: 15px; top: 16px; width: 2px !important; height: var(--fill-h, 0); transition: height 1.4s var(--ease-out) .3s; }
  .step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; text-align: left; padding: 0 0 18px; align-items: center; }
  .step__dot { margin: 0; }
}

.ship-card { display: flex; gap: 14px; align-items: flex-start; }
.ship-card > .ico { width: 26px; height: 26px; color: var(--glow); margin-top: 2px; }
.ship-card b { display: block; font-size: 16px; }
.ship-card p { margin: 4px 0 0; color: var(--fg-2); font-size: 14px; }
.ship-card .btn { margin-top: 14px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 22px; border-left: 1px solid var(--line); margin-left: 4px; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--fg-2); }
.timeline li:first-child::before { background: var(--glow); border-color: var(--glow); }
.timeline time { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: .04em; }
.timeline p { margin: 2px 0 0; font-size: 14px; }

.items { display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.item img { width: 56px; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.item small { display: block; color: var(--mute); }
.totals { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.totals .grand { color: var(--fg); font-weight: 700; font-size: 16px; }

.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; color: var(--fg-2); }
.notice--bad { border-color: rgba(255,130,112,.4); color: var(--bad); background: rgba(255,130,112,.06); }

/* Confirmación */
.confirm-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.confirm-hero__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.confirm-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.check-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--glow); color: var(--ink); box-shadow: 0 0 40px rgba(143,240,234,.5); margin-bottom: 26px; animation: pop .7s var(--ease-out) both .2s; }
.check-badge .ico { width: 30px; height: 30px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.15); } }
@media (max-width: 860px) { .confirm-hero { grid-template-columns: 1fr; } .confirm-hero__img { aspect-ratio: 16/12; order: -1; } }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; font-variation-settings: "wdth" 112; }
.legal p, .legal li { color: var(--fg-2); font-size: 15px; }
.legal a { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}

/* ───────── Cookies ───────── */
.cookies__bar {
  position: fixed; z-index: 140; left: 16px; bottom: 16px; width: min(560px, calc(100% - 32px));
  background: rgba(17,17,16,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  display: grid; gap: 16px;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.cookies__bar.is-on { transform: none; opacity: 1; }
.cookies__title { font-weight: 700; font-variation-settings: "wdth" 112; margin: 0 0 6px; font-size: 16px; }
.cookies__txt p:not(.cookies__title) { margin: 0; font-size: 13px; color: var(--fg-2); line-height: 1.55; }
.cookies__txt a { color: var(--fg); }
.cookies__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cookies__actions .btn { min-width: 112px; }
.cookies__actions .link-btn { margin-left: 6px; }
@media (max-width: 560px) {
  .cookies__bar { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; }
  .cookies__actions .btn { flex: 1; }
  .cookies__actions .link-btn { width: 100%; justify-content: center; margin: 4px 0 0; }
}
.cookies__panel { width: min(600px, calc(100% - 24px)); }
.cookies__panel .modal__inner > p a { color: var(--fg); }
.ck-cat { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); cursor: pointer; }
.ck-cat:first-of-type { cursor: default; }
.ck-cat p { margin: 0; }
.ck-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--fg); }
.ck-always { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--glow); }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line-2); transition: background .2s, border-color .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--fg-2); transition: transform .25s var(--ease), background .2s; }
.switch input:checked + i { background: var(--bone); border-color: var(--bone); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--ink); }
.switch input:focus-visible + i { outline: 2px solid var(--glow); outline-offset: 2px; }
.ck-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.ck-actions .btn { flex: 1; min-width: 140px; }
.foot__cookies { text-align: left; color: var(--fg-2); font-size: 14px; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.foot__cookies:hover { color: var(--fg); }
.foot__withdraw { color: var(--fg) !important; }
.foot__clubs { font-size: 12px; }

/* ───────── Páginas legales ───────── */
.legal { max-width: 820px; }
.legal .inner-head { margin-bottom: 36px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 40px; padding: 0; list-style: none; }
.legal__toc a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--fg-2); }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); background: var(--bone); border-color: var(--bone); }
.legal h2 { scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal h3 { font-size: 16px; margin: 26px 0 8px; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .datos { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); font-size: 14px; margin: 16px 0; }
.legal .datos dt { color: var(--mute); }
.legal .datos dd { margin: 0; color: var(--fg); }
@media (max-width: 560px) { .legal .datos { grid-template-columns: 1fr; gap: 2px; } .legal .datos dd { margin-bottom: 8px; } }
.legal-table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
.legal-table th { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 500; background: var(--bg-2); }
.legal-table td:first-child { color: var(--fg); font-family: var(--f-mono); font-size: 12px; white-space: nowrap; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal .pending { background: var(--warn); color: #000; padding: 0 5px; border-radius: 3px; font-size: .9em; }
.legal .callout { padding: 16px 18px; border-left: 2px solid var(--glow); background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; color: var(--fg-2); font-size: 14px; margin: 18px 0; }
.legal-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.desist { margin: 8px 0 40px; }
.desist__title { font-size: 24px; margin: 0 0 8px; font-variation-settings: "wdth" 115; }
.desist__form { display: grid; gap: 18px; margin-top: 18px; }
.desist__form .btn { justify-self: start; }
.desist__decl { padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); margin: 16px 0; }
.desist__decl p { margin: 6px 0 0; color: var(--fg); }
.desist__modelo { padding: 22px 24px; background: var(--bone); color: var(--ink); border-radius: var(--r); font-family: var(--f-serif); font-size: 18px; line-height: 1.6; }
.desist__modelo p { margin: 0 0 12px; color: var(--ink); }
.desist__modelo .small { font-family: var(--f-display); color: #555 !important; }
@media print {
  .nav, .foot, .cookies, .legal__toc, .desist, .legal-cta, .inner-head .lead, body > script { display: none !important; }
  body { background: #fff; color: #000; }
  .page-inner main { padding: 0; }
  .legal h2, .legal p, .legal li { color: #000 !important; }
  .desist__modelo { border: 1px solid #000; }
}
.check--opt { margin-top: -8px; }
.check em { color: var(--mute); font-style: normal; }
.check--small { font-size: 12px; margin: 12px 0 0; max-width: 460px; }
.check--small input { width: 16px; height: 16px; }
.soon__ok { margin: 0; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 999px; max-width: 460px; }
.rgpd { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--fg-2); }
.rgpd summary { cursor: pointer; padding: 12px 14px; list-style: none; display: flex; justify-content: space-between; }
.rgpd summary::-webkit-details-marker { display: none; }
.rgpd summary::after { content: "+"; font-family: var(--f-mono); }
.rgpd[open] summary::after { content: "–"; }
.rgpd dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; padding: 0 14px 14px; }
.rgpd dt { color: var(--mute); }
.rgpd dd { margin: 0; }
.rgpd a { color: var(--fg); }
@media (max-width: 560px) { .rgpd dl { grid-template-columns: 1fr; gap: 0; } .rgpd dd { margin-bottom: 8px; } }
.pay-legal { margin: 0 0 10px; }
.pay-legal a { color: var(--fg-2); }
.legal .legal__toc { padding: 0; }
.legal-table--stack { min-width: 0; }
.legal-table--stack td:first-child { white-space: normal; }
@media (max-width: 640px) {
  .legal-table--stack thead { display: none; }
  .legal-table--stack, .legal-table--stack tbody, .legal-table--stack tr, .legal-table--stack td { display: block; width: 100%; }
  .legal-table--stack td:first-child { padding-bottom: 0; border-bottom: 0; font-family: var(--f-display); font-weight: 700; font-size: 14px; }
}
