/* =====================================================================
   KODITA STORE — styles.css
   Dirección: "Tactical luxury" — negro azulado, cian de HUD, ámbar de rareza.
   ===================================================================== */

:root {
  /* Paleta de marca: Tinta #0A1220 · Cian etiqueta #3BE3F2 · Papel #EEF5F6 · Noche #14273A */
  --tinta: #0A1220;
  --noche: #14273A;
  --papel: #EEF5F6;
  --bg: #0A1220;
  --bg-2: #0C1626;
  --panel: #0F1D2F;
  --panel-2: #14273A;
  --line: rgba(59, 227, 242, 0.08);
  --line-2: rgba(238, 245, 246, 0.13);
  --text: #EEF5F6;
  --muted: #93A3B6;
  --dim: #5D6F86;
  --cyan: #3BE3F2;
  --cyan-2: #1FB9C9;
  --amber: var(--cyan); /* el ámbar anterior ahora es el cian de marca */
  --red: #eb4b4b;
  --green: #4ade80;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-in: cubic-bezier(0.3, 0, 1, 1);
  --t-quick: 160ms;
  --t-std: 320ms;
  --t-slow: 640ms;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: #0A1220; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; letter-spacing: 0; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ambient page background (HUD grid + glows + grain) ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(59, 227, 242, 0.10), transparent 70%),
    radial-gradient(50vw 40vh at -10% 30%, rgba(20, 39, 58, 0.9), transparent 70%),
    var(--bg);
}
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  opacity: 0.55;
}
.ambient::after {
  content: ""; position: absolute; inset: -50%;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.eyebrow--amber { color: var(--papel); }
.eyebrow--amber::before { background: var(--papel); box-shadow: none; }

.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
  margin: 0;
}
.h-xl { font-size: clamp(2.6rem, 7.2vw, 6.6rem); }
.h-lg { font-size: clamp(2.1rem, 5vw, 4.4rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.display em { font-style: normal; color: var(--cyan); }
.display .amber { color: var(--amber); }
.display .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 245, 246, 0.55); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 54ch; margin: 0; }

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head__row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-index { font-family: var(--f-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }

section { position: relative; }
.section { padding-block: clamp(80px, 11vw, 160px); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--cyan); --fg-btn: #0A1220;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: transform var(--t-quick) var(--ease), box-shadow var(--t-std) var(--ease), background var(--t-std) var(--ease);
  box-shadow: 0 0 0 0 rgba(59, 227, 242, 0);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}
.btn:hover { box-shadow: 0 10px 40px -8px rgba(59, 227, 242, 0.55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-std) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost {
  --bg-btn: transparent; --fg-btn: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { --bg-btn: rgba(255, 255, 255, 0.04); box-shadow: none; border-color: rgba(238, 245, 246, 0.35); }
.btn--wa { --bg-btn: #25d366; --fg-btn: #03140a; }
.btn--wa:hover { box-shadow: 0 10px 40px -8px rgba(37, 211, 102, 0.55); }
.btn--amber { --bg-btn: var(--papel); --fg-btn: var(--tinta); }
.btn--amber:hover { box-shadow: 0 10px 40px -8px rgba(238, 245, 246, 0.35); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t-std) var(--ease), border-color var(--t-std) var(--ease), transform var(--t-std) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 18, 32, 0.92); border-color: var(--line); }
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(10, 18, 32, 0.62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.02em; flex: none; }
.brand__logo { display: block; width: 172px; height: auto; }
.brand__logo--footer { width: 200px; }
@media (max-width: 420px) { .brand__logo { width: 140px; } }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan); border-radius: 50%;
}
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-weight: 600; font-size: 14px;
  transition: border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
}
.cart-btn:hover { border-color: rgba(59, 227, 242, 0.5); background: rgba(59, 227, 242, 0.06); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--panel-2); color: var(--muted);
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  transition: background var(--t-std) var(--ease), color var(--t-std) var(--ease);
}
.cart-count.has-items { background: var(--amber); color: #0A1220; }
.cart-count.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: transform var(--t-std) var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 5px; }
.menu-btn span { transform: translateY(-2.5px); }

@media (max-width: 1180px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: rgba(10, 18, 32, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(10, 18, 32, 0.97); }
  .nav__link { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; }
  .menu-btn { display: grid; }
  .cart-btn__label { display: none; }
  .nav__cta { display: none; }
}

/* ---------- Reveal (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   INTRO — "case opening" welcome
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #070E1A;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  /* Red de seguridad: si el JS falla, la intro se va sola a los 9s */
  animation: introSafety 0.01s 9s forwards;
}
@keyframes introSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro.is-done { display: none; }
.intro__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(59, 227, 242, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 227, 242, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 65%);
  transform: perspective(700px) rotateX(58deg) translateY(18%);
  transform-origin: 50% 60%;
  animation: gridDrift 6s linear infinite;
}
@keyframes gridDrift { to { background-position: 0 64px, 0 0; } }
.intro__glow {
  position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 227, 242, 0.16), transparent 55%);
  opacity: 0.8;
}
.intro__glow--win { background: radial-gradient(circle, rgba(59, 227, 242, 0.16), transparent 55%); opacity: 0; }
.intro__scan {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  transform: scaleX(0);
}
.intro__hud { position: absolute; inset: clamp(16px, 3vw, 36px); pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: rgba(59, 227, 242, 0.75); text-transform: uppercase; }
.intro__corner { position: absolute; width: 28px; height: 28px; border-color: rgba(59, 227, 242, 0.7); border-style: solid; border-width: 0; }
.intro__corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.intro__corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.intro__corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.intro__corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.intro__meta { position: absolute; }
.intro__meta--tl { top: 8px; left: 44px; }
.intro__meta--tr { top: 8px; right: 44px; text-align: right; }
.intro__meta--bl { bottom: 8px; left: 44px; }
.intro__meta--br { bottom: 8px; right: 44px; text-align: right; color: var(--text); }
.intro__meta--br b { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--cyan); }

