/* =========================================================
   X-HAIR · Sistema de diseño v3
   Tipografía: Archivo (display, ancho variable) · IBM Plex Sans · IBM Plex Mono
   Temas: oscuro (default) y claro
   ========================================================= */


:root,
[data-theme="dark"] {
  --bg: #131313;
  --bg-alt: #1a1a19;
  --bg-alt2: #242422;
  --fg: #f2f1ed;
  --fg-2: #d2d0ca;
  --muted: #9a978f;
  --line: rgba(255, 255, 250, .08);
  --line-strong: rgba(255, 255, 250, .18);
  --accent: #7c99ff;
  --accent-2: #3a63f0;
  --deep: #10192f;
  --on-deep: #f2f1ed;
  --deep-accent: #9fb5ff;
  --header-bg: rgba(19, 19, 19, .72);
  --img-bg: #1d1d1b;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --product-glow: radial-gradient(60% 55% at 50% 55%, rgba(58, 99, 240, .22), transparent 70%);
  --glow-a: rgba(58, 99, 240, .10);
  --glow-b: rgba(255, 190, 140, .05);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f4f1;
  --bg-alt: #ecebe7;
  --bg-alt2: #e0ded8;
  --fg: #161615;
  --fg-2: #33332f;
  --muted: #6c6a65;
  --line: #dddbd5;
  --line-strong: #c4c1b9;
  --accent: #2f56d9;
  --accent-2: #2f56d9;
  --deep: #10192f;
  --on-deep: #f2f1ed;
  --deep-accent: #9fb5ff;
  --header-bg: rgba(245, 244, 241, .78);
  --img-bg: #e0ded8;
  --shadow: 0 30px 70px -35px rgba(30, 30, 25, .3);
  --product-glow: radial-gradient(60% 55% at 50% 55%, rgba(47, 86, 217, .12), transparent 70%);
  --glow-a: rgba(47, 86, 217, .07);
  --glow-b: rgba(230, 160, 110, .07);
  color-scheme: light;
}

:root {
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.i18n-pending body { opacity: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: var(--accent-2); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.display, .h2, .h3, .benefit h3, .step h3, .drawer__nav a, .buybox h1, .ba-info h3, .price, .option .amt, .peptides strong, .logo {
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
}
.display { font-size: clamp(2.8rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -0.035em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; }
.h2 em, .display em { font-style: normal; color: var(--muted); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--fg-2); max-width: 36em; font-weight: 300; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.9em;
  background: var(--fg); color: var(--bg);
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--fg); border-radius: 999px;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 160%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent-2);
  transform: translate(-50%, 0) scale(.2);
  transition: transform .7s var(--ease), top .7s var(--ease);
}
.btn:hover { color: #fff; border-color: var(--accent-2); }
.btn:hover::before { top: -30%; transform: translate(-50%, 0) scale(1); }
.btn:active { transform: scale(.96); transition-duration: .15s; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost-light { background: transparent; color: var(--on-deep); border-color: rgba(238, 242, 251, .35); }
.btn--block { width: 100%; }

.roll { display: inline-grid; overflow: hidden; line-height: 1.25; }
.roll > span { grid-area: 1 / 1; transition: transform .6s var(--ease); }
.roll > span:last-child { transform: translateY(110%); }
.btn:hover .roll > span:first-child { transform: translateY(-110%); }
.btn:hover .roll > span:last-child { transform: translateY(0); }

.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: rgba(255, 255, 255, .45);
  animation: ripple .75s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(40); opacity: 0; } }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: .35em;
}
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.link:hover::before { animation: line-swap .9s var(--ease); }
@keyframes line-swap {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
.link::after { content: "→"; transition: transform .5s var(--ease); }
.link:hover::after { transform: translateX(5px); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; }
.cursor {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid var(--fg); opacity: .35;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .4s, background-color .4s, border-color .4s;
}
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--fg); transition: opacity .3s; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 1; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cursor.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Transición entre páginas ---------- */
.page-veil { position: fixed; inset: 0; z-index: 9000; pointer-events: none; background: var(--bg); opacity: 1; transition: opacity .6s var(--ease); }
.page-veil.is-gone { opacity: 0; }
.page-veil.is-leaving { opacity: 1; transition-duration: .35s; }

