/* ===== Mabx · estilos compartidos (sitio público y panel) ===== */
:root {
  /* Superficies: negro con capas apenas más claras */
  --bg: #0A0A0A;
  --bg-deep: #050505;
  --s1: #121212;
  --s2: #1A1A1A;
  --bd: rgba(255, 255, 255, .09);
  --bd-2: rgba(255, 255, 255, .16);
  /* Texto */
  --tx: #F5F5F2;
  --mut: #A3A3A8;
  --dim: #8B8B92; /* gris tenue con contraste AA (≈5.3:1 sobre el negro) */
  /* Verde neón firma */
  --ac: #C6F500;
  --ac-ink: #0A0A0A;
  --ac-soft: rgba(198, 245, 0, .14);
  --ac-line: rgba(198, 245, 0, .55);
  --ac-glow: rgba(198, 245, 0, .32);
  --wa: #25D366;
  /* Fondo claro donde "posan" las fotos de producto */
  --well: #F5F4F2; /* mismo tono que el fondo de las fotos de producto */
  --img-bg: #F5F4F2;
  /* Tipografía */
  --display: 'Saira Condensed', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Medidas */
  --gutter: 40px;
  --hh: 76px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  /* Movimiento */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-settle: cubic-bezier(.34, 1.35, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2A2A2A var(--bg); -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--body); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1; }
main.wrap { width: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, .disp { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--ac); color: var(--ac-ink); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 4px; }
/* Enlace para saltar al contenido: aparece solo al llegar con el teclado */
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px 18px; border-radius: 10px; background: var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 14px; transform: translateY(-160%); transition: transform .2s var(--ease-out); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.noscript { margin: 0; padding: 14px var(--gutter); background: var(--ac); color: var(--ac-ink); font-weight: 700; text-align: center; }
.hero-bg picture { display: contents; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ac); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.plain::before { display: none; }
.muted { color: var(--mut); }
.accent { color: var(--ac); }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer; border: 1px solid transparent; font-family: var(--body); white-space: nowrap; user-select: none;
  transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease; }
.btn svg { flex: none; transition: transform .25s var(--ease-out); }
.btn-ac { background: var(--ac); color: var(--ac-ink); box-shadow: 0 0 0 0 var(--ac-glow), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-gh { background: rgba(255, 255, 255, .03); color: var(--tx); border-color: var(--bd-2); }
.btn-wa { background: var(--wa); color: #06210F; }
.btn-block { width: 100%; }
.btn-lg { height: 56px; border-radius: 14px; font-size: 16px; padding: 0 28px; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn[aria-disabled="true"] { pointer-events: none; }
.btn:not([disabled]):active { transform: scale(.97); }

/* Enlace de acento con flecha */
.link-ac { display: inline-flex; align-items: center; gap: 8px; color: var(--ac); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.link-ac svg { transition: transform .25s var(--ease-out); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10, 10, 10, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--bd); transition: background-color .3s ease, border-color .3s ease; }
/* En el inicio el header flota transparente sobre el hero hasta que se baja */
body[data-page="inicio"] .site-header:not(.scrolled):not(:has(.main-nav.open)) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .bar { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { color: var(--ac); flex: none; transition: transform .5s var(--ease-out); }
.logo span { font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.navlink { position: relative; color: var(--mut); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; transition: color .2s ease; }
.navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ac); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
.navlink:hover, .navlink[aria-current="page"] { color: var(--tx); }
.navlink[aria-current="page"]::after { transform: scaleX(1); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 14px; border-radius: 999px; border: 1px solid var(--bd-2); background: rgba(255, 255, 255, .03); color: var(--tx); transition: border-color .2s ease, transform .16s var(--ease-out); }
.cart-btn:active { transform: scale(.96); }
.cart-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.cart-btn.bump { animation: mx-bump .45s var(--ease-settle); }
@keyframes mx-bump { 40% { transform: scale(1.1); } }
.menu-btn { display: none; background: none; border: 0; color: var(--tx); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; margin-left: -10px; border-radius: 10px; }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); margin-top: calc(var(--hh) * -1); padding-top: var(--hh); min-height: clamp(500px, calc(100vh - 96px), 940px); min-height: clamp(500px, calc(100svh - 96px), 940px); display: flex; }
/* El hero mide la pantalla menos 96px: así la barra de beneficios (que se monta 64px sobre él) entra completa en la primera vista */
.hero-bg { position: absolute; z-index: -3; top: 0; right: 0; bottom: 0; width: min(70%, 1180px); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 35%; filter: contrast(1.06) saturate(.92); }
/* Sombras que funden la foto con el negro: izquierda (texto), derecha, arriba (menú) y abajo */
.hero-bg::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 10, .82) 14%, rgba(10, 10, 10, .25) 34%, rgba(10, 10, 10, 0) 50%),
    linear-gradient(270deg, var(--bg) 0%, rgba(10, 10, 10, .6) 10%, rgba(10, 10, 10, 0) 26%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 10, .7) 14%, rgba(10, 10, 10, 0) 34%),
    linear-gradient(180deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, 0) 24%); }
/* Luz neón tenue detrás de la foto */
.hero::before { content: ''; position: absolute; z-index: -4; inset: 0; background: radial-gradient(700px 520px at 72% 42%, rgba(198, 245, 0, .10), transparent 65%); }
/* Brújula gigante en líneas finas detrás del titular: se dibuja al cargar */
.hero-emblem { position: absolute; z-index: -2; width: clamp(420px, 46vw, 700px); height: auto; left: calc(var(--gutter) - 9vw); top: 46%; translate: 0 -50%; color: var(--ac); pointer-events: none; }
.hero-emblem .em-arc { stroke-width: .24; opacity: .32; }
.hero-emblem .em-star { fill: none; stroke: currentColor; stroke-width: .14; opacity: .26; transform-origin: 24px 24px; }
.hero-emblem .em-dot { fill: currentColor; }
/* Diagonales neón que retoman las franjas del banner */
.hero-slash { position: absolute; z-index: -1; right: clamp(20px, 6vw, 96px); bottom: clamp(84px, 14vh, 132px); display: flex; gap: 12px; pointer-events: none; }
.hero-slash i { display: block; width: 10px; height: 92px; background: var(--ac); transform: skewX(-32deg); border-radius: 2px; }
.hero-slash i:nth-child(2) { background: rgba(255, 255, 255, .22); height: 70px; margin-top: 22px; }
.hero-slash i:nth-child(3) { background: rgba(255, 255, 255, .1); height: 48px; margin-top: 44px; }