.intro__reel {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 230px; margin-top: -115px;
  display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.intro__track { display: flex; gap: 14px; padding-left: 50vw; will-change: transform; }
.reel-card {
  --r: #4b69ff;
  position: relative; flex: none;
  width: 190px; height: 190px; border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--r) 28%, transparent), transparent 70%),
    linear-gradient(180deg, #14273A, #0D1929);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  overflow: hidden;
}
.reel-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--r); box-shadow: 0 0 18px var(--r); }
.reel-card img, .reel-card svg { width: 84%; height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6)); }
.reel-card svg { width: 62%; opacity: 0.85; }
.reel-card.is-win { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 60px -6px rgba(59, 227, 242, 0.65); }
.intro__marker {
  position: absolute; left: 50%; top: -18px; bottom: -18px; width: 2px; margin-left: -1px; z-index: 2;
  background: var(--amber); box-shadow: 0 0 14px var(--amber), 0 0 2px #fff;
}
.intro__marker::before, .intro__marker::after {
  content: ""; position: absolute; left: 50%; width: 0; height: 0; margin-left: -7px;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
}
.intro__marker::before { top: -2px; border-top: 10px solid var(--amber); }
.intro__marker::after { bottom: -2px; border-bottom: 10px solid var(--amber); }

.intro__brand { position: relative; z-index: 3; text-align: center; padding-inline: 16px; }
.intro__kicker { font-family: var(--f-mono); font-size: clamp(11px, 1.2vw, 13px); letter-spacing: 0.42em; text-transform: uppercase; color: var(--cyan); margin: 0 0 clamp(18px, 3vw, 34px); }
/* Logo de marca animado (sin brillos sobre el logo, según el manual) */
.intro__logo { display: block; width: min(860px, 84vw); height: auto; margin: 0 auto; overflow: visible; }
.intro__tag { margin: clamp(22px, 3vw, 36px) auto 0; max-width: 40ch; color: var(--muted); font-size: clamp(14px, 1.3vw, 16px); }
.intro__skip {
  position: absolute; z-index: 4; right: clamp(24px, 4vw, 56px); bottom: clamp(48px, 7vw, 76px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease);
}
.intro__skip:hover { color: var(--text); border-color: rgba(238, 245, 246, 0.4); }
/* estado inicial (lo anima GSAP; sin JS queda visible y la red de seguridad lo oculta) */
.js .intro__brand > * { opacity: 0; }
.js .intro__brand > .intro__logo { opacity: 1; }
.js .intro__logo .il-l { opacity: 0; }
.js .intro__logo .il-s, .js .intro__logo .il-iso { opacity: 0; }
@media (max-width: 640px) {
  .reel-card { width: 132px; height: 132px; }
  .intro__reel { height: 170px; margin-top: -85px; }
  .intro__meta--tr, .intro__meta--bl { display: none; }
}

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(24px, 5vw, 64px));
  padding-bottom: clamp(48px, 6vw, 80px);
  display: grid; align-items: center;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__title { max-width: 12ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--cyan); }