/* ---------- Barra de anuncio ---------- */
.announce {
  background: var(--deep); color: rgba(238, 242, 251, .82);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: .6rem 1rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), transform .7s var(--ease), background-color .5s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.burger { display: inline-flex; align-items: center; gap: .85rem; height: 44px; justify-self: start; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.burger__icon { position: relative; width: 24px; height: 14px; }
.burger__icon span { position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .55s var(--ease), opacity .3s, top .55s var(--ease), width .55s var(--ease); }
.burger__icon span:nth-child(1) { top: 0; width: 100%; }
.burger__icon span:nth-child(2) { top: 6px; width: 65%; }
.burger__icon span:nth-child(3) { top: 12px; width: 100%; }
.burger:hover .burger__icon span:nth-child(2) { width: 100%; }
.menu-open .burger__icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger__icon span:nth-child(2) { opacity: 0; }
.menu-open .burger__icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.logo { font-weight: 600; font-size: 1.12rem; letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.header__right { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.nav-inline { display: flex; gap: 1.5rem; font-size: .86rem; }
.nav-inline a { position: relative; opacity: .7; transition: opacity .3s; }
.nav-inline a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.nav-inline a:hover, .nav-inline a[aria-current="page"] { opacity: 1; }
.nav-inline a:hover::after, .nav-inline a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { min-height: 40px; padding: 0 1.2em; font-size: .68rem; }

.toggles { display: flex; align-items: center; gap: .4rem; }
.tgl {
  height: 34px; min-width: 34px; padding: 0 .6rem; border-radius: 999px; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em;
  transition: border-color .3s, transform .4s var(--ease);
}
.tgl:hover { border-color: var(--fg); }
.tgl:active { transform: scale(.9); }
.tgl .on { color: var(--fg); }
.tgl .off { color: var(--muted); }
.tgl svg { width: 15px; height: 15px; transition: transform .8s var(--ease); }
.tgl:hover svg { transform: rotate(45deg); }
.icon-sun { display: none; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ---------- Menú lateral ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(460px, 90vw); background: var(--bg); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform .8s var(--ease); }
.menu-open .drawer { transform: none; }
.menu-open .drawer-scrim { opacity: 1; visibility: visible; }
.menu-open, .menu-open body { overflow: hidden; }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__close { display: inline-flex; align-items: center; gap: .6rem; height: 44px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.drawer__close::before { content: ""; width: 16px; height: 16px; background: linear-gradient(45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%); transition: transform .6s var(--ease); }
.drawer__close:hover::before { transform: rotate(90deg); }
.drawer__nav { padding: 1.4rem var(--gutter) 1.6rem; display: flex; flex-direction: column; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: baseline; font-size: 2.15rem; line-height: 1.15; letter-spacing: -0.03em; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.drawer__nav a span:first-child { display: inline-block; transition: transform .6s var(--ease), color .4s; }
.drawer__nav a:hover span:first-child { transform: translateX(10px); color: var(--accent); }
.drawer__nav a small { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); }
.drawer__nav a[aria-current="page"] span:first-child { color: var(--accent); }
.drawer__toggles { display: flex; gap: .5rem; padding: 0 var(--gutter) 1.6rem; }
.drawer__foot { margin-top: auto; padding: 1.6rem var(--gutter) 2rem; background: var(--bg-alt); border-top: 1px solid var(--line); }
.drawer__foot p { font-size: .9rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-bone { background: var(--bg-alt); }
.bg-navy { background: var(--deep); color: var(--on-deep); }
.bg-navy .label { color: var(--deep-accent, #93b0ff); }
.bg-navy .muted { color: rgba(238, 242, 251, .6); }
.bg-navy .lede { color: rgba(238, 242, 251, .8); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.2rem, 4vw, 3.8rem); }
.section-head .label { margin-bottom: 1rem; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h) - 34px); background: var(--bg-alt); overflow: hidden; }
.hero__copy { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 6vw, 5rem) var(--gutter); }
.hero__copy::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 65%); mask-image: linear-gradient(180deg, transparent, #000 65%); }
.hero__copy > * { position: relative; }
.hero__copy .label { margin-bottom: 1.6rem; }
.hero__copy .display { margin-bottom: 1.6rem; max-width: 9.5em; }
.hero__copy .lede { margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { position: relative; overflow: hidden; background: var(--img-bg); }
.hero__media img { position: absolute; left: 0; top: -7.5%; width: 100%; height: 115%; object-fit: cover; will-change: transform; }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.benefit { position: relative; padding: 2.4rem 2rem 2.6rem 0; border-right: 1px solid var(--line); }
.benefit + .benefit { padding-left: 2rem; }
.benefit:last-child { border-right: 0; }
.benefit::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.benefit:hover::before { transform: scaleX(1); }
.benefit__n { display: block; font-family: var(--mono); font-size: .78rem; color: var(--accent); margin-bottom: 3rem; }
.benefit h3 { font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: .75rem; transition: transform .6s var(--ease); }
.benefit:hover h3 { transform: translateX(4px); }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Ficha técnica ---------- */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 0; }
.spec div { padding: 1.4rem 1.2rem 1.4rem 0; border-right: 1px solid var(--line); }
.spec div + div { padding-left: 1.2rem; }
.spec div:last-child { border-right: 0; }
.spec dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.spec dd { margin: 0; font-weight: 500; }
.spec--stack { grid-template-columns: 1fr; margin-bottom: 2rem; }
.spec--stack div, .spec--stack div + div { border-right: 0; padding-left: 0; }
.spec--stack div + div { border-top: 1px solid var(--line); }

/* ---------- Bloques divididos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.2fr 1fr; }
.split--top { align-items: start; }
.split__media { position: relative; overflow: hidden; background: var(--img-bg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.split__media:hover img { transform: scale(1.045); }
.split__copy .label { margin-bottom: 1.2rem; }
.split__copy .h2 { margin-bottom: 1.4rem; }
.split__copy .lede { margin-bottom: 2rem; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ---------- Producto (frasco) ---------- */
.product-visual { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--bg-alt2); overflow: hidden; }
.product-visual::before { content: ""; position: absolute; inset: 0; background: var(--product-glow); }
.product-visual svg { position: relative; width: 42%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); transition: transform 1.2s var(--ease); }
.product-visual:hover svg { transform: translateY(-10px) rotate(-2deg); }
.product-visual .tag-note { position: absolute; left: 1.2rem; bottom: 1rem; font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .06em; }
.price { font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.price .cur { font-family: var(--sans); font-size: .85rem; color: var(--muted); letter-spacing: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; }
.checklist li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; background: var(--accent); }

/* ---------- Video / figuras ---------- */
.video-frame { position: relative; overflow: hidden; background: #050a18; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.fig { margin: 0; }
.fig figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--muted); }
.peptides { list-style: none; padding: 0; margin: 0; }
.peptides li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid color-mix(in srgb, var(--on-deep) 15%, transparent); transition: padding-left .6s var(--ease); }
.peptides li:hover { padding-left: .6rem; }
.peptides li:last-child { border-bottom: 1px solid rgba(238, 242, 251, .15); }
.peptides strong { font-weight: 500; font-size: 1.1rem; }
.peptides span { color: rgba(238, 242, 251, .72); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 2.4rem 2rem 0 0; }
.step + .step { padding-left: 2rem; border-left: 1px solid var(--line); }
.step__n { display: block; font-family: var(--mono); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: .6rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Antes / después ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ba-single { max-width: 520px; width: 100%; justify-self: center; }
.ba-compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--img-bg); user-select: none; touch-action: pan-y; }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: #fff; pointer-events: none; }
.ba-compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; border: 1px solid #fff; background: rgba(10, 12, 18, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-family: var(--mono); font-size: .85rem; transition: transform .5s var(--ease); }
.ba-compare:hover .handle::after { transform: translate(-50%, -50%) scale(1.12); }
.ba-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: .9rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.ba-label.l { left: .9rem; } .ba-label.r { right: .9rem; }
.ba-info { padding: 1rem 0 0; }
.ba-info h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.ba-info p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.ba-info blockquote { margin: .8rem 0 0; font-size: 1.05rem; }
.ba-empty { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 1.4rem; overflow: hidden; background: var(--bg-alt2); color: var(--muted); font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; }
.ba-empty::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line-strong); }