.hero-inner { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(0px, 3vh, 48px); padding-bottom: 0; }
.hero-copy { max-width: 760px; padding-bottom: clamp(80px, 13vh, 136px); }
/* El titular crece con el ancho pero también se limita por el alto, para que en laptops no empuje los botones fuera de pantalla */
.hero h1 { font-size: clamp(56px, min(9.6vw, 11.5vh), 156px); font-weight: 800; line-height: .86; letter-spacing: -.005em; margin: 0 0 clamp(16px, 3vh, 28px); text-wrap: initial; }
.hero h1 .l { display: block; overflow: hidden; padding: .03em 0 .02em; margin: -.03em 0 -.02em; }
.hero h1 .l > span { display: block; }
.hero h1 em, .hero h1 .ac { color: var(--ac); font-style: normal; }
.hero p.lead { color: #C9C9CC; font-size: 18px; line-height: 1.6; max-width: 440px; margin: 0 0 clamp(20px, 4vh, 34px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Beneficios: barra flotante sobre el borde del hero ---------- */
.perks-bar { position: relative; z-index: 2; margin-top: -64px; }
.perks-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(18, 18, 18, .82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--bd-2); border-radius: var(--r-lg); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 60px -28px rgba(0, 0, 0, .95); }
.perks-bar li { display: flex; align-items: center; gap: 16px; padding: 26px 28px; }
.perks-bar li + li { border-left: 1px solid var(--bd); }
.perk-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--ac-soft); border: 1px solid rgba(198, 245, 0, .3); color: var(--ac); display: flex; align-items: center; justify-content: center; transition: background-color .25s ease, color .25s ease, transform .35s var(--ease-out); }
.perks-bar strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; margin-bottom: 3px; }
.perks-bar li div > span { color: var(--mut); font-size: 14px; line-height: 1.45; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; }
.section-head p.sub { color: var(--mut); max-width: 440px; margin: 14px 0 0; font-size: 16px; }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 30px -22px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease-out), border-color .25s ease, box-shadow .35s var(--ease-out); }
.card .pimg { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 6px);
  background: var(--well); }
/* El marco usa el mismo tono que el fondo de las fotos: la prenda parece posar en estudio.
   El leve zoom inicial recorta los bordes oscuros que traen algunas fotos. */
.card .pimg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .6s var(--ease-out); }
.card .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--body); text-transform: none; font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 2px solid var(--ac); outline-offset: 3px; }
.card .pline { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card .go { margin-left: auto; align-self: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd-2); display: inline-flex; align-items: center; justify-content: center; color: var(--tx); transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .35s var(--ease-out); }
.card.soldout .pimg img { filter: grayscale(1); opacity: .6; }
.card.soldout .price { color: var(--mut); }

.tag { display: inline-block; background: var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px; letter-spacing: .03em; line-height: 1.2; }
.tag.alt { background: var(--ac-ink); color: var(--tx); }
.tag.out { background: var(--ac-ink); color: var(--mut); }
/* Fuera de una foto (ficha, carrito) las etiquetas oscuras necesitan contraste */
.pdp-info .tag.alt, .pdp-info .tag.out { background: var(--s2); border: 1px solid var(--bd-2); }
.price { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--ac); line-height: 1; letter-spacing: .01em; }
.grid-3 .price { font-size: 26px; }
.old { color: var(--dim); text-decoration: line-through; font-size: 15px; margin-left: 2px; }
/* Compatibilidad con el panel */
.soldout-tag { position: absolute; top: 12px; left: 12px; background: #0A0A0A; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--bd); }

/* ---------- Colecciones Mujer / Hombre ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* Estudio oscuro, igual que las fotos de producto (logo MABX y brújula detrás de la prenda) */
.cat-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 440px; padding: 36px; border-radius: var(--r-lg); overflow: hidden; color: var(--tx);
  background: radial-gradient(90% 110% at 76% 42%, #29292B 0%, #161617 52%, #0E0E0F 100%); border: 1px solid var(--bd);
  transition: transform .35s var(--ease-out), border-color .25s ease; }
.cat-tile img { position: absolute; z-index: -1; right: 0; top: 50%; height: 100%; width: auto; max-width: 62%; object-fit: contain; object-position: right center; translate: 0 -50%;
  /* el borde izquierdo de la foto se funde con el fondo (también si el dueño sube su propia foto) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  transition: transform .6s var(--ease-out); }
.cat-tile .num { position: absolute; top: 28px; left: 36px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--mut); }
.cat-tile h3 { font-size: clamp(52px, 5.2vw, 76px); font-weight: 800; line-height: .85; margin-bottom: 16px; }
.cat-tile .cta { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--ac); color: var(--ac-ink); font-weight: 700; font-size: 14px; }
.cat-tile .cta i { width: 30px; height: 30px; border-radius: 50%; background: var(--ac-ink); color: var(--ac); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease-out); }

/* ---------- Historia: la brújula ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.visor { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.visor img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.visor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 5, 5, .55), transparent 40%); pointer-events: none; }
/* Esquinas tipo visor */
.visor .corner { position: absolute; z-index: 1; width: 34px; height: 34px; border: 0 solid var(--ac); pointer-events: none; transition: transform .6s var(--ease-out) .15s, opacity .6s ease .15s; }
.visor .corner.tl { top: 16px; left: 16px; border-top-width: 3px; border-left-width: 3px; }
.visor .corner.tr { top: 16px; right: 16px; border-top-width: 3px; border-right-width: 3px; }
.visor .corner.bl { bottom: 16px; left: 16px; border-bottom-width: 3px; border-left-width: 3px; }
.visor .corner.br { bottom: 16px; right: 16px; border-bottom-width: 3px; border-right-width: 3px; }
.visor .stamp { position: absolute; z-index: 1; left: 30px; bottom: 28px; display: flex; align-items: center; gap: 10px; color: var(--tx); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.visor .stamp svg { color: var(--ac); }
.story h2 { font-size: clamp(44px, 5.4vw, 80px); font-weight: 800; line-height: .9; margin-bottom: 24px; }
.story .copy-lg { color: #C9C9CC; font-size: 18px; line-height: 1.65; max-width: 500px; margin: 0 0 32px; }
.points { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 0; max-width: 500px; }
.points li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--bd); font-weight: 600; font-size: 16px; }
.points li:last-child { border-bottom: 1px solid var(--bd); }
.points svg { color: var(--ac); flex: none; }

/* ---------- Cómo pedir ---------- */
.steps { position: relative; }
.steps-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps-line { position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--bd); overflow: hidden; border-radius: 2px; }
.steps-line::after { content: ''; position: absolute; inset: 0; background: var(--ac); transform-origin: left; }
.step { position: relative; padding-right: 24px; }
.step .n { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--bd-2); background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--tx); margin-bottom: 28px; transition: border-color .4s ease, color .4s ease, background-color .4s ease; }
.step h3 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--mut); font-size: 16px; line-height: 1.6; margin: 0; max-width: 320px; }

