/* Soy de Pádel · catálogo — dirección "deportiva bold"
   Fondo casi negro marino, Montserrat 900/800 cursiva en mayúsculas, lima como acento eléctrico
   y "platós" claros donde viven las prendas (fotos de packshot con fondo claro). */

@font-face { font-family: "SDP Display"; src: url("assets/brand/fonts/montserrat-latin-900-italic.woff2") format("woff2"), url("assets/brand/fonts/montserrat-latin-900-italic.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "SDP Display"; src: url("assets/brand/fonts/montserrat-latin-800-italic.woff2") format("woff2"), url("assets/brand/fonts/montserrat-latin-800-italic.woff") format("woff"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "SDP Display"; src: url("assets/brand/fonts/montserrat-latin-800-normal.woff2") format("woff2"), url("assets/brand/fonts/montserrat-latin-800-normal.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "SDP Display"; src: url("assets/brand/fonts/montserrat-latin-600-normal.woff2") format("woff2"), url("assets/brand/fonts/montserrat-latin-600-normal.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #070B14;
  --bg-2: #0D1424;
  --bg-3: #131C31;
  --navy: var(--brand-navy, #1B2A4A);
  --lime: var(--brand-lime, #D1D367);
  --lime-hi: #E2E47C;
  --plato: #F2F2F0;
  --text: #F3F4EF;
  --muted: #98A1B3;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --wa: #1FAF57;

  --font-body: var(--brand-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --font-display: "SDP Display", "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --r: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--bg); }
html.no-scroll { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lime); color: var(--navy); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--lime); color: var(--navy); padding: 10px 14px; font-weight: 800; }
.skip-link:focus { top: 8px; }
.cap { display: inline-block; }
.cap::first-letter { text-transform: uppercase; }

/* ---------- tipografía display ---------- */
.display, .hero__title, .card__title, .detail__title, .pack__title, .footer__big, .custom__price, .howto h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.025em; line-height: .88;
}
.display { font-size: clamp(3rem, 13.5vw, 7.5rem); }
.display--sm { font-size: clamp(2.4rem, 10vw, 4.5rem); }
.display em, .hero__title em, .footer__big em { font-style: inherit; color: var(--lime); }
.display--dark { color: var(--navy); }
.display--dark em { color: var(--lime); -webkit-text-stroke: 4px var(--navy); paint-order: stroke fill; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--lime);
}
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(209, 211, 103, .18); animation: pulse 2.4s ease-in-out infinite; }
.kicker--dark { color: var(--navy); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(209, 211, 103, 0); } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 0;
  font: italic 900 1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 58px; padding: 0 26px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--lime); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(209, 211, 103, .55); }
.btn--accent:hover { background: var(--lime-hi); transform: translateY(-2px); }
.btn--accent svg { transition: transform .3s var(--ease); }
.btn--accent:hover svg { transform: translateY(3px); }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: #22345C; transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; font-style: normal; font-family: var(--font-body); font-weight: 700; text-transform: none; }
.btn--wa:hover { filter: brightness(1.07); }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 60px;
  transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(7, 11, 20, .86); border-color: var(--line); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__logo { display: flex; align-items: center; gap: 8px; }
.brand__logo img { height: 26px; width: auto; }
.brand__logo svg { width: 28px; height: 28px; }
.brand__name { font: 600 .9rem/1 var(--font-display); letter-spacing: .06em; }
.topnav { display: none; gap: 28px; }
.topnav a { text-decoration: none; font: italic 800 .85rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); transition: color .2s; }
.topnav a:hover { color: var(--text); }
.topbar__pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.topbar__pill svg { color: var(--lime); }
.topbar__pill:hover { border-color: var(--lime); }

