/* ==========================================================================
   TVA Suplementos · landing / tienda
   ========================================================================== */
/* tipografías propias (antes Google Fonts): archivos variables, cubren todos los pesos usados; subconjunto latino */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); }

:root {
  --bg: #08080b;
  --bg-2: #0e0e13;
  --panel: #121218;
  --panel-2: #17171f;
  --ink: #f5f2ec;
  --muted: #a8a49c;
  --gold: #e6b655;
  --gold-2: #fbe3a3;
  --gold-3: #c09f63;
  --red: #c8141f;
  --ok: #4ade80;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --flavor: #ec5f9c;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }   /* links internos: debajo de la barra fija */
/* foco con el teclado: lo enfocado no queda debajo de la barra del catálogo (arriba) ni de la barra inferior del
   celular (WCAG 2.4.11, foco no tapado) */
.grid :is(a, button, [tabindex]) { scroll-margin-top: 130px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 96px; } }
html.scroll-lock { overflow: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* grano fino: le saca lo "digital" al negro */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 11px/1 var(--font-head); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); max-width: 52ch; }
.lead strong { color: var(--ink); font-weight: 600; }

/* texto dorado con un destello que lo recorre. Una animación activa, aunque no cambie nada, obliga al ciclo completo por
   cuadro (medido el 4-11: el barrido continuo más el borde giratorio de los botones costaban 600 ms cada 6 s en el hilo
   principal, contra 200 sin ninguna: 3 veces el muro de videos entero). Por eso corre como destello de 1,4 s cada 5 s
   (fx.glints pone .is-glint a los que están a la vista y la saca al terminar); sin ese JS, corre seguido como antes. */
.text-shine {
  font-style: normal;
  background: linear-gradient(110deg, var(--gold-3) 20%, var(--gold-2) 38%, #fff 48%, var(--gold-2) 58%, var(--gold-3) 78%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-shine.is-glint { animation: shine 1.4s linear 1; }
html:not(.live-gate) .text-shine { animation: shine 5s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ---------- botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 700 14px/1 var(--font-head); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 9px 13px; font-size: 12.5px; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; box-shadow: 0 8px 24px -10px rgba(230, 182, 85, 0.6); }
.btn--gold:hover { box-shadow: 0 12px 32px -10px rgba(230, 182, 85, 0.85); }
.btn--ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.08); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
/* borde con brillo girando: un cuadrado con el degradé cónico GIRA con transform (lo resuelve el compositor, sin
   repintar), recortado por el contorno redondeado del botón; ::after vuelve a poner la cara del botón encima y deja
   2 px de anillo. Antes giraba el ángulo del degradé (--a) y eso repintaba el botón en cada cuadro.
   Y como el destello del título, da una vuelta de 1,6 s cada 5 s (fx.glints); sin ese JS, gira seguido. */
.btn--glow { overflow: hidden; isolation: isolate; }
.btn--glow::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 125%; aspect-ratio: 1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 70%, #fff 80%, var(--gold-2) 85%, transparent 92%);
  transform: translate(-50%, -50%) rotate(0deg);
}
.btn--glow.is-glint::before { animation: spin 1.6s linear 1; }
html:not(.live-gate) .btn--glow::before { animation: spin 3.2s linear infinite; }
.btn--glow::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: inherit; background: inherit; pointer-events: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* barra de progreso del scroll */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold)); box-shadow: 0 0 10px rgba(230, 182, 85, 0.7); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  transition: background 0.35s, backdrop-filter 0.35s, padding 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled { background: rgba(8, 8, 11, 0.78); backdrop-filter: blur(16px); padding-block: 8px; box-shadow: 0 1px 0 var(--line); }
.nav__logo img { height: 40px; width: auto; filter: drop-shadow(0 2px 10px rgba(230, 182, 85, 0.25)); transition: height 0.35s; }
.nav.is-scrolled .nav__logo img { height: 38px; }
.nav__links { display: flex; gap: 26px; }
.nav__links-wa { display: none; }
.nav__links a { position: relative; font: 600 13px/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 0; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1a1405; font: 800 11px/20px var(--font-head); text-align: center; transform: scale(0); transition: transform 0.3s var(--ease-out); }
.cart-count.has-items { transform: scale(1); }
.cart-btn.is-bump { animation: bump 0.5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(0.94) rotate(4deg); } }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform 0.3s; }
@media (max-width: 900px) {
  .nav__links { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; background: rgba(14, 14, 18, 0.97); border: 1px solid var(--line); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: 0.25s var(--ease); }
  .nav__links a { padding: 12px 10px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__burger { display: block; }
  .nav__wa { display: none; }
  .nav__links .nav__links-wa { display: block; color: var(--gold-2); }
  .nav__logo img { height: 38px; }
}

/* ---------- inicio: muro de videos del local (assets/js/hero-wall.js) ---------- */
:root { --nav-h: 60px; }
.hero { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100svh; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(20px, 4vh, 48px)) 0 clamp(22px, 4vh, 40px); overflow: hidden; isolation: isolate; }
/* el póster como fondo: el navegador lo pide apenas lee la hoja de estilos, antes de que corra el JS */
.hero__wall { position: absolute; inset: 0; z-index: -1; background: #070708 url("../video/wall-h.webp") center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.hero__wall.is-ready { opacity: 1; }
/* invisible hasta que arranca: si el navegador no lo deja arrancar solo (iPhone en ahorro de batería), no se ve el botón
   de play que dibuja Safari, sino el póster de fondo */
.hero__wall-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.4s ease; }
.hero__wall-video.is-playing { opacity: 1; }
@media (max-width: 759px) { .hero__wall { background-image: url("../video/wall-v.webp"); } }   /* el mismo corte que hero-wall.js */
/* el tono dorado va horneado en el video (tools/reels/make_wall.py); queda el lado izquierdo oscuro para el texto y el
   fundido abajo hacia el resto de la página */
.hero__wall::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  /* el video nuevo es más luminoso (5-11): el oscurecido llega hasta donde termina el título, así no se lee nada detrás */
  background: linear-gradient(90deg, rgba(7, 7, 8, 0.96) 0%, rgba(7, 7, 8, 0.88) 36%, rgba(7, 7, 8, 0.45) 60%, rgba(7, 7, 8, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 8, 0.75) 14%, transparent 34%, transparent 78%, rgba(7, 7, 8, 0.6) 100%); }