/* ---------- Banner de cierre / promo ---------- */
.promo { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--bd); background: linear-gradient(120deg, #121212 0%, #0C0C0C 60%); padding: clamp(40px, 6vw, 80px); }
.promo .glow { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: radial-gradient(600px 360px at 85% 50%, rgba(198, 245, 0, .13), transparent 62%); }
.promo .promo-emblem { position: absolute; z-index: -1; right: -60px; top: 50%; translate: 0 -50%; width: clamp(280px, 38vw, 520px); height: auto; color: var(--ac); opacity: .9; }
.promo .promo-emblem .em-arc { stroke-width: .5; opacity: .5; }
.promo .promo-emblem .em-star { fill: none; stroke: currentColor; stroke-width: .3; opacity: .7; }
.promo .inner { position: relative; max-width: 620px; }
.promo h2 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 800; line-height: .9; margin-bottom: 20px; }
.promo p { color: var(--mut); font-size: 17px; line-height: 1.6; margin: 0 0 32px; max-width: 480px; }
.promo-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.promo-list li { display: inline-flex; align-items: baseline; gap: 8px; background: var(--ac-soft); color: var(--ac); border: 1px solid rgba(198, 245, 0, .25); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }
.promo-list small { color: var(--mut); font-weight: 500; }
/* Para viejas referencias (strip) */
.strip { background: var(--ac); color: var(--ac-ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--bd); background: var(--bg-deep); }
.site-footer .cols { padding-top: 72px; padding-bottom: 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo span { font-size: 26px; }
.foot-claim { color: var(--mut); font-size: 15px; line-height: 1.6; max-width: 300px; margin: 18px 0 0; }
.site-footer h2 { font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--dim); letter-spacing: .2em; margin-bottom: 18px; }
.site-footer .links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--mut); }
.site-footer .links > a:not(.btn) { position: relative; transition: color .2s ease; }
.site-footer .links > a:not(.btn):hover { color: var(--tx); }
.site-footer .links .btn { margin-bottom: 4px; }
/* Palabra MABX enorme en contorno */
.foot-mark { padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto; height: clamp(90px, 17vw, 240px); overflow: hidden; pointer-events: none; user-select: none; }
.foot-mark span { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(130px, 25.5vw, 360px); line-height: .82; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); text-align: center; }
.site-footer .copy { border-top: 1px solid var(--bd); position: relative; background: var(--bg-deep); }
.site-footer .copy .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; color: var(--dim); font-size: 13px; }

/* ---------- Catálogo ---------- */
.page-head { padding-top: 48px; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(44px, 5vw, 72px); font-weight: 800; }
/* Cabecera de la tienda */
.shop-head { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 44px; margin-bottom: 40px; border-bottom: 1px solid var(--bd);
  background: radial-gradient(560px 340px at 86% 40%, rgba(198, 245, 0, .10), transparent 70%); }
.page-emblem { position: absolute; z-index: -1; right: max(24px, calc((100vw - 1280px) / 2 + 24px)); top: 50%; translate: 0 -50%; width: clamp(260px, 28vw, 400px); height: auto; color: var(--ac); pointer-events: none; }
.page-emblem .em-arc { stroke-width: .32; opacity: .5; }
.page-emblem .em-star { fill: none; stroke: currentColor; stroke-width: .2; opacity: .45; transform-origin: 24px 24px; }
.shop-head h1 { font-size: clamp(60px, 7.4vw, 108px); font-weight: 800; line-height: .86; margin-bottom: 18px; }
.shop-sub { color: var(--mut); font-size: 17px; line-height: 1.6; max-width: 500px; margin: 0 0 28px; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.qchip { flex: none; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--bd-2); background: rgba(255, 255, 255, .03); color: var(--tx); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.qchip:active { transform: scale(.96); }
.qchip[aria-pressed="true"] { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }

.catalog { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 96px; }
.filters { flex: 0 0 264px; background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--hh) + 20px); }
.filters > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary h2 { font-size: 22px; display: inline-flex; align-items: center; gap: 8px; }
.fcount { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ac); color: var(--ac-ink); font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.fcount[hidden] { display: none !important; }
.filters .chev { display: none; }
.fgroup { margin: 20px 0 0; border: 0; padding: 0; min-width: 0; }
.fgroup + .fgroup { border-top: 1px solid var(--bd); padding-top: 18px; }
.ftitle { font-size: 12px; color: var(--dim); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; float: left; width: 100%; padding: 0; font-weight: 700; }
/* La leyenda flotante se comporta como un título normal (sin cortar la línea superior) */
.fgroup > :not(legend) { clear: both; }
.flabel { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 14px; padding: 7px 0; cursor: pointer; transition: color .2s ease; }
.flabel:has(input:checked) { color: var(--tx); }
/* Casilla propia: cuadro que se llena de neón con un check que "aterriza" */
.flabel input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--bd-2); border-radius: 6px; display: grid; place-content: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease; }
.flabel input::after { content: ''; width: 10px; height: 5px; border-left: 2.2px solid var(--ac-ink); border-bottom: 2.2px solid var(--ac-ink); transform: translateY(-1px) rotate(-45deg) scale(.4); opacity: 0;
  transition: transform .22s var(--ease-settle), opacity .1s ease; }
.flabel input:checked { background: var(--ac); border-color: var(--ac); }
.flabel input:checked::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.flabel input:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--bd-2); background: transparent; color: var(--tx); border-radius: 10px; height: 40px; min-width: 48px; padding: 0 10px; font-weight: 700; cursor: pointer; font-size: 14px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.chip:not([disabled]):active { transform: scale(.94); }
.chip.on, .chip[aria-pressed="true"] { background: var(--ac); color: var(--ac-ink); border-color: var(--ac); }
.chip[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
/* Barra de precio con el tramo elegido en neón */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 4px 0 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ac) var(--pct, 100%), rgba(255, 255, 255, .12) var(--pct, 100%)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ac); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--tx); border: 4px solid var(--ac); box-shadow: 0 0 0 5px rgba(198, 245, 0, .14); transition: transform .16s var(--ease-out); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--tx); border: 4px solid var(--ac); box-shadow: 0 0 0 5px rgba(198, 245, 0, .14); transition: transform .16s var(--ease-out); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:active::-moz-range-thumb { transform: scale(1.15); }
.range-vals { display: flex; justify-content: space-between; color: var(--mut); font-size: 13px; margin-top: 4px; }
.range-vals strong { color: var(--ac); font-family: var(--display); font-size: 18px; }

.results { flex: 1; min-width: 0; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--mut); font-size: 14px; flex-wrap: wrap; min-height: 44px; }
.rcount strong { color: var(--tx); font-family: var(--display); font-size: 24px; font-weight: 700; margin-right: 4px; }
.sort { display: inline-flex; align-items: center; gap: 10px; }
.select { -webkit-appearance: none; appearance: none; background: var(--s1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A3A8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; color: var(--tx); border: 1px solid var(--bd-2); border-radius: 10px; height: 44px; padding: 0 40px 0 14px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s ease; }
/* Filtros activos */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.apill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--ac-soft); border: 1px solid rgba(198, 245, 0, .3); color: var(--ac); font-weight: 700; font-size: 13px; font-family: inherit; cursor: pointer;
  transition: background-color .2s ease, transform .16s var(--ease-out); }
.apill:active { transform: scale(.95); }
.apill-clear { height: 34px; padding: 0 8px; background: none; border: 0; color: var(--mut); font-family: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .2s ease; }
.empty { text-align: center; padding: 60px 20px; color: var(--mut); border: 1px dashed var(--bd-2); border-radius: var(--r-lg); }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 72px 20px; color: var(--mut); border: 1px dashed var(--bd-2); border-radius: var(--r-lg); }
.empty-state svg { color: var(--ac); margin-bottom: 8px; }
.empty-state h3, .empty-state .nf-title { color: var(--tx); font-size: 30px; }
.empty-state p { margin: 0 0 12px; max-width: 340px; }