/* ---------- plató (fondo claro de producto) ---------- */
.plato { position: relative; display: block; overflow: hidden; background: var(--plato); border-radius: var(--r); isolation: isolate; }
.plato::before { /* suelo de estudio: degradado sutil para dar volumen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 50% 18%, #FFFFFF 0%, var(--plato) 55%, #E3E3DF 100%);
}
.plato img, .plato .ph { width: 100%; height: 100%; object-fit: contain; }
.plato img.is-mock { filter: drop-shadow(0 22px 22px rgba(15, 20, 28, .20)) drop-shadow(0 4px 6px rgba(15, 20, 28, .12)); }
.plato img.is-photo { object-fit: contain; }
.plato:has(img.is-photo)::before { display: none; } /* la foto ya trae su fondo #F2F2F0 */
.ph__label { font: 600 7px var(--font-body); fill: #8A93A3; letter-spacing: .04em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 28px; background:
  radial-gradient(90% 60% at 80% 55%, rgba(27, 42, 74, .95) 0%, rgba(7, 11, 20, 0) 70%),
  linear-gradient(180deg, #0A1020 0%, var(--bg) 100%); }
.hero__court { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(209, 211, 103, .16); pointer-events: none; }
.hero__glass { position: absolute; top: 0; right: -30%; width: 80%; height: 100%; background: linear-gradient(105deg, transparent 0 40%, rgba(255, 255, 255, .05) 40% 46%, transparent 46% 54%, rgba(255, 255, 255, .03) 54% 57%, transparent 57%); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 18px; }
.hero__title { font-size: clamp(4.6rem, 23vw, 10.5rem); margin-top: 12px; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .04em 0; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.hero__title .outline { color: #0A1020; -webkit-text-stroke: 4px var(--text); paint-order: stroke fill; }
@keyframes rise { from { transform: translateY(105%) skewY(4deg); } to { transform: none; } }

.hero__stage { position: relative; margin-top: -4px; }
.plato--hero {
  aspect-ratio: 1 / .78; width: 100%;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
  border-radius: 0;
  animation: stageIn 1s .15s var(--ease) both;
}
.plato--hero img { width: 100%; height: 100%; transform: scale(1.02); }
@keyframes stageIn { from { opacity: 0; transform: translateX(14%) rotate(2deg); } to { opacity: 1; transform: none; } }

.hero__from {
  position: absolute; left: -6px; bottom: -22px; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--lime); color: var(--navy); transform: rotate(-10deg);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
  animation: pop .7s .6s var(--ease) both;
}
.hero__from::after { /* costura de pelota */
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6); border-left-color: transparent; border-right-color: transparent; transform: rotate(35deg);
}
.hero__from-label { font: 800 .68rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.hero__from-price { font: italic 900 2.9rem/.9 var(--font-display); letter-spacing: -.04em; }
.hero__from-price .cur { font-size: .55em; margin-left: 2px; vertical-align: .55em; }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: rotate(-10deg); } }
.ball--hero { display: none; }

.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero__cta .btn { flex: none; }
.hero__where { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.hero__where strong { color: var(--text); font-weight: 700; }
.draft-tag { justify-self: start; font: 700 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: #F4B740; padding: 6px 8px; }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; background: var(--lime); color: var(--navy); overflow: hidden; transform: rotate(-2.2deg); margin: 18px -12px 0; padding: 12px 0; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span { font: italic 900 1.55rem/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; padding: 0 18px; }
.marquee span.o { color: var(--lime); -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--navy); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding: 72px 0; position: relative; }
.section__head { display: grid; gap: 14px; margin-bottom: 36px; }
.loading { color: var(--muted); padding: 40px 0; }
.section--catalog { padding-top: 64px; }

/* ---------- tarjetas ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 60px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__top { position: relative; }
.card__media { width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; cursor: pointer; text-align: left; }
.card__img { position: absolute; inset: 5% 7% 9%; display: block; transition: transform .6s var(--ease); }
.card__idx { display: inline-block; color: var(--muted); font-style: italic; margin-right: 10px; padding-right: 10px; border-right: 1px solid var(--line-2); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--navy); color: var(--lime); padding: 7px 10px 6px;
  font: italic 900 .72rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  transform: skewX(-12deg);
}
.badge--accent { background: var(--lime); color: var(--navy); }
/* precio: "mordisco" del fondo de página sobre el plató */
.card__price {
  position: absolute; right: -1px; bottom: -1px; z-index: 3;
  padding: 14px 4px 0 34px; background: var(--bg);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 719px) {
.card:nth-child(even) .card__price { right: auto; left: -1px; padding: 14px 34px 0 2px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%); }
.card:nth-child(even) .badge { left: auto; right: 14px; }
}
.card__body { padding-top: 16px; display: grid; gap: 14px; }
.card__lema { font: italic 800 .78rem/1.2 var(--font-display); text-transform: uppercase; color: var(--lime); letter-spacing: .02em; margin-bottom: -8px; }
.card__lema .q::before { content: "“"; }
.card__lema .q::after { content: "”"; }
.card__title { font-size: clamp(2.1rem, 9.4vw, 3.1rem); overflow-wrap: anywhere; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.card__price, .detail__price, .custom__price, .pack__price strong {
  font-family: var(--font-display); font-style: italic; font-weight: 900; letter-spacing: -.05em; line-height: .8; white-space: nowrap;
}
.card__price { color: var(--lime); font-size: clamp(4.4rem, 22vw, 6rem); }
.cur { font-size: .42em; vertical-align: .95em; margin-left: .04em; letter-spacing: 0; }
.num--ask { font-size: .35em; letter-spacing: 0; }
.card__alt { font-size: .88rem; color: var(--muted); margin-top: -4px; }
.card__alt b { color: var(--text); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__sizes { font: 700 .78rem/1 var(--font-body); letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line-2); padding: 8px 10px; border-radius: 2px; }
.card__cta {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 54px; padding: 0 18px; background: transparent; border: 1.5px solid var(--line-2); border-radius: var(--r); cursor: pointer;
  font: italic 900 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s;
}
.card__cta svg { color: var(--lime); transition: transform .3s var(--ease); }
.card__cta:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.card__cta:hover svg { color: var(--navy); transform: translateX(4px); }
@media (hover: hover) {
  .card__media:hover .card__img { transform: scale(1.05) rotate(-1.5deg); }
}

/* swatches */
.swatches { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); background: var(--c); cursor: pointer; padding: 0; position: relative; transition: transform .2s var(--ease); }
.swatch--light { border-color: rgba(255, 255, 255, .7); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--lime); }
.swatch::after { content: ""; position: absolute; inset: -6px; } /* área táctil 46px */
.swatches__name { font: 700 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }

/* reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(36px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }

/* ---------- personaliza ---------- */
.custom { position: relative; background: var(--lime); color: var(--navy); padding: 88px 0 80px; margin: 24px 0; clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); overflow: hidden; }
.custom::before { /* líneas de pista en marino */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--navy) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(62% - 1px), var(--navy) calc(62% - 1px) calc(62% + 1px), transparent calc(62% + 1px));
}
.custom__inner { position: relative; display: grid; gap: 24px; }
.custom__copy { display: grid; gap: 14px; }
.custom__price { display: flex; align-items: flex-end; gap: 12px; font-size: 5.2rem; margin-top: 6px; }
.custom__price small { font: 700 .78rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; max-width: 9em; padding-bottom: 8px; }
.plato--custom { aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -30px rgba(27, 42, 74, .6); transform: rotate(-2deg); }
.plato--custom img, .plato--custom .ph { padding: 4%; }
.plato--custom img.is-photo { padding: 0; }
.custom__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.custom__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1.5px solid rgba(27, 42, 74, .2); font-weight: 600; }
.custom__steps b { font: italic 900 1.6rem/1 var(--font-display); width: 26px; }

