/* ==========================================================================
   STRONGEST · Sistema visual
   Oscuro, tipografía condensada y rojo de marca. Mobile first.
   ========================================================================== */

:root {
  /* Paleta «Piedra»: el gris cálido que rodea al bulldog del logo, con tarjetas blancas encima. */
  --bg: #f1f0ed;
  --bg-rgb: 241, 240, 237;
  --bg-alt: #e8e6e1;
  --surface: #ffffff;
  --surface-2: #eceae6;
  --ink: #1a1917;
  --ink-rgb: 26, 25, 23;
  --line: rgba(var(--ink-rgb), 0.1);
  --line-strong: rgba(var(--ink-rgb), 0.22);
  --text: var(--ink);
  --muted: #69665f;
  --red: #c9211b;
  --red-deep: #a81a15;
  --red-glow: rgba(201, 33, 27, 0.28);
  --gold: var(--ink); /* el dorado no se lee sobre claro: los detalles que lo usaban van en negro */
  --tile: #f6f5f3;
  --ok: #1f8f4a;
  --shadow: 0 10px 24px -14px rgba(40, 34, 24, 0.35);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: 16px;
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 84px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  /* Marca de agua casi invisible: el bulldog del logo. */
  background: url("../img/fondo-patron.3b4cd347fc00.webp") 0 0 / 320px 320px, var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 479px) { .hide-sm { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.i.flip { transform: scaleX(-1); }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.display--hero { font-size: clamp(3.6rem, 13vw, 8.6rem); }
.display--xl { font-size: clamp(3rem, 11vw, 8rem); }
.display--lg { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
.display em { font-style: normal; color: var(--red); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.accent { color: var(--red); }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 99px; padding: 7px 14px;
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.dot::after, .status.is-open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.5; } 70%, to { transform: scale(3.2); opacity: 0; } }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 99px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--btn-bg); border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn--primary:hover { --btn-bg: #dd2a23; box-shadow: 0 14px 36px -8px var(--red-glow); }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.85rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--light { --btn-bg: var(--text); color: var(--bg); }
.btn--light:hover { --btn-bg: #000; box-shadow: 0 14px 36px -12px rgba(40, 34, 24, 0.5); }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; box-shadow: none; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--bg); transition: transform 0.25s var(--ease), background 0.2s;
}
.icon-btn:hover { transform: scale(1.08); background: var(--red); color: #fff; }
.icon-btn .i--check { display: none; }
.icon-btn.is-added { background: var(--red); color: #fff; }
.icon-btn.is-added .i--plus { display: none; }
.icon-btn.is-added .i--check { display: inline-block; }
.icon-btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
.icon-btn--ghost:hover { border-color: var(--red); }

[data-cart-toggle] .when-on { display: none; }
[data-cart-toggle].is-added .when-on { display: inline; }
[data-cart-toggle].is-added .when-off { display: none; }

.link-btn { color: var(--muted); font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.link-arrow .i { transition: transform 0.25s var(--ease); color: var(--red); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Barra de anuncio ---------- */
.announce { background: var(--red-deep); color: #fff; font-size: 0.8rem; font-weight: 600; overflow: hidden; }
.announce__track { display: flex; width: max-content; animation: marquee 50s linear infinite; will-change: transform; }
.announce__track span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 28px; white-space: nowrap; }
/* Sitio en revisión (DJANGO_SITE_PREVIEW): franja fija para que el cliente no la confunda con el sitio real. */
.preview-bar { background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: .02em; text-align: center; padding: 6px 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(var(--bg-rgb), 0.96); border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 136px; height: auto; }
@media (min-width: 768px) { .brand img { width: 164px; } }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav {
  position: absolute; inset: 100% 0 auto 0; z-index: 49;
  display: flex; flex-direction: column; gap: 4px; padding: 16px var(--gutter) 28px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav a:not(.btn) { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; padding: 6px 0; }
.nav a:not(.btn):hover { color: var(--red); }
.nav__cta { margin-top: 12px; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); }

@media (min-width: 1024px) {
  .nav {
    position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; align-items: center; gap: 30px;
    padding: 0; background: none; border: 0;
  }
  .nav a:not(.btn) { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; text-transform: none; color: var(--muted); position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.3s var(--ease); }
  .nav a:not(.btn):hover { color: var(--text); }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--text); }
  .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__cta { margin-top: 0; }
  .nav-toggle { display: none; }
}
/* En pantallas medianas no caben todas las categorías del menú: quedan las dos primeras. */
@media (min-width: 1024px) and (max-width: 1239px) {
  .nav { gap: 22px; }
  .nav__cat--extra { display: none; }
}

.stack-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px;
  border-radius: 99px; border: 1.5px solid var(--line-strong); font-size: 0.85rem; font-weight: 700;
  transition: border-color 0.2s;
}
.stack-pill:hover { border-color: var(--red); }
.stack-pill b { min-width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; background: var(--surface-2); font-size: 0.78rem; transition: background 0.2s, transform 0.3s var(--ease); }
.stack-pill.has-items b { background: var(--red); color: #fff; }
.stack-pill.bump b { transform: scale(1.35); }
@media (max-width: 420px) { .stack-pill span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; min-height: calc(100svh - var(--header-h) - 36px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -200px;
  background: radial-gradient(circle, var(--red-glow) 0%, rgba(224, 38, 29, 0.08) 40%, transparent 70%);
  filter: blur(20px); opacity: 0.4;
}
/* Muro de productos: columnas de fotos del catálogo que se desplazan lento detrás del disco. */
.hero__wall {
  position: absolute; inset: -30% -8%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start;
  transform: rotate(-8deg); opacity: 0.9;
}
.hero__col { min-width: 0; }
.hero__col:nth-child(n + 4) { display: none; }
.hero__col-track {
  animation: wall-scroll calc(70s + var(--i, 0) * 10s) linear infinite; will-change: transform;
  animation-delay: calc(var(--i, 0) * -9s);
}
.hero__col:nth-child(even) .hero__col-track { animation-direction: reverse; }
.hero__tile { aspect-ratio: 1; margin-bottom: 12px; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 26px -20px rgba(40, 34, 24, 0.5); }
.hero__tile img { width: 80%; height: 80%; object-fit: contain; }
.hero__wall.is-paused .hero__col-track { animation-play-state: paused; }
@keyframes wall-scroll { to { transform: translateY(-50%); } }
.hero:not(.hero--gym) .hero__ig, .hero:not(.hero--gym) .hero__word, .hero:not(.hero--gym) .hero__glow { display: none; }
/* El muro se funde con el fondo donde va el texto: en escritorio hacia la izquierda, en celular hacia arriba. */
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 16%, rgba(var(--bg-rgb), 0) 78%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(var(--bg-rgb), 0.55) 46%, rgba(var(--bg-rgb), 0.12) 66%, rgba(var(--bg-rgb), 0.12) 100%);
}
@media (max-width: 959px) {
  .hero__shade { background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.86) 0%, rgba(var(--bg-rgb), 0.8) 48%, rgba(var(--bg-rgb), 0.2) 64%, rgba(var(--bg-rgb), 0.2) 90%, var(--bg) 100%); }
  .hero__glow { display: none; } /* sobre claro, en celular teñía de rosado todo el hero */
}
@media (min-width: 960px) {
  .hero__wall { grid-template-columns: repeat(5, 1fr); inset: -30% -8% -30% 24%; gap: 18px; }
  .hero__col:nth-child(n + 4) { display: block; }
  .hero__tile { margin-bottom: 18px; }
}
.hero__ig {
  position: absolute; right: calc(var(--gutter) + 84px); bottom: 26px; z-index: 2; display: none; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong); font-size: 0.8rem; color: var(--muted); transition: border-color 0.2s, color 0.2s;
}
.hero__ig b { color: var(--text); margin-right: 4px; }
.hero__ig .i { color: var(--red); width: 20px; height: 20px; }
.hero__ig:hover { border-color: var(--red); color: var(--text); }
@media (min-width: 960px) { .hero__ig { display: inline-flex; } }
.hero__word {
  position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(7rem, 26vw, 24rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(var(--ink-rgb), 0.1);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.display--hero .line { display: block; }
.hero__copy .hero__lead { max-width: 24em; color: var(--muted); font-size: 1.15rem; }
/* En pantallas bajas (notebooks) el título se achica para que el botón de la tienda entre en la primera pantalla. */
@media (min-width: 960px) and (max-height: 880px) {
  .hero:not(.hero--gym) .display--hero { font-size: clamp(3.6rem, 14.5vh, 8.6rem); }
  .hero:not(.hero--gym) .hero__copy { gap: 18px; }
  .hero__stage .hero__plate { inset: -5%; width: 110%; height: 110%; }
  .hero__stage .hero__dots { left: calc(-5% - 30px); }
  .hero__stage .hero__card { left: -2%; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
/* Disco olímpico detrás del producto. Es más grande que el escenario y se sale por el borde del hero. */
.hero__plate {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; border-radius: 50%;
  box-shadow: 0 50px 70px -40px rgba(40, 34, 24, 0.55), 0 10px 24px -12px rgba(40, 34, 24, 0.4);
  --plate: var(--red); --plate-ink: #fff;
}
.hero__stage[data-plate="1"] .hero__plate { --plate: var(--ink); --plate-ink: #f5f2ed; }
.hero__stage[data-plate="2"] .hero__plate { --plate: #e2dccf; --plate-ink: var(--ink); }
/* Giran elementos completos (capas que mueve la tarjeta gráfica), no partes internas del SVG: así no se redibuja en cada cuadro. */
.hero__plate-turn { position: absolute; inset: 0; transform: rotate(var(--turn, 0deg)); transition: transform 1.1s var(--ease); will-change: transform; }
/* Gira el contenedor y no el dibujo: al rotar el SVG, su texto curvo se recalculaba en cada cuadro. */
.hero__plate-spin { width: 100%; height: 100%; animation: spin 90s linear infinite; will-change: transform; }
.hero__plate-disc { display: block; width: 100%; height: 100%; }
.hero__plate-sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.28)); }
.hero__plate-body { fill: var(--plate); transition: fill 0.7s var(--ease); }
.hero__plate-groove { fill: none; stroke: rgba(0, 0, 0, 0.22); stroke-width: 3; }
.hero__plate-groove--steel { stroke: rgba(0, 0, 0, 0.18); stroke-width: 2; }
.hero__plate-text { font-family: var(--font-display); font-size: 44px; fill: var(--plate-ink); transition: fill 0.7s var(--ease); }
.hero__plate-hole { fill: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero__plate-spin { animation: none; } .hero__plate-turn { transition: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__product { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(24px) scale(0.94); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.hero__product.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__product img {
  position: absolute; inset: 10% 16% 14%; width: 68%; height: 76%; object-fit: contain;
  filter: drop-shadow(0 30px 26px rgba(0, 0, 0, 0.45));
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--pr, 0deg));
  transition: transform 0.4s var(--ease);
  animation: float 6s ease-in-out infinite; will-change: transform;
}
/* Los productos que no se ven no siguen flotando: antes se animaban los cuatro a la vez. */
.hero__product:not(.is-active) img { animation-play-state: paused; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero__card {
  position: absolute; left: 0; bottom: -5%; display: grid; gap: 4px; min-width: 240px;
  padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: #fff; box-shadow: 0 18px 40px -18px rgba(40, 34, 24, 0.55);
}
.hero__card strong { font-size: 1.05rem; }
.hero__card-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
/* Los puntos van fuera del disco: abajo en celular, a la izquierda (entre el texto y el disco) en escritorio. */
.hero__dots { position: absolute; left: 50%; bottom: calc(-6% - 26px); translate: -50% 0; display: flex; gap: 8px; }
.hero__dots button[aria-selected="true"] { width: 28px; }
@media (min-width: 960px) {
  .hero__plate { inset: -15%; width: 130%; height: 130%; }
  .hero__dots { left: calc(-15% - 30px); bottom: auto; top: 50%; translate: 0 -50%; flex-direction: column; }
  .hero__card { left: -8%; bottom: -3%; }
  .hero__dots button[aria-selected="true"] { width: 10px; height: 28px; }
}
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; background: var(--line-strong); transition: height 0.3s var(--ease), background 0.3s; }
.hero__dots button[aria-selected="true"] { background: var(--red); }

@media (min-width: 960px) {
  .hero { padding: 24px 0 96px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- Invitación a mayoristas ---------- */
/* Banda negra (colores invertidos, como el pie): habla a otro público, el que compra para revender. */
.wholesale {
  --text: #f5f2ed; --muted: #b3afa8; --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.24); --red: #e0261d;
  background: var(--ink); color: var(--text); padding: 72px 0;
}
.wholesale__inner { display: grid; gap: 36px; align-items: center; }
.wholesale__copy { display: grid; gap: 14px; }
.wholesale__copy .eyebrow { margin: 0; }
.wholesale__lead { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.wholesale__lead b { color: var(--text); }
.wholesale__side { display: grid; gap: 22px; justify-items: start; }
.wholesale__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-weight: 600; }
.wholesale__list li { display: flex; gap: 12px; align-items: flex-start; }
.wholesale__list .i { color: #fff; background: var(--red); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.wholesale__note { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 900px) {
  .wholesale { padding: 96px 0; }
  .wholesale__inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.pdp__wholesale { padding-top: 10px; border-top: 1px solid var(--line); }
.pdp__wholesale a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- Ticker ---------- */
/* Cinta negra y delgada entre el hero y la tienda: letras claras y chicas, no un segundo titular. */
.ticker { --text: #f5f2ed; background: var(--ink); color: var(--text); overflow: hidden; padding: 13px 0; }
.ticker__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.ticker__track span { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.ticker__track .outline { -webkit-text-stroke-width: 1px; }
.ticker__track i { color: #e0261d; font-style: normal; font-size: 0.8rem; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section--alt { background: url("../img/fondo-patron.3b4cd347fc00.webp") 160px 80px / 320px 320px, var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 768px) { .section-head--row { grid-template-columns: 1fr auto; } }
.section-head--row > div:first-child { display: grid; gap: 14px; }
.section-head__lead { color: var(--muted); font-size: 1.05rem; max-width: 36em; }

/* ---------- Compra por objetivo ---------- */
.goal-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
@media (min-width: 900px) { .goal-tabs { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.goal-tab {
  position: relative; overflow: hidden; text-align: left; display: grid; gap: 4px; align-content: start;
  padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.goal-tab::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.goal-tab:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.goal-tab.is-active { border-color: var(--red); background: linear-gradient(160deg, rgba(224, 38, 29, 0.16), var(--surface) 60%); }
.goal-tab.is-active::after { transform: scaleX(1); }
.goal-tab__name { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); text-transform: uppercase; line-height: 1; }
.goal-tab__desc { color: var(--muted); font-size: 0.82rem; line-height: 1.4; display: none; }
@media (min-width: 640px) { .goal-tab__desc { display: block; } }
.goal-panel__desc { color: var(--muted); margin-bottom: 18px; max-width: 48em; }
.goal-panel__more { display: flex; justify-content: center; margin-top: 28px; }
/* El texto del botón cambia con el objetivo y puede no caber en una línea en el celular. */
.goal-panel__more .btn { white-space: normal; text-align: center; line-height: 1.2; max-width: 100%; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } }

.ship-meter { display: grid; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.ship-meter__bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red)); border-radius: inherit; transition: width 0.6s var(--ease); }
.ship-meter.is-free .ship-meter__bar span { background: var(--ok); }
.ship-meter.is-free p { color: var(--ok); }
.pdp__info .ship-meter { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; }

/* ---------- Tarjeta de producto ---------- */
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .p-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .p-grid { grid-template-columns: repeat(4, 1fr); } }

.p-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), border-color 0.3s; }
.p-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.p-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--tile); padding: 12%; overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.07) rotate(-2deg); }
/* Ropa: fotos de estilo de vida a sangre completa. */
/* Ropa: foto a sangre completa, cuadrada como el resto para que la grilla quede pareja. */
.p-card--photo .p-card__media { padding: 0; }
.p-card--photo .p-card__media img { object-fit: cover; mix-blend-mode: normal; transform: scale(1.26); }
.p-card--photo:hover .p-card__media img { transform: scale(1.33); }
/* En el carrusel de ropa de la portada (solo prendas) se mantiene el formato vertical. */
.carousel .p-card--photo .p-card__media { aspect-ratio: 4 / 5; }
.carousel .p-card--photo .p-card__media img { transform: scale(1.32); }
.carousel .p-card--photo:hover .p-card__media img { transform: scale(1.4); }
/* Sello «Agotado» sobre la foto (tarjeta y ficha); la foto queda apagada. */
.soldout-stamp {
  position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%) rotate(-8deg);
  padding: 6px 18px; border: 3px solid #fff; border-radius: 6px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.soldout-stamp--lg { font-size: clamp(1.4rem, 4vw, 2.2rem); padding: 8px 26px; }
@media (max-width: 600px) {
  .soldout-stamp:not(.soldout-stamp--lg) { font-size: 0.95rem; padding: 4px 12px; border-width: 2px; }
}
.p-card.is-soldout .p-card__media img, .pdp__media:has(.soldout-stamp) img { opacity: 0.45; filter: grayscale(1); }
.p-card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--ink); color: #fff; }
.tag--sale { background: var(--red); }
.tag--promo { background: var(--gold); color: var(--bg); }

/* Promoción destacada: franja (portada y tienda), reloj, acceso en la ficha */
.promo-strip { background: var(--bg-alt); border-block: 1px solid var(--gold); }
.promo-strip__inner { display: grid; gap: 18px; align-items: center; padding-block: 28px; }
@media (min-width: 760px) { .promo-strip__inner { grid-template-columns: 1fr auto; gap: 32px; } }
.promo-strip__kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-variant-numeric: tabular-nums; }
.promo-strip__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 4px 0; }
.promo-strip__title span { color: var(--gold); }
.promo-strip__lead { color: var(--muted); max-width: 44em; }
.promo-strip .btn { justify-self: start; }
.promo-clock { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.pdp__promo { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 6px; font-size: 0.86rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.pdp__promo:hover span:last-child { text-decoration: underline; }
.announce__promo a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.tag--dark { background: var(--ink); color: #fff; }
/* Columna flexible: el pie (precio + botón) queda anclado al fondo, así todas las tarjetas de una fila
   tienen el botón a la misma altura aunque el nombre ocupe 2 líneas o haya "3 sabores" o precio tachado. */
.p-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.p-card__brand { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.p-card__name { font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.p-card__name a:hover { color: var(--red); }
.p-card__variants { font-size: 0.76rem; font-weight: 700; color: var(--gold); }
.p-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.p-card__foot .icon-btn { flex: none; }
@media (max-width: 379px) {
  .p-card__body { padding: 12px; }
  .p-card__foot .price strong { font-size: 0.98rem; }
  .p-card__foot .icon-btn { width: 36px; height: 36px; }
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price strong { font-size: 1.1rem; font-weight: 800; }
.price s { font-size: 0.82rem; color: var(--muted); }
/* Cuánto se ahorra en pesos, además del porcentaje de la etiqueta. Ocupa su propia línea bajo el precio. */
.save { flex-basis: 100%; font-size: 0.78rem; font-weight: 700; color: var(--ok); }
.pdp__price .save { flex-basis: auto; font-size: 0.9rem; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 12%, transparent); }

/* El kicker vive dentro del H1 (palabras clave), pero conserva su estilo de etiqueta. */
.hero .kicker { display: flex; width: fit-content; max-width: 100%; font-family: var(--font-body); line-height: 1.4; margin-bottom: 24px; }
.hero__inner > *, .hero__copy > * { min-width: 0; max-width: 100%; }
/* Hero del gimnasio: sin productos a la derecha, el título usa todo el ancho y es algo más contenido. */
@media (min-width: 960px) {
  .hero--gym .hero__inner { grid-template-columns: minmax(0, 1000px); }
  .hero--gym .display--hero { font-size: clamp(3.6rem, 8.4vw, 7.4rem); }
  .hero--gym .hero__lead { max-width: 34em; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq-home { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-home { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq-home .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.25s; }
.faq[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px;
  font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; color: var(--red); transition: transform 0.3s var(--ease); }
.faq[open] summary .i { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: var(--text); text-decoration: underline; }

/* ---------- Página de FAQ y guías ---------- */
.faq-topic { margin-bottom: 44px; max-width: 860px; }
.faq-topic__title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; margin-bottom: 16px; }
.help-cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin: 20px 0 96px;
  padding: 32px; border-radius: calc(var(--radius) + 6px); background: linear-gradient(120deg, rgba(224, 38, 29, 0.2), var(--surface) 60%); border: 1px solid var(--line-strong);
}
.help-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.guide-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card {
  display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.35s var(--ease);
}
.guide-card:hover { border-color: var(--red); transform: translateY(-4px); }
.guide-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.guide-card p { color: var(--muted); font-size: 0.95rem; }
.guide-card__meta { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

.guide__head { display: grid; gap: 14px; padding: 40px 0 28px; max-width: 860px; }
.guide__head .eyebrow { margin: 0; }
.guide__meta { color: var(--muted); font-size: 0.9rem; }
.guide__layout { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 1024px) { .guide__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; } }
.guide__answer {
  display: grid; gap: 6px; padding: 22px 24px; margin-bottom: 32px; border-radius: var(--radius);
  background: var(--surface); border-left: 4px solid var(--red); font-size: 1.08rem;
}
.guide__answer b { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.guide__cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.prose { font-size: 1.05rem; line-height: 1.75; color: #3a3833; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); text-transform: uppercase; line-height: 1.05; color: var(--text); margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; color: var(--text); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.guide__main, .guide__side { min-width: 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); }
.prose blockquote { border-left: 3px solid var(--red); padding-left: 18px; color: var(--muted); }
.guide__faqs { margin-top: 48px; }
.guide__faqs h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; margin-bottom: 16px; }
.guide__disclaimer { margin-top: 32px; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.guide__side { display: grid; gap: 16px; }
@media (min-width: 1024px) { .guide__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.guide__products { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); }
.guide__products h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; }
.guide-product { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.guide-product img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--tile); padding: 4px; mix-blend-mode: normal; }
.guide-product small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.guide-product b { display: block; font-size: 0.92rem; line-height: 1.25; }
.guide-product:hover b { color: var(--red); }

/* ---------- Cuenta de cliente ---------- */
.auth { padding: 48px var(--gutter) 110px; display: grid; justify-items: center; }
.auth-card {
  width: min(100%, 480px); display: grid; gap: 16px; padding: 32px 28px; border-radius: calc(var(--radius) + 6px);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.auth-card--wide { width: min(100%, 760px); }
.auth-card .eyebrow { margin: 0; }
.auth-form { display: grid; gap: 16px; }
.auth-form .link-btn { justify-self: center; }
.auth-switch { text-align: center; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.auth-perks li { display: flex; gap: 10px; align-items: center; }
.auth-perks .i { color: var(--ok); }
.auth-sub { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; margin-top: 8px; }
.field__hint { font-size: 0.8rem; color: var(--muted); margin-top: -8px; }
.field__hint ul { margin: 4px 0 0; padding-left: 18px; }
.account { padding-bottom: 96px; }
.account__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .account__grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.account-card { display: grid; gap: 14px; padding: 24px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.account-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; }
.account-order { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.account-order:hover b { color: var(--red); }
.account-order span { display: grid; gap: 2px; }
.account-order small { color: var(--muted); font-size: 0.8rem; }
.account-order__right { text-align: right; justify-items: end; }
.status-pill { padding: 2px 10px; border-radius: 99px; background: var(--surface-2); font-weight: 700; }
.account-order .status-pill--pending { color: var(--gold); }
.account-order .status-pill--paid, .account-order .status-pill--delivered, .account-order .status-pill--ready { color: var(--ok); }
.account-order .status-pill--cancelled { color: var(--red); }
.account-data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.92rem; }
.account-data dt { color: var(--muted); }
.account-data dd { margin: 0; overflow-wrap: anywhere; }
.account-card .link-btn { justify-self: start; }
.account-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: border-color 0.2s; }
.account-link:hover, .account-link.is-in { border-color: var(--red); }
.account-link.is-in { color: var(--red); }

/* ---------- 404 ---------- */
.not-found { display: grid; gap: 22px; justify-items: start; padding-block: 64px 110px; }
.not-found__code { font-size: clamp(7rem, 22vw, 14rem); color: transparent; -webkit-text-stroke: 2px var(--red); line-height: 0.85; }
.not-found .filters { flex-wrap: wrap; overflow: visible; }
/* Página 500: sin el encabezado del sitio, solo una franja con el logo. */
.error-bar { padding-block: 18px; border-bottom: 1px solid var(--line); }

/* ---------- Compra por categoría ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
/* Tarjeta de categoría: hasta 3 fotos en abanico (la del centro adelante y más grande) en su propia franja,
   y debajo el nombre a todo el ancho, con la cantidad de productos y la flecha en una fila. */
.cat-card {
  position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-height: 230px;
  border-radius: var(--radius); background: var(--surface); color: var(--ink); isolation: isolate; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s; container-type: inline-size;
}
.cat-card__media { position: relative; grid-row: 1; height: clamp(104px, 14vw, 150px); margin: 16px 14px 0; }
.cat-card__media img {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%; max-width: none; translate: -50% 0;
  object-fit: contain; object-position: bottom; mix-blend-mode: multiply; transition: transform 0.5s var(--ease);
}
.cat-card__media--3 img:first-child, .cat-card__media--2 img:first-child { z-index: 1; }
.cat-card__media--3 img:nth-child(2) { translate: -104% 4%; width: 40%; height: 86%; }
.cat-card__media--3 img:nth-child(3) { translate: 4% 4%; width: 40%; height: 86%; }
.cat-card__media--2 img:first-child { translate: -80% 0; width: 46%; }
.cat-card__media--2 img:last-child { translate: -18% 4%; width: 42%; height: 88%; }
/* Ropa: fotos de personas (no envases), como tarjetitas con borde. */
.cat-card__media--photo img { object-fit: cover; object-position: center; mix-blend-mode: normal; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.45); }
.cat-card__media--photo.cat-card__media--3 img:nth-child(2) { rotate: -6deg; }
.cat-card__media--photo.cat-card__media--3 img:nth-child(3) { rotate: 6deg; }
.cat-card__body { grid-row: 2; align-self: end; display: grid; gap: 6px; padding: 14px 14px 14px 16px; }
/* El tamaño del nombre sigue al ancho de la tarjeta: «Termogénicos» o «Aminoácidos» caben enteros en celular. */
.cat-card__body b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1rem, 10.5cqi, 1.8rem); text-transform: uppercase; line-height: 1; }
.cat-card__body small { font-size: 0.8rem; font-weight: 600; color: var(--red); }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-card__go {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: background 0.25s, transform 0.35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(224, 38, 29, 0.55); border-color: var(--ink); }
.cat-card:hover .cat-card__media img { transform: translateY(-4px); }
.cat-card:hover .cat-card__media img:first-child { transform: translateY(-4px) scale(1.04); }
.cat-card:hover .cat-card__go { background: var(--red); transform: translateX(3px); }
/* En celular (2 columnas) la última categoría, si queda sola, ocupa la fila completa. */
@media (max-width: 767px) { .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Banda de ofertas ---------- */
.offer-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #ff4a3d); color: #fff; }
.offer-band::before {
  content: "%"; position: absolute; right: -2%; top: 50%; translate: 0 -50%; font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 26rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.14); pointer-events: none;
}
.offer-band__inner { position: relative; display: grid; gap: 24px; align-items: center; padding-block: 44px; }
@media (min-width: 960px) { .offer-band__inner { grid-template-columns: auto 1fr auto; gap: 40px; } }
.offer-band__kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.offer-band__title { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 6px 0 8px; }
.offer-band__title span { color: var(--bg); }
.offer-band__copy p:last-child { font-weight: 600; opacity: 0.9; }
.offer-band__items { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.offer-band__items::-webkit-scrollbar { display: none; }
.offer-band__item {
  position: relative; flex: none; width: 104px; height: 104px; border-radius: var(--radius-sm); background: var(--tile);
  padding: 10px; transition: transform 0.3s var(--ease);
}
.offer-band__item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.offer-band__item .tag { position: absolute; top: -6px; left: -6px; }
.offer-band__item:hover { transform: translateY(-4px) rotate(-2deg); }
.offer-band .btn { justify-self: start; }

.filter--sale { border-color: var(--red); color: var(--red); }
.filter--promo { border-color: var(--gold); color: var(--gold); }

/* ---------- Perks ---------- */
/* Cinta negra bajo el hero: los beneficios en una línea que avanza sola (main.js) y se desliza con el dedo. */
.perks { --text: #f5f2ed; --muted: #a8a49d; background: var(--ink); color: var(--text); overflow-x: auto; scrollbar-width: none; }
.perks::-webkit-scrollbar { display: none; }
.perks__track { display: flex; width: max-content; }
.perks__list { list-style: none; margin: 0; padding: 14px 0; display: flex; }
.perk { display: flex; align-items: center; gap: 9px; padding: 0 22px; white-space: nowrap; font-size: 0.9rem; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.perk > .i { flex: none; width: 20px; height: 20px; color: #e0261d; }
.perk b { font-weight: 700; }
.perk span { color: var(--muted); }
@media (min-width: 768px) { .perks__list { padding: 17px 0; } .perk { padding: 0 30px; font-size: 0.95rem; } }

/* ---------- Gimnasio ---------- */
.gym { position: relative; overflow: hidden; }
.gym::before {
  content: ""; position: absolute; left: -200px; top: 20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224, 38, 29, 0.2), transparent 65%); pointer-events: none;
}
.disciplines { position: relative; display: grid; gap: 14px; }
@media (min-width: 640px) { .disciplines { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .disciplines { grid-template-columns: repeat(4, 1fr); } }
/* Con pocas disciplinas las tarjetas se reparten el ancho y bajan de alto. */
.disciplines--1 .discipline, .disciplines--2 .discipline { min-height: 200px; }
@media (min-width: 640px) {
  .disciplines--1 { grid-template-columns: minmax(0, 640px); }
  .disciplines--2, .disciplines--3 { grid-template-columns: repeat(2, 1fr); }
  .disciplines--1 .discipline, .disciplines--2 .discipline { min-height: 220px; padding: 30px; }
  .disciplines--1 .discipline p, .disciplines--2 .discipline p { font-size: 1rem; max-width: 34em; }
}
@media (min-width: 1100px) { .disciplines--3 { grid-template-columns: repeat(3, 1fr); } }
.discipline {
  position: relative; overflow: hidden; min-height: 280px; display: grid; align-content: end; gap: 10px;
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  isolation: isolate; transition: transform 0.4s var(--ease);
}
.discipline::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--red), var(--red-deep)); clip-path: circle(0% at 100% 0%); transition: clip-path 0.6s var(--ease); }
.discipline:hover { transform: translateY(-6px); }
.discipline:hover::before { clip-path: circle(150% at 100% 0%); }
.discipline__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.discipline__icon { position: absolute; top: 26px; left: 26px; width: 40px; height: 40px; color: var(--red); transition: color 0.3s; }
.discipline:hover .discipline__icon { color: #fff; }
.discipline h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.discipline p { color: var(--muted); font-size: 0.92rem; transition: color 0.3s; }
.discipline:hover p { color: rgba(255, 255, 255, 0.88); }
/* Al pasar el mouse la tarjeta se llena de rojo: el título y el número también pasan a blanco. */
.discipline h3 { transition: color 0.3s; }
.discipline:hover h3 { color: #fff; }
.discipline:hover .discipline__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.5); }

/* Franja de la portada que lleva a /gimnasio/ */
.gym-band__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .gym-band__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.gym-band__copy { display: grid; gap: 22px; justify-items: start; }
.gym-band__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gym-band__tags li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.86rem; font-weight: 600;
}
.gym-band__tags .i { width: 18px; height: 18px; color: var(--red); }
.gym-band__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-3deg); }
.gym-band__photos img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  filter: grayscale(1) contrast(1.1); transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.gym-band__photos img:nth-child(2) { transform: translateY(28px); }
.gym-band__photos:hover img { filter: none; }

/* Sede del gimnasio: tarjeta con horario semanal + mapa */
.gym-location { display: grid; gap: 16px; }
.gym-location + .gym-location { margin-top: 16px; }
@media (min-width: 960px) { .gym-location { grid-template-columns: minmax(0, 420px) 1fr; gap: 20px; } }
.store.gym-location__card { display: flex; flex-direction: column; gap: 14px; }
.gym-location__hours { margin: 4px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.gym-location__hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.gym-location__hours dt { color: var(--muted); }
.gym-location__hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.gym-location__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.gym-location__map {
  width: 100%; min-height: 320px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  filter: grayscale(1) contrast(0.95); background: var(--surface);
}

/* ---------- Planes ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } .plans--1 { grid-template-columns: minmax(0, 360px); justify-content: center; } }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } .plans--1 { grid-template-columns: minmax(0, 360px); } .plans--2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; } }
@media (min-width: 1200px) {
  .plans--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; gap: 14px; }
  .plans--5 .plan { padding: 28px 18px; }
  .plans--5 .plan__name { font-size: 1.7rem; }
  .plans--5 .plan__price strong { font-size: 2.2rem; }
  .plans--5 .plan__badge { font-size: 0.7rem; }
  .plans--5 .plan--featured { transform: scale(1.03); }
}
.plan__price { flex-wrap: wrap; }
.plan__price span, .plan__badge, .plan .btn { white-space: nowrap; }
.plan-group + .plan-group { margin-top: 64px; }
.plan-group__head { display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: 28px; }
.plan-group__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.plan-group__head p { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.plan-group__head .i { color: var(--red); width: 1.1em; height: 1.1em; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.plan--featured { border: 1.5px solid var(--red); background: linear-gradient(180deg, rgba(224, 38, 29, 0.14), var(--surface) 55%); box-shadow: 0 30px 80px -40px var(--red-glow); }
@media (min-width: 900px) { .plan--featured { transform: scale(1.04); } }
.plan__flag { position: absolute; top: -13px; left: 26px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.plan__name { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.plan__tagline { color: var(--muted); font-size: 0.9rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price strong { font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan__pricing { display: grid; gap: 6px; }
.plan__regular { color: var(--muted); font-size: 0.95rem; }
.plan__monthly { color: var(--text); font-size: 0.86rem; font-weight: 600; }
.plan__badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.plan__badge .i { width: 14px; height: 14px; color: var(--red); }
.plan__flag--save { background: var(--text); color: var(--bg); }
.plan__features { flex: 1; list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 10px; align-content: start; }
.plan__features li { display: flex; gap: 10px; font-size: 0.92rem; }
.plan__features .i { color: var(--red); margin-top: 3px; width: 1.1em; height: 1.1em; }

/* ---------- Clase de prueba ---------- */
.signup { position: relative; overflow: hidden; }
.signup::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 100%, rgba(224, 38, 29, 0.22), transparent 55%); pointer-events: none; }
.signup__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .signup__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.signup__copy { display: grid; gap: 18px; }
.signup__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.signup__list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.signup__list .i { color: #fff; background: var(--red); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

.signup-form { position: relative; display: grid; gap: 18px; padding: 28px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line-strong); }
@media (min-width: 640px) { .signup-form { padding: 36px; } }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
  height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input::placeholder { color: #9a968e; }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 38, 29, 0.18); }
.field.has-error input { border-color: var(--red); }
.field__error { color: var(--red); font-size: 0.8rem; min-height: 0; }
.field__error:empty { display: none; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > div, .chips > div > div { display: contents; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-size: 0.88rem; font-weight: 600; transition: all 0.2s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.signup-form__success {
  position: absolute; inset: 0; border-radius: inherit; background: var(--surface); display: grid; place-content: center; justify-items: center; gap: 16px;
  text-align: center; padding: 32px; animation: pop-in 0.5s var(--ease) both;
}
.signup-form__success[hidden] { display: none; }
.signup-form__success .i { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--red); color: #fff; }
.signup-form__success p { font-size: 1.15rem; font-weight: 700; max-width: 22em; }

/* ---------- Carrusel ropa ---------- */
.carousel-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 16px;
  scrollbar-width: none; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging a { pointer-events: none; }
.carousel > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .carousel { grid-auto-columns: 23%; gap: 20px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); } }

/* ---------- Flyers de la portada ---------- */
/* Franja de miniaturas: cada flyer se ve completo (vertical u horizontal) a una misma altura; al tocarlo se abre o lleva a su enlace. */
.flyers { padding: 20px 0 0; --flyer-h: 150px; }
.flyers__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.flyers__head .eyebrow { margin: 0; }
.flyers__head .carousel-nav { display: none; }
.flyers__track {
  display: flex; align-items: center; justify-content: safe center; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 16px; scrollbar-width: none; cursor: grab;
}
.flyers__track::-webkit-scrollbar { display: none; }
.flyers__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.flyers__track.is-dragging .flyer { pointer-events: none; }
.flyer { flex: none; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; background: var(--tile); box-shadow: var(--shadow); transition: transform 0.35s var(--ease); }
button.flyer { cursor: zoom-in; }
.flyer img { display: block; width: auto; height: var(--flyer-h); max-width: calc(100vw - var(--gutter) * 2 - 24px); object-fit: cover; user-select: none; }
.flyer:hover { transform: translateY(-3px); }
/* El flyer ampliado entra entero en la pantalla, sin tener que desplazarse. */
.zoom--fit { width: auto; max-width: 96vw; overflow: hidden; }
.zoom--fit img { width: auto; max-width: 96vw; max-height: 90vh; }
.zoom--fit .zoom__close { position: absolute; top: 0; right: 0; float: none; }
@media (min-width: 768px) {
  .flyers { padding: 32px 0 0; --flyer-h: 200px; }
  .flyers__head .carousel-nav { display: flex; }
  .flyers__head .icon-btn { width: 36px; height: 36px; }
  .flyers__track { gap: 14px; }
  .flyer img { max-width: 480px; }
}
@media (min-width: 1024px) { .flyers__track { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); } }