/* ---------- Ficha de producto ---------- */
.pdp-page { padding-bottom: 96px; }
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--mut); font-size: 13px; margin: 28px 0 28px; }
.crumbs a { transition: color .2s ease; }
.crumbs .sep { color: var(--dim); }
.crumbs #crumb { color: var(--tx); }
.pdp { display: flex; gap: 56px; align-items: flex-start; }
.gallery { flex: 1 1 560px; min-width: 0; display: flex; gap: 16px; position: sticky; top: calc(var(--hh) + 24px); }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; border: 1px solid var(--bd-2); background: var(--well); cursor: pointer; padding: 0; flex: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out), opacity .2s ease; opacity: .7; }
.thumb:active { transform: scale(.95); }
.thumb.on { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
/* Foto principal: marco de estudio, esquinas de visor y zoom que sigue al cursor */
.main-img { position: relative; flex: 1; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--well); }
.main-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .35s var(--ease-out), opacity .16s ease, filter .16s ease; }
.main-img img.swapping { opacity: 0; filter: blur(4px); }
.main-img.zooming img { transform: scale(1.5); }
.main-img .corner { position: absolute; z-index: 1; width: 30px; height: 30px; border: 0 solid var(--ac); pointer-events: none; transition: transform .35s var(--ease-out); }
.main-img .corner.tl { top: 16px; left: 16px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.main-img .corner.tr { top: 16px; right: 16px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.main-img .corner.bl { bottom: 16px; left: 16px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.main-img .corner.br { bottom: 16px; right: 16px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
/* Al ampliar, el visor "enfoca": las esquinas se cierran un poco */
.main-img.zooming .corner.tl { transform: translate(8px, 8px); }
.main-img.zooming .corner.tr { transform: translate(-8px, 8px); }
.main-img.zooming .corner.bl { transform: translate(8px, -8px); }
.main-img.zooming .corner.br { transform: translate(-8px, -8px); }
.zoom-hint { position: absolute; z-index: 1; left: 50%; bottom: 20px; translate: -50% 0; background: rgba(10, 10, 10, .78); color: var(--tx); font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; transition: opacity .2s ease; }
.main-img.zooming .zoom-hint { opacity: 0; }
@media not ((hover: hover) and (pointer: fine)) { .zoom-hint { display: none; } }

.pdp-info { flex: 1 1 440px; min-width: 0; padding-top: 6px; }
.pdp-info h1 { font-size: clamp(40px, 4vw, 60px); font-weight: 800; margin: 16px 0 16px; line-height: .94; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pdp-price .price { font-size: 48px; }
.pdp-price .old { font-size: 20px; margin: 0; }
.pdp-price .save { align-self: center; background: var(--ac-soft); color: var(--ac); border: 1px solid rgba(198, 245, 0, .3); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; }
.pdp-desc { color: var(--mut); font-size: 16px; line-height: 1.65; margin: 0 0 28px; white-space: pre-line; max-width: 520px; }
.pdp-block { padding: 22px 0; border-top: 1px solid var(--bd); }
.pdp-label { display: flex; justify-content: space-between; margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.pdp-pick { color: var(--ac); font-weight: 700; }
.pdp .chip { height: 48px; min-width: 56px; border-radius: 12px; font-size: 15px; }
/* Si falta la talla, el grupo dice "no" con un pequeño vaivén */
.chips.nope { animation: mx-nope .4s var(--ease-out); }
@keyframes mx-nope { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
/* Botón agregar: el texto cambia a "Agregado" con un fundido y desenfoque breve */
.add-btn { flex: 1 1 260px; display: grid; place-items: center; }
.add-btn .lbl { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px; transition: opacity .2s ease, filter .2s ease, transform .25s var(--ease-out); }
.add-btn .lbl-done { opacity: 0; filter: blur(2px); transform: translateY(6px); }
.add-btn.added .lbl-idle { opacity: 0; filter: blur(2px); transform: translateY(-6px); }
.add-btn.added .lbl-done { opacity: 1; filter: none; transform: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--bd-2); border-radius: 14px; height: 56px; overflow: hidden; }
.qty button { width: 50px; height: 100%; background: transparent; border: 0; color: var(--tx); font-size: 20px; cursor: pointer; transition: background-color .2s ease; }
.qty button:active { background: var(--s2); }
.qty output { width: 44px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.qty.sm { height: 40px; border-radius: 10px; }
.qty.sm button { width: 36px; font-size: 17px; }
.qty.sm output { width: 36px; }
.perks { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--bd); display: grid; gap: 14px; color: var(--mut); font-size: 14px; }
.perks li { display: flex; align-items: center; gap: 14px; }
.perk-ic.sm { width: 38px; height: 38px; border-radius: 11px; }
.form-hint { color: #FCA5A5; font-size: 13px; margin: 12px 0 0; }
.related { margin-top: 112px; }

/* ---------- Carrito ---------- */
.cart-page { padding-bottom: 96px; }
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 48px 0 32px; }
.cart-head h1 { font-size: clamp(48px, 5.4vw, 80px); font-weight: 800; line-height: .9; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.cart-units { font-family: var(--body); text-transform: none; font-size: 15px; font-weight: 600; color: var(--mut); letter-spacing: 0; }
/* Mini indicador del proceso */
.cart-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-steps li { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; font-weight: 600; }
.cart-steps li + li::before { content: ''; width: 24px; height: 1px; background: var(--bd-2); margin-right: 2px; }
.cart-steps .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--bd-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.cart-steps .done { color: var(--mut); }
.cart-steps .done .dot { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }
.cart-steps .now { color: var(--tx); }
.cart-steps .now .dot { border-color: var(--ac); color: var(--ac); }

.cart { display: flex; gap: 32px; align-items: flex-start; }
.cart-items { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.citem { display: flex; gap: 20px; align-items: center; padding: 14px 20px 14px 14px; background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); transition: border-color .25s ease; }
.citem.off { opacity: .55; }
.cthumb { width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: var(--well); flex: none; }
.cthumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .5s var(--ease-out); }
.cinfo { flex: 1; min-width: 0; }
.citem h3 { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.citem h3 a { transition: color .2s ease; }
.citem .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--mut); font-size: 13px; margin: 0 0 12px; }
.size-tag { border: 1px solid var(--bd-2); border-radius: 999px; padding: 2px 10px; font-weight: 600; color: var(--tx); }
.citem .meta .accent { font-weight: 800; }
.citem .right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; text-align: right; }
.citem .price { font-size: 26px; }
.citem .each { color: var(--dim); font-size: 12px; }
.link-btn { background: none; border: 0; color: var(--mut); font-family: inherit; font-size: 13px; cursor: pointer; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; transition: color .2s ease; }
.back-link { align-self: flex-start; margin-top: 8px; letter-spacing: .1em; }

.summary { flex: 0 0 390px; background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 28px; position: sticky; top: calc(var(--hh) + 20px); }
.summary h2 { font-size: 26px; margin: 0 0 22px; }
.sumrow { display: flex; justify-content: space-between; color: var(--mut); font-size: 15px; margin-bottom: 12px; }
.sumrow span:last-child { color: var(--tx); }
.sumrow .ac { color: var(--ac) !important; font-weight: 700; }
.sumtotal { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 24px; padding-top: 18px; border-top: 1px solid var(--bd); font-weight: 600; }
.sumtotal .price { font-size: 44px; }
.price.tick { display: inline-block; animation: mx-tick .3s var(--ease-out); }
@keyframes mx-tick { 40% { transform: translateY(-3px) scale(1.04); } }
.wa-cta { height: 60px; font-size: 17px; border-radius: 16px; }
.wa-note { color: var(--mut); font-size: 12.5px; line-height: 1.5; text-align: center; margin: 14px 0 0; }
/* Vista previa del mensaje como burbuja de WhatsApp */
.msg-preview { margin-top: 24px; padding: 16px; border-radius: 16px; background: #0B141A; border: 1px solid rgba(255, 255, 255, .06); }
.msg-preview p { margin: 0; }
.msg-preview .lbl { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.bubble { position: relative; margin-left: 18px; padding: 10px 12px 22px; background: #005C4B; color: #E9EDEF; border-radius: 12px 0 12px 12px; }
.bubble::after { content: ''; position: absolute; top: 0; right: -8px; border-left: 8px solid #005C4B; border-bottom: 10px solid transparent; }
.bubble .txt { font-size: 13px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.bubble .tick { position: absolute; right: 8px; bottom: 5px; display: inline-flex; color: #53BDEB; }
.bubble .tick svg + svg { margin-left: -9px; }

/* Barra fija de celular */
.cart-bar { display: none; }

.cart-empty { display: flex; align-items: center; justify-content: center; padding: 96px 0 120px; }
.cart-empty .box { text-align: center; max-width: 460px; }
.cart-empty .page-emblem { position: static; translate: none; display: block; width: 120px; margin: 0 auto 28px; }
.cart-empty .page-emblem .em-arc { stroke-width: 1.4; opacity: .9; }
.cart-empty .page-emblem .em-star { stroke-width: 1; opacity: .9; }
.cart-empty h1 { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; margin: 0 0 14px; }
.cart-empty p { color: var(--mut); font-size: 16px; line-height: 1.6; margin: 0 0 32px; }
.cart-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Aviso flotante ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px) scale(.97); background: var(--s2); border: 1px solid var(--bd-2); color: var(--tx); padding: 12px 14px 12px 18px; border-radius: 14px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--ease-out); z-index: 50; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.toast a { color: var(--ac); white-space: nowrap; }
.toast svg { color: var(--ac); flex: none; }

.skeleton { background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-lg); min-height: 380px; }
@keyframes sk { to { background-position: -200% 0; } }

/* =================== Animaciones y micro-interacciones =================== */
/* .reveal: aparece al entrar en pantalla (lo activa /assets/js/motion.js).
   Solo se oculta cuando <html> tiene la clase "motion", que el JS pone únicamente si
   puede animar: sin JS, con errores o con "reducir movimiento" todo queda visible. */
.motion .reveal:not(.visible) { opacity: 0; transform: translateY(14px); }
.motion .reveal.visible { animation: mx-up .5s var(--ease-out) var(--d, 0s) backwards; }
.motion .reveal-fade:not(.visible) { transform: none; }
.motion .reveal-fade.visible { animation: mx-fade .4s ease-out var(--d, 0s) backwards; }
@keyframes mx-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes mx-fade { from { opacity: 0; } }

/* --- Entrada del hero (una sola vez, al cargar) --- */
.motion .hero-bg img { animation: mx-hero-img .6s var(--ease-out) both; }
.motion .hero h1 .l > span { animation: mx-line .55s var(--ease-out) both; }
.motion .hero h1 .l:nth-child(1) > span { animation-delay: .08s; }
.motion .hero h1 .l:nth-child(2) > span { animation-delay: .14s; }
.motion .hero h1 .l:nth-child(3) > span { animation-delay: .2s; }
.motion [data-enter] { animation: mx-up .5s var(--ease-out) var(--d, 0s) both; }
.motion :is(.hero-emblem, .page-emblem) .em-arc { stroke-dasharray: 1; animation: mx-draw .6s var(--ease-out) both; }
.motion :is(.hero-emblem, .page-emblem) .em-arc:nth-of-type(1) { animation-delay: .2s; }
.motion :is(.hero-emblem, .page-emblem) .em-arc:nth-of-type(2) { animation-delay: .26s; }
.motion :is(.hero-emblem, .page-emblem) .em-arc:nth-of-type(3) { animation-delay: .32s; }
.motion :is(.hero-emblem, .page-emblem) .em-arc:nth-of-type(4) { animation-delay: .38s; }
.motion :is(.hero-emblem, .page-emblem) .em-star { animation: mx-needle .6s var(--ease-settle) .34s both; }
.motion .hero-slash i { animation: mx-slash .45s var(--ease-out) both; }
.motion .hero-slash i:nth-child(1) { animation-delay: .4s; }
.motion .hero-slash i:nth-child(2) { animation-delay: .46s; }
.motion .hero-slash i:nth-child(3) { animation-delay: .52s; }
/* --- Catálogo: tarjetas nuevas al filtrar --- */
.motion .card.swap { animation: mx-swap .35s var(--ease-out) calc(var(--i, 0) * 35ms) backwards; }
@keyframes mx-swap { from { opacity: 0; transform: translateY(8px); } }
@keyframes mx-hero-img { from { opacity: 0; transform: scale(1.05); } }
@keyframes mx-line { from { transform: translateY(105%); } }
@keyframes mx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mx-needle { from { opacity: 0; transform: rotate(-70deg) scale(.8); } }
@keyframes mx-slash { from { opacity: 0; transform: skewX(-32deg) translateY(24px); } }


/* --- Momentos al aparecer --- */
.motion .steps-line::after { transform: scaleX(0); transition: transform .9s var(--ease-in-out) .2s; }
.motion .steps.visible .steps-line::after, .steps-line.done::after { transform: scaleX(1); }
.steps.visible .step .n, html:not(.motion) .steps .step .n { border-color: var(--ac); color: var(--ac); }
.steps.visible .step:nth-child(2) .n { transition-delay: .2s; }
.steps.visible .step:nth-child(3) .n { transition-delay: .5s; }
.steps.visible .step:nth-child(4) .n { transition-delay: .8s; }
.motion .visor.reveal:not(.visible) .corner { opacity: 0; }
.motion .visor.reveal:not(.visible) .corner.tl { transform: translate(-10px, -10px); }
.motion .visor.reveal:not(.visible) .corner.tr { transform: translate(10px, -10px); }
.motion .visor.reveal:not(.visible) .corner.bl { transform: translate(-10px, 10px); }
.motion .visor.reveal:not(.visible) .corner.br { transform: translate(10px, 10px); }

/* --- Hover: solo en equipos con mouse (en celular no se queda "pegado") --- */
@media (hover: hover) and (pointer: fine) {
  .btn-ac:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px var(--ac-glow), inset 0 -2px 0 rgba(0, 0, 0, .12); }
  .btn-gh:not([disabled]):hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
  .btn-wa:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 10px 28px -12px rgba(37, 211, 102, .55); }
  .btn:not([disabled]):hover svg.arr { transform: translateX(3px); }
  .btn:not([disabled]):active { transform: scale(.97); }
  .link-ac:hover svg { transform: translateX(4px); }
  .navlink:hover::after { transform: scaleX(1); transform-origin: left; }
  .cart-btn:hover { border-color: rgba(255, 255, 255, .4); }
  .logo:hover svg { transform: rotate(90deg); }
  .main-img { cursor: zoom-in; }
  .thumb:not(.on):hover { opacity: 1; border-color: rgba(255, 255, 255, .4); }
  .qty button:hover { background: var(--s2); }
  .crumbs a:hover { color: var(--tx); }
  .citem:hover { border-color: var(--bd-2); }
  .citem:hover .cthumb img { transform: scale(1.1); }
  .citem h3 a:hover { color: var(--ac); }
  .link-btn:hover { color: var(--tx); }
  .card:hover { transform: translateY(-4px); border-color: var(--ac-line); box-shadow: 0 0 0 1px var(--ac-line), 0 24px 48px -26px var(--ac-glow); }
  .card:hover .pimg img { transform: scale(1.09); }
  .card:hover .go { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); transform: translateX(2px); }
  .perks-bar li:hover .perk-ic { background: var(--ac); color: var(--ac-ink); transform: translateY(-2px); }
  .cat-tile:hover { transform: translateY(-4px); border-color: var(--ac-line); }
  .cat-tile:hover img { transform: scale(1.03); }
  .cat-tile:hover .cta i { transform: translateX(4px); }
  .qchip:not([aria-pressed="true"]):hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
  .flabel:hover { color: var(--tx); }
  .flabel:hover input:not(:checked) { border-color: rgba(255, 255, 255, .45); }
  .select:hover { border-color: rgba(255, 255, 255, .4); }
  .apill:hover { background: rgba(198, 245, 0, .22); }
  .apill-clear:hover { color: var(--tx); }
  .range:hover::-webkit-slider-thumb { transform: scale(1.1); }
  .chip:not([disabled]):not([aria-pressed="true"]):hover { border-color: rgba(255, 255, 255, .45); }
  .site-footer .links > a:not(.btn):hover { color: var(--tx); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-bg img, .hero h1 .l > span, [data-enter], .hero-emblem *, .page-emblem *, .card.swap, .chips.nope, .price.tick, .hero-slash i, .cart-btn.bump { animation: none !important; }
  .card:hover, .btn:hover, .btn:active, .cat-tile:hover, .card:hover .go { transform: none !important; }
  .card:hover .pimg img { transform: scale(1.06) !important; } .cat-tile:hover img { transform: none !important; }
  .steps-line::after { transform: scaleX(1) !important; transition: none !important; }
  .main-img img, .main-img .corner, .add-btn .lbl { transition-property: opacity !important; }
  .main-img.zooming img { transform: scale(1.5); }
  .main-img.zooming .corner { transform: none; }
  .card, .btn, .cat-tile { transition-property: border-color, box-shadow, background-color, color; }
}

/* =================== Laptops de poca altura (p. ej. 1366×657 con barras del navegador) =================== */
/* Compacta un poco el hero y la barra de beneficios para que la primera vista entre completa */
@media (min-width: 861px) and (max-height: 720px) {
  .hero .eyebrow { margin-bottom: 10px; }
  .hero p.lead { font-size: 17px; line-height: 1.55; }
  .perks-bar li { padding-block: 18px; }
}

/* Tablet horizontal: la barra de beneficios en 3 columnas necesita menos relleno */
@media (min-width: 861px) and (max-width: 1100px) {
  .perks-bar li { padding-inline: 20px; gap: 12px; }
  .perks-bar strong { font-size: 19px; }
}

/* =================== Adaptación a tablet y celular =================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bg { width: 80%; }
  .cat-tile { min-height: 380px; }
  .story { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --hh: 64px; }
  .site-header .bar { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .logo span { font-size: 24px; }
  .logo svg { width: 24px; height: 24px; }
  .main-nav { position: absolute; top: var(--hh); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--bd); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear .25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s; }
  .main-nav .navlink { padding: 16px 0; border-bottom: 1px solid var(--bd); font-size: 15px; }
  .main-nav .navlink::after { display: none; }
  .main-nav .navlink[aria-current="page"] { color: var(--ac); }
  .cart-btn { padding: 0 6px 0 12px; }

  /* Hero: la foto arriba a todo el ancho, el titular la pisa por debajo */
  .hero { min-height: 0; flex-direction: column; }
  .hero-bg { width: 100%; bottom: auto; height: min(62vh, 540px); height: min(62svh, 540px); }
  .hero-bg img { object-position: 30% 30%; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 10, .75) 22%, rgba(10, 10, 10, 0) 55%), linear-gradient(180deg, rgba(10, 10, 10, .85) 0%, rgba(10, 10, 10, 0) 26%); }
  .hero::before { background: radial-gradient(420px 320px at 60% 30%, rgba(198, 245, 0, .12), transparent 65%); }
  .hero-emblem { width: 96vw; left: -14vw; top: calc(min(28vh, 300px) - 4vw); top: calc(min(28svh, 300px) - 4vw); translate: none; opacity: .75; }
  .hero-slash { top: calc(var(--hh) + 20px); bottom: auto; right: 20px; transform: scale(.6); transform-origin: top right; }
  /* La foto ocupa menos alto y el texto sube: así el botón verde entra en la primera vista del celular */
  .hero-inner { padding-top: min(28vh, 300px); padding-top: min(28svh, 300px); }
  .hero-copy { padding-bottom: 36px; }
  .hero h1 { font-size: clamp(44px, min(16vw, 9.5svh), 84px); margin-bottom: clamp(10px, 2svh, 18px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: clamp(8px, 1.6svh, 14px); }
  .hero p.lead { font-size: 16px; line-height: 1.5; margin-bottom: clamp(14px, 3svh, 24px); }
  .hero-actions .btn { flex: 1 1 160px; }

  .perks-bar { margin-top: 0; }
  .perks-bar ul { grid-template-columns: 1fr; }
  .perks-bar li { padding: 18px 20px; }
  .perks-bar li + li { border-left: 0; border-top: 1px solid var(--bd); }
  .perks-bar strong { font-size: 19px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 24px; align-items: flex-end; }
  .section-head h2 { font-size: 40px; }

  .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 16px; }
  .card .pimg { margin: 6px 6px 0; border-radius: 12px; }
  .card .body { padding: 12px 12px 14px; gap: 8px; }
  .card h3 { font-size: 14px; }
  .card .price, .grid-3 .price { font-size: 22px; }
  .card .old { font-size: 13px; }
  .card .go { display: none; }
  .card .tags { top: 8px; left: 8px; }
  .tag { font-size: 11px; padding: 4px 8px; }

  .cats { grid-template-columns: 1fr; gap: 14px; }
  .cat-tile { min-height: 280px; padding: 24px; }
  .cat-tile img { max-width: 60%; }
  .cat-tile .num { top: 20px; left: 24px; }
  .cat-tile h3 { font-size: 46px; }

  .story { grid-template-columns: 1fr; gap: 36px; }
  .visor { aspect-ratio: 4 / 4.4; }
  .story h2 { font-size: 52px; }
  .story .copy-lg { font-size: 16px; }

  .steps-list { grid-template-columns: 1fr; gap: 0; }
  .steps-line { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .steps-line::after { transform-origin: top; }
  .motion .steps-line::after { transform: scaleY(0); }
  .motion .steps.visible .steps-line::after, .steps-line.done::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .step .n { margin: 0; grid-row: span 2; }
  .step h3 { font-size: 24px; align-self: end; margin-top: 8px; }

  .promo { padding: 36px 24px; }
  .promo .promo-emblem { right: -120px; width: 320px; opacity: .5; }
  .promo h2 { font-size: 48px; }
  .promo p { font-size: 15px; }
  .promo .btn { width: 100%; }
  .promo-list li { flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 14px; padding: 10px 14px; }

  .site-footer .cols { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
  .site-footer .copy .wrap { flex-direction: column; gap: 4px; }

  .shop-head { padding: 36px 0 28px; margin-bottom: 20px; }
  .shop-head h1 { font-size: 60px; }
  .shop-sub { font-size: 15px; margin-bottom: 20px; }
  .page-emblem { width: 220px; right: -64px; top: 34%; opacity: .7; }
  .quick { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; scrollbar-width: none; }
  .quick::-webkit-scrollbar { display: none; }
  .results-bar { gap: 8px; }
  .sort { font-size: 0; gap: 0; }
  .sort .select { font-size: 14px; }
  .page-head { padding-top: 28px; margin-bottom: 20px; }
  .page-head h1 { font-size: 44px; }
  .catalog { flex-direction: column; gap: 18px; padding-bottom: 48px; }
  .filters { position: static; flex: none; width: 100%; padding: 0; }
  .filters > summary { padding: 16px 18px; cursor: pointer; }
  .filters .chev { display: block; transition: transform .25s var(--ease-out); }
  .filters[open] .chev { transform: rotate(180deg); }
  .filters .fbody { padding: 0 18px 18px; }
  .fgroup { margin-top: 16px; }
  .filters > summary h2 { font-size: 20px; }
  .results { width: 100%; }

  .crumbs { margin: 18px 0 16px; }
  .pdp-page { padding-bottom: 64px; }
  .pdp { flex-direction: column; gap: 24px; }
  .gallery { position: static; flex: none; width: 100%; flex-direction: column-reverse; }
  .thumbs { flex-direction: row; overflow-x: auto; }
  .thumb { width: 64px; height: 64px; }
  .zoom-hint { display: none; }
  .pdp-info { flex: none; width: 100%; padding-top: 0; }
  .pdp-info h1 { font-size: 40px; }
  .pdp-price .price { font-size: 40px; }
  .buy-row .qty { flex: none; }
  .add-btn { flex: 1 1 180px; padding: 0 16px; }
  .related { margin-top: 72px; }

  .cart-page { padding-bottom: 112px; }
  .cart-head { margin: 28px 0 20px; gap: 16px; }
  .cart-head h1 { font-size: 48px; }
  .cart-steps li { font-size: 0; gap: 0; }
  .cart-steps li.now { font-size: 13px; gap: 8px; }
  .cart-steps li + li::before { width: 16px; margin-right: 8px; }
  .cart { flex-direction: column; gap: 20px; }
  .cart-items { width: 100%; }
  .citem { padding: 12px; gap: 12px; align-items: flex-start; }
  .cthumb { width: 80px; height: 80px; border-radius: 12px; }
  .citem h3 { font-size: 15px; }
  .citem .price { font-size: 21px; }
  .summary { position: static; flex: none; width: 100%; padding: 22px; }
  .sumtotal .price { font-size: 38px; }
  /* Barra fija con el total y WhatsApp; se esconde cuando el botón del resumen está a la vista */
  .cart-bar { display: block; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 10, 10, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--bd-2);
    transition: transform .3s var(--ease-out), opacity .2s ease; }
  .cart-bar[hidden] { display: none; }
  .cart-bar.away { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .cart-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .cart-bar .lbl { display: block; color: var(--mut); font-size: 12px; font-weight: 600; }
  .cart-bar .price { font-size: 28px; }
  .cart-bar .btn { height: 50px; padding: 0 22px; flex: none; }
  .toast { bottom: 96px; }

  /* --- Zonas táctiles de 44px (sin cambiar lo que se ve) --- */
  .site-header .logo { padding-block: 10px; }
  .link-ac, .crumbs a, .citem h3 a, .apill-clear { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
  .citem h3 a { display: inline; padding-block: 13px; }
  .site-footer .links { gap: 0; }
  .site-footer .links > a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer .links .btn { margin-bottom: 8px; }
  .btn-sm, .chip, .select { height: 44px; }
  .flabel { min-height: 44px; padding: 0; }
  .qty.sm { height: 46px; }
  .qty.sm button { width: 44px; }
  .link-btn { min-height: 44px; min-width: 44px; margin-top: 0; padding: 0 4px; }
  .apill { position: relative; }
  .apill::after { content: ''; position: absolute; inset: -5px 0; }
}

/* ---------- Página 404 ---------- */
.not-found { min-height: calc(100svh - var(--hh) - 120px); }
.not-found .nf-code { justify-content: center; letter-spacing: .3em; margin-bottom: 18px; }
.not-found h1 { font-size: clamp(48px, 7vw, 88px); line-height: .9; }
.motion .not-found .page-emblem .em-arc { stroke-dasharray: 1; animation: mx-draw .6s var(--ease-out) both; }
/* La aguja gira buscando el norte */
.motion .not-found .page-emblem .em-star { transform-origin: 24px 24px; animation: mx-needle .6s var(--ease-settle) .3s both, mx-seek 3.2s var(--ease-in-out) 1.2s 1; }
@keyframes mx-seek { 30% { transform: rotate(-24deg); } 60% { transform: rotate(14deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .not-found .page-emblem * { animation: none !important; } }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.review { position: relative; display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 30px -22px rgba(0, 0, 0, .9); transition: border-color .25s ease, transform .35s var(--ease-out); }
.review-img { aspect-ratio: 4 / 3; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--s2); }
.review-img img { width: 100%; height: 100%; object-fit: cover; }
.review-quote { position: relative; display: flex; align-items: center; gap: 12px; padding: 22px 22px 0; color: var(--ac); }
.review-quote span { font-family: var(--display); font-size: 64px; line-height: .6; height: 26px; color: var(--ac); }
.review-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 22px; flex: 1; }
.stars { display: inline-flex; gap: 2px; color: rgba(255, 255, 255, .16); }
.stars .on { color: var(--ac); }
.review-msg { margin: 0; color: #D6D6D9; font-size: 15px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.review.no-photo .review-msg { font-size: 17px; color: var(--tx); }
.review-who { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--bd); font-size: 14px; }
.review-who strong { font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.review-who span { color: var(--dim); font-size: 12px; white-space: nowrap; }
.reviews-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding: 20px; border: 1px dashed var(--bd-2); border-radius: var(--r-lg); text-align: center; }
.reviews-cta p { margin: 0; color: var(--mut); }
.reviews-page { padding-bottom: 72px; }
.reviews-page .skeleton { min-height: 320px; }

/* Formulario de opinión */
.review-form-wrap { padding-bottom: 112px; scroll-margin-top: calc(var(--hh) + 16px); }
.review-form-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  background: var(--s1); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.review-form-intro h2 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; line-height: .92; margin-bottom: 16px; }
.review-form-intro p:not(.eyebrow) { color: var(--mut); font-size: 16px; line-height: 1.6; margin: 0; max-width: 380px; }
.review-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rf-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.rf-field > label, .rf-field > legend, .rf-label { display: block; padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--mut); }
.review-form input[type=text], .review-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--bd-2); border-radius: 12px; color: var(--tx); padding: 13px 15px; font: 400 16px/1.5 var(--body); outline: none; transition: border-color .2s ease; }
.review-form input[type=text] { min-height: 50px; }
.review-form textarea { resize: vertical; min-height: 120px; }
.review-form input[type=text]:focus, .review-form textarea:focus { border-color: var(--ac); }
.rf-help { margin: 6px 0 0; text-align: right; color: var(--dim); font-size: 12px; }
/* Estrellas: se pintan de derecha a izquierda para que el "hover" ilumine las anteriores */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { width: 40px; height: 40px; cursor: pointer; color: rgba(255, 255, 255, .18); transition: color .15s ease, transform .16s var(--ease-out);
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E") center / 32px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E") center / 32px no-repeat; }
.star-input input:checked ~ label, .star-input input:checked + label { color: var(--ac); }
.star-input label:active { transform: scale(.9); }
.star-input input:focus-visible + label { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 6px; }
.rf-photo { display: flex; }
.rf-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 132px; height: 132px; border: 1.5px dashed var(--bd-2); border-radius: 14px; color: var(--mut); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.rf-photo-add[hidden] { display: none; }
.rf-photo-prev { position: relative; width: 132px; height: 132px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ac); }
.rf-photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.rf-photo-rm { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 30px; border: 0; border-radius: 8px; background: rgba(10, 10, 10, .85); color: var(--tx); font: 600 12px var(--body); cursor: pointer; }
.rf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rf-consent { align-items: flex-start; line-height: 1.45; }
.rf-consent input { margin-top: 1px; }
.alert-err { padding: 12px 14px; border-radius: 12px; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .3); color: #FCA5A5; font-size: 14px; }
.review-thanks { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 32px 12px; outline: none; }
.review-thanks svg { color: var(--ac-ink); background: var(--ac); border-radius: 50%; padding: 8px; width: 56px; height: 56px; }
.review-thanks h3 { font-size: 32px; font-weight: 800; }
.review-thanks p { margin: 0 0 12px; color: var(--mut); }