/* ---------- packs ---------- */
.packs { display: grid; gap: 20px; }
.pack {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 16px 12px; align-items: end;
  padding: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .3s, transform .3s var(--ease);
}
.pack:hover { border-color: rgba(209, 211, 103, .5); }
.pack__thumbs { grid-column: 1 / -1; display: flex; }
.pack__thumb { width: 96px; height: 96px; flex: none; border: 3px solid var(--bg-2); margin-right: -14px; }
.pack__thumb:nth-child(odd) { transform: rotate(-4deg); }
.pack__thumb:nth-child(even) { transform: rotate(3deg) translateY(6px); }
.pack__thumb img, .pack__thumb .ph { padding: 8%; }
.pack__title { font-size: 2rem; }
.pack__items { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.pack__items b { color: var(--lime); }
.pack__desc { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.pack__price { display: grid; justify-items: end; gap: 6px; }
.pack__price s { color: var(--muted); font: 700 1rem/1 var(--font-body); }
.pack__price strong { color: var(--lime); font-size: 4rem; }
.pack__save {
  justify-self: end; margin-bottom: 4px;
  background: var(--lime); color: var(--navy); padding: 8px 10px 7px;
  font: italic 900 .8rem/1 var(--font-display); text-transform: uppercase; transform: rotate(4deg);
}

/* ---------- cómo comprar ---------- */
.section--howto { background: var(--bg-2); overflow: hidden; }
.section--howto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.section--howto .wrap { position: relative; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.howto li { display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.howto li:last-child { border-bottom: 1px solid var(--line); }
.howto__n { grid-row: span 2; font: italic 900 5rem/.8 var(--font-display); color: var(--bg-2); -webkit-text-stroke: 4px var(--lime); paint-order: stroke fill; }
.howto h3 { font-size: 1.45rem; line-height: 1; }
.howto p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.howto-cta { margin-top: 28px; }

/* ---------- FAQ ---------- */
.section--faq .display { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--lime), var(--lime)) center / 100% 2px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq strong { color: var(--text); }

/* ---------- footer ---------- */
.footer { padding: 56px 0 120px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__inner { display: grid; gap: 18px; }
.footer__big { font-size: clamp(3.4rem, 17vw, 12rem); line-height: .84; }
.footer__muted { color: var(--muted); font-size: .9rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { font: italic 800 .9rem/1 var(--font-display); text-transform: uppercase; text-decoration: none; }
.footer__links a:hover { color: var(--lime); }
.footer__small { color: #6B7489; font-size: .78rem; }

/* ---------- barra CTA fija ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 58px; padding: 0 8px 0 16px; border-radius: 999px;
  background: var(--lime); color: var(--navy); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .75);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { display: flex; align-items: center; gap: 10px; min-width: 0; font: italic 900 .92rem/1.05 var(--font-display); text-transform: uppercase; }
.sticky-cta__text > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta__text strong { font-weight: 900; }
.sticky-cta__ball { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); flex: none; position: relative; animation: bounce 1.6s ease-in-out infinite; }
.sticky-cta__ball::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid var(--lime); border-left-color: transparent; border-right-color: transparent; }
@keyframes bounce { 50% { transform: translateY(-4px); } }
.sticky-cta__btn { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: italic 900 .85rem/1 var(--font-display); text-transform: uppercase; }

/* ---------- modal detalle ---------- */
.modal {
  padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--bg); color: var(--text); overflow-y: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(3, 6, 12, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: fixed; top: 12px; right: 12px; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .2s var(--ease), background-color .2s;
}
.modal__close:hover { transform: rotate(90deg); background: #22345C; }
.detail { display: grid; }
.plato--detail { aspect-ratio: 1 / 1; border-radius: 0; max-height: 62vh; width: 100%; }
.detail__img { position: absolute; inset: 5% 5% 14%; }
.seg {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
  display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(7, 11, 20, .9);
}
.seg button { border: 0; background: transparent; color: #fff; min-height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: italic 900 .8rem/1 var(--font-display); text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--lime); color: var(--navy); }
.detail__info { padding: 24px var(--gutter) 40px; display: grid; gap: 22px; align-content: start; }
.detail__info .card__lema { margin-bottom: -14px; }
.detail__title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
.detail__price { color: var(--lime); font-size: 5.4rem; display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.detail__price small { font: 500 .88rem/1.3 var(--font-body); letter-spacing: 0; color: var(--muted); padding-bottom: 6px; }
.detail__price small b { color: var(--text); }
.detail__desc { color: var(--muted); max-width: 60ch; }
.field { display: grid; gap: 12px; }
.field__label { font: 800 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.field__hint { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; margin-left: 6px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 56px; height: 50px; padding: 0 12px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; font: italic 900 1rem/1 var(--font-display); transition: all .2s; }
.size-btn:hover { border-color: var(--text); }
.size-btn[aria-checked="true"] { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.guide summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--lime); text-decoration: underline; text-underline-offset: 4px; width: max-content; }
.guide[open] summary { margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.size-table th, .size-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.features li { font-size: .82rem; font-weight: 600; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #C9CFDA; }
.buybox { display: grid; gap: 12px; padding: 20px; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r); }
.buybox__title { display: flex; align-items: center; gap: 8px; font: italic 900 1.2rem/1.1 var(--font-display); text-transform: uppercase; }
.buybox__title svg { color: var(--lime); flex: none; }
.buybox__meta, .buybox__fine { color: var(--muted); font-size: .86rem; }
.buybox .btn--ink { background: var(--lime); color: var(--navy); }
.buybox .btn--ink:hover { background: var(--lime-hi); }

/* ---------- ≥ 720px ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 64px 28px; }
  .card--hero { grid-column: 1 / -1; }
  .card--hero .card__media { aspect-ratio: 16 / 9; }
  .packs { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .howto { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .howto li { grid-template-columns: 1fr; border-bottom: 1px solid var(--line); align-items: start; }
  .howto__n { grid-row: auto; font-size: 7rem; margin-bottom: 14px; }
  .sticky-cta { left: auto; right: 24px; width: 420px; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .topnav { display: flex; }
  .hero { padding: 100px 0 56px; min-height: min(calc(100vh - 56px), 860px); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; column-gap: 48px; align-items: center; width: 100%; }
  .hero__copy { grid-column: 1; grid-row: 1; }
  .hero__stage { grid-column: 2; grid-row: 1 / span 2; }
  .hero__cta { grid-column: 1; grid-row: 2; margin-top: 8px; align-self: start; }
  .hero__title { font-size: clamp(6rem, 11vw, 10.5rem); }
  .plato--hero { aspect-ratio: 1 / 1.02; }
  .hero__from { width: 150px; height: 150px; left: -40px; bottom: 30px; }
  .hero__from-price { font-size: 3.8rem; }
  .hero__where { font-size: .92rem; }
  .marquee span { font-size: 2.1rem; }
  .section { padding: 110px 0; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 72px 28px; }
  .card--hero { grid-column: span 2; grid-row: span 2; }
  .card--hero .card__top { flex: 1; display: flex; }
  .card--hero .card__media { aspect-ratio: auto; min-height: 520px; }
  .card--hero .card__title { font-size: 4rem; }
  .card--hero .card__price { font-size: 7rem; }
  .card__title { font-size: 2.4rem; }
  .card__price { font-size: 4.4rem; }
  .custom { padding: 130px 0 120px; }
  .custom__inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 64px; align-items: start; }
  .custom__copy { grid-column: 1; }
  .custom__body { grid-column: 1; grid-row: 2; }
  .custom__media { grid-column: 2; grid-row: 1 / span 2; }
  .custom__price { font-size: 6.5rem; }
  .custom .display { font-size: clamp(4rem, 6.4vw, 5.6rem); }
  .packs { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }

  .modal { width: min(1120px, calc(100% - 48px)); height: auto; max-height: calc(100% - 48px); margin: auto; border-radius: 6px; }
  .modal__close { position: absolute; top: 16px; right: 16px; }
  .detail { grid-template-columns: 1.05fr 1fr; }
  .detail__gallery { position: sticky; top: 0; align-self: start; }
  .plato--detail { max-height: none; height: min(calc(100vh - 48px), 760px); aspect-ratio: auto; }
  .detail__info { padding: 48px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee__track { transform: none; }
}

/* ---------- stock en vivo (Supabase): estados de prenda y talla ---------- */
.stock-note {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  font: italic 900 .74rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 10px 6px; border: 1px solid currentColor; border-radius: 2px; margin-top: -4px;
}
.stock-note i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock-note--custom { color: var(--lime); }
.stock-note--low { color: #F5B97A; }
.stock-note--low i { animation: stock-pulse 1.6s ease-in-out infinite; }
.stock-note--out { color: #FF8A80; }
@keyframes stock-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .stock-note--low i { animation: none; } }
.detail__info .stock-note { margin-top: -10px; }
.size-btn { position: relative; }
.size-btn.is-out, .size-btn:disabled {
  cursor: not-allowed; color: var(--muted); border-style: dashed; border-color: var(--line); opacity: .55;
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.size-btn.is-out:hover { border-color: var(--line); }
.size-btn.is-low::after {
  content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #F5B97A;
}
.size-btn.is-low[aria-checked="true"]::after { background: var(--navy); }
.stock-hint { font-size: .82rem; color: var(--muted); min-height: 1.2em; margin-top: -2px; }
.stock-hint:empty { display: none; }

.footer__powered { margin-top: .4rem; }
.footer__powered a { color: var(--accent, #D1D367); font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.footer__powered a:hover, .footer__powered a:focus-visible { text-decoration: underline; }