/* ---------- Marcas ---------- */
.brands { padding: 64px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.brands .eyebrow { color: var(--muted); text-align: center; margin-bottom: 28px; }
.brands__track { display: flex; gap: 16px; width: max-content; animation: marquee calc(var(--items, 12) * 3s) linear infinite; will-change: transform; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__item { width: 180px; height: 96px; display: grid; place-items: center; padding: 18px 24px; border-radius: var(--radius); background: var(--tile); }
.brands__item img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.brands__item:hover img { filter: none; opacity: 1; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; gap: 16px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; }
.testimonial figcaption { display: grid; }
.testimonial figcaption span { color: var(--red); font-weight: 700; font-size: 0.88rem; }

/* ---------- Sucursales ---------- */
.stores { display: grid; gap: 16px; }
@media (min-width: 900px) { .stores { grid-template-columns: repeat(3, 1fr); } }
.store { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s; }
.store:hover { border-color: var(--line-strong); }
.store__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.store__city { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.store h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.store__line { display: flex; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.store__line .i { color: var(--red); margin-top: 2px; }
.store__note { font-size: 0.8rem; color: var(--muted); padding-left: 30px; margin-top: -6px; }
.store .link-arrow { margin-top: 8px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open { color: var(--ok); }
.status.is-open i { position: relative; background: var(--ok); }
.status.is-closed { color: var(--red); }
.status.is-closed i { background: var(--red); }

/* ---------- Footer ---------- */
/* El pie cierra la página en negro: aquí los colores se invierten (y el logo va con letras blancas). */
.site-footer {
  --text: #f5f2ed; --muted: #a8a49d; --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.22);
  --surface: #24231f; --surface-2: #2e2d28; --red: #e0261d;
  background: var(--ink); color: var(--text); padding-top: 80px;
}
.site-footer__cta { display: grid; gap: 28px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .site-footer__cta { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__grid { display: grid; gap: 36px 20px; padding: 56px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__grid > div { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__grid > div:first-child { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 320px; }
@media (min-width: 900px) { .site-footer__grid > div:first-child { grid-column: auto; } }
.site-footer__grid h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer__grid > div { display: grid; gap: 8px; align-content: start; }
.site-footer__grid a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: all 0.2s; }
.socials a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }

.newsletter { display: grid; gap: 10px; margin-top: 8px; }
.newsletter label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.newsletter__row { display: flex; gap: 8px; }
.newsletter input[type="email"] {
  flex: 1; width: 0; min-width: 0; height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: var(--bg);
}
.newsletter input[type="email"]:focus { outline: none; border-color: var(--red); }
.newsletter__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter__msg { font-size: 0.85rem; color: var(--ok); min-height: 0; }
.newsletter__msg.is-error { color: var(--red); }

/* ---------- WhatsApp flotante y toasts ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float .i { width: 30px; height: 30px; }

.toast-stack { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 70; display: grid; gap: 8px; width: min(92vw, 460px); }
.toast { padding: 14px 18px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line-strong); font-weight: 600; animation: pop-in 0.4s var(--ease) both; }
.toast--success { border-color: var(--ok); }
.toast--error { border-color: var(--red); }

/* ---------- Catálogo ---------- */
.page-head { padding: 56px 0 32px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 28px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-size: 0.88rem; font-weight: 600; transition: all 0.2s; }
.filter:hover { border-color: var(--text); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.filters-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 40px; }

/* ---------- Tienda: filtros + resultados ---------- */
.shop { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .shop { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; } }
.shop__results { min-width: 0; }
.shop__filters {
  position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(88vw, 340px); overflow-y: auto; padding: 20px;
  background: var(--bg-alt); border-right: 1px solid var(--line-strong); transform: translateX(-105%);
  transition: transform 0.35s var(--ease); visibility: hidden;
}
.shop__filters.is-open { transform: none; visibility: visible; }
.shop__backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(0, 0, 0, 0.6); }
.shop__filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.shop__filters-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; }
.shop__filters-foot { position: sticky; bottom: -20px; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 16px 0 20px; background: var(--bg-alt); }
.shop__filters-foot .btn { white-space: nowrap; padding-inline: 18px; }
@media (min-width: 1024px) {
  .shop__filters {
    /* `inset` va en una sola declaración: un `inset: auto` después del `top` lo anulaba y el sticky no funcionaba. */
    position: sticky; inset: calc(var(--header-h) + 16px) auto auto; z-index: 1; width: auto; max-height: calc(100vh - var(--header-h) - 32px);
    padding: 0 6px 0 0; background: none; border: 0; transform: none; visibility: visible;
  }
  .shop__filters-head, .shop__filter-btn { display: none !important; }
  .shop__filters-foot { position: static; grid-template-columns: 1fr; padding-top: 4px; background: none; }
  .shop__filters-foot .btn--primary { display: none; }
}
.facet { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.facet__title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.facet__link { padding: 6px 0; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.facet__link:hover, .facet__link.is-active { color: var(--text); }
.facet__link.is-active::before { content: "› "; color: var(--red); }
.check-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.92rem; }
.check-row input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.check-row span { flex: 1; }
.check-row small { color: var(--muted); font-size: 0.78rem; }
.shop__search { position: relative; }
.shop__search .i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.shop__search input {
  width: 100%; height: 44px; padding: 0 14px 0 42px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: var(--bg);
}
.shop__search input:focus { outline: none; border-color: var(--red); }
.shop__toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
@media (max-width: 1023px) {
  /* En móvil "Filtros" y "Ordenar" siguen a mano al bajar por el listado. */
  .shop__toolbar {
    position: sticky; top: var(--header-h); z-index: 40; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: rgba(var(--bg-rgb), 0.97); border-bottom: 1px solid var(--line);
    flex-wrap: nowrap; gap: 10px;
  }
  /* Una sola línea: el selector de orden se achica en vez de bajar a otra fila. */
  .shop__toolbar .shop__count { font-size: 0.8rem; white-space: nowrap; }
  .shop__toolbar .shop__sort { min-width: 0; flex: 0 1 190px; }
  .shop__toolbar .shop__sort select { width: 100%; min-width: 0; }
}
@media (max-width: 399px) { .shop__toolbar .shop__count { display: none; } }
.shop__filter-btn b { min-width: 22px; height: 22px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--red); color: #fff; font-size: 0.72rem; }
.shop__count { color: var(--muted); font-size: 0.9rem; margin-right: auto; }
.shop__sort select {
  height: 40px; padding: 0 36px 0 14px; border-radius: 99px; border: 1.5px solid var(--line-strong); background-color: var(--bg);
  color: var(--text); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px; background-repeat: no-repeat;
}
.shop__sort select option { background: var(--surface); color: var(--text); }
.shop__sort select:focus { outline: none; border-color: var(--red); }
.shop__filters { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.shop__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chip-x {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 700;
  background: rgba(224, 38, 29, 0.14); border: 1px solid rgba(224, 38, 29, 0.5);
}
.chip-x .i { width: 14px; height: 14px; }
.chip-x:hover { border-color: var(--red); }
@media (min-width: 1100px) { .p-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .p-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

.pdp { display: grid; gap: 32px; padding: 40px 0 88px; }
.pdp > *, .pdp__actions > * { min-width: 0; }
.pdp__actions .btn { white-space: normal; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }
.pdp__gallery { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.pdp__media { width: 100%; background: var(--tile); border-radius: calc(var(--radius) + 6px); aspect-ratio: 1; display: grid; place-items: center; padding: 10%; position: relative; cursor: zoom-in; }
.pdp__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: var(--radius-sm); background: var(--tile);
  padding: 6px; border: 2px solid transparent; transition: border-color 0.2s;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumb.is-active, .pdp__thumb:hover { border-color: var(--red); }
.pdp__thumb small {
  position: absolute; left: 4px; right: 4px; bottom: 4px; border-radius: 6px; background: var(--ink); color: #fff;
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; text-align: center; padding: 1px 0;
}
.pdp__highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pdp__highlights li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.95rem; }
.pdp__highlights .i { color: var(--ok); margin-top: 2px; }
.pdp__quality {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(62, 207, 110, 0.4); background: rgba(62, 207, 110, 0.08); transition: border-color 0.2s;
}
.pdp__quality .i { color: var(--ok); width: 28px; height: 28px; }
.pdp__quality span { display: grid; font-size: 0.85rem; color: var(--muted); }
.pdp__quality b { color: var(--text); font-size: 0.95rem; }
.pdp__quality:hover { border-color: var(--ok); }

.variants { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.variants legend { font-size: 0.85rem; color: var(--muted); padding: 0; margin-bottom: 10px; }
.variants legend b { color: var(--text); }
.variants__options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px;
  border: 1.5px solid var(--line-strong); font-size: 0.88rem; font-weight: 700; transition: all 0.2s;
}
.variant:hover span { border-color: var(--text); }
.variant input:checked + span { border-color: var(--red); background: rgba(224, 38, 29, 0.14); }
.variant input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.variant.is-soldout { cursor: not-allowed; }
.variant.is-soldout span { opacity: 0.45; text-decoration: line-through; }
.variant.is-soldout small { text-decoration: none; font-size: 0.7rem; }

.pdp-tabs {
  position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 0; margin-bottom: 8px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tabs a { flex: none; padding: 8px 16px; border-radius: 99px; font-size: 0.85rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); }
.pdp-tabs a:hover, .pdp-tabs a.is-active { color: var(--text); border-color: var(--red); }
.pdp-content { display: grid; gap: 12px; padding-bottom: 56px; max-width: 900px; }
.pdp-section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.pdp-section h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); text-transform: uppercase; margin-bottom: 16px; }
.pdp-specs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .pdp-specs { grid-template-columns: 1fr 1fr; } }
.pdp-specs li { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; }
.pdp-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pdp-benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.pdp-benefits .i { color: var(--red); flex: none; margin-top: 3px; }
.pdp-docs { display: flex; flex-wrap: wrap; gap: 16px; }
/* Seguir comprando: relacionados antes de la información larga, y un cierre con las categorías. */
.pdp-related { padding: 0 0 64px; }
.pdp-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.pdp-more {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; margin: 8px 0 88px; padding: 28px 22px;
  border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pdp-more .eyebrow { margin-bottom: 8px; }
.pdp-more h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.pdp-more .filters { margin: 0; max-width: 100%; }
@media (min-width: 768px) { .pdp-more { padding: 40px; } }
.pdp-doc { width: min(100%, 420px); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; border: 1px solid var(--line-strong); }
.pdp-doc img { width: 100%; height: auto; }
.pdp-section--quality h2 .i { color: var(--ok); width: 32px; height: 32px; }

.zoom { width: min(96vw, 1000px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: #fff; overflow: auto; }
.zoom::backdrop { background: rgba(0, 0, 0, 0.85); }
.zoom img { width: 100%; height: auto; display: block; }
.zoom__close { position: sticky; top: 10px; float: right; margin: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; z-index: 1; }

.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line-strong); animation: pop-in 0.3s var(--ease) both;
}
.buy-bar__info { display: grid; min-width: 0; font-size: 0.82rem; }
.buy-bar__info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar__info span { font-weight: 800; font-size: 1rem; }
@media (min-width: 900px) { .buy-bar { display: none !important; } }
.has-buy-bar .wa-float { bottom: 84px; }

.pdp__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__info { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .pdp__info { position: sticky; top: calc(var(--header-h) + 24px); } }
.pdp__price strong { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__meta a, .pdp__meta span { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-strong); }
.pdp__actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .pdp__actions { grid-template-columns: 1fr 1fr; } }
.pdp__perks { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.pdp__perks div { display: flex; gap: 12px; align-items: center; }
.pdp__perks .i { color: var(--red); }
.pdp__offer { color: var(--text); }
.pdp__offer b { color: var(--ok); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); padding-top: 28px; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Carrito y checkout ---------- */
[hidden] { display: none !important; }
.cart-form { display: contents; }
.icon-btn:disabled, .btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn:disabled:hover { background: var(--text); color: var(--bg); }
.accent-ok { color: var(--ok); }

.cart-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 0; width: max-content; max-width: min(92vw, 460px);
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--ok); font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 20px 50px -20px rgba(40, 34, 24, 0.4); animation: pop-in 0.35s var(--ease) both;
}
.cart-toast.is-error { border-color: var(--red); }
.cart-toast a { flex: none; padding: 6px 14px; border-radius: 99px; background: var(--red); color: #fff; font-size: 0.82rem; font-weight: 700; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 99px; height: 42px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; border-radius: 99px; color: var(--muted); }
.qty button:hover:not(:disabled) { color: var(--text); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty .i { width: 1em; height: 1em; }
.qty output, .qty input { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty input { width: 40px; border: 0; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--lg { height: 56px; }
.qty--lg button { width: 48px; }

.cart-layout, .checkout, .order__grid { display: grid; gap: 28px; align-items: start; padding-bottom: 96px; }
/* Los ítems de grid no se achican bajo su contenido si no se les permite: evita el desborde en móvil. */
.cart-layout > *, .checkout > *, .order__grid > *, .checkout__main > * { min-width: 0; }
.btn--block { white-space: normal; text-align: center; }
@media (min-width: 1024px) { .cart-layout, .checkout, .order__grid { grid-template-columns: 1fr 380px; gap: 40px; } }

.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.cart-line {
  display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "media info remove" "media qty total";
  gap: 10px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); animation: pop-in 0.35s var(--ease) both;
}
@media (max-width: 479px) {
  .cart-line { grid-template-columns: 64px 1fr auto; gap: 8px 12px; padding: 16px 0; }
  .cart-line .qty { height: 38px; }
  .cart-line .qty button { width: 34px; }
  .cart-line__total { font-size: 0.98rem; }
  .summary { padding: 20px 18px; }
}
@media (min-width: 720px) {
  .cart-line { grid-template-columns: 96px 1fr auto 110px auto; grid-template-areas: "media info qty total remove"; gap: 20px; }
}
.cart-line__media { grid-area: media; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--tile); padding: 8px; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line__info { grid-area: info; display: grid; gap: 2px; min-width: 0; }
.cart-line__name { font-weight: 700; line-height: 1.3; }
.cart-line__name:hover { color: var(--red); }
.cart-line__variant { font-size: 0.82rem; font-weight: 700; color: var(--gold); }
.cart-line__unit { font-size: 0.82rem; }
.cart-line .qty { grid-area: qty; justify-self: start; }
.cart-line__total { grid-area: total; justify-self: end; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.cart-line form:last-child { grid-area: remove; justify-self: end; }
.cart-line__remove { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.cart-line__remove:hover { color: var(--text); background: var(--surface-2); }

.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 40px 0 120px; }
.cart-empty > .i { width: 56px; height: 56px; color: var(--red); }
.cart-empty p { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.summary {
  position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; padding: 24px;
  border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line-strong);
}
.summary__title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.summary__rows { margin: 0; display: grid; gap: 10px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary__total { border-top: 1px solid var(--line); padding-top: 14px; align-items: baseline; }
.summary__total dt { color: var(--text); font-weight: 700; }
.summary__total dd { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.summary__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 300px; overflow-y: auto; }
.summary__items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 0.88rem; }
.summary__thumb { position: relative; width: 48px; height: 48px; border-radius: 10px; background: var(--tile); padding: 4px; }
.summary__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.summary__thumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 0.7rem; }
.summary__name { font-weight: 600; line-height: 1.3; }
.summary__name small { display: block; font-size: 0.78rem; color: var(--gold); font-weight: 700; }
.summary__note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); }
.summary__note .i { color: var(--ok); }
.summary__back { justify-self: center; font-size: 0.9rem; }

/* Oferta automática del carrito en una línea («-20% por tu compra») y su precio anterior. */
.cart-main { display: grid; gap: 28px; }
.cart-line__unit s { margin-left: 4px; }
.cart-line__offer { justify-self: start; font-size: 0.74rem; font-weight: 800; padding: 2px 9px; border-radius: 99px; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.summary__items .accent-ok { display: block; font-size: 0.74rem; font-weight: 800; text-align: right; }

/* Regalo sobre cierto monto y descuento de bienvenida: avisos cortos con ícono. */
.ship-meter__gift, .welcome-note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; line-height: 1.4; color: var(--muted); }
.ship-meter__gift .i, .welcome-note .i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--red); }
.ship-meter.is-free .ship-meter__gift { color: var(--muted); }
.ship-meter .ship-meter__gift.is-won, .ship-meter__gift.is-won .i { color: var(--ok); }
.welcome-note { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px dashed var(--line-strong); color: var(--text); }
.welcome-note--gift { border-style: solid; border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.welcome-note--gift .i { color: var(--ok); }
.welcome-note[hidden] { display: none; }
.ship-meter__gift[hidden] { display: none; }
/* Regalo del pedido: línea a $0 en el carrito y en el resumen del pago. */
.gift-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.cart-main .gift-line { margin-top: 18px; }
.gift-line__media { aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--tile); padding: 6px; }
.gift-line__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gift-line__info { display: grid; gap: 3px; min-width: 0; line-height: 1.3; }
.gift-line__tag { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ok); }
.gift-line__tag .i { width: 15px; height: 15px; }
.gift-line__variant { font-size: 0.82rem; font-weight: 700; color: var(--gold); }
.gift-line__choice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.82rem; font-weight: 700; }
.gift-line__choice select { min-width: 0; max-width: 100%; padding: 6px 28px 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background-color: var(--surface); font: inherit; font-weight: 600; }
.gift-line__price { color: var(--ok); font-size: 0.95rem; }
.summary .gift-line { grid-template-columns: 48px 1fr auto; gap: 10px; padding: 10px; font-size: 0.88rem; }
/* Escala de regalos del carrito: un hito por tramo; el del pedido va destacado y el siguiente, marcado. */
.gift-track { --gold: #f5b301; display: grid; gap: 16px; margin-bottom: 22px; padding: 18px 16px 16px; border-radius: var(--radius); background: var(--ink); color: #f5f2ed; overflow: hidden; position: relative; isolation: isolate; }
.gift-track::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 0% 0%, rgba(224, 38, 29, 0.5), transparent 60%); }
.gift-track.is-won::before { background: radial-gradient(120% 90% at 0% 0%, rgba(245, 179, 1, 0.42), transparent 60%); }
.gift-track__head { display: flex; align-items: center; gap: 12px; }
.gift-track__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.gift-track.is-won .gift-track__icon { background: var(--gold); color: var(--ink); animation: gift-pop 0.6s var(--ease); }
.gift-track__icon .i { width: 22px; height: 22px; }
.gift-track__head p { display: grid; gap: 2px; line-height: 1.25; min-width: 0; }
.gift-track__head p > b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 5.4vw, 1.7rem); text-transform: uppercase; line-height: 1.05; }
.gift-track.is-won .gift-track__head p > b { color: var(--gold); }
.gift-track__head span { font-size: 0.88rem; color: #cfcbc3; }
.gift-track__head span b { color: #fff; }
.gift-track__bar { height: 10px; margin-top: 28px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.gift-track__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e0261d, var(--gold)); transition: width 0.9s var(--ease); }
.gift-track__steps { list-style: none; margin: -47px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); gap: 6px; }
.gift-track__step { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; opacity: 0.62; }
.gift-track__dot { position: relative; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%; background: #fff; border: 3px solid #55534e; display: grid; place-items: center; }
.gift-track__dot img { width: 78%; height: 78%; object-fit: contain; border-radius: 50%; }
.gift-track__dot .i { position: absolute; right: -5px; bottom: -3px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; }
.gift-track__step b { font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.gift-track__step small { font-size: 0.72rem; line-height: 1.2; color: #cfcbc3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gift-track__step.is-past { opacity: 0.8; }
.gift-track__step.is-past .gift-track__dot { border-color: var(--ok); }
.gift-track__step.is-current { opacity: 1; }
.gift-track__step.is-current .gift-track__dot { width: 62px; height: 62px; margin-top: -5px; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.3), 0 0 26px rgba(245, 179, 1, 0.75); animation: gift-pop 0.6s var(--ease); }
.gift-track__step.is-current b { color: var(--gold); }
.gift-track__step.is-next { opacity: 1; }
.gift-track__step.is-next .gift-track__dot { border-color: var(--red); border-style: dashed; }
@keyframes gift-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (min-width: 720px) { .gift-track { padding: 22px 24px 20px; } .gift-track__step small { font-size: 0.8rem; } }

/* Premio al subir de tramo: confeti a pantalla completa y cartel de ganador (main.js, celebrateGift). */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }
.gift-win { position: fixed; inset: 0; z-index: 399; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.45); animation: gift-win-in 0.25s ease-out; cursor: pointer; }
.gift-win.is-leaving { opacity: 0; transition: opacity 0.4s; }
.gift-win__card { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 4px; width: min(100%, 320px); padding: 26px 22px 24px; border-radius: 22px; text-align: center; background: #1c1c1f; color: #fff; border: 3px solid #f5b301; box-shadow: 0 0 0 6px rgba(245, 179, 1, 0.25), 0 30px 80px rgba(0, 0, 0, 0.55); animation: gift-win-card 0.7s var(--ease); }
.gift-win__rays { position: absolute; inset: -60%; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(245, 179, 1, 0.22) 0 10deg, transparent 10deg 20deg); animation: gift-win-spin 9s linear infinite; }
.gift-win__card img { width: 120px; height: 120px; padding: 10px; object-fit: contain; border-radius: 50%; background: #fff; margin-bottom: 8px; box-shadow: 0 0 34px rgba(245, 179, 1, 0.8); }
.gift-win__card small { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #f5b301; }
.gift-win__card b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; text-transform: uppercase; }
.gift-win__card span:last-child { font-size: 0.9rem; color: #cfcbc3; }
@keyframes gift-win-in { from { opacity: 0; } }
@keyframes gift-win-card { 0% { transform: scale(0.4) rotate(-6deg); opacity: 0; } 55% { transform: scale(1.08) rotate(2deg); opacity: 1; } 100% { transform: none; } }
@keyframes gift-win-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .gift-win, .gift-win__card, .gift-win__rays, .gift-track__icon, .gift-track__dot { animation: none !important; } }

/* Sugerencias con descuento automático: «Súmale barritas con 20% de descuento». */
.suggest-list { display: grid; gap: 20px; }
.suggest-list[hidden], .suggest-list:empty { display: none; }
.suggest { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.suggest__head { display: flex; align-items: center; gap: 10px; }
.suggest__head h3 { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.suggest__items { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 6px; }
@media (min-width: 720px) { .suggest__items { grid-auto-columns: minmax(250px, 300px); } }
.suggest__item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-alt); scroll-snap-align: start; min-width: 0; }
.suggest__media { aspect-ratio: 1; border-radius: 10px; background: var(--tile); padding: 6px; }
.suggest__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.suggest__body { display: grid; gap: 4px; min-width: 0; }
.suggest__name { font-size: 0.88rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest__name:hover { color: var(--red); }
.suggest__body .price strong { font-size: 0.98rem; color: var(--ok); }
.suggest__buy { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.suggest__buy select { flex: 1 1 110px; min-width: 0; height: 36px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 0.8rem; }
.suggest__buy .btn { min-height: 36px; padding: 0 14px; }
.suggest-list--compact .suggest { padding: 14px; box-shadow: none; background: var(--bg-alt); }
.suggest-list--compact .suggest__item { background: var(--surface); }
.suggest-list--compact .suggest__items { grid-auto-columns: minmax(230px, 86%); }

.coupon { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.coupon label { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input {
  flex: 1; width: 0; min-width: 0; height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line-strong);
  background: var(--bg); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.coupon__row input:focus { outline: none; border-color: var(--red); }
.coupon__applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.coupon__applied .i { color: var(--ok); }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }

.checkout__main { display: grid; gap: 20px; }
.checkout__login { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed var(--line-strong); font-size: 0.92rem; color: var(--muted); }
.checkout__login .i { color: var(--red); }
.checkout__step { display: grid; gap: 18px; padding: 24px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 640px) { .checkout__step { padding: 30px; } }
.checkout__step h2 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.checkout__step h2 span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1rem; }
.checkout__panel { display: grid; gap: 18px; }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field select, .field textarea, .field input[type="number"] {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--bg);
  font: inherit; color: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { height: 52px; padding-block: 0; }
.field textarea { resize: vertical; min-height: 90px; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 38, 29, 0.18); }
.field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="password"] { font: inherit; }

.options { display: grid; gap: 10px; }
@media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; } }
.options--stores { grid-template-columns: 1fr; }
@media (min-width: 900px) { .options--stores { grid-template-columns: repeat(3, 1fr); } }
.option { position: relative; cursor: pointer; }
.field label.option { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__body {
  height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 16px 18px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); transition: border-color 0.2s, background 0.2s;
}
.option__body .i { grid-row: span 2; color: var(--muted); width: 26px; height: 26px; }
.option__body b, .option__body small { grid-column: 2; }
.option__body > b:first-child, .option__body > b:first-child ~ small { grid-column: 1 / -1; }
.option__body small { color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.option:hover .option__body { border-color: var(--text); }
.option input:checked + .option__body { border-color: var(--red); background: linear-gradient(160deg, rgba(224, 38, 29, 0.14), transparent 70%); }
.option input:checked + .option__body .i { color: var(--red); }
.option input:focus-visible + .option__body { outline: 2px solid var(--red); outline-offset: 3px; }

.pdp__buy { display: grid; gap: 10px; }
.pdp__actions { grid-template-columns: auto 1fr; }
.pdp__stock { color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.pdp__soldout { display: grid; gap: 14px; justify-items: start; padding: 18px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.pdp__ask { justify-self: start; }

.order { padding-bottom: 24px; }
.order__head { display: grid; justify-items: start; gap: 14px; padding: 56px 0 36px; }
.order__head .eyebrow { margin: 0; }
.order__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; animation: pre-bite 0.6s var(--ease); }
.order__check .i { width: 32px; height: 32px; }
.order__main { display: grid; gap: 20px; }
.order-card { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.order-card--highlight { border-color: var(--red); background: linear-gradient(160deg, rgba(224, 38, 29, 0.14), var(--surface) 55%); }
.order-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.order__amount { color: var(--text); }
.pay-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.88rem; }
.order-card--paid { border-color: rgba(62, 207, 110, 0.5); background: linear-gradient(160deg, rgba(62, 207, 110, 0.12), var(--surface) 55%); }
.order-card--paid h2 { display: flex; align-items: center; gap: 10px; }
.order-card--paid h2 .i { color: var(--ok); }
.order__bank { margin: 0; width: 100%; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-strong); font: 600 0.92rem/1.7 var(--font-body); white-space: pre-wrap; }

/* ---------- Pantalla de carga ---------- */
/* Se carga la barra disco a disco, se levanta y se suelta: el impacto agrieta la pantalla, que se
   parte en dos. La coreografía vive en main.js (Web Animations); aquí solo el aspecto. */
.preloader { display: none; }
.js.is-loading .preloader, .js .preloader.is-leaving { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.is-loading, .is-loading body { overflow: hidden; }

/* Las dos mitades sobresalen 40px para que la sacudida no deje ver el sitio por los bordes. */
.preloader__half {
  position: absolute; inset: -40px;
  background:
    radial-gradient(ellipse 55% 40% at 50% var(--floor, 62%), rgba(224, 38, 29, calc(0.05 + var(--p, 0) * 0.2)), transparent 70%),
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(var(--ink-rgb), 0.1)),
    var(--bg);
}
.preloader__crack { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 4px #ff4a3d) drop-shadow(0 0 16px rgba(224, 38, 29, 0.8)); }
.preloader__crack polyline, .preloader__crack path { fill: none; stroke: #ff6a4d; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.preloader__crack polyline { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__crack-branches { stroke-width: 1.5; opacity: 0; }
.preloader__flash { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% var(--floor-vp, 62%), #fff, rgba(255, 110, 80, 0.55) 25%, transparent 65%); }

.preloader__core { position: relative; display: grid; justify-items: center; width: min(640px, 90vw); }
.preloader__logo { width: 84px; height: auto; margin-bottom: 6px; filter: drop-shadow(0 0 22px rgba(224, 38, 29, 0.45)); animation: pre-in 0.7s var(--ease) both; }
.preloader__bar { width: 100%; height: auto; overflow: visible; animation: pre-in 0.7s 0.1s var(--ease) both; }
.preloader__bar g { transform-box: view-box; }
.preloader__side { transform-origin: 300px 100px; }
.preloader__floor { stroke: url(#pre-floor); stroke-width: 1.5; }
.preloader__shadow { fill: #000; opacity: 0.55; filter: blur(4px); transform-box: fill-box; transform-origin: center; }
.preloader__steel { fill: url(#pre-steel); }
.preloader__shaft { fill: url(#pre-steel); }
.preloader__plate { opacity: 0; }
.preloader__plate > rect:first-child { stroke: rgba(0, 0, 0, 0.45); stroke-width: 1; }
.preloader__plate--red > rect:first-child { fill: var(--red); }
.preloader__plate--black > rect:first-child { fill: #232326; stroke: var(--red); stroke-width: 1.5; }
.preloader__plate--bone > rect:first-child { fill: #d8d2c4; }
.preloader__shine { fill: #fff; opacity: 0.22; }

.preloader__kg { margin-top: 10px; font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; animation: pre-in 0.7s 0.2s var(--ease) both; }
.preloader__kg small { font-size: 0.4em; margin-left: 6px; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; }
.preloader__meter { width: 180px; height: 2px; margin: 14px 0 10px; border-radius: 2px; background: var(--line); overflow: hidden; animation: pre-in 0.7s 0.25s var(--ease) both; }
.preloader__meter span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px var(--red-glow); }
.preloader__status { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; color: var(--muted, #8a8a8f); font-variant-numeric: tabular-nums; animation: pre-in 0.7s 0.3s var(--ease) both; }

.preloader__sparks { position: absolute; inset: 0; pointer-events: none; }
.preloader__spark {
  position: absolute; left: 0; top: 0; width: 3px; height: 14px; margin: -7px 0 0 -1.5px; border-radius: 2px;
  background: linear-gradient(#fff, #ffc2a8 35%, #ff4a3d); box-shadow: 0 0 8px #ff4a3d;
}
.preloader__wave {
  position: absolute; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  border: 2px solid rgba(255, 106, 77, 0.9); box-shadow: 0 0 30px rgba(224, 38, 29, 0.8), inset 0 0 20px rgba(224, 38, 29, 0.6);
}

@keyframes pre-in { from { opacity: 0; transform: translateY(14px); } }

/* Entrada del hero después de la intro */
.intro-play .hero__copy > * { animation: hero-rise 0.9s var(--ease) both; }
.intro-play .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.intro-play .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.intro-play .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.intro-play .hero__copy > :nth-child(5) { animation-delay: 0.32s; }
.intro-play .hero__copy > :nth-child(6) { animation-delay: 0.4s; }
.intro-play .hero__stage { animation: hero-zoom 1.1s 0.15s var(--ease) both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes hero-zoom { from { opacity: 0; transform: scale(0.85); } }

/* ---------- Revelado al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__col-track { animation: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Panel "Agregado al carrito" ---------- */
.has-added, .has-points-pop { overflow: hidden; }
.added { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.added[hidden] { display: none; }
.added__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); animation: fade-in 0.25s ease both; }
.added__panel {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto; display: grid; gap: 16px; align-content: start;
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); background: var(--surface);
  border-top: 1px solid var(--line-strong); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 60px -30px rgba(40, 34, 24, 0.4);
  animation: sheet-up 0.4s var(--ease) both;
}
.added__panel:focus { outline: none; }
@media (min-width: 768px) {
  .added { justify-content: flex-end; align-items: stretch; }
  .added__panel { width: min(420px, 100%); max-height: none; padding: 28px; border-radius: 0; border-top: 0; border-left: 1px solid var(--line-strong); animation-name: drawer-in; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .added__panel, .added__backdrop { animation: none; } }
.added__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.added__head h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.added__head h2 .i { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--ok); color: var(--bg); }
.added__x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); }
.added__x:hover { background: var(--surface-2); }
.added__item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line); }
.added__item img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--tile); padding: 6px; }
.added__item div { display: grid; gap: 3px; min-width: 0; }
.added__item span { font-size: 0.85rem; }
.added__rows div { display: flex; justify-content: space-between; align-items: baseline; }
.added__rows dd { font-family: var(--font-display); font-size: 1.6rem; }
.added__actions { display: grid; gap: 10px; }
.added__links { display: flex; justify-content: center; gap: 18px; }
.added__keep { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.added__keep .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 8px 14px; font-size: 0.92rem; }
.added__keep .btn[hidden] { display: none; }

/* ---------- Aviso emergente de Strong Puntos ---------- */
.pts-pop { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.pts-pop[hidden] { display: none; }
.pts-pop__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); animation: fade-in 0.25s ease both; }
.pts-pop__card {
  position: relative; width: min(360px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid;
  background: var(--surface); border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(40, 34, 24, 0.6);
  animation: pop-in 0.45s var(--ease) both;
}
.pts-pop__card:focus { outline: none; }
.pts-pop__x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; background: rgba(255, 255, 255, 0.12); border-color: transparent; color: #fff; }
.pts-pop__figure { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 20px; color: #fff; overflow: hidden;
  /* Aros de disco, como el del hero, apenas visibles sobre el negro. */
  background: radial-gradient(circle at 50% 50%, transparent 0 78px, rgba(255, 255, 255, 0.08) 78px 80px, transparent 80px 124px, rgba(255, 255, 255, 0.06) 124px 126px, transparent 126px 172px, rgba(255, 255, 255, 0.04) 172px 174px, transparent 174px), var(--ink);
}
/* La ficha es un disco de la marca: cae girando al abrirse el aviso. */
.pts-pop__coin {
  width: 84px; height: 84px; flex: none; display: grid; place-content: center; justify-items: center; border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0 58%, #a81a15 58% 62%, var(--red) 62% 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85), inset 0 0 0 6px var(--red), 0 14px 26px -12px rgba(0, 0, 0, 0.9);
  animation: pts-coin 0.9s 0.15s var(--ease) both;
}
.pts-pop__coin b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 0.9; }
.pts-pop__coin i { font-style: normal; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.pts-pop__eq { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: rgba(255, 255, 255, 0.55); }
.pts-pop__peso { font-family: var(--font-display); font-weight: 400; font-size: 4rem; line-height: 0.9; animation: pop-in 0.5s 0.5s var(--ease) both; }
@keyframes pts-coin { from { opacity: 0; transform: translateY(-40px) rotate(-200deg) scale(0.6); } }
.pts-pop__body { display: grid; gap: 14px; padding: 18px 20px 16px; text-align: center; }
.pts-pop__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; text-transform: uppercase; }
.pts-pop__title em { font-style: normal; color: var(--red); white-space: nowrap; }
.pts-pop__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pts-pop__steps li { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: var(--radius-sm); background: var(--tile); }
.pts-pop__steps li + li::before { content: "›"; position: absolute; left: -7px; top: 50%; translate: -50% -55%; z-index: 1; color: var(--red); font-weight: 800; font-size: 1.1rem; line-height: 1; }
.pts-pop__steps .i { width: 20px; height: 20px; color: var(--red); margin-bottom: 4px; }
.pts-pop__steps b { font-size: 0.86rem; line-height: 1.2; }
.pts-pop__steps span { font-size: 0.72rem; color: var(--muted); line-height: 1.25; }
.pts-pop__note { font-size: 0.82rem; color: var(--muted); }
.pts-pop__note a, .pts-pop__note button { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 2px; }
.pts-pop__note button { font-size: inherit; padding: 4px 2px; }
@media (prefers-reduced-motion: reduce) { .pts-pop__card, .pts-pop__backdrop, .pts-pop__coin, .pts-pop__peso { animation: none; } }


/* ---------- Paginación numerada ---------- */
.pagination { display: grid; justify-items: center; gap: 14px; margin-top: 40px; }
.pagination__summary { color: var(--muted); font-size: 0.9rem; }
.pagination__pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination__pages a, .pagination__pages span {
  min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 99px;
  border: 1.5px solid var(--line-strong); font-weight: 700; font-variant-numeric: tabular-nums;
}
.pagination__pages a:hover { border-color: var(--red); color: var(--text); }
.pagination__pages [aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.pagination__pages .is-gap { border: 0; min-width: 20px; padding: 0; color: var(--muted); }
.pagination__pages .i { width: 1em; height: 1em; }
.pagination__pages .is-prev .i { transform: rotate(180deg); }

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 90px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -10px rgba(40, 34, 24, 0.35); opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity 0.25s, translate 0.3s var(--ease), background 0.2s;
}
.to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }
.to-top .i { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
#contenido:focus { outline: none; }

/* ---------- Seguimiento del pedido ---------- */
.timeline { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; counter-reset: step; }
.timeline li { position: relative; padding-top: 18px; font-size: 0.78rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--surface-2); }
.timeline li.is-done { color: var(--text); }
.timeline li.is-done::before { background: var(--ok); }
.order-tracking { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* ---------- Páginas legales ---------- */
.legal { padding-bottom: 88px; }
.legal__head { display: grid; gap: 12px; padding: 28px 0 32px; max-width: 860px; }
.legal__head .eyebrow { margin: 0; }
.legal__updated { color: var(--muted); font-size: 0.88rem; }
.legal__summary { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--surface); border-left: 4px solid var(--red); font-size: 1.02rem; font-weight: 600; }
.legal__layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .legal__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.legal__body h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.legal__side { display: grid; gap: 14px; }
@media (min-width: 1024px) { .legal__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.legal__nav, .legal__contact { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.legal__nav a { padding: 8px 10px; border-radius: 8px; font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.legal__nav a:hover { color: var(--text); background: var(--surface-2); }
.legal__nav a[aria-current="page"] { background: var(--red); color: #fff; }
.legal__contact { font-size: 0.9rem; }
.legal__contact a { color: var(--red); font-weight: 700; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__legal a:hover { color: var(--text); }

/* Aceptación de términos en el checkout */
.terms-accept { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-strong); font-size: 0.86rem; }
.terms-accept.has-error { border-color: var(--red); background: rgba(224, 38, 29, 0.1); }
.terms-accept a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 2px; }
.terms-accept .check { align-items: flex-start; }
.terms-accept .check input { margin-top: 2px; }
.terms-accept__note { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.legal__head .display { line-height: 1.02; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(440px, calc(100vw - 32px));
  display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2);
  border: 1px solid var(--line-strong); color: var(--text); box-shadow: 0 20px 50px -20px rgba(40, 34, 24, 0.4);
  font-size: 0.86rem; line-height: 1.5; animation: pop-in 0.35s var(--ease) both;
}
.cookie-banner a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 8px; justify-content: flex-end; }
.site-footer__legal .link-btn { color: inherit; font-size: inherit; text-decoration: none; padding: 0; }
.site-footer__legal .link-btn:hover { color: var(--text); }
@media (max-width: 639px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; } }

/* Mapa del gimnasio a la espera de consentimiento */
.map-consent { display: grid; place-items: center; padding: 24px; filter: none; background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--surface)); }
.map-consent__box { display: grid; gap: 12px; justify-items: center; max-width: 28em; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* Ficha: nombres largos (packs) en un tamaño que no se coma la pantalla. */
.pdp__title--long { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.02; }

/* ---------- Programa de creadores (/creadores/) ---------- */
/* Hero oscuro con dos teléfonos de maqueta (fotos reales del catálogo) y avisos flotando. */
.cr-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #3a1512 0%, var(--ink) 55%); color: #fff; padding: 48px 0 0; }
.cr-hero__inner { display: grid; gap: 36px; align-items: center; }
.cr-hero__inner > * { min-width: 0; }
.cr-hero__copy { display: grid; gap: 20px; justify-items: start; padding-bottom: 8px; }
.cr-hero__copy .eyebrow { margin: 0; }
.cr-hero .display { color: #fff; }
.cr-hero .display .line { display: block; }
.cr-hero .display .outline { -webkit-text-stroke-color: #fff; }
.cr-hero .display em { font-style: normal; color: #ff4b3e; }
.cr-hero__lead { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; max-width: 34em; }
.cr-hero__ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cr-hero__ghost:hover { border-color: #fff; }
.cr-hero__facts { list-style: none; margin: 8px 0 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 8px 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.cr-hero__facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; }
.cr-hero__facts span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }
.cr-stage { position: relative; height: 450px; margin-inline: auto; width: min(100%, 420px); }
.cr-phone { position: absolute; left: 50%; bottom: -70px; width: 210px; aspect-ratio: 9 / 18; translate: -42% 0; rotate: 5deg; padding: 7px; border-radius: 34px; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 70px -30px rgba(0, 0, 0, 0.9); }
.cr-phone--back { translate: -96% 0; rotate: -9deg; bottom: -110px; width: 180px; opacity: 0.92; }
.cr-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 27px; background: linear-gradient(160deg, #2b2927, #141312); }
.cr-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cr-phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 28%, transparent 55%, rgba(0, 0, 0, 0.78) 100%); }
.cr-phone__screen--product { background: radial-gradient(circle at 50% 42%, #e2362d, #8e1611 75%); }
.cr-phone__screen--product img { inset: 16% 10% auto; width: 80%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.cr-phone__bars { position: absolute; z-index: 1; top: 12px; inset-inline: 12px; display: flex; gap: 4px; }
.cr-phone__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.cr-phone__bars i:first-child { background: #fff; }
.cr-phone__user { position: absolute; z-index: 1; top: 26px; left: 12px; display: flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700; }
.cr-phone__user b { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ff4b3e, #ffb347); border: 2px solid #fff; }
.cr-phone__caption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 18px; font-size: 0.74rem; font-weight: 600; line-height: 1.3; }
.cr-phone__sticker { position: absolute; z-index: 1; left: 12px; bottom: 62px; rotate: -4deg; padding: 7px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 0.66rem; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6); }
.cr-phone__sticker b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--red); line-height: 1.1; }
.cr-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.7); animation: cr-bob 5s ease-in-out infinite; }
.cr-float--sale { right: 0; top: 6px; max-width: 230px; }
.cr-float--sale .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ok); color: #fff; }
.cr-float--sale b { display: block; font-size: 0.78rem; line-height: 1.2; }
.cr-float--sale span { display: block; font-size: 0.7rem; line-height: 1.3; color: var(--muted); }
.cr-float--off { left: 0; top: 190px; flex-direction: column; gap: 0; align-items: flex-start; background: var(--red); color: #fff; rotate: -6deg; animation-delay: -2.5s; }
.cr-float--off b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.cr-float--off span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; }
@keyframes cr-bob { 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .cr-float { animation: none; } }
@media (min-width: 960px) {
  .cr-hero { padding-top: 72px; }
  .cr-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .cr-hero__copy { padding-bottom: 80px; }
  .cr-stage { height: auto; min-height: 640px; width: 100%; align-self: stretch; }
  .cr-phone { width: 318px; bottom: -70px; translate: -30% 0; }
  .cr-phone--back { width: 272px; translate: -112% 0; bottom: -140px; }
  .cr-phone__user { font-size: 0.8rem; top: 30px; }
  .cr-phone__caption { font-size: 0.86rem; }
  .cr-phone__sticker { font-size: 0.72rem; bottom: 74px; }
  .cr-phone__sticker b { font-size: 1.3rem; }
  .cr-float--sale { right: -8px; top: 150px; max-width: 250px; }
  .cr-float--off { left: 0; top: 300px; }
}

/* Qué recibes: mosaico de cuatro tarjetas, cada una con su pequeña ilustración. */
.cr-bento { display: grid; gap: 14px; }
.cr-tile { position: relative; overflow: hidden; display: grid; gap: 20px; align-content: space-between; padding: 26px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.cr-tile__text { display: grid; gap: 8px; align-content: start; }
.cr-tile__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); letter-spacing: 0.06em; }
.cr-tile h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2rem); text-transform: uppercase; line-height: 1.02; }
.cr-tile p { color: var(--muted); font-size: 0.96rem; max-width: 30em; }
.cr-tile--products { background: linear-gradient(140deg, #fff 55%, #f6dedb); }
.cr-tile--code { background: var(--ink); color: #fff; border-color: transparent; }
.cr-tile--code p, .cr-tile--direct p { color: rgba(255, 255, 255, 0.72); }
.cr-tile--direct { background: var(--red); color: #fff; border-color: transparent; }
.cr-tile--code .cr-tile__num, .cr-tile--direct .cr-tile__num { color: #fff; opacity: 0.7; }
.cr-fan { position: relative; height: 170px; }
.cr-fan img { position: absolute; bottom: 0; left: 50%; width: 150px; height: 150px; max-width: none; object-fit: contain; mix-blend-mode: multiply; translate: -50% 0; transition: transform 0.5s var(--ease); }
.cr-fan--3 img:first-child, .cr-fan--2 img:first-child { z-index: 1; width: 170px; height: 170px; }
.cr-fan--3 img:nth-child(2) { translate: -118% 0; rotate: -8deg; }
.cr-fan--3 img:nth-child(3), .cr-fan--2 img:nth-child(2) { translate: 18% 0; rotate: 8deg; }
.cr-tile--products:hover .cr-fan img:first-child { transform: translateY(-8px) scale(1.04); }
.cr-ticket { justify-self: start; display: grid; gap: 2px; padding: 16px 20px; border: 2px dashed rgba(255, 255, 255, 0.4); border-radius: 14px; rotate: -3deg; }
.cr-ticket span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.cr-ticket b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1; }
.cr-ticket em { font-style: normal; font-weight: 800; font-size: 0.8rem; color: #ff6b5f; }
.cr-sales { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cr-sales li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 0.86rem; font-weight: 600; }
.cr-sales b { font-size: 0.72rem; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); white-space: nowrap; }
.cr-sales i { font-style: normal; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.cr-chat { display: grid; gap: 8px; justify-items: start; }
.cr-chat span { max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.cr-chat .cr-chat__me { justify-self: end; border-radius: 16px 16px 4px 16px; background: rgba(0, 0, 0, 0.28); color: #fff; }
@media (min-width: 720px) { .cr-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .cr-bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .cr-tile--products { grid-row: span 2; }
  .cr-tile--products .cr-fan { height: 240px; }
  .cr-tile--products .cr-fan img { width: 200px; height: 200px; }
  .cr-tile--products .cr-fan img:first-child { width: 230px; height: 230px; }
  .cr-tile--direct { grid-column: 3; grid-row: 1; }
  .cr-tile--sales { grid-column: 2 / span 2; grid-row: 2; grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Cómo funciona: cuatro pasos unidos por una línea. */
.cr-how { background: url("../img/fondo-patron.3b4cd347fc00.webp") 160px 80px / 320px 320px, var(--bg-alt); }
.cr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; position: relative; }
.cr-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.cr-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; }
.cr-steps__dot { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1.6rem; box-shadow: 0 0 0 6px var(--bg-alt); }
.cr-steps li:last-child .cr-steps__dot { background: var(--red); }
.cr-steps b { font-size: 1.12rem; align-self: end; }
.cr-steps p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .cr-steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .cr-steps::before { left: 28px; right: 12%; top: 27px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .cr-steps li { grid-template-columns: 1fr; gap: 10px; }
  .cr-steps__dot { grid-row: auto; margin-bottom: 8px; }
}

/* Cierre: una última invitación a postular. */
.cr-cta { background: var(--red); color: #fff; padding: 64px 0; }
.cr-cta__inner { display: grid; gap: 22px; justify-items: start; }
.cr-cta .display { color: #fff; }
.cr-cta .outline { -webkit-text-stroke-color: #fff; }
@media (min-width: 900px) { .cr-cta__inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* Tarjeta del código (también en la banda de la portada). */
.creator-code { display: grid; gap: 10px; padding: 28px; border-radius: calc(var(--radius) + 8px); background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); rotate: -2deg; }
.creator-code__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.creator-code__value { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1; padding: 12px 16px; border: 2px dashed rgba(255, 255, 255, 0.45); border-radius: var(--radius-sm); text-align: center; overflow-wrap: anywhere; }
.creator-code__note { font-weight: 700; color: #ffb4ae; }
.creator-code ul { list-style: none; margin: 8px 0 0; padding: 16px 0 0; display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.92rem; }
.creator-code li { display: flex; gap: 10px; align-items: center; }
.creator-code li .i { color: #7fe3a3; flex: none; }
.creators-apply { display: grid; gap: 36px; align-items: start; }
.creators-apply > * { min-width: 0; }
@media (min-width: 960px) { .creators-apply { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.creator-reqs { list-style: none; margin: 0; padding: 26px; display: grid; gap: 20px; border-radius: calc(var(--radius) + 6px); background: var(--ink); color: #fff; }
.creator-reqs li + li { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.creator-reqs li { display: flex; gap: 14px; align-items: flex-start; }
.creator-reqs .i { flex: none; width: 26px; height: 26px; margin-top: 2px; color: #ff6b5f; }
.creator-reqs b { display: block; }
.creator-reqs span { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.creators-form { display: grid; gap: 18px; padding: 28px 22px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
@media (min-width: 640px) { .creators-form { padding: 32px; } .creators-form .field-row { grid-template-columns: 1fr 1fr; } }
.creators-form .check { align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.88rem; line-height: 1.45; color: var(--text); }
.creators-form .check input { flex: none; margin-top: 2px; }
.creators-form .check a { text-decoration: underline; }
.creators-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.creators-form--done { justify-items: start; }
.creators-form--done > .i { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--ok); color: #fff; }
.creators-form--done h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.creators-form--done p { color: var(--muted); }

/* ---------- Reseñas de Google (portada) ---------- */
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.reviews__score b { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.reviews__score small { color: var(--muted); font-size: 0.9rem; }
.stars { display: inline-flex; gap: 2px; color: #f5a623; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.stars i { font-style: normal; color: var(--line-strong); }
.reviews .carousel { align-items: stretch; }
.review { display: grid; gap: 12px; align-content: start; grid-template-rows: auto 1fr auto; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
.review__head b { display: block; line-height: 1.2; }
.review__head small { color: var(--muted); font-size: 0.8rem; }
.review__text { color: var(--text); font-size: 0.95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--muted); }

/* Invitación al programa de creadores en la portada: banda oscura con la tarjeta del código. */
/* ---------- Portada: Strong Puntos ---------- */
.points-band { padding: 64px 0; background: url("../img/fondo-patron.3b4cd347fc00.webp") 160px 80px / 320px 320px, var(--bg-alt); overflow: hidden; }
.points-band__inner { display: grid; gap: 44px; align-items: center; }
.points-band__inner > * { min-width: 0; }
.points-band__copy { display: grid; gap: 16px; justify-items: start; }
.points-band__copy .eyebrow { margin: 0; }
.points-band__lead { color: var(--muted); font-size: 1.08rem; max-width: 32em; }
.points-example {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 12px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 0.98rem;
}
.points-example__tag { padding: 3px 9px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.points-example__gain { display: inline-flex; align-items: center; gap: 8px; }
.points-example .i { width: 16px; height: 16px; color: var(--red); }
.points-example__value { color: var(--red); font-size: 1.12rem; }
.points-example small { flex-basis: 100%; color: var(--muted); font-size: 0.84rem; }
.points-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.points-band__visual { position: relative; display: grid; justify-items: center; padding: 26px 0 50px; }
.points-card {
  position: relative; width: min(400px, 100%); aspect-ratio: 1.586; display: grid; align-content: space-between; padding: 22px 24px;
  border-radius: 22px; color: #fff; overflow: hidden; rotate: -4deg; box-shadow: 0 40px 60px -34px rgba(40, 34, 24, 0.75);
  background: radial-gradient(circle at 100% 0, rgba(201, 33, 27, 0.55), transparent 55%), linear-gradient(135deg, #2b2927, var(--ink) 60%);
}
.points-card::after {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; rotate: 18deg; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent); animation: points-sheen 5.5s ease-in-out infinite;
}
@keyframes points-sheen { 0%, 55% { translate: 0; } 100% { translate: 520%; } }
.points-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.points-card__plate { width: 44px; height: 44px; fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 2; animation: points-spin 14s linear infinite; }
.points-card__plate circle:nth-child(2) { stroke-dasharray: 5 6; }
@keyframes points-spin { to { rotate: 360deg; } }
.points-card__value { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 10vw, 3.5rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.points-card__value i { font-style: normal; color: #ff6a63; }
.points-card__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.72; }
.points-chip {
  position: absolute; z-index: 1; left: 0; bottom: 0; padding: 9px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-strong);
  font-weight: 800; font-size: 0.85rem; box-shadow: var(--shadow); rotate: 3deg; animation: points-float 5s ease-in-out infinite;
}
.points-chip--red { inset: 0 0 auto auto; background: var(--red); border-color: var(--red); color: #fff; rotate: 4deg; animation-delay: -2.5s; }
@keyframes points-float { 50% { translate: 0 -7px; } }
@media (min-width: 900px) {
  .points-band { padding: 80px 0; }
  .points-band__inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px 64px; }
  .points-band__visual { padding: 34px 20px 40px; }
}
@media (prefers-reduced-motion: reduce) { .points-card::after, .points-card__plate, .points-chip { animation: none; } }

.creators-band { padding: 72px 0; background: var(--ink); color: #fff; overflow: hidden; }
.creators-band__inner { display: grid; gap: 40px; align-items: center; }
.creators-band__inner > * { min-width: 0; }
@media (min-width: 900px) { .creators-band { padding: 96px 0; } .creators-band__inner { grid-template-columns: 1.3fr 0.7fr; gap: 64px; } }
.creators-band__copy { display: grid; gap: 16px; justify-items: start; }
.creators-band__copy .eyebrow { margin: 0; }
.creators-band__copy .outline { -webkit-text-stroke-color: #fff; }
.creators-band__copy p:not(.eyebrow) { color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; max-width: 34em; }
.creators-band .creator-code { background: #fff; color: var(--ink); rotate: 3deg; }
.creators-band .creator-code__value { border-color: rgba(0, 0, 0, 0.3); }
.creators-band .creator-code__note { color: var(--red); }

/* ---------- Strong Puntos ---------- */
.tag--points { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.welcome-note--points { border-style: solid; border-color: var(--line); background: var(--surface); }
.points-use { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--red); background: color-mix(in srgb, var(--red) 5%, transparent); cursor: pointer; }
.points-use input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.points-use b { display: block; font-size: 0.95rem; }
.points-use small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.points-use small b { display: inline; font-size: inherit; color: var(--text); }
.points-card__balance { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.points-card__balance b { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--red); }
.points-card__balance span { color: var(--muted); font-size: 0.9rem; }
.points-card__list { list-style: none; margin: 4px 0; padding: 0; display: grid; }
.points-card__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.points-card__list small { display: block; color: var(--muted); font-size: 0.76rem; }
.points-card__list b { font-variant-numeric: tabular-nums; }
.points-card__rules { font-size: 0.8rem; }
.account__side { display: grid; gap: 20px; min-width: 0; }

/* ---------- «Avísame cuando vuelva» ---------- */
.notify { display: grid; gap: 12px; }
.notify__row { display: flex; gap: 8px; }
.notify__row input { flex: 1; min-width: 0; }
.notify__row .btn { flex: none; min-height: 52px; }
.notify__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__msg { font-size: 0.9rem; font-weight: 700; color: var(--ok); }
.notify__msg:empty { display: none; }
.notify__msg.is-error { color: var(--red); }
.notify__note { font-size: 0.8rem; color: var(--muted); }
.notify.is-done .field, .notify.is-done .notify__note { display: none; }
.notify-toggle { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.9rem; }
.notify-toggle summary { cursor: pointer; color: var(--muted); list-style: none; }
.notify-toggle summary::-webkit-details-marker { display: none; }
.notify-toggle summary b { color: var(--text); text-decoration: underline; }
.notify-toggle[open] summary { margin-bottom: 14px; }
.pdp__soldout { display: grid; gap: 14px; justify-items: stretch; }

/* ---------- Buscador del encabezado ---------- */
.site-search { position: absolute; inset: 100% 0 auto 0; z-index: 48; padding: 16px 0 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(40, 34, 24, 0.5); max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; }
.site-search__form { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line-strong); }
.site-search__form:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 38, 29, 0.14); }
.site-search__form > .i { flex: none; color: var(--muted); }
.site-search__form input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--text); }
.site-search__form input:focus { outline: none; }
.site-search__form input::-webkit-search-cancel-button { display: none; }
.site-search__form .btn { flex: none; min-height: 44px; }
.site-search__form .icon-btn { flex: none; }
@media (max-width: 479px) { .site-search__form .btn { display: none; } }
.site-search__results { display: grid; gap: 4px; margin-top: 12px; }
.site-search__results:empty { display: none; }
@media (min-width: 900px) { .site-search__results { grid-template-columns: repeat(2, 1fr); gap: 4px 20px; } }
.site-search__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); min-width: 0; }
.site-search__item:hover, .site-search__item:focus-visible { background: var(--surface); }
.site-search__item img, .site-search__item > span:first-child { width: 56px; height: 56px; border-radius: 10px; background: var(--tile); object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.site-search__item small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.site-search__item b { display: block; font-size: 0.95rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search__item > span { min-width: 0; }
.site-search__item strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-search__item.is-soldout strong { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.site-search__all { grid-column: 1 / -1; justify-self: start; margin: 8px 10px 0; }
.site-search__empty { grid-column: 1 / -1; padding: 10px; color: var(--muted); }
.site-search__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.site-search__quick > span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
/* Celular angosto: con el buscador son cuatro botones junto al logo; se aprietan un poco para que el logo no se achique. */
.brand { flex: none; }
@media (max-width: 419px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 6px; }
  .brand img { width: 112px; }
  .site-header__actions .account-link, .nav-toggle { width: 38px; height: 38px; }
  .stack-pill { padding-inline: 10px; gap: 6px; }
}
@media (max-width: 359px) { .brand { flex: 0 1 auto; min-width: 0; } .brand img { width: 100%; max-width: 112px; } }

/* ---------- «Mi cuenta» del creador: su código, su enlace y cómo le va ---------- */
.creator-panel { margin-bottom: 20px; gap: 20px; }
.creator-panel__head { display: grid; gap: 14px; }
.creator-panel__head .eyebrow { margin: 0 0 4px; }
.creator-panel__code { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.creator-panel__code b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.creator-panel__code span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }
@media (min-width: 760px) { .creator-panel__head { grid-template-columns: 1fr auto; align-items: center; } }
.creator-panel__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .creator-panel__stats { grid-template-columns: repeat(4, 1fr); } }
.creator-panel__stats div { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius-sm); background: var(--bg); min-width: 0; }
.creator-panel__stats b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.creator-panel__stats span { font-size: 0.82rem; color: var(--muted); }
.creator-panel__stats .is-strong { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.creator-panel__stats .is-strong b { color: var(--ok); }
.creator-panel__share { display: grid; gap: 8px; }
.creator-panel__share label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.creator-panel__share label small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; }
.creator-panel__row { display: flex; gap: 8px; }
.creator-panel__row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: var(--bg); font: inherit; font-size: 0.9rem; color: var(--text); }
.creator-panel__row .btn { flex: none; min-height: 44px; }
.creator-panel h3 { font-size: 1rem; font-weight: 800; }
.creator-panel__list { list-style: none; margin: 0; padding: 0; display: grid; }
.creator-panel__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.creator-panel__list small { color: var(--muted); }
.creator-panel__note { font-size: 0.8rem; }

/* ---------- Gimnasio: datos clave, pestañas de planes y pasos ---------- */
.gym-facts { border-block: 1px solid var(--line); background: var(--surface); }
.gym-facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 0; }
.gym-facts__grid > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 20px 14px; }
.gym-facts__grid > div:nth-child(odd) { padding-left: 0; }
.gym-facts__grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.gym-facts__grid > div:nth-child(even) { border-left: 1px solid var(--line); }
.gym-facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.5rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.gym-facts dt { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 900px) {
  .gym-facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gym-facts__grid > div { padding: 26px 28px; }
  .gym-facts__grid > div:first-child { padding-left: 0; }
  .gym-facts__grid > div:nth-child(n + 3) { border-top: 0; }
  .gym-facts__grid > div:nth-child(odd):not(:first-child) { padding-left: 28px; }
  .gym-facts__grid > div + div { border-left: 1px solid var(--line); }
}

.plan-tabs { display: flex; margin: 0 auto 30px; overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; padding: 5px; gap: 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.plan-tabs[hidden] { display: none; }
.plan-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 0.92rem; white-space: nowrap; cursor: pointer; transition: background 0.25s, color 0.25s; }
.plan-tabs button small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); font-size: 0.72rem; font-weight: 800; }
.plan-tabs button:hover { color: var(--text); }
.plan-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plan-tabs button[aria-selected="true"] small { background: var(--red); color: #fff; }
.plan-tabs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.has-plan-tabs .plan-group:not(.is-active) { display: none; }
.has-plan-tabs .plan-group + .plan-group { margin-top: 0; }
.has-plan-tabs .plan-group__head { margin-bottom: 22px; }
.has-plan-tabs .plan-group__head h3 { display: none; }
.has-plan-tabs .plan-group__head:not(:has(p)) { display: none; }
.plans__hint { display: none; }
@media (max-width: 420px) { .plan-tabs button { padding: 10px 12px; font-size: 0.84rem; } .plan-tabs button small { display: none; } }
/* En celular las tarjetas de un grupo se deslizan de lado en vez de apilarse. */
@media (max-width: 639px) {
  .plans:not(.plans--1) { display: flex; gap: 12px; max-width: none; margin-inline: calc(var(--gutter) * -1); padding: 18px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plans:not(.plans--1)::-webkit-scrollbar { display: none; }
  .plans:not(.plans--1) .plan { flex: 0 0 min(80%, 320px); scroll-snap-align: center; }
  .plans__hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 2px; color: var(--muted); font-size: 0.82rem; }
  .plans__hint .i { width: 1em; height: 1em; color: var(--red); }
}

.gym-steps { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line-strong); }
.gym-steps__title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; text-align: center; margin-bottom: 34px; }
.gym-steps a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .cr-steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
  .cr-steps--3::before { right: 30%; }
  .cr-steps--3 li { align-content: start; }
  .cr-steps--3 b { align-self: start; }
}

/* ---------- Portada más corta en celular ---------- */
/* Lo que en escritorio es grilla, en celular se desliza de lado: la página queda en poco más de la mitad de alto. */
.footer-toggle { display: contents; font: inherit; color: inherit; text-align: left; }
.footer-toggle .i { display: none; }
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-head { gap: 10px; margin-bottom: 26px; }
  .section-head--row > div:first-child { gap: 10px; }
  .hero:not(.hero--gym) { padding: 20px 0 44px; min-height: 0; }
  .hero:not(.hero--gym) .hero__inner { gap: 26px; }
  .hero:not(.hero--gym) .hero__copy { gap: 16px; }
  .hero:not(.hero--gym) .hero__stage { width: min(78%, 320px); }
  /* En celular la tarjeta del producto baja del disco y queda en una sola fila: encima tapaba el producto. */
  .hero:not(.hero--gym) .hero__stage { margin-bottom: 98px; }
  .hero__stage .hero__card {
    left: 50%; translate: -50% 0; bottom: auto; top: calc(106% + 14px); width: min(100vw - var(--gutter) * 2, 380px); min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 10px 10px 10px 16px; border-radius: 99px;
    box-shadow: 0 12px 26px -16px rgba(40, 34, 24, 0.5);
  }
  .hero__stage .hero__card .p-card__brand { display: none; }
  .hero__stage .hero__card > strong { grid-column: 1; font-size: 0.92rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__stage .hero__card-row { display: contents; }
  .hero__stage .hero__card .price { grid-column: 1; grid-row: 2; font-size: 0.95rem; line-height: 1.25; }
  .hero__stage .hero__card-row > :last-child { grid-column: 2; grid-row: 1 / span 2; }
  .hero__stage .hero__dots { bottom: auto; top: calc(106% + 90px); }

  .p-grid--slide, .cat-grid, .stores {
    display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .p-grid--slide::-webkit-scrollbar, .cat-grid::-webkit-scrollbar, .stores::-webkit-scrollbar { display: none; }
  .p-grid--slide > *, .cat-grid > *, .stores > * { scroll-snap-align: start; }
  .p-grid--slide > * { flex: 0 0 46%; }
  .cat-grid > * { flex: 0 0 43%; min-height: 200px; }
  .stores > * { flex: 0 0 84%; padding: 22px; }
  .stores > :only-child { flex-basis: 100%; }

  .goal-tabs { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .goal-tabs::-webkit-scrollbar { display: none; }
  .goal-tab { flex: none; padding: 12px 16px; }
  .goal-tab:hover { transform: none; }
  .goal-tab__name { font-size: 1.15rem; white-space: nowrap; }
  .goal-panel__desc { font-size: 0.92rem; margin-bottom: 14px; }
  .goal-panel__more { margin-top: 14px; }

  .points-band { padding: 52px 0; }
  .points-band__inner { gap: 26px; }
  .points-band__visual { display: none; }
  .wholesale { padding: 52px 0; }
  .wholesale__inner { gap: 22px; }
  .wholesale__list { display: none; }
  .creators-band { padding: 52px 0; }
  .creators-band__inner { gap: 28px; }
  .creators-band .creator-code { padding: 20px; gap: 8px; max-width: 340px; justify-self: center; width: 100%; }
  .brands { padding: 40px 0; }
  .brands .eyebrow { margin-bottom: 18px; }
  .faq-home { gap: 20px; }
  .faq-home .faq:nth-child(n + 5) { display: none; }

  .site-footer { padding-top: 52px; }
  .site-footer__cta { gap: 20px; padding-bottom: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 0; padding: 32px 0 28px; }
  .site-footer__grid > div:first-child { padding-bottom: 28px; }
  .site-footer__grid > .footer-group { gap: 0; border-top: 1px solid var(--line); }
  .site-footer__grid > .footer-group:last-child { gap: 8px; padding-top: 22px; }
  .footer-group h3 { margin: 0; }
  .footer-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 18px 0; letter-spacing: inherit; text-transform: inherit; font-weight: inherit; }
  .footer-toggle .i { display: block; transition: transform 0.3s var(--ease); }
  .footer-toggle[aria-expanded="true"] .i { transform: rotate(45deg); }
  .footer-group__links { display: none; gap: 10px; padding-bottom: 20px; }
  .footer-group.is-open .footer-group__links { display: grid; }
}
@media (min-width: 768px) { .footer-group__links { display: contents; } }

/* ---------- Gimnasio: entrenamiento personalizado, trainers, beneficios y postulación ---------- */
/* Bandas negras del gimnasio: los colores se invierten, igual que en el pie. */
.gym-dark {
  --text: #f5f2ed; --muted: #a8a49d; --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.26);
  --surface: #24231f; --surface-2: #2e2d28; --red: #e0261d; --bg: #1c1c1f;
  position: relative; overflow: hidden; background: var(--ink); color: var(--text);
}
.gym-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(224, 38, 29, 0.3), transparent 55%); pointer-events: none; }
.gym-dark > .container { position: relative; }
.gym-dark .outline { -webkit-text-stroke-color: #fff; }
.gym-dark .accent { color: #ff4a3d; }
@media (min-width: 1100px) { .plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }
.coach-plan { gap: 16px; }
.coach-plan__classes { display: flex; align-items: center; gap: 12px; }
.coach-plan__classes b { font-family: var(--font-display); font-weight: 400; font-size: 5rem; line-height: 0.85; color: #ff4a3d; }
.coach-plan__classes span { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.coach-plan__sessions { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.coach-plan__sessions .i { flex: none; color: #ff4a3d; }
.coach-plan .plan__pricing { flex: 1; align-content: end; padding-top: 14px; border-top: 1px solid var(--line); }
.coach-plan .plan__price strong { font-size: 2.6rem; }
.coach-plan .plan__monthly { color: var(--muted); font-weight: 500; }
.coach .plan__flag--save { background: #f5b301; color: var(--ink); }
.coach__note { margin-top: 30px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.coach__note span { display: inline-block; margin-right: 8px; padding: 4px 12px; border-radius: 99px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.coach__note a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.trainers { display: grid; gap: 18px; }
@media (min-width: 640px) { .trainers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trainers { grid-template-columns: repeat(3, 1fr); gap: 22px; } .trainers--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .trainers--1 { grid-template-columns: minmax(0, 380px); } .trainers--2 { grid-template-columns: repeat(2, minmax(0, 380px)); } }
.trainer { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), border-color 0.3s; }
.trainer:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.trainer__photo { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, var(--ink), #3a1512); }
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s var(--ease); }
.trainer:hover .trainer__photo img { transform: scale(1.05); }
.trainer__photo span { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.45); }
.trainer__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--red); }
.trainer__body { display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; }
.trainer h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.trainer__specialty { color: var(--red); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.trainer__bio { color: var(--muted); font-size: 0.93rem; }
.trainer__actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }

.benefits { display: grid; gap: 16px; }
@media (min-width: 700px) { .benefits { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .benefits--3, .benefits--5, .benefits--6 { grid-template-columns: repeat(3, 1fr); } .benefits--4 { grid-template-columns: repeat(4, 1fr); } }
.benefit { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start; padding: 26px 26px 24px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.benefit::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--red); }
.benefit__highlight { font-family: var(--font-display); font-size: clamp(3.4rem, 12vw, 5rem); line-height: 0.9; color: var(--red); text-transform: uppercase; }
.benefit h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.benefit__text { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.benefit__partner { display: inline-flex; align-items: center; gap: 7px; justify-self: start; margin-top: 10px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 700; }
.benefit__partner .i { width: 15px; height: 15px; color: var(--red); }

.apply__inner { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .apply__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.apply__copy { display: grid; gap: 18px; }
.apply__form summary { list-style: none; cursor: pointer; }
.apply__form summary::-webkit-details-marker { display: none; }
.apply__form[open] summary { display: none; }
.apply__form .signup-form { animation: pop-in 0.4s var(--ease); }
.apply__form textarea { resize: vertical; }
@media (max-width: 639px) {
  .trainers:not(.trainers--1) { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .trainers:not(.trainers--1)::-webkit-scrollbar { display: none; }
  .trainers:not(.trainers--1) .trainer { flex: 0 0 72%; scroll-snap-align: start; }
  .coach__plans .plan { flex-basis: min(74%, 290px) !important; }
  .coach-plan__classes b { font-size: 4.2rem; }
}

/* ---------- Gimnasio: página en negro y rojo ---------- */
/* La página del gimnasio usa la identidad de sus afiches: fondo negro, rojo encendido y la foto real de la sala.
   Se invierten las variables de color dentro de <main>; el encabezado y el pie quedan como en el resto del sitio. */
.page-gym main {
  --bg: #121211; --bg-rgb: 18, 18, 17; --bg-alt: #1a1918; --surface: #222120; --surface-2: #2d2c29; --tile: #2a2927;
  --text: #f5f2ed; --muted: #aaa69e; --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.24);
  --red: #e0261d; --red-deep: #b01a14; --red-glow: rgba(224, 38, 29, 0.5); --gold: #f5b301;
  --shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.9);
  background: var(--bg); color: var(--text);
}
.page-gym .eyebrow::before { content: "/// "; letter-spacing: 0; opacity: 0.85; }
.page-gym .section { position: relative; overflow: hidden; }
.page-gym .section > .container { position: relative; }
.page-gym .section--alt { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 22px), var(--bg-alt); }
/* Resplandor rojo en una esquina de cada sección, alternando el lado. */
.page-gym .section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 0% 0%, rgba(224, 38, 29, 0.17), transparent 70%); }
.page-gym .section--alt::before { background: radial-gradient(60% 55% at 100% 100%, rgba(224, 38, 29, 0.17), transparent 70%); }

/* Hero con la foto de la sala. */
.hero--gym { background: #000; min-height: min(86svh, 760px); padding: 56px 0 72px; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: contrast(1.08) saturate(1.2) brightness(1.12); animation: gym-zoom 26s ease-in-out infinite alternate; }
@keyframes gym-zoom { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-1.5%); } }
.hero--gym .hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 30%, rgba(18, 18, 17, 0.55) 80%, var(--bg) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%); }
.hero--gym .hero__glow { display: block; position: absolute; width: 760px; height: 760px; left: -280px; right: auto; top: auto; bottom: -380px; background: radial-gradient(circle, rgba(224, 38, 29, 0.55) 0%, rgba(224, 38, 29, 0.12) 40%, transparent 70%); }
.hero--gym .display--hero { text-shadow: 0 6px 40px rgba(0, 0, 0, 0.7); }
.hero--gym .display--hero em { color: #ff3b30; text-shadow: 0 0 44px rgba(224, 38, 29, 0.75); }
.hero--gym .hero__lead { color: #dedad2; }
.hero--gym .kicker { background: rgba(0, 0, 0, 0.55); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.hero--gym .hero__ig { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); }
/* Chispas que suben, como en los afiches. */
.embers { position: absolute; inset: 0; overflow: hidden; }
.embers i { position: absolute; bottom: -12px; left: calc(var(--x) * 1%); width: calc(var(--s) * 1px); height: calc(var(--s) * 1px); border-radius: 50%; background: #ff5a2b; box-shadow: 0 0 10px 3px rgba(255, 70, 30, 0.75); opacity: 0; animation: ember calc(var(--t) * 1s) linear calc(var(--d) * -1s) infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 0.95; } 100% { transform: translate(calc(var(--w) * 1px), -92vh); opacity: 0; } }
.embers i:nth-child(1) { --x: 4; --s: 4; --t: 9; --d: 1; --w: 60; } .embers i:nth-child(2) { --x: 11; --s: 3; --t: 12; --d: 5; --w: -40; }
.embers i:nth-child(3) { --x: 17; --s: 5; --t: 8; --d: 3; --w: 90; } .embers i:nth-child(4) { --x: 24; --s: 3; --t: 14; --d: 9; --w: 30; }
.embers i:nth-child(5) { --x: 31; --s: 4; --t: 10; --d: 6; --w: -70; } .embers i:nth-child(6) { --x: 38; --s: 2; --t: 13; --d: 2; --w: 50; }
.embers i:nth-child(7) { --x: 45; --s: 5; --t: 11; --d: 8; --w: -30; } .embers i:nth-child(8) { --x: 52; --s: 3; --t: 9; --d: 4; --w: 80; }
.embers i:nth-child(9) { --x: 59; --s: 4; --t: 15; --d: 11; --w: -60; } .embers i:nth-child(10) { --x: 66; --s: 2; --t: 10; --d: 7; --w: 40; }
.embers i:nth-child(11) { --x: 72; --s: 5; --t: 12; --d: 1; --w: -90; } .embers i:nth-child(12) { --x: 78; --s: 3; --t: 8; --d: 5; --w: 20; }
.embers i:nth-child(13) { --x: 84; --s: 4; --t: 13; --d: 10; --w: -50; } .embers i:nth-child(14) { --x: 89; --s: 2; --t: 11; --d: 3; --w: 70; }
.embers i:nth-child(15) { --x: 94; --s: 4; --t: 9; --d: 7; --w: -20; } .embers i:nth-child(16) { --x: 98; --s: 3; --t: 14; --d: 12; --w: -80; }
.embers i:nth-child(17) { --x: 8; --s: 2; --t: 16; --d: 13; --w: 110; } .embers i:nth-child(18) { --x: 63; --s: 3; --t: 16; --d: 14; --w: 100; }

/* Disciplinas con foto: la sala a un lado y las tarjetas al otro. */
.gym-split { display: grid; gap: 14px; }
@media (min-width: 960px) { .gym-split { grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; } }
.gym-split__photo { position: relative; margin: 0; overflow: hidden; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); min-height: 260px; }
.gym-split__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gym-split__photo:hover img { transform: scale(1.05); }
.gym-split__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85)); pointer-events: none; }
.gym-split__photo figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; display: flex; align-items: flex-end; gap: 12px; }
.gym-split__photo figcaption b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 14vw, 6.5rem); line-height: 0.85; color: #ff3b30; text-shadow: 0 0 40px rgba(224, 38, 29, 0.7); }
.gym-split__photo figcaption span { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; padding-bottom: 4px; }
.disciplines--stack { grid-template-columns: 1fr !important; }
.page-gym .disciplines--stack .discipline { min-height: 190px; flex: 1; }
@media (min-width: 960px) { .disciplines--stack { display: flex; flex-direction: column; } }

/* Galería: cinta de fotos del gimnasio, en gris con tinte y a color al pasar el cursor. */
.gym-gallery { overflow: hidden; padding: 10px 0; background: #000; border-block: 1px solid var(--line); }
.gym-gallery__track { display: flex; gap: 10px; width: max-content; animation: marquee calc(var(--items, 6) * 9s) linear infinite; will-change: transform; }
.gym-gallery:hover .gym-gallery__track { animation-play-state: paused; }
.gym-gallery figure { flex: none; width: min(72vw, 420px); aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: var(--radius-sm); }
.gym-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.1); transition: filter 0.4s, transform 0.6s var(--ease); }
.gym-gallery figure:hover img { filter: none; transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .gym-gallery { overflow-x: auto; } .gym-gallery__track { animation: none; } }

/* Datos clave: números grandes en rojo sobre negro. */
.page-gym .gym-facts { background: #000; border-block: 0; border-top: 3px solid var(--red); }
.page-gym .gym-facts dd { color: #fff; font-size: clamp(2rem, 8vw, 3rem); }
.page-gym .gym-facts__grid > div:nth-child(odd) dd { color: #ff3b30; }
.page-gym .ticker { background: var(--red); padding: 12px 0; }
.page-gym .ticker__track i { color: #fff; }
.page-gym .ticker__track .outline { -webkit-text-stroke-color: #fff; }

/* Tarjetas sobre negro: borde fino, luz roja al pasar y en la destacada. */
.page-gym .discipline { background: linear-gradient(160deg, #2a2927, #1a1918); border-color: var(--line); min-height: 240px; }
.page-gym .discipline__icon { width: 54px; height: 54px; filter: drop-shadow(0 0 14px rgba(224, 38, 29, 0.8)); }
.page-gym .discipline__num { font-size: 5.4rem; -webkit-text-stroke-color: rgba(255, 255, 255, 0.2); }
.page-gym .plan { background: linear-gradient(180deg, #262523, #1b1a19); }
.page-gym .plan--featured { background: linear-gradient(180deg, rgba(224, 38, 29, 0.34), #1d1c1a 62%); box-shadow: 0 0 0 1px var(--red), 0 30px 90px -30px rgba(224, 38, 29, 0.75); }
.page-gym .plan__price strong { color: #fff; }
.page-gym .plan--featured .plan__price strong { color: #ff3b30; text-shadow: 0 0 34px rgba(224, 38, 29, 0.6); }
.page-gym .plan__flag--save { background: #f5b301; color: #1a1917; }
.page-gym .plan-tabs { background: #000; border: 1px solid var(--line-strong); }
.page-gym .plan-tabs button[aria-selected="true"] { background: var(--red); color: #fff; }
.page-gym .plan-tabs button[aria-selected="true"] small { background: #fff; color: var(--red); }
.page-gym .plan-tabs button small { background: var(--surface-2); }
.page-gym .cr-steps__dot { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(224, 38, 29, 0.6); }
.page-gym .gym-steps { border-top-color: var(--line); }
.page-gym .faq, .page-gym .store, .page-gym .testimonial, .page-gym .signup-form { background: var(--surface); border-color: var(--line); }
.page-gym .field input, .page-gym .field textarea, .page-gym .field select { background: #151514; color: var(--text); border-color: var(--line-strong); }
.page-gym .chip span { border-color: var(--line-strong); }

/* Entrenamiento personalizado: banda roja oscura con el disco girando. */
.page-gym .coach { background: linear-gradient(135deg, #6d120d 0%, #2a0d0b 38%, #121211 78%); }
.page-gym .coach::before { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 26px); }
.coach__plate { position: absolute; right: -170px; top: -150px; width: 560px; height: 560px; fill: none; stroke: rgba(255, 255, 255, 0.13); stroke-width: 3; animation: points-spin 60s linear infinite; pointer-events: none; }
.coach__plate circle:nth-child(2) { stroke-dasharray: 10 14; }
.coach__plate circle:nth-child(1) { stroke: rgba(224, 38, 29, 0.6); stroke-width: 6; }
.page-gym .coach-plan { background: rgba(10, 10, 10, 0.62); backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, 0.16); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.page-gym .coach-plan:hover { transform: translateY(-8px); border-color: var(--red); box-shadow: 0 30px 70px -30px rgba(224, 38, 29, 0.85); }
.page-gym .coach-plan__classes b { text-shadow: 0 0 40px rgba(224, 38, 29, 0.7); }

/* Trainers y beneficios. */
.page-gym .trainer { background: #1c1b1a; }
.page-gym .trainer__photo { background: linear-gradient(160deg, #000, #5a120e); }
.page-gym .trainer__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.page-gym .benefit { background: linear-gradient(135deg, #2b0f0d 0%, #1c1b1a 60%); border-color: rgba(224, 38, 29, 0.4); padding: 30px 28px 28px; }
.page-gym .benefit::before { width: 6px; box-shadow: 0 0 28px 4px rgba(224, 38, 29, 0.7); }
.page-gym .benefit::after { content: "%"; position: absolute; right: -10px; bottom: -70px; font-family: var(--font-display); font-size: 15rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.06); pointer-events: none; }
.page-gym .benefit__highlight { color: #ff3b30; font-size: clamp(4.2rem, 16vw, 6.4rem); text-shadow: 0 0 46px rgba(224, 38, 29, 0.6); }

/* Aliados: tarjeta grande con la foto y la marca del local a un lado y el beneficio al otro. */
.ally { position: relative; display: grid; overflow: hidden; margin-bottom: 18px; border-radius: calc(var(--radius) + 8px); border: 1px solid rgba(224, 38, 29, 0.45); background: #151413; box-shadow: 0 34px 90px -40px rgba(224, 38, 29, 0.7); }
@media (min-width: 900px) { .ally { grid-template-columns: 1.15fr 1fr; min-height: 380px; } }
.ally__brand { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 90px; min-height: 280px; padding: 22px; overflow: hidden; background: linear-gradient(140deg, #6d120d, #1a0807 70%); }
.ally__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ally:hover .ally__photo { transform: scale(1.06); }
.ally__brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, rgba(0, 0, 0, 0.88) 100%); }
.ally__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ally__tag .i { width: 15px; height: 15px; color: #ff3b30; }
.ally__name { display: flex; align-items: center; gap: 16px; }
.ally__logo { flex: none; width: 84px; height: 84px; padding: 8px; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.ally__name h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 9vw, 4.2rem); line-height: 0.95; text-transform: uppercase; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8); }
.ally__name p { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #e4e0d8; font-size: 0.92rem; font-weight: 600; }
.ally__name p .i { flex: none; width: 16px; height: 16px; color: #ff3b30; }
.ally__deal { position: relative; display: grid; gap: 6px; align-content: center; justify-items: start; padding: 30px 26px 32px; overflow: hidden; }
.ally__deal::after { content: "%"; position: absolute; right: -14px; bottom: -86px; font-family: var(--font-display); font-size: 18rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05); pointer-events: none; }
.ally__for { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ally .benefit__highlight { font-size: clamp(5.4rem, 22vw, 8.5rem); }
.ally__title { font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.3rem); line-height: 1.05; text-transform: uppercase; }
.ally .btn { margin-top: 16px; }
@media (min-width: 900px) { .ally__brand { padding: 30px; } .ally__deal { padding: 44px 48px; } }
.ally-cta { display: grid; gap: 16px; justify-items: start; margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); }
.ally-cta b { display: block; color: var(--text); font-size: 1.08rem; }
@media (min-width: 760px) { .ally-cta { grid-template-columns: 1fr auto; align-items: center; } }

/* Inscripción con la foto de la sala de fondo. */
.page-gym .signup { background: #000; }
.signup__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0.3; filter: saturate(1.15) blur(2px); }
.page-gym .signup::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(18, 18, 17, 0.55) 30%, rgba(18, 18, 17, 0.7) 100%), radial-gradient(ellipse at 90% 100%, rgba(224, 38, 29, 0.45), transparent 60%); z-index: 0; }
.page-gym .signup-form { background: rgba(20, 20, 19, 0.82); backdrop-filter: blur(10px); border-color: var(--line-strong); }
.page-gym .apply { background: linear-gradient(315deg, #6d120d 0%, #2a0d0b 36%, #121211 76%); }
@media (max-width: 767px) {
  .hero--gym { min-height: 78svh; padding: 40px 0 56px; align-items: flex-end; }
  .hero__photo { object-position: 46% 40%; }
  .hero--gym .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 38%, rgba(18, 18, 17, 0.88) 72%, var(--bg) 100%); }
  .coach__plate { width: 360px; height: 360px; right: -150px; top: -110px; }
}
@media (prefers-reduced-motion: reduce) { .hero__photo, .embers i, .coach__plate { animation: none; } .embers { display: none; } }