/* ---------- Acordeón ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-size: 1.05rem; transition: color .3s, padding-left .5s var(--ease); }
.accordion summary:hover { color: var(--accent); padding-left: .4rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .5s var(--ease); }
.accordion details[open] summary::after { transform: rotate(135deg); }
.accordion .acc-body { overflow: hidden; }
.accordion .acc-inner { padding: 0 0 1.6rem; color: var(--muted); max-width: 46em; }
.accordion .acc-inner p:last-child { margin: 0; }
.faq-grid { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.faq-grid > .label { padding-top: 1.5rem; }

/* ---------- Tabla ---------- */
.ing-table { width: 100%; border-collapse: collapse; }
.ing-table th, .ing-table td { text-align: left; padding: 1.15rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ing-table th { font-weight: 500; width: 34%; padding-right: 2rem; }
.ing-table td { color: var(--muted); }

/* ---------- Página de producto ---------- */
.crumbs { padding-top: 1.6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--fg); }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: 2rem 6rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.gallery > :first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.gallery figure { margin: 0; overflow: hidden; background: var(--img-bg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform 1.4s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.buybox { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.buybox h1 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; margin: .8rem 0 .7rem; }
.buybox .sub { color: var(--fg-2); font-weight: 300; margin-bottom: 1.4rem; }
.buybox .price { margin-bottom: 1.8rem; }
.options { display: grid; gap: .6rem; margin: 0 0 1.2rem; border: 0; padding: 0; }
.options legend { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease); }
.option:hover { border-color: var(--line-strong); }
.option:active { transform: scale(.985); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--muted); display: grid; place-items: center; transition: border-color .3s; }
.option .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .45s var(--ease); }
.option input:checked ~ .dot { border-color: var(--accent); }
.option input:checked ~ .dot::after { transform: scale(1); }
.option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.option input:focus-visible ~ .dot { outline: 2px solid var(--accent); outline-offset: 2px; }
.option .name { font-weight: 500; }
.option .name small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.option .amt { font-size: 1.2rem; }
.option .save { position: absolute; top: -.65rem; right: 1rem; padding: .22rem .6rem; border-radius: 999px; background: var(--accent-2); color: #fff; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.option.is-disabled { opacity: .45; cursor: not-allowed; }
.qty-row { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin-bottom: 1rem; }
.qty { display: inline-grid; grid-template-columns: 44px 40px 44px; height: 54px; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { font-size: 1.1rem; transition: background-color .3s; }
.qty button:hover { background: var(--bg-alt2); }
.qty output { display: grid; place-items: center; font-family: var(--mono); font-weight: 500; }
.qty output.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--accent); } }
.assurances { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .5rem; font-size: .9rem; color: var(--muted); }
.assurances li::before { content: "+ "; font-family: var(--mono); color: var(--accent); }