@media (hover: hover) and (pointer: fine) {
  .review:hover { border-color: var(--bd-2); transform: translateY(-3px); }
  .star-input label:hover, .star-input label:hover ~ label { color: var(--ac); }
  .rf-photo-add:hover { border-color: var(--ac); color: var(--ac); }
}
@media (max-width: 1100px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; gap: 14px; }
  /* En el inicio, las opiniones se deslizan de lado para no alargar la página */
  .reviews-home { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; align-items: stretch; }
  .reviews-home::-webkit-scrollbar { display: none; }
  .reviews-home .review { flex: 0 0 82%; scroll-snap-align: start; }
  .reviews-cta { flex-direction: column; gap: 12px; margin-top: 20px; }
  .reviews-cta .btn { width: 100%; }
  .review-form-card { grid-template-columns: 1fr; gap: 24px; padding: 22px 18px; }
  .review-form-wrap { padding-bottom: 64px; }
  .reviews-page { padding-bottom: 40px; }
}

/* ---------- Redes sociales ---------- */
.social { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); border: 1px solid var(--bd);
  background: radial-gradient(500px 300px at 100% 0%, rgba(198, 245, 0, .1), transparent 70%), var(--s1); }
.social h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: .9; margin-bottom: 16px; overflow-wrap: anywhere; }
.social h2 .accent { display: block; text-transform: none; }
.social p:not(.eyebrow) { color: var(--mut); font-size: 16px; line-height: 1.6; margin: 0; max-width: 420px; }
.social-links { display: grid; gap: 12px; }
.social-btn { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--bd-2); background: rgba(255, 255, 255, .03); transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease-out); }
.social-btn svg { flex: none; color: var(--ac); }
.social-btn span { display: flex; flex-direction: column; line-height: 1.3; color: var(--mut); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.social-btn strong { color: var(--tx); font-size: 16px; }
.social-btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .social-btn:hover { border-color: var(--ac-line); background: var(--ac-soft); }
}
@media (max-width: 860px) {
  .social { grid-template-columns: 1fr; gap: 22px; padding: 26px 20px; }
}