.vitrina { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; justify-self: end; perspective: 1200px; }
.vitrina__frame {
  --r: #eb4b4b;
  position: absolute; inset: 0; border-radius: 28px;
  background:
    radial-gradient(70% 60% at 50% 42%, color-mix(in srgb, var(--r) 30%, transparent), transparent 70%),
    linear-gradient(160deg, #14273A, #0C1726 60%);
  border: 1px solid var(--line-2);
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease);
  overflow: hidden;
}
.vitrina__frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.vitrina__ring { position: absolute; left: 50%; top: 44%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); color: rgba(59, 227, 242, 0.35); }
.vitrina__ring svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vitrina__stage { position: absolute; left: 6%; right: 6%; top: 12%; height: 62%; display: grid; place-items: center; transform: translateZ(60px); }
.vitrina__img { width: 92%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.65)); animation: floaty 6s ease-in-out infinite; }
.vitrina__stage svg.ph { width: 60%; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 -6px; rotate: -1.5deg; } 50% { translate: 0 8px; rotate: 1deg; } }
.vitrina__hud { position: absolute; inset: 22px; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.vitrina__hud .tl { position: absolute; top: 0; left: 0; }
.vitrina__hud .tr { position: absolute; top: 0; right: 0; text-align: right; }
.vitrina__hud b { display: block; color: var(--text); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; margin-top: 4px; }
.vitrina__info {
  position: absolute; left: 18px; right: 18px; bottom: 18px; transform: translateZ(40px);
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(7, 11, 18, 0.88); border: 1px solid var(--line-2);
}
@supports (backdrop-filter: blur(10px)) { .vitrina__info { background: rgba(7, 11, 18, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.vitrina__weapon { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
.vitrina__name { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; line-height: 1.05; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.vitrina__price { margin: 0; font-family: var(--f-mono); font-size: 1.05rem; color: var(--amber); text-align: right; white-space: nowrap; }
.vitrina__float { grid-column: 1 / -1; }
.vitrina__dots { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateZ(30px); display: grid; gap: 8px; }
.vitrina__dots button { width: 6px; height: 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); transition: background var(--t-std) var(--ease), height var(--t-std) var(--ease); }
.vitrina__dots button.is-active { background: var(--amber); height: 30px; }
.vitrina__badge {
  position: absolute; left: -18px; top: 18%; z-index: 2;
  padding: 10px 14px; border-radius: 12px; background: var(--amber); color: #0A1220;
  font-weight: 800; font-size: 13px; line-height: 1.15; transform: rotate(-6deg);
  box-shadow: 0 18px 40px -12px rgba(59, 227, 242, 0.6);
}
.vitrina__badge small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .vitrina { justify-self: center; max-width: 480px; }
  .vitrina__badge { left: 8px; top: -14px; }
}

/* ---------- Float bar ---------- */
.floatbar { position: relative; height: 5px; border-radius: 3px; overflow: visible;
  background: linear-gradient(90deg, #3ecf8e 0 7%, #9bd35a 7% 15%, #f0c443 15% 38%, #f08a3b 38% 45%, #e5484d 45% 100%);
  opacity: 0.9;
}
.floatbar i { position: absolute; top: -4px; width: 2px; height: 13px; margin-left: -1px; background: #fff; border-radius: 1px; box-shadow: 0 0 6px rgba(255, 255, 255, 0.8); transition: left 600ms var(--ease); }
.floatbar--none { background: rgba(255, 255, 255, 0.08); }


/* =====================================================================
   Duo (Comprar / Vender)
   ===================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: space-between; gap: 48px;
  min-height: 520px; padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  transition: border-color var(--t-std) var(--ease), transform var(--t-std) var(--ease);
}
.duo__card::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0.55; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.duo__card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.duo__card:hover::before { opacity: 0.9; transform: scale(1.1); }
.duo__card--buy { --accent: var(--cyan); --glow: rgba(59, 227, 242, 0.22); }
.duo__card--sell { --accent: var(--papel); --glow: rgba(238, 245, 246, 0.10); }
.duo__tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.duo__title { margin: 14px 0 16px; }
.duo__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.duo__steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.duo__steps li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.duo__steps b { display: block; color: var(--text); font-weight: 700; }
.duo__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo__card { min-height: 0; } }

/* =====================================================================
   Product card (shared by home + tienda)
   ===================================================================== */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pcard {
  --r: #4b69ff;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #12233A, #0D1A2B);
  border: 1px solid var(--line);
  transition: transform var(--t-std) var(--ease), border-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease);
  animation: cardIn 520ms var(--ease-out) backwards; /* "backwards": al terminar no bloquea el transform del hover/inspección */
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--r) 55%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--r) 70%, transparent); }
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--r) 26%, transparent), transparent 72%);
}
.pcard__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--r); box-shadow: 0 0 14px var(--r); }
.pcard__media img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); transition: transform 600ms var(--ease); }
.pcard__media svg.ph { width: 52%; height: auto; opacity: 0.8; }
.pcard:hover .pcard__media img { transform: scale(1.07) rotate(-2deg); }
.pcard__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.badge { padding: 4px 7px; border-radius: 6px; background: rgba(10, 18, 32, 0.72); border: 1px solid var(--line-2); color: var(--muted); }
.badge--st { color: #ff8a3d; border-color: rgba(255, 138, 61, 0.4); }
.badge--r { color: var(--r); border-color: color-mix(in srgb, var(--r) 45%, transparent); }
.pcard__body { display: grid; gap: 10px; padding: 14px 16px 16px; flex: 1; align-content: start; }
.pcard__weapon { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pcard__name { margin: -6px 0 0; font-size: 1.12rem; font-weight: 800; line-height: 1.15; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.pcard__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.pcard__meta .wear { color: var(--text); padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.pcard__meta .note { color: var(--amber); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.pcard__price { margin: 0; font-family: var(--f-mono); font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; white-space: nowrap; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: rgba(59, 227, 242, 0.1); border: 1px solid rgba(59, 227, 242, 0.35); color: var(--cyan);
  font-size: 13px; font-weight: 700;
  transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease);
}
.add-btn:hover { background: var(--cyan); color: #0A1220; }
.add-btn:active { transform: scale(0.95); }
.add-btn svg { width: 15px; height: 15px; }
.add-btn.is-in { background: rgba(238, 245, 246, 0.08); border-color: rgba(238, 245, 246, 0.4); color: var(--papel); }
.add-btn.is-in:hover { background: rgba(238, 245, 246, 0.14); color: var(--papel); }

.pcard--ask { border-style: dashed; border-color: rgba(59, 227, 242, 0.35); background: linear-gradient(180deg, rgba(59, 227, 242, 0.06), transparent); justify-content: center; text-align: left; padding: 24px; gap: 14px; min-height: 320px; animation: cardIn 520ms var(--ease-out) backwards; }
.pcard--ask:hover { border-color: var(--amber); box-shadow: 0 24px 50px -24px rgba(59, 227, 242, 0.5); }
.pcard--ask h3 { margin: 0; font-size: 1.5rem; line-height: 1.05; font-weight: 800; font-stretch: 120%; font-variation-settings: "wdth" 120; }
.pcard--ask p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pcard--ask .ask-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 227, 242, 0.14); color: var(--amber); }
.pcard--ask .ask-ico svg { width: 22px; height: 22px; }
.pcard--ask .ask-link { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 700; font-size: 14px; }

/* ---------- "Te lo conseguimos" band ---------- */
.bring {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #14273A, #0C1626 55%);
  border: 1px solid rgba(59, 227, 242, 0.28);
}
.bring::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-45deg, rgba(59, 227, 242, 0.05) 0 2px, transparent 2px 14px); mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.bring p { color: var(--muted); margin: 14px 0 0; max-width: 56ch; }
@media (max-width: 760px) { .bring { grid-template-columns: 1fr; } }

/* ---------- Payments ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pay {
  position: relative; display: grid; gap: 22px; align-content: space-between; min-height: 190px;
  padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background var(--t-std) var(--ease);
}
.pay:hover { background: rgba(59, 227, 242, 0.035); }
.pay__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--cyan); font-family: var(--f-mono); font-weight: 600; font-size: 15px; transition: transform var(--t-std) var(--ease), border-color var(--t-std) var(--ease); }
.pay:hover .pay__ico { transform: translateY(-3px) rotate(-4deg); border-color: rgba(59, 227, 242, 0.5); }
.pay__ico svg { width: 22px; height: 22px; }
.pay__name { margin: 0; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.pay__name::before { content: ""; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
.pay__type { margin: 6px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 960px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pay { padding: 18px; min-height: 160px; } .pay__name { font-size: 1.05rem; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(11, 17, 27, 0.6); }
.pillar svg { width: 28px; height: 28px; color: var(--cyan); }
.pillar h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--cyan); transition: transform var(--t-std) var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 68ch; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.final { text-align: center; display: grid; justify-items: center; gap: 28px; }
.final .display { max-width: 16ch; }
.final__num { font-family: var(--f-mono); color: var(--muted); font-size: 14px; letter-spacing: 0.06em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--muted); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 960px) and (min-width: 761px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__credit { margin: 22px 0 0; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer__credit b { color: var(--papel); font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #03140a; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.6);
  transition: transform var(--t-std) var(--ease);
}
.wa-float:hover { transform: scale(1.07) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.6s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* =====================================================================
   Page header (tienda / vender)
   ===================================================================== */
.page-head { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; }
.page-head .display { margin-top: 20px; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   VENDER
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step {
  position: relative; display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-2), var(--panel));
  min-height: 360px;
}
.step__num { font-family: var(--f-mono); font-size: 13px; color: var(--amber); display: flex; align-items: center; gap: 12px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(59, 227, 242, 0.5), transparent); }
.step__ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(59, 227, 242, 0.1); border: 1px solid rgba(59, 227, 242, 0.3); color: var(--amber); }
.step__ico svg { width: 30px; height: 30px; }
.step h3 { margin: 6px 0 0; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.1; font-weight: 800; font-stretch: 115%; font-variation-settings: "wdth" 115; }
.step p { margin: 0; color: var(--muted); }
.step__or { color: var(--amber); font-style: italic; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

.sell-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.panel { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.howto { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: h; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.howto li::before { content: counter(h); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(59, 227, 242, 0.12); color: var(--cyan); font-family: var(--f-mono); font-size: 12px; }
.howto b { color: var(--text); }
.tradelink-sample { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #08101D; border: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.tradelink-sample em { font-style: normal; color: var(--cyan); }

.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.field label span { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: #08101D; border: 1px solid var(--line-2); outline: none;
  transition: border-color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease);
  font-size: 15px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(59, 227, 242, 0.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.form__err { min-height: 20px; margin: -6px 0 0; font-size: 13px; color: #ff7b7b; }
.form.shake { animation: shake 360ms var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 45% { transform: translateX(8px); } 70% { transform: translateX(-5px); } 90% { transform: translateX(2px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(238, 245, 246, 0.35); }
.chip[aria-pressed="true"] { color: var(--amber); border-color: var(--amber); background: rgba(59, 227, 242, 0.08); }
@media (max-width: 860px) { .sell-layout { grid-template-columns: 1fr; } }

/* =====================================================================
   TIENDA
   ===================================================================== */
.notice {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(59, 227, 242, 0.07); border: 1px solid rgba(59, 227, 242, 0.3);
  font-size: 15px;
}
.notice svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.notice p { margin: 0; flex: 1; min-width: 220px; }
.notice b { color: var(--amber); }
.notice a { color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.shop { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 120px; }
.shop > * { min-width: 0; }
.filters {
  position: sticky; top: calc(var(--nav-h) + 16px);
  padding: 22px 16px; border-radius: 16px;
  background: #0F1D2F; border: 1px solid var(--line-2);
}
.filters h2 { margin: 0 0 18px 6px; font-size: 1.4rem; font-weight: 800; }
.filters__label { margin: 22px 6px 10px; font-family: var(--f-body); font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.filters__label--cats { margin-top: 0; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cat {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; color: #b6c0cf; text-align: left;
  transition: color var(--t-quick) var(--ease), background var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease);
}
.cat:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.cat[aria-pressed="true"] { color: var(--amber); border-color: var(--amber); background: rgba(59, 227, 242, 0.05); }
.cat span { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.cat[aria-pressed="true"] span { color: rgba(59, 227, 242, 0.75); }
.wears { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.wears .chip { padding: 6px 10px; font-family: var(--f-mono); font-size: 11.5px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 6px; font-size: 14px; font-weight: 600; color: #b6c0cf; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; transition: background var(--t-quick) var(--ease); }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform var(--t-std) var(--ease), background var(--t-std) var(--ease); }
.toggle input:checked { background: rgba(255, 138, 61, 0.2); border-color: rgba(255, 138, 61, 0.6); }
.toggle input:checked::after { transform: translateX(18px); background: #ff8a3d; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: min(220px, 100%); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--dim); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border-radius: 12px; background: #0F1D2F; border: 1px solid var(--line-2); outline: none; font-size: 15px; transition: border-color var(--t-quick) var(--ease); }
.search input:focus { border-color: var(--cyan); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 48px; padding: 0 42px 0 16px; border-radius: 12px; background: #0F1D2F; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; outline: none; }
.select select:focus { border-color: var(--cyan); }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.select option { background: #0F1D2F; }
.result-count { font-family: var(--f-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.06em; width: 100%; margin: 0; }
.empty { grid-column: 1 / -1; padding: 60px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { margin: 0 0 10px; color: var(--text); font-size: 1.4rem; }
.empty .btn { margin-top: 20px; }

.filters-toggle { display: none; }
@media (max-width: 960px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; padding: 0; background: none; border: 0; }
  .filters h2, .filters__extra { display: none; }
  .filters__label--cats { display: none; }
  .cats { display: flex; gap: 8px; overflow-x: auto; overflow-y: visible; padding: 4px 2px 10px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cats::-webkit-scrollbar { display: none; }
  .cat { width: auto; white-space: nowrap; border-color: var(--line-2); border-radius: 999px; padding: 9px 14px; }
  .filters.show-extra .filters__extra { display: block; margin-top: 8px; padding: 16px; border-radius: 14px; background: #0F1D2F; border: 1px solid var(--line-2); }
  .filters-toggle { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #0F1D2F; font-size: 14px; font-weight: 600; }
  .filters-toggle svg { width: 16px; height: 16px; }
  .toolbar .search { order: -1; flex-basis: 100%; }
  .toolbar .select { flex: 1; }
  .toolbar .select select { width: 100%; }
}
@media (max-width: 520px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 12px; gap: 8px; }
  .pcard__name { font-size: 0.98rem; }
  .pcard__price { font-size: 0.9rem; }
  .pcard__foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .pcard__badges .badge--r { display: none; }
  .pcard--ask { grid-column: 1 / -1; min-height: 0; }
}

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(2, 4, 8, 0.6); opacity: 0; pointer-events: none; transition: opacity var(--t-std) var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
  width: min(440px, 100vw); display: flex; flex-direction: column;
  background: #0C1726; border-left: 1px solid var(--line-2);
  transform: translateX(104%); transition: transform 420ms var(--ease);
  box-shadow: -40px 0 80px -20px rgba(0, 0, 0, 0.6);
}
.cart-open .drawer { transform: none; transition-timing-function: var(--ease-out); }
.cart-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; display: flex; align-items: baseline; gap: 10px; }
.drawer__head h2 span { font-family: var(--f-mono); font-size: 12px; color: var(--dim); font-weight: 400; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background var(--t-quick) var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); }
.icon-btn svg { width: 16px; height: 16px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 22px; list-style: none; margin: 0; }
.citem { --r: #4b69ff; display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: cardIn 380ms var(--ease-out) both; }
.citem__img { width: 72px; height: 56px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--r) 30%, transparent), #0c121c 75%); border-bottom: 2px solid var(--r); overflow: hidden; }
.citem__img img { width: 90%; height: 90%; object-fit: contain; }
.citem__img svg.ph { width: 60%; }
.citem__w { margin: 0; font-size: 12px; color: var(--muted); }
.citem__n { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.citem__p { margin: 4px 0 0; font-family: var(--f-mono); font-size: 12.5px; color: var(--amber); }
.citem__rm { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); transition: color var(--t-quick) var(--ease), background var(--t-quick) var(--ease); }
.citem__rm:hover { color: #ff7b7b; background: rgba(255, 123, 123, 0.08); }
.citem__rm svg { width: 15px; height: 15px; }
.drawer__empty { padding: 48px 8px; text-align: center; color: var(--muted); }
.drawer__empty svg { width: 46px; height: 46px; color: var(--dim); margin: 0 auto 16px; }
.drawer__empty .btn { margin-top: 20px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: #0A1424; }
.drawer__pay p { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.drawer__pay .chip { padding: 6px 11px; font-size: 12.5px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total span { color: var(--muted); font-size: 14px; }
.drawer__total b { font-family: var(--f-mono); font-size: 1.35rem; font-weight: 600; }
.drawer__note { margin: 0; font-size: 12.5px; color: var(--dim); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 16px; border-radius: 14px;
  background: #14273A; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  font-size: 14px; font-weight: 600;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform 420ms var(--ease-out), opacity 300ms var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); flex: none; }
.toast button { color: var(--cyan); font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.toast button:hover { background: rgba(59, 227, 242, 0.1); }

/* ---------- Placeholder (si una imagen no carga) ---------- */
svg.ph { color: color-mix(in srgb, var(--r, #8592a6) 70%, #EEF5F6); }

/* ---------- Reduced motion: sólo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float::after { animation: none; }
  .intro__grid { animation: none; }
}

/* =====================================================================
   OPINIONES + carrusel de capturas
   ===================================================================== */
.reviews { columns: 3 300px; column-gap: 16px; }
.review {
  break-inside: avoid; margin: 0 0 16px; padding: 26px 26px 22px;
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: grid; gap: 18px;
  transition: border-color var(--t-std) var(--ease), transform var(--t-std) var(--ease);
}
.review:hover { border-color: rgba(59, 227, 242, 0.4); transform: translateY(-3px); }
.review__q { width: 28px; height: 21px; color: var(--cyan); }
.review blockquote { margin: 0; font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.5; color: var(--text); font-weight: 500; }
.review:first-child blockquote { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; line-height: 1.4; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__av { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 227, 242, 0.12); border: 1px solid rgba(59, 227, 242, 0.35); color: var(--cyan); font-weight: 800; font-size: 15px; }
.review figcaption b { display: block; font-size: 14.5px; }
.review figcaption small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dim); margin-top: 2px; }

.shots { margin-top: clamp(40px, 6vw, 72px); }
.shots__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shots__label { margin: 0; }
.shots__nav { display: flex; gap: 8px; }
.shots__track {
  display: flex; align-items: center; gap: 18px;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; outline: none;
}
.shots__track::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto; width: min(620px, 84vw); margin: 0; scroll-snap-align: start;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2);
  background: #1E0817; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transition: transform var(--t-std) var(--ease), border-color var(--t-std) var(--ease);
}
.shot:hover { transform: translateY(-4px); border-color: rgba(59, 227, 242, 0.4); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--panel-2); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 245, 246, 0.18); }
.shot__bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .reviews {
    columns: auto; display: flex; gap: 12px; align-items: stretch;
    overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; margin: 0; scroll-snap-align: start; align-content: space-between; }
  .review:first-child blockquote { font-size: 1.05rem; }
}

/* =====================================================================
   COMPRÁ SEGURO
   ===================================================================== */
.shield-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; background: rgba(59, 227, 242, 0.1); border: 1px solid rgba(59, 227, 242, 0.35); color: var(--cyan); }
.shield-ico svg { width: 28px; height: 28px; }
.official { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: var(--radius-lg); border: 1px solid rgba(59, 227, 242, 0.3); background: linear-gradient(135deg, rgba(59, 227, 242, 0.08), transparent 55%), var(--panel); }
.official__intro { display: grid; gap: 16px; justify-items: start; }
.official__intro .display { margin: 0; }
.official__intro p { margin: 0; color: var(--muted); max-width: 44ch; }
.official__intro b { color: var(--text); }
.official__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.official__list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(10, 18, 32, 0.6); border: 1px solid var(--line-2); transition: border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
.official__list a:hover { border-color: rgba(59, 227, 242, 0.5); transform: translateX(3px); }
.official__list a > span:nth-child(2) { flex: 1; min-width: 0; }
.official__list b { display: block; font-size: 15.5px; }
.official__list small { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.official__list a > svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.official__ico, .social__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--cyan); }
.official__ico svg, .social__ico svg { width: 20px; height: 20px; }
.official > * { min-width: 0; }
.official__list { grid-template-columns: minmax(0, 1fr); }
.official__list li { min-width: 0; }
@media (max-width: 860px) { .official { grid-template-columns: minmax(0, 1fr); } }

.never { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.never__item { padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); display: grid; gap: 16px; align-content: start; }
.never__item i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(235, 75, 75, 0.12); border: 1px solid rgba(235, 75, 75, 0.4); color: #ff7b7b; }
.never__item i svg { width: 16px; height: 16px; }
.never__item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.never__item b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 4px; }
@media (max-width: 1100px) { .never { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .never { grid-template-columns: 1fr; } .never__item { grid-template-columns: 36px 1fr; align-items: start; } }

.scams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scam { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.scam__n { font-family: var(--f-mono); font-size: 12px; color: var(--cyan); letter-spacing: 0.1em; }
.scam h3 { margin: 0; font-size: 1.3rem; line-height: 1.15; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.scam p { margin: 0; color: var(--muted); font-size: 15px; }
.scam__fix { margin-top: 6px !important; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text) !important; }
.scam__fix b { color: var(--cyan); }
.scam__fix .mono { font-size: 12.5px; color: var(--cyan); white-space: nowrap; }
@media (max-width: 960px) { .scams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .scams { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; }
.checklist li { position: relative; padding: 14px 0 14px 38px; border-top: 1px solid var(--line); color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--cyan); background: rgba(59, 227, 242, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233BE3F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.panel--cta { display: grid; align-content: center; justify-items: start; background: linear-gradient(135deg, rgba(238, 245, 246, 0.06), transparent 60%), var(--panel); }

.safe-band { margin-top: 18px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius-lg); border: 1px solid rgba(59, 227, 242, 0.3); background: linear-gradient(110deg, rgba(59, 227, 242, 0.08), transparent 60%), var(--panel); transition: border-color var(--t-std) var(--ease); }
.safe-band:hover { border-color: var(--cyan); }
.safe-band__txt { flex: 1; color: var(--muted); font-size: 15px; }
.safe-band__txt b { display: block; color: var(--text); font-size: 1.2rem; font-weight: 800; }
.safe-band__go { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; white-space: nowrap; }
.safe-band__go svg { width: 18px; height: 18px; transition: transform var(--t-std) var(--ease); }
.safe-band:hover .safe-band__go svg { transform: translateX(4px); }
@media (max-width: 640px) { .safe-band { flex-wrap: wrap; } .safe-band__go { width: 100%; } }

/* =====================================================================
   REDES
   ===================================================================== */
.social-grid { display: grid; gap: 12px; }
.social-grid--row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.social { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel-2), var(--panel)); transition: border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
.social:hover { border-color: rgba(59, 227, 242, 0.5); transform: translateY(-2px); }
.social__txt { flex: 1; min-width: 0; }
.social__txt b { display: block; font-size: 16px; }
.social__txt small { display: block; color: var(--muted); font-size: 13.5px; }
.social > svg { width: 18px; height: 18px; color: var(--cyan); flex: none; transition: transform var(--t-quick) var(--ease); }
.social:hover > svg { transform: translateX(3px); }
.social--wa .social__ico { color: #25d366; }

/* =====================================================================
   STREAMERS PARTNERS
   ===================================================================== */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.partner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 16px; align-content: start;
  padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color var(--t-std) var(--ease), transform var(--t-std) var(--ease);
  animation: cardIn 520ms var(--ease-out) backwards; /* "backwards": al terminar no bloquea el transform del hover/inspección */ animation-delay: calc(var(--i, 0) * 60ms);
}
.partner::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 110px; background: radial-gradient(120% 100% at 0% 0%, rgba(59, 227, 242, 0.18), transparent 70%); }
.partner:hover { border-color: rgba(59, 227, 242, 0.45); transform: translateY(-3px); }
.partner__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.partner__av { width: 72px; height: 72px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; flex: none; background: var(--tinta); border: 1.5px solid var(--cyan); color: var(--cyan); font-weight: 800; font-size: 30px; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.partner__av img { width: 100%; height: 100%; object-fit: cover; }
.partner__chip { padding: 6px 10px; border-radius: 999px; background: rgba(59, 227, 242, 0.1); border: 1px solid rgba(59, 227, 242, 0.35); color: var(--cyan); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.partner__name { margin: 4px 0 0; font-size: 1.6rem; line-height: 1.05; font-weight: 800; font-stretch: 120%; font-variation-settings: "wdth" 120; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.partner__desc { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.partner__links { display: flex; flex-wrap: wrap; gap: 8px; }
.partner__link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text); transition: border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease); }
.partner__link:hover { border-color: rgba(59, 227, 242, 0.5); background: rgba(59, 227, 242, 0.06); }
.partner__link svg { width: 16px; height: 16px; color: var(--cyan); }
.partner .btn { margin-top: 4px; }
.partner--join { border-style: dashed; border-color: rgba(238, 245, 246, 0.22); background: transparent; align-content: center; justify-items: start; min-height: 300px; }
.partner--join::before { display: none; }
.partner--join:hover { border-color: var(--cyan); }
.partner__plus { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; border: 1px dashed rgba(59, 227, 242, 0.5); color: var(--cyan); }
.partner__plus svg { width: 22px; height: 22px; }
.partner__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: 14.5px; }
.partner__cta svg { width: 16px; height: 16px; transition: transform var(--t-std) var(--ease); }
.partner--join:hover .partner__cta svg { transform: translateX(4px); }

.nav__link { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 1181px) { .nav__cta { display: none; } .nav__link { padding: 10px 11px; } }

/* =====================================================================
   Skins reservadas (alguien las tiene en su carrito por unas horas)
   ===================================================================== */
.add-btn.is-res { background: transparent; border-color: var(--line-2); color: var(--dim); cursor: not-allowed; }
.add-btn.is-res:hover { background: transparent; color: var(--dim); }
.pcard--res .pcard__media img, .pcard--res .pcard__media .ph { opacity: 0.45; filter: grayscale(0.6); }
.pcard--res .pcard__price { color: var(--muted); }

/* ---------- Botón destacado "¿Querés vender?" en el menú (al lado de Inicio) ---------- */
.nav__link.nav__link--sell {
  background: var(--cyan); color: #0A1220; font-weight: 800; padding: 10px 18px; margin: 0 6px;
  box-shadow: 0 0 0 0 rgba(59, 227, 242, 0);
  transition: transform var(--t-quick) var(--ease), box-shadow var(--t-std) var(--ease), background var(--t-quick) var(--ease);
}
.nav__link.nav__link--sell:hover { background: #6cf0fa; color: #0A1220; transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(59, 227, 242, 0.65); }
.nav__link.nav__link--sell[aria-current="page"] { color: #0A1220; box-shadow: 0 0 0 2px rgba(238, 245, 246, 0.9); }
.nav__link.nav__link--sell[aria-current="page"]::after { display: none; }
@media (max-width: 1180px) {
  .nav__link.nav__link--sell { margin: 10px 0; padding: 14px 18px; text-align: center; border-bottom: 0; border-radius: 999px; font-size: 17px; }
}

/* ---------- La intro no se dibuja si ya se vio en esta sesión (lo decide lib/boot.js antes de pintar) ---------- */
html.intro-seen .intro { display: none !important; }

/* =====================================================================
   INTERACCIÓN (interact.js) — mira de CS2, inspección de skins, luz en la grilla
   ===================================================================== */
@property --g { syntax: "<length>"; inherits: true; initial-value: 5px; }
@property --l { syntax: "<length>"; inherits: true; initial-value: 7px; }

/* El cursor nativo se reemplaza por la mira sólo con mouse; en campos de texto vuelve el cursor de texto. */
html.has-xh, html.has-xh body, html.has-xh a, html.has-xh button, html.has-xh label, html.has-xh summary, html.has-xh [role=button] { cursor: none; }
html.has-xh input, html.has-xh textarea, html.has-xh select, html.has-xh [contenteditable] { cursor: auto; }

.xh { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity 200ms var(--ease); }
.xh.is-on { opacity: 1; }
.xh.is-text { opacity: 0; }
.xh__arms, .xh__dot { position: absolute; left: 0; top: 0; will-change: transform; }
.xh__arms { --g: 5px; --l: 7px; transition: --g 220ms cubic-bezier(0.23, 1, 0.32, 1), --l 220ms cubic-bezier(0.23, 1, 0.32, 1); }
.xh__arm {
  position: absolute; left: 0; top: 0; background: var(--cyan); border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(10, 18, 32, 0.55), 0 0 10px rgba(59, 227, 242, 0.45);
  transition: opacity 160ms var(--ease), background 160ms var(--ease);
}
.xh__arm--t, .xh__arm--b { width: 2px; height: var(--l); margin-left: -1px; }
.xh__arm--l, .xh__arm--r { height: 2px; width: var(--l); margin-top: -1px; }
.xh__arm--t { transform: translateY(calc(-1 * (var(--g) + var(--l)))); }
.xh__arm--b { transform: translateY(var(--g)); }
.xh__arm--l { transform: translateX(calc(-1 * (var(--g) + var(--l)))); }
.xh__arm--r { transform: translateX(var(--g)); }
.xh__dot {
  width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--papel);
  box-shadow: 0 0 0 1px rgba(10, 18, 32, 0.6);
  transition: opacity 160ms var(--ease);
}
/* sobre algo clickeable: la mira se abre */
.xh.is-link .xh__arms { --g: 11px; --l: 5px; }
.xh.is-link .xh__dot { opacity: 0.35; }
/* clic: retroceso (rápido al apretar, suave al soltar) */
.xh.is-down .xh__arms { --g: 2px; transition-duration: 70ms; }
.xh.is-link.is-down .xh__arms { --g: 7px; }
/* sobre una skin: visor de inspección */
.xh__box {
  position: absolute; left: -38px; top: -38px; width: 76px; height: 76px;
  opacity: 0; transform: scale(0.82) rotate(-8deg);
  transition: opacity 180ms var(--ease), transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
}
.xh__c { position: absolute; width: 14px; height: 14px; border: 2px solid var(--cyan); filter: drop-shadow(0 0 6px rgba(59, 227, 242, 0.5)); }
.xh__c--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.xh__c--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.xh__c--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.xh__c--br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.xh__label {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  padding: 5px 9px; border-radius: 6px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #0A1220; background: var(--cyan);
  box-shadow: 0 8px 20px -6px rgba(59, 227, 242, 0.6);
}
.xh.is-inspect .xh__box { opacity: 1; transform: none; }
.xh.is-inspect .xh__arms { --g: 3px; --l: 4px; }
.xh.is-inspect .xh__dot { opacity: 0; }
.xh.is-inspect.is-down .xh__box { transform: scale(0.92); transition-duration: 90ms; }

/* Luz que sigue al mouse sobre la grilla del fondo (misma grilla, más brillante, enmascarada) */
.ambient__spot {
  position: absolute; inset: 0; --sx: -999px; --sy: -999px;
  background:
    radial-gradient(340px circle at var(--sx) var(--sy), rgba(59, 227, 242, 0.07), transparent 70%),
    linear-gradient(rgba(59, 227, 242, 0.32) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(90deg, rgba(59, 227, 242, 0.32) 1px, transparent 1px) 0 0 / 88px 88px;
  -webkit-mask-image: radial-gradient(240px circle at var(--sx) var(--sy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  mask-image: radial-gradient(240px circle at var(--sx) var(--sy), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
}

/* Inspección de skins */
.pcard__glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  --gx: 50%; --gy: 30%;
  background:
    radial-gradient(420px circle at var(--gx) var(--gy), color-mix(in srgb, var(--r) 30%, rgba(255, 255, 255, 0.16)), transparent 46%),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 50%, transparent 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 260ms var(--ease);
}
.pcard.is-tilting { transition: border-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); will-change: transform; }
.pcard.is-tilting .pcard__glare { opacity: 1; }
.pcard.is-tilting .pcard__media img { will-change: transform, translate; }
.vitrina__frame.is-tilting { transition: none; }

/* Vuelo al carrito */
.fly-ghost { position: fixed; z-index: 2147482000; pointer-events: none; object-fit: contain; margin: 0; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); will-change: transform, opacity; }
.cart-btn.is-hit { animation: cartHit 460ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes cartHit {
  0% { box-shadow: 0 0 0 0 rgba(59, 227, 242, 0.55); border-color: var(--cyan); }
  35% { transform: scale(1.06); }
  100% { box-shadow: 0 0 0 14px rgba(59, 227, 242, 0); transform: scale(1); }
}

/* Respuesta al apretar */
.cart-btn { transition: border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease), transform 140ms var(--ease); }
.cart-btn:active, .nav__link:active, .menu-btn:active { transform: scale(0.96); }
.pcard--ask:active { transform: scale(0.985); }

/* Superficies del navegador */
html { scrollbar-color: #24405c var(--bg); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d3550; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a4c70; }
input, textarea { caret-color: var(--cyan); }

/* Anclas de la landing: que el menú fijo no tape el título de cada sección */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