.hero__inner { flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title { font-size: clamp(40px, 5.6vw, 82px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.98; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6); }
.hero__title > span, .hero__title em { display: block; }
.hero__copy .lead { margin-top: 18px; max-width: 46ch; color: rgba(245, 242, 236, 0.82); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--lg { padding: 15px 24px; font-size: 15px; }
.btn--lg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn--lg:hover svg { transform: translateX(3px); }
/* el blur del botón fantasma queda solo acá, sobre el muro de videos; en el resto está sobre fondos lisos y no se notaba */
.hero__btns .btn--ghost { background: rgba(10, 10, 14, 0.45); backdrop-filter: blur(8px); }
.hero__btns .hero__track { color: var(--gold-2); border-color: rgba(230, 182, 85, 0.4); }
.hero__btns .hero__track:hover svg { transform: none; }
/* entrada del inicio, en CSS: arranca con el primer cuadro, sin esperar al JavaScript. Antes el texto quedaba oculto
   (opacidad 0) hasta que corría main.js, y Chrome no cuenta como pintado lo que tiene opacidad 0: en celulares el
   contenido principal (LCP) aparecía ~1 s más tarde. Las letras del título suben dentro de su palabra (como el
   SplitText de antes: 115 %, 6°, 1 s, 25 ms entre letras); lo demás sube desde opacidad 0.1, no 0, por lo mismo. */
.hero__title .hw { display: inline-block; vertical-align: top; overflow: clip; padding: 0.14em 0 0.08em; margin: -0.14em 0 -0.08em; }
.hero__title .hc { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title .hc { animation: hero-char 1s cubic-bezier(0.23, 1, 0.32, 1) calc(var(--i) * 25ms) both; }
  .hero__title em { animation: hero-em 1.1s cubic-bezier(0.645, 0.045, 0.355, 1) 0.35s both; }
  /* el destello se suma sin sacar la entrada (si se sacara, el texto volvería al estado inicial de hero-em) */
  .hero__title em.is-glint { animation: hero-em 1.1s cubic-bezier(0.645, 0.045, 0.355, 1) 0.35s both, shine 1.4s linear 1; }
  html:not(.live-gate) .hero__title em { animation: hero-em 1.1s cubic-bezier(0.645, 0.045, 0.355, 1) 0.35s both, shine 5s linear infinite; }
  .hero__copy .eyebrow, .hero__copy .lead, .hero__btns .btn { animation: hero-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.25s both; }
  .hero__copy .lead { animation-delay: 0.33s; }
  .hero__btns .btn:nth-child(1) { animation-delay: 0.41s; }
  .hero__btns .btn:nth-child(2) { animation-delay: 0.49s; }
  .hero__btns .btn:nth-child(3) { animation-delay: 0.57s; }
  .hero .perks li, .hero-code { animation: hero-up 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.45s both; }
  .hero .perks li:nth-child(2) { animation-delay: 0.52s; }
  .hero-code { animation-delay: 0.59s; }
}
@keyframes hero-char { from { transform: translateY(115%) rotate(6deg); } }
@keyframes hero-em { from { clip-path: inset(0 100% 0 0); transform: translateX(-20px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes hero-up { from { opacity: 0.1; transform: translateY(24px); } }
/* buscador redondeado (lo usa el catálogo) */
.search { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 20px; max-width: 480px; padding: 5px 5px 5px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); }
.search:focus-within { border-color: rgba(230, 182, 85, 0.6); box-shadow: 0 0 0 4px rgba(230, 182, 85, 0.12); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 500 15px var(--font-body); outline: none; }
.search input::placeholder { color: #949087; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font: 600 13px/1 var(--font-head); color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.chip:hover { border-color: rgba(230, 182, 85, 0.5); background: rgba(230, 182, 85, 0.08); transform: translateY(-2px); }
.chip small { color: var(--muted); font-weight: 600; }

/* debajo del texto del inicio, alineado a la izquierda: los dos datos y, al lado, el código de descuento (en el celular,
   abajo de los dos) */
.hero__foot { display: flex; align-items: stretch; gap: 10px; margin-top: clamp(18px, 2.4vw, 34px); }
.perks { flex: 0 1 610px; display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 10, 14, 0.6); backdrop-filter: blur(10px); }
.perks b { font: 900 22px/1 var(--font-head); color: var(--gold-2); min-width: 1.6em; }
.perks b svg { display: block; width: 22px; height: 22px; }
.perks span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.hero-code { flex: 0 1 400px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 10, 14, 0.6); backdrop-filter: blur(10px); }
.hero-code > b { flex: none; color: var(--gold-2); }
.hero-code > b svg { display: block; width: 22px; height: 22px; }
.hero-code .code { flex: 1; min-width: 0; }
/* contorno dorado de los dos datos y del código. Al cargar (las tres cajas a la vez, cuando ya terminó la entrada)
   un destello da UNA vuelta desde arriba y va dejando el borde pintado de dorado; al cerrar la vuelta el destello se
   apaga y queda el contorno dorado entero, quieto. Antes giraba todo el tiempo y, con el muro de videos y el brillo
   del título, era demasiado movimiento junto.
   El aro es un degradé cónico (::before) recortado al borde con una máscara: dorado de 0 a --fill, el destello (--head)
   en la punta y dorado tenue en lo que falta pintar. Se animan --fill (0 → 360°) y --head (claro → dorado);
   @property deja interpolarlos y su valor inicial es el final, así que sin animación (con "reducir movimiento", en
   equipos lentos o en navegadores sin @property) el contorno ya está pintado. */
@property --fill { syntax: "<angle>"; initial-value: 360deg; inherits: false; }
@property --head { syntax: "<color>"; initial-value: #e6b655; inherits: false; }
.perks li, .hero-code { position: relative; border-color: transparent; box-shadow: 0 0 18px -10px rgba(230, 182, 85, 0.35); }
.perks li::before, .hero-code::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; padding: 1.5px; border-radius: inherit; pointer-events: none;
  --fill: 360deg; --head: #e6b655;
  background: conic-gradient(var(--gold) 0deg, var(--gold) max(0deg, calc(var(--fill) - 40deg)), var(--head) var(--fill), rgba(230, 182, 85, 0.16) var(--fill), rgba(230, 182, 85, 0.16) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  .perks li::before, .hero-code::before { animation: ring-draw 2.2s cubic-bezier(0.45, 0, 0.25, 1) 1.6s 1 both; }
}
@keyframes ring-draw {
  0% { --fill: 0deg; --head: #fff6d8; }
  85% { --head: #fff6d8; }
  100% { --fill: 360deg; --head: #e6b655; }
}

/* ---------- código de descuento: el mismo campo en el inicio, el carrito y el checkout (assets/js/codigo.js) ---------- */
.code__form { display: flex; gap: 8px; }
/* 16 px: con menos, el iPhone hace zoom al tocar el campo */
.code__form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: var(--ink); font: 600 16px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.code__form input::placeholder { color: #949087; font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; }
.code__form input:focus { border-color: rgba(230, 182, 85, 0.6); box-shadow: 0 0 0 4px rgba(230, 182, 85, 0.12); }
.code__form input[aria-invalid="true"] { border-color: rgba(248, 113, 113, 0.7); }
.code__form .btn { flex: none; height: 40px; }
.code__msg { margin-top: 6px; color: #fca5a5; font-size: 12.5px; line-height: 1.35; }
.code__msg:empty { display: none; }
.code__open { min-height: 28px; padding: 4px 0; border: 0; background: none; color: var(--gold-2); font: 600 13px/1.2 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.code__on { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: 13.5px; line-height: 1.3; color: #bbf7d0; }
.code__on svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.code__on span { min-width: 0; font-size: inherit; color: inherit; }
.code__on b { color: #fff; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.code__on button { flex: none; margin-left: auto; padding: 6px 0 6px 8px; border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.code__on button:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero__inner { align-items: flex-end; }
  .hero__wall::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 8, 0.9) 30%, rgba(7, 7, 8, 0.55) 55%, rgba(7, 7, 8, 0.35) 75%, rgba(7, 7, 8, 0.6) 100%); }
  .hero__foot { flex-direction: column; }
  .perks { flex: none; grid-template-columns: repeat(2, 1fr); }
  .hero-code { flex: none; }
  .perks li { padding: 12px 14px; gap: 10px; }
  .perks b { font-size: 22px; }
  .perks span { font-size: 12.5px; }
}
/* celular: el inicio más liviano (11/2026: "quedó muy saturado de cosas"). Los dos botones en una fila; abajo, los dos
   datos sin cajas y una fila con dos links alineados a sus columnas: "Seguí tu pedido" (en la computadora es el tercer
   botón) y "¿Tenés un código?", que abre el campo (assets/js/codigo.js → data-collapsed-small) */
.hero__link { display: none; }
@media (max-width: 759px) {
  .hero__btns { gap: 10px; }
  .hero__btns .btn { flex: 1 1 auto; justify-content: center; padding: 14px 16px; font-size: 14.5px; white-space: nowrap; }
  .hero__btns .hero__track { display: none; }
  .hero__foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hero__foot .perks { grid-column: 1 / -1; gap: 12px; }
  /* (.hero .hero__foot adelante: le gana a .lite .perks li y .lite .hero-code, que vienen después) */
  .hero .hero__foot .perks li, .hero .hero__foot .hero-code { padding: 0; border: 0; background: none; backdrop-filter: none; box-shadow: none; }
  .hero .perks li::before, .hero .hero-code::before { display: none; }
  .hero .perks li { gap: 10px; }
  .perks b { min-width: 0; font-size: 22px; }
  .perks span { font-size: 12.5px; }
  /* en una línea hasta en 360 px de ancho (cada columna tiene ~158 px) */
  .hero__link, .code__open--small { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0; border: 0; background: none;
    color: var(--gold-2); font: 700 clamp(13px, 3.7vw, 14px)/1.2 var(--font-head); text-align: left; white-space: nowrap; text-decoration: none; cursor: pointer; }
  .hero__link svg, .code__open--small svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .hero .hero-code { gap: 7px; }
  /* la etiqueta va adentro del link (codigo.js); la de afuera solo acompaña al campo abierto o a un codigo.js viejo */
  .hero-code > b svg { width: 19px; height: 19px; }
  .hero-code:has(> .code > .code__open--small) > b { display: none; }
  .code__full { display: none; }
  /* con el campo abierto o el código puesto, ocupa la fila entera */
  .hero .hero-code:has(> .code > .code__form, > .code > .code__on) { grid-column: 1 / -1; }
}
@media (min-width: 760px) { .code__open--small { display: none; } }

/* ---------- sabores (3D por scroll) ---------- */
.flavors { position: relative; z-index: 3; padding: 0 0 clamp(10px, 2vw, 24px); outline: none; }
.flavors__stage { position: relative; height: min(90svh, 760px); min-height: 540px; touch-action: pan-y; }
/* panel que "recibe" al sobre: el sobre asoma por arriba del borde e invade apenas el hero */
.flavors__panel {
  position: absolute; inset: 0; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; overflow: hidden;
  background:
    radial-gradient(48% 55% at var(--glow-x, 66%) 52%, color-mix(in srgb, var(--flavor) 34%, transparent), transparent 72%),
    radial-gradient(80% 60% at 50% 120%, #1c1c24 0%, transparent 70%),
    linear-gradient(#0f0f15, #0a0a0e);
  border-top: 1px solid rgba(251, 227, 163, 0.22);
  box-shadow: 0 -40px 90px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.6s;
}
.flavors__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55)); }
.flavors__canvas { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.6s; overflow: hidden; border-radius: inherit; }
.gl .flavors__canvas { opacity: 1; }
.flavors__canvas canvas { display: block; width: 100%; height: 100%; }
.flavors__fallback { position: absolute; z-index: 1; display: none; right: 4%; top: 12%; width: min(44%, 560px); height: auto; }
.no-gl .flavors__fallback, .gl-late:not(.gl) .flavors__fallback { display: block; }

.flavors__copy, .flavors__finale { position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(440px, 36vw); }
.flavors__copy { will-change: opacity, transform; }
/* nombre grande: una caja de alto fijo (el bloque de texto mide siempre lo mismo y las fotos no saltan al cambiar de
   producto). Un nombre corto va en un renglón grande; uno largo se parte en dos o tres renglones parejos con letra más
   chica (flavors.js → fitName), en vez de achicarse en un solo renglón hasta no poder leerse */
.flavor-name { position: relative; height: 1.3em; display: flex; flex-direction: column; justify-content: center; overflow: hidden; font-size: clamp(32px, 4vw, 58px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; }
.flavor-name span { display: block; white-space: nowrap; line-height: 1.04; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--flavor) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flavor-name span.is-wrap { white-space: normal; text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; }
/* si ni así entra (un nombre larguísimo), se corta al tercer renglón con "…" y el nombre completo queda en el título */
.flavor-name span.is-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* "Más vendido · marca" en un solo renglón (con una marca larga queda solo "Más vendido": ver flavors.js) */
.flavors__copy .eyebrow { max-width: 100%; white-space: nowrap; }
.flavor-facts { margin-top: 10px; color: var(--muted); font-size: 14px; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; }
.price-block b { font: 900 clamp(30px, 2.7vw, 40px)/1 var(--font-head); letter-spacing: -0.02em; color: #a7f3c0; }
.price-transfer { padding: 6px 10px; border-radius: 999px; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #bbf7d0; font: 700 12.5px/1 var(--font-head); }
.price-block small { width: 100%; color: var(--muted); font-size: 13.5px; }
/* las cuotas sin interés, en una pastilla dorada: la misma de "con transferencia", en el dorado de la marca (destacados
   y vista rápida). Al lado, el total de lista */
.price-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; margin-top: 6px; }
.price-more small { width: auto; }
.price-cuotas, .qv__price-cuotas { padding: 6px 10px; border-radius: 999px; background: rgba(230, 182, 85, 0.1); border: 1px solid rgba(230, 182, 85, 0.38); color: var(--gold-2); font: 700 12.5px/1 var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 13px/1 var(--font-head); color: #bbf7d0; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.stock.is-out { color: #fca5a5; }
.stock.is-out::before { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.flavors .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.flavor-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.flavor-dot { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font: 600 12px/1 var(--font-head); color: var(--muted); cursor: pointer; transition: 0.25s var(--ease); }
.flavor-dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); }
.flavor-dot[aria-selected="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); }
.flavor-dot.is-out { text-decoration: line-through; opacity: 0.6; }
.flavors__finale { opacity: 0; visibility: hidden; }
.flavors__finale h2 { font-size: clamp(54px, 7vw, 104px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 11px/1 var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

@media (max-width: 760px) {
  .flavors__stage { height: 100svh; min-height: 680px; }
  .flavors__copy, .flavors__finale { top: auto; bottom: max(84px, calc(env(safe-area-inset-bottom) + 76px)); transform: none; width: auto; right: var(--gutter); }
  .flavors__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 56%; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(10, 10, 14, 0.96) 35%, transparent); }
  .flavor-name { font-size: clamp(38px, 11vw, 52px); }
  .flavors__copy .eyebrow { display: none; }
  .flavor-facts { display: none; }
  .price-block { margin-top: 12px; }
  .price-block b { font-size: 30px; }
  .flavors .actions { margin-top: 14px; }
  .flavors .actions .btn { padding: 12px 16px; font-size: 13px; }
  /* el contador −/+ del alto del botón "Ver carrito": al sumar, el bloque no crece ni mueve las fotos */
  .flavors .actions .stepper--lg { height: auto; align-self: stretch; }
  .flavors .actions .stepper--lg button { height: auto; align-self: stretch; }
  .flavor-dots { margin-top: 14px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .flavor-dot { flex: none; padding: 7px 10px; }
  .stock { margin-top: 10px; }
  .scroll-hint { display: none; }
  .flavors__fallback { right: 10%; top: 6%; width: 80%; }
}

/* ---------- secciones ---------- */
.section-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.section-head h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; }
.section-head .lead { margin-top: 8px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }

/* ---------- catálogo ---------- */
.catalog { position: relative; z-index: 4; padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5vw, 72px); background: linear-gradient(var(--bg), var(--bg-2)); }
/* encabezado: título, las dos condiciones que valen para todo (así no se repiten en cada tarjeta) y el buscador */
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); grid-template-areas: "t s" "f s"; align-items: end; gap: 12px 40px; margin-bottom: 22px; }
.cat-head h2 { grid-area: t; font-size: clamp(26px, 3.2vw, 44px); font-weight: 900; text-wrap: balance; }
.cat-facts { grid-area: f; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 14px; }
.cat-facts b { color: var(--ink); font-weight: 600; }
.cat-facts li:empty { display: none; }
.cat-search { grid-area: s; }
.search--inline { flex: 1; min-width: 0; margin: 0; max-width: none; padding: 2px 14px; border-radius: 14px; }
@media (max-width: 760px) {
  .cat-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "f" "s"; gap: 10px; margin-bottom: 16px; }
  .cat-facts { gap: 4px 16px; font-size: 13px; }
  .cat-search { margin-top: 4px; }
}

/* barra fija al bajar: todo el ancho, opaca y finita (antes era una caja que flotaba tapando tarjetas) */
.toolbar { position: sticky; top: 62px; z-index: 20; margin-bottom: 16px; border-block: 1px solid var(--line); background: rgba(10, 10, 13, 0.95); transition: top 0.45s var(--ease-out); }   /* sin blur: con el fondo casi opaco no se notaba y se recalculaba en cada cuadro del scroll */
.toolbar__in { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding-block: 9px; }
.toolbar__in .chips--filter { flex: 1; }
.sortby select { height: 36px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a49c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 15px; color: var(--ink); font: 600 13px/1 var(--font-head); -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color 0.2s; }
.sortby select option { background: #15151b; }
.tbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font: 600 13px/1 var(--font-head); white-space: nowrap; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.tbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sortby select:hover, .tbtn:hover { border-color: rgba(230, 182, 85, 0.5); }
.tbtn[aria-expanded="true"] { border-color: rgba(230, 182, 85, 0.6); color: var(--gold-2); }
.toolbar__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1405; font: 800 11px/20px var(--font-head); text-align: center; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-block: 2px 16px; }
.filter-row:not([hidden]) { animation: drop 0.3s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
/* categorías en una sola línea, sin desplazamiento lateral: lo que no entra va al botón "Más" (catalog.js) */
.chips { position: relative; display: flex; gap: 6px; min-width: 0; }
.chips--filter { flex-wrap: nowrap; overflow: visible; }
.chips--filter .chip[hidden] { display: none; }
.chips--filter .chip.is-zero small { opacity: 0.5; }
.chip--more { margin-left: auto; }
.chip--more svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.chip--more[aria-expanded="true"] svg { transform: rotate(180deg); }
.chips--filter .chip--more { border-color: var(--line-2); }
.chips--filter .chip--more.is-on { border-color: transparent; }
/* panel con el resto de las categorías (en celulares, con todas): a la vista, en grilla */
.cat-pop { position: absolute; z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 6px; padding: 10px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(16, 16, 22, 0.98); box-shadow: 0 24px 50px -18px #000; animation: drop 0.22s var(--ease-out); }
.cat-pop[hidden] { display: none; }
.cat-pop .chip { justify-content: space-between; min-height: 40px; text-align: left; }
.cat-pop .chip.is-zero { opacity: 0.5; }
.cat-pop .chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; border-color: transparent; opacity: 1; }
.cat-pop .chip[aria-pressed="true"] small { color: #3a2f12; }
.chips--filter .chip { flex: none; border-color: transparent; background: transparent; position: relative; z-index: 1; }
.chips--filter .chip[aria-pressed="true"] { color: #1a1405; }
.chips--filter .chip[aria-pressed="true"] small { color: #4a3c17; opacity: 1; }
.chips__pill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); z-index: 0; transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out); }
.price-range { min-width: 240px; flex: 1; max-width: 360px; }
.price-range__head { display: flex; justify-content: space-between; font: 600 12px/1 var(--font-head); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.price-range__head b { color: var(--ink); letter-spacing: 0; text-transform: none; }
.price-range__track { position: relative; height: 28px; margin-top: 6px; }
.price-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.price-range__track i { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.price-range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 2px 8px #000; cursor: grab; }
.price-range input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: grab; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 600 13px/1 var(--font-head); color: var(--muted); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle i { position: relative; width: 40px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); transition: background 0.25s; }
.toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease-out); }
.toggle input:checked + i { background: var(--gold); }
.toggle input:checked + i::after { transform: translateX(18px); }
.toggle input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }

/* cantidad y filtros puestos, cada uno con su cruz */
.results-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 30px; margin-bottom: 6px; }
.results { color: var(--muted); font-size: 13px; }
.results b { color: var(--ink); }
.applied { display: flex; flex-wrap: wrap; gap: 6px; }
.applied:empty { display: none; }
.fchip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid rgba(230, 182, 85, 0.35); background: rgba(230, 182, 85, 0.08); color: var(--gold-2); font: 600 12px/1 var(--font-head); cursor: pointer; transition: border-color 0.2s; }
.fchip::after { content: ""; position: absolute; inset: -7px 0; }   /* zona de toque de 44 px */
.fchip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fchip:hover { border-color: var(--gold); }
.fchip--all { padding: 0 6px; border-color: transparent; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* grilla: con el título de cada categoría ocupando la fila entera (más aire arriba que abajo) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 30px 18px; }
.grid__group { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 14px 0 -12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 800 clamp(17px, 1.5vw, 20px)/1.1 var(--font-head); letter-spacing: -0.01em; }
.grid__group.is-first { margin-top: 0; }
.grid__group small { color: var(--muted); font: 600 13px/1 var(--font-body); letter-spacing: 0; }

/* tarjeta: foto en un fondo parejo y debajo, siempre en el mismo orden, marca y sabores, nombre (2 líneas), precio
   y precio con transferencia. Sin caja alrededor ni colores por categoría: lo que cambia entre tarjetas es el producto */
.card { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; cursor: pointer; }
.card__top { position: relative; margin-bottom: 8px; }
/* sin overflow: hidden ni drop-shadow: el recorte redondeado y la sombra calculada eran lo más caro de dibujar en la
   primera pasada por el catálogo (medido: 48,9 → 52,8 fps y de 16 a 9 cuadros lentos). La sombra es una elipse fija en
   el piso y la foto de la tienda lleva su propio redondeo */
.card__media { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(75% 70% at 50% 58%, #1f1b15, #121216 72%); transition: border-color 0.3s; }
.card__media::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 7%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent); }
.card__img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.card__img--photo { inset: 0; width: 100%; height: 100%; border-radius: 15px; object-fit: cover; object-position: 50% 62%; }
.badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(230, 182, 85, 0.4); background: rgba(8, 8, 11, 0.8); color: var(--gold-2); font: 700 9.5px/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }
.badge--low { border-color: rgba(251, 191, 36, 0.45); color: #fde68a; }
.badge--out { border-color: rgba(239, 68, 68, 0.45); color: #fecaca; }
.card__act { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.card__add { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.85); cursor: pointer; transition: transform 0.25s var(--ease-out); }
.card__add::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }   /* zona de toque de 48 px */
.card__add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card__add:active { transform: scale(0.9); }
.card__add--wa { border: 1px solid var(--line-2); background: rgba(8, 8, 11, 0.85); color: var(--gold-2); }
.card__add--wa svg { width: 18px; stroke-width: 1.9; }
.card__title { min-height: 2.6em; font: 600 14px/1.3 var(--font-head); letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.card__meta { overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.card__price { display: grid; gap: 3px; margin-top: 4px; }
.card__price-tr { display: flex; align-items: center; gap: 7px; }
.card__price-tr b { font: 900 19px/1 var(--font-head); color: #a7f3c0; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.card__price-tr em, .qv__price-tr em { padding: 3px 6px; border-radius: 6px; background: rgba(74, 222, 128, 0.16); color: #bbf7d0; font: 800 10px/1 var(--font-head); font-style: normal; white-space: nowrap; }
.card__price small { color: #86efac; font: 600 11.5px/1.2 var(--font-body); }
.card__price-list, .card__price-cuotas { overflow: hidden; color: var(--muted); font: 500 12px/1.3 var(--font-body); white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
/* "3 cuotas sin interés": entero y en dorado, a la par del verde de la transferencia; debajo, lo que sale cada cuota */
.card__price-cuotas { margin-top: 3px; color: var(--gold-2); font-weight: 700; }
.card__price-list b { color: var(--ink); font-weight: 800; }
/* cuántos de ese producto hay en el carrito (sobre el "+" de los que tienen sabores) */
.card__n { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; border: 1px solid var(--gold); background: #0b0b0f; color: var(--gold-2); font: 800 10.5px/17px var(--font-head); text-align: center; }
/* contador −/+ del carrito (tarjeta, vista rápida, destacados), como en Rappi o PedidosYa */
.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; box-shadow: 0 8px 22px -10px rgba(230, 182, 85, 0.75); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; font: 800 21px/1 var(--font-head); }
.stepper button:active { transform: scale(0.88); }
/* sin más stock: el "+" apagado pero tocable; al tocarlo el contador tiembla y sale el aviso */
.stepper button[aria-disabled="true"], .qty button[aria-disabled="true"] { opacity: 0.35; cursor: not-allowed; }
.is-nope { animation: nope 0.36s ease; }
@keyframes nope { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.stepper button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stepper span { min-width: 20px; text-align: center; font: 900 16px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stepper--lg { height: 46px; }
.stepper--lg button { width: 50px; height: 46px; font-size: 22px; }
.stepper--lg span { min-width: 30px; font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .card__step, .qv__step, .stepper--lg { animation: step-in 0.28s var(--ease-out); transform-origin: right center; }
}
@keyframes step-in { from { transform: scale(0.6); opacity: 0; } }
/* "Ver carrito" con el número de productos arriba a la derecha */
.btn--cart { position: relative; }
.cart-badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1405; font: 800 11.5px/22px var(--font-head); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.cart-badge:not(.has-items) { display: none; }
.card.is-out .card__img { opacity: 0.55; }
.card.is-out .card__title, .card.is-out .card__price { opacity: 0.6; }
/* sin el desplazamiento de [data-reveal]: las tarjetas las mueve catalog.js (makeRevealIO) */
.card[data-reveal] { opacity: 0; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media { border-color: rgba(230, 182, 85, 0.45); }
  .card:hover .card__img:not(.card__img--photo) { transform: translateY(-4%) scale(1.05); }
  .card:hover .card__title { color: var(--gold-2); }
  .card__add:hover { transform: scale(1.08); }
}

.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 14px; }
/* "ver más" con cuánto se vio (Baymard: botón para cargar más antes que scroll infinito) */
.more { display: grid; justify-items: center; gap: 12px; margin-top: 40px; }
.more__count { color: var(--muted); font-size: 13px; }
.more__bar { width: 160px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.more__bar::after { content: ""; display: block; height: 100%; background: var(--gold); transform: scaleX(var(--seen, 0)); transform-origin: left; transition: transform 0.4s var(--ease-out); }

@media (max-width: 760px) {
  .toolbar { top: 60px; }
  .toolbar__in { gap: 8px; min-height: 54px; }
  /* celular: categoría, orden y filtros, tres botones parejos */
  .chips--filter.is-compact { flex: 1 1 0; }
  .chips--filter.is-compact .chip--more { width: 100%; height: 36px; justify-content: space-between; margin: 0; border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
  .chips--filter.is-compact [data-more-label] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .chips--filter.is-compact [data-more-n] { display: none; }
  .sortby { flex: 1 1 0; min-width: 0; }
  /* con el carrito en la barra (4 botones), "Destacados" entra entero: menos relleno y letra un punto más chica */
  .toolbar__in { gap: 6px; }
  .sortby select { width: 100%; padding: 0 24px 0 10px; font-size: 14px; background-position: right 8px center; }
  .chips--filter.is-compact .chip--more { padding-inline: 10px 8px; font-size: 14px; }
  .tbtn { padding: 0 11px; }
  .tbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cat-pop { left: 0; right: 0 !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-range { min-width: 100%; }
}
@media (max-width: 370px) {
  .sortby select, .chips--filter.is-compact .chip--more { font-size: 13px; }
  .footer__btns { gap: 6px; }
  .footer__btns .footer__btn { gap: 6px; padding: 0 6px; font-size: 12.5px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .grid__group { margin: 10px 0 -10px; }
  .card__media { border-radius: 14px; }
  .card__img--photo { border-radius: 13px; }
  .card__title { font-size: 13.5px; }
  .card__price-tr b { font-size: 17px; }
  .card__price-tr { gap: 5px; }
  .card__price-tr em { padding: 3px 5px; font-size: 9.5px; }
  .card__price small, .card__price-list, .card__price-cuotas { font-size: 11px; }
  .badge { left: 8px; top: 8px; }
  .card__act { right: 8px; bottom: 8px; }
  .card__add { width: 38px; height: 38px; }
  .card__step { height: 38px; }
  .card__step button { width: 36px; height: 38px; }
}

/* ---------- reseñas (assets/js/resenas.js) ----------
   Compacta: el título con el puntaje al lado (con su brillo) y "Dejá tu reseña" a la derecha; debajo, una sola cinta de
   tarjetas que avanza sola (la animación es solo transform: la hace la placa de video y no carga el hilo principal;
   corre solo a la vista). */
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M12 1.6l3.1 6.4 7 .9-5.1 4.9 1.3 6.9L12 17.3l-6.3 3.4 1.3-6.9-5.1-4.9 7-.9z'/%3E%3C/svg%3E"); }
.reviews { position: relative; z-index: 4; isolation: isolate; overflow: hidden; padding: clamp(30px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); background: var(--bg); }
.reviews__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 60% at 16% 40%, rgba(230, 182, 85, 0.12), transparent 70%), radial-gradient(40% 60% at 86% 70%, rgba(192, 159, 99, 0.09), transparent 70%); }
.reviews__head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-bottom: clamp(10px, 1.4vw, 18px); }
.reviews__head h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; }
.reviews__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.reviews__actions { display: flex; align-items: center; gap: 10px; }
/* puntaje: el número dorado con un brillo que lo cruza al terminar de contar */
.rv-score { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 15px; border: 1px solid rgba(230, 182, 85, 0.3);
  background: linear-gradient(135deg, rgba(230, 182, 85, 0.11), rgba(255, 255, 255, 0.02)); box-shadow: 0 18px 44px -30px rgba(230, 182, 85, 0.7); }
.rv-score__n { font: 900 clamp(28px, 2.6vw, 36px)/0.9 var(--font-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--gold-3) 20%, var(--gold-2) 40%, #fff 50%, var(--gold-2) 60%, var(--gold-3) 80%) 100% 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-score.is-done .rv-score__n { animation: rv-shine 1.5s ease-out 1 both; }
@keyframes rv-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.rv-score__side { display: grid; gap: 5px; }
.rv-score small { color: var(--muted); font: 600 11.5px/1 var(--font-head); }
/* estrellas: cinco estrellas recortadas con una máscara; el dorado cubre --v de 5 (se puede animar) */
.rv-stars { --v: 5; --s: 13px; display: inline-block; flex: none; width: calc(var(--s) * 140 / 24); height: var(--s);
  background: linear-gradient(90deg, var(--gold-2), var(--gold)) 0 0 / calc(var(--v) * 20%) 100% no-repeat, rgba(255, 255, 255, 0.18);
  -webkit-mask: var(--star) 0 0 / calc(var(--s) * 28 / 24) var(--s) repeat-x; mask: var(--star) 0 0 / calc(var(--s) * 28 / 24) var(--s) repeat-x; }
.rv-stars--lg { --s: 16px; }
/* la cinta: con los bordes que se funden, apenas inclinada y con una banda dorada finita detrás */
.reviews__wall { padding: 8px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-row { position: relative; overflow: hidden; padding: 12px 0; transform: rotate(-0.8deg);
  background: linear-gradient(90deg, transparent, rgba(230, 182, 85, 0.05) 30%, rgba(230, 182, 85, 0.05) 70%, transparent);
  border-block: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(230, 182, 85, 0.28), transparent) 1; }
/* (el espacio de los costados es la mitad del espacio entre tarjetas: así la vuelta no se nota) */
.rv-track { display: flex; gap: 14px; width: max-content; padding-inline: 7px; animation: rv-marquee var(--dur, 60s) linear infinite paused; }
.reviews__wall.is-on .rv-track { animation-play-state: running; }
.reviews__wall .rv-row:hover .rv-track, .reviews__wall .rv-row.is-held .rv-track, .reviews__wall.is-paused .rv-track, .lite .rv-track { animation-play-state: paused; }
@keyframes rv-marquee { to { transform: translateX(-50%); } }
/* con pocas reseñas (o con "reducir movimiento"): quietas en una fila que se desliza con el dedo; si entran, centradas */
.reviews__wall.is-static { -webkit-mask: none; mask: none; padding: 0; }
.rv-static { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 10px var(--gutter) 14px; scrollbar-width: thin; scrollbar-color: rgba(230, 182, 85, 0.35) transparent; }
.rv-static > .rv-card { scroll-snap-align: start; }
.rv-static > .rv-card:first-child { margin-left: auto; }
.rv-static > .rv-card:last-child { margin-right: auto; }
.rv-static:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* tarjeta: se inclina hacia el cursor (--rx, --ry) con un reflejo que lo sigue (--gx, --gy) */
.rv-card { --rx: 0deg; --ry: 0deg; position: relative; flex: none; width: clamp(256px, 21vw, 300px); display: flex; flex-direction: column; gap: 9px; padding: 14px 15px 13px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 60%), var(--panel); border: 1px solid var(--line); box-shadow: 0 22px 44px -30px #000;
  transition: transform 0.45s var(--ease-out), border-color 0.3s, box-shadow 0.3s; }
.rv-card::before { content: "\201C"; position: absolute; right: 12px; top: -4px; font: 900 50px/1 var(--font-head); color: rgba(230, 182, 85, 0.14); pointer-events: none; }
.rv-card.is-tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-3px); border-color: rgba(230, 182, 85, 0.45);
  box-shadow: 0 30px 54px -30px #000, 0 0 40px -14px rgba(230, 182, 85, 0.5); transition-duration: 0.12s, 0.3s, 0.3s; }
.rv-card__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 0%), rgba(251, 227, 163, 0.17), transparent 62%); }
.rv-card.is-tilt .rv-card__glare { opacity: 1; }
/* arriba: las estrellas y el producto (el que tocás te lleva al catálogo) */
.rv-card__top { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 26px; padding-right: 30px; }
.rv-card__badge { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.32);
  color: #bbf7d0; font: 700 10px/1 var(--font-head); letter-spacing: 0.02em; white-space: nowrap; }
.rv-card__badge svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rv-card__src { flex: none; color: var(--gold-2); font: 700 10.5px/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }      /* sin estrellas: "Vía Instagram" */
.rv-card__sample { color: var(--gold); font-weight: 700; }      /* reseñas de ejemplo (solo en la PC, tools/dev/resenas-de-ejemplo.mjs) */
.rv-card__prod { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 2px 10px 2px 2px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: var(--muted); font: 600 10.5px/1.1 var(--font-head); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.rv-card__prod img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.rv-card__prod span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.rv-card__prod:hover { color: var(--ink); border-color: rgba(230, 182, 85, 0.45); }
.rv-card__text { flex: 1 1 auto; margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.5; min-height: calc(1.5em * 3); white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* abajo: quién la dejó, con "Compra verificada" al lado del nombre */
.rv-card__by { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rv-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #1a1405; font: 900 13px/1 var(--font-head);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); box-shadow: 0 0 0 2px rgba(230, 182, 85, 0.16); }
.rv-card__who { display: grid; gap: 3px; flex: 1; min-width: 0; }
.rv-card__name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.rv-card__name b { min-width: 0; font: 700 13.5px/1.2 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-card__who small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reviews__empty { max-width: 56ch; margin: 10px 0 0; color: var(--muted); }
/* pausar / seguir la cinta (el nombre del botón no cambia; aria-pressed dice si está en pausa) */
.rv-pause { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.rv-pause:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.34); }
.rv-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rv-pause .rv-pause__go { fill: currentColor; stroke-width: 1.6; }
.rv-pause[aria-pressed="true"] .rv-pause__stop, .rv-pause[aria-pressed="false"] .rv-pause__go { display: none; }
/* la ventana para dejar una reseña */
.rv-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(230, 182, 85, 0.32); border-radius: 26px; color: var(--ink);
  background: radial-gradient(80% 50% at 50% 0%, rgba(230, 182, 85, 0.13), transparent 70%), #111117; box-shadow: 0 40px 100px -30px #000, 0 0 90px -34px rgba(230, 182, 85, 0.6); }
.rv-dialog::backdrop { background: rgba(4, 4, 6, 0.72); backdrop-filter: blur(6px); }
.rv-form { position: relative; display: grid; gap: 14px; padding: 26px 26px 22px; }
.rv-form .eyebrow { margin-bottom: -6px; }
.rv-form h2 { padding-right: 46px; font-size: clamp(24px, 3vw, 30px); font-weight: 900; }
.rv-form__x { position: absolute; right: 16px; top: 16px; }
.rv-form__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rv-form__verified { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin: 0; padding: 6px 11px; border-radius: 999px; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.32); color: #bbf7d0; font: 700 12px/1 var(--font-head); }
.rv-form__verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rv-rate { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.rv-rate legend { padding: 0; margin-bottom: 8px; font: 600 13px/1 var(--font-head); color: var(--muted); }
.rv-rate__stars { display: inline-flex; gap: 4px; }
.rv-rate input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rv-rate label { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; cursor: pointer; transition: transform 0.2s var(--ease); }
.rv-rate label:hover { transform: scale(1.12); }
.rv-rate input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 1px; }
.rv-rate label svg { width: 40px; height: 40px; fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.2; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s, filter 0.2s; }
.rv-rate label.is-on svg { fill: var(--gold); stroke: var(--gold-2); filter: drop-shadow(0 0 10px rgba(230, 182, 85, 0.65)); }
.rv-rate__text { font: 700 14px/1 var(--font-head); color: var(--gold-2); }
.rv-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rv-field { position: relative; display: grid; gap: 6px; font: 600 13px/1.2 var(--font-head); color: var(--muted); }
.rv-field small { font-weight: 400; }
.rv-field input, .rv-field select, .rv-field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--ink); font: 500 15px/1.4 var(--font-body); }
.rv-field select { background-color: #16161c; }
.rv-field select option { background: #16161c; color: var(--ink); }
.rv-field textarea { min-height: 112px; resize: vertical; padding-bottom: 26px; }
.rv-field input:focus, .rv-field select:focus, .rv-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 182, 85, 0.18); }
.rv-field__count { position: absolute; right: 12px; bottom: 9px; font: 500 11px/1 var(--font-body); color: var(--muted); pointer-events: none; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-captcha:empty { display: none; }
.rv-form__err { margin: 0; color: #fca5a5; font-size: 13.5px; }
.rv-form__err:empty { display: none; }
.rv-form__send { width: 100%; }
.rv-form__note { margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.rv-done { display: grid; justify-items: center; gap: 12px; padding: 42px 28px 30px; text-align: center; }
.rv-done:focus { outline: none; }
.rv-done__burst { position: relative; display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 4px; }
.rv-done__check { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 0 50px -6px rgba(230, 182, 85, 0.85); }
.rv-done__check svg { width: 44px; height: 44px; fill: none; stroke: #1a1405; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rv-done__spark { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-2); opacity: 0; }
.rv-done h2 { font-size: 30px; font-weight: 900; }
.rv-done p { margin: 0; max-width: 38ch; color: var(--muted); }
.rv-done__verified b { color: #bbf7d0; }
@media (max-width: 760px) {
  .reviews__head { align-items: start; }
  .rv-row { padding: 10px 0; transform: rotate(-1deg); }
  .rv-card { width: min(74vw, 280px); }
  .rv-form { padding: 22px 18px 18px; }
  .rv-form__row { grid-template-columns: minmax(0, 1fr); }
  .rv-rate label { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .rv-track { animation: none; } .rv-card, .rv-card.is-tilt { transform: none; } }

/* ---------- reels ---------- */
.reels { position: relative; z-index: 4; padding: clamp(36px, 5vw, 64px) 0; overflow: hidden; background: radial-gradient(60% 50% at 50% 60%, rgba(230, 182, 85, 0.1), transparent 70%), var(--bg-2); }
.reels__stage { position: relative; height: min(520px, 62svh); perspective: 1400px; touch-action: pan-y; }
.reel {
  --o: 0; --abs: 0;
  position: absolute; left: 50%; top: 0; width: min(280px, 66vw, 34.5svh); aspect-ratio: 9 / 16; margin: 0; border-radius: 26px; overflow: hidden; cursor: pointer;
  background: #000 center / cover no-repeat; border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(-50%) translateX(calc(var(--o) * 74%)) translateZ(calc(var(--abs) * -120px)) rotateY(calc(var(--o) * -24deg));
  z-index: calc(10 - var(--abs));
  transition: transform 0.75s var(--ease-out);
  box-shadow: 0 40px 80px -40px #000;
}
/* los de costado, más oscuros: una capa negra que solo cambia su opacidad (antes, filter: brightness sobre el video, que
   en el celular hacía redibujar el video entero en cada cuadro de la transición) */
.reel::after { content: ""; position: absolute; inset: 0; z-index: 5; background: #000; opacity: calc(var(--abs) * 0.32); pointer-events: none; transition: opacity 0.75s; }
.reel.is-far { opacity: 0; pointer-events: none; }
.reel video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s; }
.reel video.is-ready { opacity: 1; }
.reel__ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 22%, transparent 64%, rgba(0, 0, 0, 0.75)); }
.reel__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.reel__bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: #fff; }
.reel__ui h3 { font-size: 17px; font-weight: 900; }
.reel__ui p { margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.reel__ui .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- beneficios ---------- */
.benefits { position: relative; z-index: 4; padding: clamp(36px, 5vw, 64px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: s; }
.step { position: relative; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); overflow: hidden; }
.step__n { display: block; font: 900 44px/0.9 var(--font-head); color: transparent; -webkit-text-stroke: 1px rgba(251, 227, 163, 0.5); margin-bottom: 12px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px); border-radius: 22px; border: 1px solid rgba(230, 182, 85, 0.28); background: radial-gradient(90% 140% at 0% 0%, rgba(230, 182, 85, 0.16), transparent 60%), rgba(255, 255, 255, 0.025); }
.cta-band h3 { font-size: clamp(20px, 2vw, 27px); font-weight: 900; }
.cta-band p { color: var(--muted); margin-top: 4px; font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .cta-band { flex-direction: column; align-items: flex-start; } }
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- footer ---------- */
/* en la computadora, tres columnas alineadas a la grilla de la página: la marca (logo y el local), las categorías y
   el contacto, cada una con su título; abajo, una sola línea con el © y los links legales (obligatorios) */
.footer { position: relative; z-index: 4; overflow: hidden; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #070709; color: var(--muted); font-size: 14px; }
/* computadora: marca | contacto | visitanos | categorías */
.footer__grid { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr) minmax(0, 1.5fr); grid-template-areas: "brand contact visit cats"; gap: 40px; align-items: start; }
.footer__brand { grid-area: brand; } .footer__col--contact { grid-area: contact; } .footer__col--visit { grid-area: visit; } .footer__col--cats { grid-area: cats; }
.footer__grid img { display: block; height: 40px; width: auto; }
.footer__tag { margin-top: 14px; max-width: 26ch; font-size: 13.5px; line-height: 1.5; }
.footer__store { font-size: 13.5px; line-height: 1.6; white-space: pre-line; }
.footer__btns { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__btn { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--ink); font: 600 13.5px/1 var(--font-head); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.footer__btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__btn:hover { border-color: rgba(230, 182, 85, 0.55); background: rgba(230, 182, 85, 0.06); }
.footer__btn--wa { border-color: rgba(230, 182, 85, 0.45); }
/* 8. dirección con link al mapa (en el celular abre Google Maps) y horario */
.footer__map { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--ink); text-decoration: none; white-space: normal; }
.footer__map svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__map small { display: block; color: var(--gold); font-size: 12px; font-weight: 600; }
.footer__map:hover small { text-decoration: underline; }
.footer__hours { display: block; margin-top: 10px; color: var(--muted); }
.footer__h { margin-bottom: 14px; font: 700 12px/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.footer__cats { columns: 3; column-gap: 32px; }
.footer__cats a { display: block; width: fit-content; color: var(--muted); text-decoration: none; padding: 4px 0; line-height: 1.45; break-inside: avoid; transition: color 0.2s; }
.footer__cats a:hover { color: var(--gold-2); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__legal span { order: -1; margin-right: auto; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 26px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer__legal a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
/* en pantallas medianas los links legales no entran junto al ©: van en una línea y el © abajo */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "brand contact visit" "cats cats cats"; gap: 32px; }
  .footer__cats { columns: 4; }
  .footer__legal span { order: 1; flex-basis: 100%; margin: 4px 0 0; }
}
/* celular: logo y dos links en una fila, y los links legales (obligatorios) subrayados en letra chica. Sin las
   categorías, que ya están en el catálogo, ni los títulos */
@media (max-width: 760px) {
  /* celular: logo, una fila de botones de contacto, mapa y horario, y lo legal en chico (sin la barra inferior, sin el
     espacio extra que la esquivaba) */
  .footer { padding-top: 24px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "contact" "visit"; gap: 16px; }
  .footer__col--cats, .footer__h, .footer__tag, .footer__long { display: none; }
  .footer__grid img { height: 30px; }
  .footer__btns { flex-direction: row; gap: 8px; }
  .footer__btns .footer__btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 10px; }
  .footer__store { font-size: 13px; line-height: 1.5; }
  .footer__legal { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 18px; padding-top: 12px; font-size: 11.5px; }
  .footer__legal a { min-height: 24px; color: rgba(168, 164, 156, 0.85); }
  .footer__legal span { order: 1; flex-basis: 100%; margin: 4px 0 0; }
}

/* ---------- carrito ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.35s; }
.drawer-scrim.is-open { opacity: 1; backdrop-filter: blur(4px); }   /* cerrado no difumina: era una capa de pantalla completa invisible */
.cart {
  position: fixed; top: 0; right: 0; z-index: 150; display: flex; flex-direction: column; width: min(430px, 100vw); height: 100vh; height: 100dvh;
  background: #0f0f14; border-left: 1px solid var(--line); box-shadow: -40px 0 80px -30px #000;
  transform: translateX(104%); transition: transform 0.5s var(--ease-out);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 22px; font-weight: 900; }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.cart__empty { padding: 60px 10px; text-align: center; color: var(--muted); }
.cart__empty b { display: block; font: 900 22px/1.2 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img, .sug__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: radial-gradient(circle at 50% 60%, #22222a, #121217); }
.line__name { font: 700 14px/1.25 var(--font-head); }
.line__var { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.line__price { font: 800 15px/1 var(--font-head); text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 30px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty button:hover { background: rgba(255, 255, 255, 0.08); }
.qty span { min-width: 26px; text-align: center; font: 700 13px/1 var(--font-head); }
.line__rm { display: block; margin-top: 2px; margin-left: auto; padding: 6px 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
/* sugerencia ("Ya que llevás X, sumale Y", cart.js): debajo de los renglones y en un recuadro dorado apenas marcado,
   para que no se confunda con algo que ya está en el carrito. Con sabores, se elige ahí mismo antes de sumar */
.sug { margin: 16px 0 10px; padding: 13px 14px 14px; border-radius: 16px; border: 1px solid rgba(230, 182, 85, 0.3); background: rgba(230, 182, 85, 0.05); }
.sug__why { color: var(--muted); font-size: 13px; line-height: 1.4; text-wrap: pretty; }
.sug__why b { color: var(--ink); font-weight: 600; }
.sug__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 11px; }
.sug__item img { width: 56px; height: 56px; }
.sug__name { font: 700 13.5px/1.25 var(--font-head); }
.sug__var { margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.sug__price { margin-top: 5px; color: #86efac; font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sug__price b { margin-right: 4px; color: var(--ink); font: 800 14px/1 var(--font-head); }
.sug__price span { white-space: nowrap; }
.sug__add { gap: 6px; border-color: rgba(230, 182, 85, 0.45); color: var(--gold-2); }
.sug__add:hover { border-color: var(--gold); background: rgba(230, 182, 85, 0.12); }
.sug__add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sug__vars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.sug__vars .opt { padding: 7px 11px; font-size: 12px; }
/* lo que se suma desde la sugerencia entra subiendo: es la respuesta al toque (con el carrito abierto no hay aviso) */
@media (prefers-reduced-motion: no-preference) {
  .line.is-new { animation: line-in 0.55s var(--ease-out); }
}
@keyframes line-in { from { opacity: 0.15; transform: translateY(12px); } }
.cart__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0c0c10; }
.sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sum b { font: 800 17px/1 var(--font-head); }
.sum--transfer { color: #bbf7d0; font-size: 14.5px; }
.sum--transfer b { font: 900 27px/1 var(--font-head); color: #a7f3c0; }
.sum small { display: block; color: var(--muted); font-size: 12px; }
.sum--transfer small { color: #86efac; }
/* cuotas sin interés: un renglón más de los totales, en dorado (antes era una nota gris al pie) */
.sum--cuotas { margin-top: 10px; color: var(--gold-2); font-size: 14.5px; }
.sum--cuotas b { color: var(--gold-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum--cuotas small { color: var(--gold-3); }
.code--cart { margin-bottom: 12px; }
.cart__note { margin: 8px 0 14px; color: var(--muted); font-size: 12.5px; }
.ship { margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.ship b { color: var(--ink); }
.ship span { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ship i { display: block; height: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transition: transform 0.6s var(--ease-out); }
.ship.is-done { color: #bbf7d0; }
.ship.is-done i { background: linear-gradient(90deg, #22c55e, #86efac); }
/* solo los botones del pie (comprar, WhatsApp): el "Aplicar" del código de descuento va al lado de su campo */
.cart__foot > .btn { width: 100%; margin-top: 8px; }
/* pantallas bajas (celulares chicos, o con la barra del navegador a la vista): el pie más apretado, para que arriba
   entren el producto y la sugerencia */
@media (max-height: 720px) {
  .cart__head { padding-block: 12px; }
  .cart__foot { padding-top: 14px; }
  .ship { margin-bottom: 10px; }
  .sum--cuotas { margin-top: 6px; }
  .cart__note { margin: 4px 0 8px; }
  .sug { margin-top: 12px; }
}

/* producto que vuela al carrito */
.fly { position: fixed; z-index: 160; width: 80px; height: 80px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6)); }

/* ---------- vista rápida ---------- */
.qv { position: fixed; inset: 0; z-index: 155; display: grid; place-items: center; padding: 16px; }
.qv__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(6px); }
.qv__card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow: hidden; overscroll-behavior: contain; touch-action: pan-x; border-radius: 28px; border: 1px solid var(--line-2); background: #101015; box-shadow: 0 60px 120px -40px #000; }
.qv__media { position: relative; min-height: 380px; background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--tone, var(--gold)) 28%, #16161c), #0b0b0f 75%); }
.qv__media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.6)); }
.qv__media img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: none; }
.qv__info { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.qv__info > .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qv__info h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; }
.qv__brand { color: var(--muted); font: 700 11px/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.qv__price { display: grid; gap: 3px; }
.qv__price-tr { display: flex; align-items: center; gap: 10px; }
.qv__price-tr b { font: 900 34px/1 var(--font-head); color: #a7f3c0; letter-spacing: -0.02em; }
.qv__price-tr em { padding: 4px 8px; font-size: 11.5px; }
.qv__price small { color: #86efac; font: 700 13px/1.2 var(--font-head); }
.qv__price-list { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.qv__price-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.qv__price-cuotas { font-size: 13px; }
.qv__vl { margin: 4px 0 0; }
.qv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.qv__step { height: 46px; }
.qv__actions .btn { min-height: 46px; }
.qv__step button { width: 50px; height: 46px; }
.qv__close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; font: 600 13px/1 var(--font-head); transition: 0.2s; }
.opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(230, 182, 85, 0.14); color: var(--gold-2); }
.opt:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.qv__hl { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.qv__hl li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
@media (max-width: 760px) {
  /* centrada en la pantalla (no pegada abajo), con un margen parejo y respetando la muesca y la barra del iPhone */
  .qv { --qv-top: max(12px, env(safe-area-inset-top)); --qv-bottom: max(12px, env(safe-area-inset-bottom)); padding: var(--qv-top) 12px var(--qv-bottom); align-items: center; }
  .qv__card { grid-template-columns: 1fr; border-radius: 24px; max-height: calc(100dvh - var(--qv-top) - var(--qv-bottom)); }
  .qv__media { min-height: 0; height: clamp(150px, 30dvh, 270px); }
  .qv__info { padding: 18px 18px 16px; gap: 9px; }
  .qv__info h3 { font-size: 21px; }
  .qv__price-tr b { font-size: 28px; }
  .qv__hl { gap: 4px; font-size: 13px; }
  /* los dos botones mitad y mitad: el texto de "Ver carrito" centrado; en el contador, el − y el + en las puntas */
  .qv__actions .btn, .qv__actions .stepper { flex: 1 1 0; }
  .qv__actions .btn { justify-content: center; }
  .qv__actions .stepper { justify-content: space-between; }
}
/* celulares bajos (iPhone SE): sin la lista de datos, para que todo entre sin scroll */
@media (max-width: 760px) and (max-height: 720px) { .qv__hl { display: none; } .qv__media { height: clamp(130px, 25dvh, 200px); } }

/* ---------- toast + barra mobile ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 170; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: 14px; background: #17171d; border: 1px solid rgba(230, 182, 85, 0.35); box-shadow: 0 20px 40px -10px #000; font: 600 14px/1.3 var(--font-head); transition: transform 0.45s var(--ease-out); pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.toast { opacity: 0; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
/* con la vista rápida o el carrito abiertos, el aviso va arriba: abajo tapaba sus botones */
html.scroll-lock .toast { top: max(16px, env(safe-area-inset-top)); bottom: auto; transform: translate(-50%, -140%); }
html.scroll-lock .toast.is-on { transform: translate(-50%, 0); }
/* con el carrito abierto el aviso ("Sumaste…") sobra: tapaba "Finalizar compra" y el carrito ya lo muestra */
.cart-open .toast { visibility: hidden; opacity: 0; transition: none; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 130; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(14, 14, 18, 0.94); box-shadow: 0 20px 40px -12px #000; transform: translateY(160%); transition: transform 0.5s var(--ease-out); }
  .mbar.is-on { transform: none; }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 0; background: none; font: 700 13px/1 var(--font-head); text-decoration: none; cursor: pointer; }
  .mbar button { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; }
  .mbar b { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #1a1405; color: var(--gold-2); font: 800 11px/20px var(--font-head); }
  .toast { bottom: 92px; }
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .card[data-reveal] { opacity: 1; transform: none; }
}

/* barra de productos bajo el carrusel: en cuál estamos, cuánto falta para el avance automático, y saltar a otro */
.fcar__nav { position: absolute; z-index: 3; left: 36%; right: 2%; bottom: clamp(14px, 4vh, 40px); display: flex; justify-content: center; gap: 2px; }
.fcar__pip { position: relative; width: 24px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fcar__pip i { position: absolute; left: 4px; right: 4px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; transition: background 0.3s; }
.fcar__pip i::after { content: ""; position: absolute; inset: 0; background: var(--flavor, #e6b655); transform-origin: left; transform: scaleX(var(--p, 0)); }
.fcar__pip:hover i { background: rgba(255, 255, 255, 0.45); }
.fcar__pip[aria-selected="true"] { width: 48px; }
.fcar__pip[aria-selected="true"] i { background: rgba(255, 255, 255, 0.3); }
/* en el celular la barra es la primera línea del bloque de texto (flavors.js la mueve ahí): nunca la pisa el nombre */
@media (max-width: 760px) {
  .fcar__nav { position: relative; left: auto; right: auto; bottom: auto; margin: 0 -4px 2px; justify-content: center; }
}

/* botón de sonido de los videos */
.sound-btn { position: absolute; right: 12px; top: 22px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.45) center / 18px no-repeat; backdrop-filter: blur(6px); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E"); }
.sound-btn[aria-pressed="true"] { border-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbe3a3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }

/* barra que se esconde al bajar y vuelve al subir */
.nav { transition: transform 0.45s var(--ease-out), background 0.35s, backdrop-filter 0.35s, padding 0.35s, box-shadow 0.35s; }
html.nav-hidden .nav { transform: translateY(-110%); }
/* carrito flotante: aparece cuando la barra se esconde, en el mismo lugar que el carrito de la barra */
.cart-float { position: fixed; z-index: 85; top: 12px; right: 12px; background: rgba(12, 12, 16, 0.78); border-color: rgba(230, 182, 85, 0.45); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-16px) scale(0.92); transition: opacity 0.3s, transform 0.45s var(--ease-out), visibility 0s 0.45s; }
html.nav-hidden .cart-float { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s 0.1s, transform 0.45s 0.1s var(--ease-out), visibility 0s; }
.cart-float:hover { border-color: var(--gold); background: rgba(24, 22, 16, 0.9); }
.cart-float.is-bump { animation: bump 0.5s var(--ease-out); }
/* en pantallas medianas el margen lateral es angosto: la barra del catálogo (fija arriba al bajar) deja lugar al carrito */
@media (max-width: 1140px) { html.nav-hidden .toolbar__in { padding-right: max(0px, calc(58px - 5vw)); } }
.toolbar__cart { display: none; flex: none; width: 36px; height: 36px; border-radius: 999px; }   /* del alto de los otros botones de la barra */
@media (max-width: 760px) {
  html.nav-hidden .toolbar__in { padding-right: 0; }
  .toolbar__cart { display: inline-grid; }
  html.in-catalog .nav { transform: translateY(-110%); }
  html.in-catalog .toolbar { top: 0; }
  html.in-catalog .cart-float { display: none; }
}
html.nav-hidden .toolbar { top: 0; }
/* sección activa subrayada */
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* carrusel de productos destacados: cinta continua. Los 9 productos están en el DOM; el script
   escribe transform/opacity/z-index de cada .fcar__bag (ancla de 0×0 en el centro) y --br/--sat del img.
   La foto cuelga del ancla (.fcar__obj centrado con translate), así escala desde la base y queda alineada abajo. */
.fcar { position: absolute; z-index: 2; left: 36%; right: 2%; top: 0; bottom: 0; overflow: hidden; touch-action: pan-y;
  /* los productos que entran o salen se desvanecen en los bordes en vez de cortarse */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70px, #000 calc(100% - 50px), transparent); mask-image: linear-gradient(to right, transparent, #000 70px, #000 calc(100% - 50px), transparent); }
.fcar__track { position: absolute; inset: 0; }
.fcar__bag { position: absolute; left: 50%; bottom: 24%; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; will-change: transform, opacity; }
.fcar__bag--cur { cursor: default; }
/* el centrado (-50 % del propio ancho) lo pone el script con xPercent de GSAP: queda como porcentaje dentro del transform.
   Con la propiedad CSS translate, GSAP la convertía a píxeles al arrancar la flotación y, si la foto todavía no había
   cargado (ancho 0), el producto quedaba corrido medio ancho a la derecha. */
.fcar__obj { position: absolute; left: 0; bottom: 0; display: block; width: max-content; pointer-events: none; will-change: transform; }
.fcar__shadow { position: absolute; left: 50%; bottom: -14px; width: 120%; height: 44px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent); }
@media (max-width: 760px) {
  .fcar { left: 0; right: 0; top: 0; bottom: auto; height: 50%; }
  .fcar__bag { bottom: 12%; }
  .fcar__shadow { bottom: -8px; height: 26px; }
}
.flavor-pick { margin-top: 6px; color: var(--gold-2); font: 600 13px/1.3 var(--font-head); letter-spacing: 0.04em; }
.flavor-pick:empty { display: none; }
/* celular: el bloque de texto mide lo mismo con y sin sabores (el nombre y la barra no saltan al cambiar de producto).
   Sin sabores, en la línea del sabor va la marca */
@media (max-width: 760px) {
  .flavor-pick, .flavor-pick:empty { display: block; min-height: 1.3em; }
  .flavor-pick:empty::before { content: attr(data-brand); color: var(--muted); }
  .flavor-dots { min-height: 28px; }
}

/* productos destacados: fotos planas, siempre de frente (el oscurecido va en la foto: --br/--sat las escribe el script) */
.fcar__face { --br: 1; --sat: 1; position: relative; display: block; max-height: min(360px, 50vh); max-width: min(300px, 19vw); width: auto; height: auto; pointer-events: auto; user-select: none; -webkit-user-drag: none; }
/* sombra y versión apagada horneadas (flavors.js, bake): estáticas; por cuadro solo cambia la opacidad de .fcar__dim */
.fcar__dshadow { position: absolute; pointer-events: none; }
.fcar__dim { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.fcar__bag:not(.is-baked) .fcar__dshadow, .fcar__bag:not(.is-baked) .fcar__dim { display: none; }
.fcar__bag--prev .fcar__face:hover + .fcar__dim, .fcar__bag--next .fcar__face:hover + .fcar__dim { opacity: 0.25 !important; }   /* = brillo 0.85 */
/* mientras salta al cambiar de sabor, y sin lienzos con filtros (Safari viejo): los filtros CSS de antes */
.fcar__bag.is-live .fcar__dshadow { display: none; }
.fcar__bag.is-live .fcar__face, .fcar__bag:not(.is-baked) .fcar__face { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); }
.fcar--live .fcar__face { filter: brightness(var(--br)) saturate(var(--sat)) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); }
.fcar__bag--prev .fcar__face:hover, .fcar__bag--next .fcar__face:hover { --br: 0.85 !important; }
@media (max-width: 760px) { .fcar__face { max-height: min(250px, 34vh); max-width: 56vw; } }
/* destello del color del sabor al cambiar (detrás del producto del centro, delante de los laterales) */
.fcar__burst { position: absolute; z-index: 55; left: 50%; bottom: 14%; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--c, #e6b655) 80%, #fff) 0%, color-mix(in srgb, var(--c, #e6b655) 45%, transparent) 30%, transparent 68%); }
@media (max-width: 760px) { .fcar__burst { width: 240px; height: 240px; margin-left: -120px; } }

/* ---------- modo liviano (fx.perfGuard): equipos que no llegan a 45 fps o con ahorro de datos ----------
   sin desenfoques de fondo (con fondos algo más opacos para que el texto se siga leyendo), sin grano, sin bordes
   que giran, sin brillo en movimiento ni reflejo de las tarjetas. El muro de videos queda quieto (hero-wall.js). */
.lite *, .lite *::before, .lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.lite body::before { display: none; }
.lite .btn--glow::before { display: none; }
.lite .text-shine, .lite .hero__title em.is-glint { animation: none !important; }
.lite .nav.is-scrolled { background: rgba(8, 8, 11, 0.94); }
.lite .perks li, .lite .hero-code { background: rgba(10, 10, 14, 0.85); }
.lite .perks li::before, .lite .hero-code::before { animation: none; }   /* sin la vuelta: el contorno ya pintado */
.lite .hero__btns .btn--ghost { background: rgba(10, 10, 14, 0.75); }
.lite .search { background: rgba(20, 20, 26, 0.9); }