/* ---------- CTA / page hero ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 15em; margin: 0 auto 2.2rem; }
.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2rem, 4vw, 3.5rem); }
.page-hero .label { margin-bottom: 1.4rem; }
.page-hero .display { max-width: 12em; }
.page-hero .lede { margin-top: 1.7rem; }
.center-block { max-width: 900px; margin: 0 auto; text-align: center; }
.center-block .label { margin-bottom: 1.2rem; }
.center-block .h2 { margin-bottom: 1.4rem; }
.center-block .lede { margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */
.footer { background: #05060a; color: rgba(238, 242, 251, .66); padding: clamp(4rem, 8vw, 7rem) 0 2rem; font-size: .9rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer .logo { color: #fff; display: inline-block; margin-bottom: 1.2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer h4 { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(238, 242, 251, .4); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__legal { padding-top: 1.6rem; font-size: .75rem; color: rgba(238, 242, 251, .4); display: grid; gap: .6rem; }
.footer__big { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 600; font-size: clamp(4rem, 19vw, 17rem); line-height: .8; letter-spacing: -0.04em; color: rgba(255, 255, 255, .05); margin-top: 3rem; white-space: nowrap; user-select: none; }

/* ---------- Barra móvil ---------- */
.mbar { position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px; background: var(--header-bg); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); transform: translateY(150%); transition: transform .7s var(--ease); }
.mbar.is-visible { transform: none; }
.mbar .btn { min-height: 44px; padding: 0 1.3em; }
.mbar strong { display: block; font-weight: 500; font-size: .88rem; }
.mbar span { color: var(--muted); font-size: .82rem; }