/* ---------- Páginas legales ---------- */
.legal { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(28px, 5vw, 72px); justify-content: center; padding-top: 48px; padding-bottom: 96px; }
.legal-nav { position: sticky; top: calc(var(--hh) + 24px); align-self: start; display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 10px; color: var(--mut); font-size: 14px; font-weight: 600; transition: color .2s ease, background-color .2s ease; }
.legal-nav a[aria-current="page"] { background: var(--s1); color: var(--tx); box-shadow: inset 2px 0 0 var(--ac); }
.legal-doc, .legal-nav { min-width: 0; }
.legal-doc h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: .92; margin-bottom: 10px; }
.legal-date { color: var(--dim); font-size: 13px; margin: 0 0 32px; }
.legal-lead { font-size: 17px; color: var(--tx); line-height: 1.65; padding: 18px 20px; border-left: 3px solid var(--ac); background: var(--s1); border-radius: 0 12px 12px 0; }
.legal-doc h2 { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 40px 0 12px; }
.legal-doc p, .legal-doc li { color: #CFCFD3; font-size: 15.5px; line-height: 1.7; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.legal-doc a:not(.btn) { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc strong { color: var(--tx); }
.legal-doc code { font-size: 13px; background: var(--s2); padding: 2px 6px; border-radius: 6px; }
.legal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal-table { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--bd); border-radius: 14px; }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; font-size: 14px; line-height: 1.55; border-top: 1px solid var(--bd); color: #CFCFD3; }
.legal-table th { border-top: 0; background: var(--s1); color: var(--mut); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal-note { margin-top: 32px; color: var(--mut) !important; font-size: 14px !important; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: var(--dim); transition: color .2s ease; }
.wa-note a, .rf-consent a { text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .legal-nav a:not([aria-current]):hover, .legal-links a:hover { color: var(--tx); }
}
@media (max-width: 860px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 64px; }
  .legal-nav { position: static; flex-direction: row; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .legal-nav a { flex: none; background: var(--s1); }
  .legal-cols { grid-template-columns: 1fr; }
  .site-footer .copy .wrap { flex-direction: column; gap: 10px; }
}