/* ---------- Entradas ---------- */
.js .fade { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(3) { padding-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav-inline, .header__right .toggles { display: none; }
  .burger__text { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 1 / 1; }
  .hero__copy { padding-block: 2.4rem 3.2rem; }
  .split, .split--wide-media { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.8rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ba-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pdp { grid-template-columns: 1fr; padding-top: 1rem; }
  .buybox { position: static; }
  .peptides li { grid-template-columns: 1fr; gap: .2rem; }
  .section-head { flex-direction: column; align-items: start; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div:nth-child(2) { border-right: 0; }
  .spec div:nth-child(3) { padding-left: 0; }
  .spec div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec--stack { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: .5rem; }
  .faq-grid > .label { padding-top: 2rem; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 1.8rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .benefit:first-child { border-top: 0; }
  .benefit__n { margin-bottom: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ing-table th { width: 42%; padding-right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .fade { opacity: 1; transform: none; }
  .page-veil { display: none; }
}


/* =========================================================
   ESTILO v4 · cinematográfico
   Menos líneas técnicas, más profundidad: tarjetas redondeadas,
   medios grandes con esquinas suaves, brillos sutiles.
   ========================================================= */
:root { --r-lg: 28px; --r-md: 20px; --r-sm: 14px; }

body { background:
  radial-gradient(1200px 700px at 85% -10%, var(--glow-a), transparent 60%),
  radial-gradient(900px 600px at -10% 30%, var(--glow-b), transparent 60%),
  var(--bg);
  background-attachment: fixed; }

/* Etiquetas: menos "terminal", más editorial */
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .01em; text-transform: none;
  color: var(--fg-2);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.bg-navy .label, .cine .label { color: rgba(242, 241, 237, .85); }

/* Títulos un poco menos anchos, más cálidos */
.display, .h2, .h3, .benefit h3, .step h3, .drawer__nav a, .buybox h1, .ba-info h3, .price, .option .amt, .peptides strong, .logo { font-variation-settings: "wdth" 104; }
.display { font-weight: 600; letter-spacing: -0.04em; }
.h2 { font-weight: 600; letter-spacing: -0.035em; }

/* Hero: medio enmarcado con esquinas redondas */
.hero { background: transparent; padding: .9rem; gap: .9rem; min-height: calc(100svh - var(--header-h) - 34px); }
.hero__copy::before { display: none; }
.hero__copy { padding: clamp(1.5rem, 5vw, 4.5rem); border-radius: var(--r-lg); background: var(--bg-alt); }
.hero__media { border-radius: var(--r-lg); }

/* Fondos de sección */
.bg-bone { background: transparent; }
.bg-bone > .wrap, .bg-bone > .pdp { position: relative; }
.section.bg-bone { padding-inline: .9rem; }
.section.bg-bone > .wrap { background: var(--bg-alt); border-radius: var(--r-lg); padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.section.bg-bone.cta-band > .wrap { background:
  radial-gradient(80% 120% at 50% 120%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%), var(--bg-alt); }

/* Beneficios: tarjetas bento */
.benefits { gap: .9rem; border-top: 0; }
.benefit, .benefit + .benefit {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 250px;
  padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(180deg, color-mix(in srgb, var(--fg) 4%, transparent), transparent), var(--bg-alt);
  transition: transform .7s var(--ease), border-color .5s, box-shadow .7s var(--ease);
}
.benefit:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.benefit::before { display: none; }
.benefit__n { margin-bottom: 0; }
.benefit h3 { margin-top: auto; }
.benefit:last-child, .benefit:nth-child(2), .benefit:nth-child(n+3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }

/* Ficha técnica en panel */
.spec { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-alt); overflow: hidden; }
.spec div, .spec div + div { padding: 1.4rem 1.5rem; }
.spec--stack { background: transparent; border: 0; border-radius: 0; }
.spec--stack div, .spec--stack div + div { padding: 1.2rem 0; }

/* Medios redondeados */
.split__media, .video-frame, .product-visual, .ba-compare, .ba-empty, .gallery figure { border-radius: var(--r-lg); }
.gallery figure, .ba-compare { border-radius: var(--r-md); }
.product-visual { background: radial-gradient(70% 60% at 50% 40%, var(--bg-alt2), var(--bg-alt)); border: 1px solid var(--line); }
.video-frame { box-shadow: var(--shadow); }

/* Pasos en tarjetas */
.steps { gap: .9rem; border-top: 0; }
.step, .step + .step { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-alt); transition: transform .7s var(--ease), border-color .5s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step__n { font-family: var(--display); font-variation-settings: "wdth" 104; font-weight: 600; font-size: 2.8rem; }

/* Acordeón en tarjetas */
.accordion { border-top: 0; display: grid; gap: .6rem; }
.accordion details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-alt); padding: 0 1.4rem; transition: border-color .4s; }
.accordion details:hover, .accordion details[open] { border-color: var(--line-strong); }
.accordion summary:hover { padding-left: 0; }
.buybox .accordion details { background: transparent; }

/* Tabla de ingredientes en panel */
.ing-table { border-radius: var(--r-md); overflow: hidden; }

/* Video cinematográfico a pantalla completa */
.cine { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; margin: .9rem; border-radius: var(--r-lg); color: #f2f1ed; }
.cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 10, 12, .1) 30%, rgba(10, 10, 12, .85) 100%),
  linear-gradient(90deg, rgba(10, 10, 12, .55), transparent 60%); }
.cine__content { position: relative; width: 100%; padding-block: clamp(3rem, 8vw, 6rem); }
.cine__content .h2 { max-width: 14em; margin: 1.2rem 0 1.4rem; }
.cine__content .lede { color: rgba(242, 241, 237, .82); margin-bottom: 2rem; }

/* Opciones de compra y cantidad ya redondeadas; ajustes */
.option { border-radius: var(--r-sm); background: var(--bg-alt); }

/* Footer más suave */
.footer { margin: .9rem; border-radius: var(--r-lg); border: 0; background: #0c0c0c; }

/* Barra superior */
.announce { background: var(--bg-alt2); color: var(--fg-2); }

@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: .6rem; gap: .6rem; }
  .hero__media { aspect-ratio: 4 / 4.2; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-bottom: 1px solid var(--line); }
  .cine { min-height: 85svh; margin: .6rem; }
  .section.bg-bone { padding-inline: .6rem; }
  .footer { margin: .6rem; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec div:nth-child(n) { padding: 1.3rem 1.3rem; }
  .spec.spec--stack { grid-template-columns: 1fr; }
  .spec--stack div:nth-child(n) { padding: 1.2rem 0; border-right: 0; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit { min-height: 200px; }
}

/* =========================================================
   CARRITO
   ========================================================= */
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .3s, transform .4s var(--ease); }
.cart-btn:hover { border-color: var(--fg); }
.cart-btn:active { transform: scale(.9); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-2); color: #fff; font-family: var(--mono); font-size: .62rem; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: badge .6s var(--ease); }
@keyframes badge { 30% { transform: scale(1.5); } }

.cart-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.cart { position: fixed; top: .6rem; right: .6rem; bottom: .6rem; z-index: 90; width: min(440px, calc(100vw - 1.2rem)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transform: translateX(calc(100% + 1rem)); transition: transform .8s var(--ease); overflow: hidden; }
.cart-open .cart { transform: none; }
.cart-open .cart-scrim { opacity: 1; visibility: visible; }
.cart-open, .cart-open body { overflow: hidden; }
.cart__top { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart__title { font-family: var(--display); font-variation-settings: "wdth" 104; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.cart__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; overscroll-behavior: contain; }
.cart__empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 72px; height: 88px; border-radius: var(--r-sm); background: radial-gradient(70% 60% at 50% 40%, var(--bg-alt2), var(--bg-alt)); display: grid; place-items: center; }
.cart-item__img svg { width: 34px; height: auto; }
.cart-item__info { display: grid; gap: .15rem; }
.cart-item__info strong { font-weight: 600; }
.cart-item__info .muted { font-size: .88rem; }
.cart-item__qty { display: inline-grid; grid-template-columns: 30px 28px 30px; height: 32px; margin-top: .5rem; border: 1px solid var(--line-strong); border-radius: 999px; width: max-content; }
.cart-item__qty button:hover { color: var(--accent); }
.cart-item__qty output { display: grid; place-items: center; font-family: var(--mono); font-size: .85rem; }
.cart-item__side { display: grid; justify-items: end; gap: .5rem; }
.cart-item__price { font-weight: 500; }
.cart-item__rm { font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-item__rm:hover { color: var(--fg); }
.cart__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--bg-alt); }
.cart__foot:empty { display: none; }
.cart__sum { margin: 0 0 .6rem; display: grid; gap: .4rem; }
.cart__sum div { display: flex; justify-content: space-between; }
.cart__sum dt { color: var(--muted); }
.cart__sum dd { margin: 0; }
.cart__off dd, .cart__code { color: var(--accent); }
.cart__total { padding-top: .6rem; margin-top: .2rem; border-top: 1px solid var(--line); font-size: 1.15rem; }
.cart__total dt { color: var(--fg); }
.cart__total dd { font-weight: 600; }
.cart__code { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; margin: 0 0 .4rem; }
.cart__foot .small { margin-bottom: 1rem; }

/* Botón agregar en producto */
.btn.is-added::before { top: -30%; transform: translate(-50%, 0) scale(1); }
.btn.is-added { color: #fff; border-color: var(--accent-2); }

/* =========================================================
   VENTANA DE CORREO
   ========================================================= */
.pop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 1rem; pointer-events: none; }
.pop__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.pop__card { position: relative; width: min(460px, 100%); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%), var(--bg);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.pop.is-open { pointer-events: auto; }
.pop.is-open .pop__scrim { opacity: 1; }
.pop.is-open .pop__card { opacity: 1; transform: none; }
.pop__x { position: absolute; top: .8rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
.pop__x:hover { color: var(--fg); transform: rotate(90deg); }
.pop .h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 1rem 0 .8rem; }
.pop__form { display: grid; gap: .7rem; }
.pop__form input { height: 54px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-alt); color: var(--fg); font: inherit; transition: border-color .3s; }
.pop__form input:focus { outline: none; border-color: var(--accent); }
.pop__err { margin: 0; color: #ff8a7a; font-size: .85rem; }
.pop__no { font-size: .85rem; color: var(--muted); padding: .3rem; }
.pop__no:hover { color: var(--fg); }
.pop__legal { margin: .2rem 0 0; font-size: .72rem; color: var(--muted); text-align: center; }
.pop__done { display: grid; gap: .6rem; text-align: center; }
.pop__code { margin: 0; font-family: var(--mono); font-size: 1.8rem; letter-spacing: .12em; color: var(--accent); padding: .8rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); }

@media (max-width: 900px) {
  .cart-btn { width: 38px; height: 38px; }
}
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .roll > span:first-child { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* =========================================================
   PEDIDOS: paneles, formularios, línea de tiempo
   ========================================================= */
.panel { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-alt); }
.panel .spec--stack { margin-bottom: 1.6rem; }
.field-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field span { font-size: .85rem; color: var(--fg-2); }
.field input { height: 54px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: inherit; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--accent); }
.order-no { font-family: var(--mono); letter-spacing: .06em; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.order-line span { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.timeline li { position: relative; display: grid; gap: .6rem; font-size: .85rem; color: var(--muted); }
.timeline li span { height: 4px; border-radius: 4px; background: var(--line-strong); overflow: hidden; position: relative; }
.timeline li.is-done { color: var(--fg); }
.timeline li.is-done span { background: var(--accent); }
.timeline li.is-now span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shine 1.6s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--fg); }
.cart__sum .free { color: var(--accent); font-weight: 500; }

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal { padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal > * { max-width: 780px; }
.legal .updated { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--display); font-variation-settings: "wdth" 104; font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 2.6rem 0 .9rem; }
.legal h3 { font-weight: 600; font-size: 1.05rem; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { color: var(--fg-2); line-height: 1.75; }
.legal ul, .legal ol { padding-left: 1.2rem; margin: 0 0 1rem; display: grid; gap: .35rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .box { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-alt); margin: 1rem 0 1.4rem; }
.legal .box p { margin: 0 0 .3rem; }
.is-pending { background: color-mix(in srgb, #ffb020 25%, transparent); color: var(--fg); padding: 0 .3em; border-radius: 4px; }
.lang-note { display: none; }
html[lang="en"] .lang-note { display: block; }
.pop__legal a { text-decoration: underline; text-underline-offset: 2px; }
