/* ==========================================================================
   MONARCC — Clean Luxury Streetwear Design System
   Negro cálido + Oro Champagne, bordes redondeados, mucho aire.
   ========================================================================== */

:root {
  --bg: #0B0B0C;
  --surface: #131315;
  --surface-2: #1A1A1D;
  --surface-3: #232327;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);

  --text: #F4F4F5;
  --muted: #A1A1AA;
  --dim: #71717A;

  --gold: #C9A96E;
  --gold-2: #E6CB8F;
  --gold-ink: #17120A;

  --red: #E11D2A;
  --blue: #0057D9;
  --mocha: #7A543E;
  --green: #34D399;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Syne', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --top-bar-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--gold-ink); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: var(--pill); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
}
.h-section { font-size: clamp(26px, 3.4vw, 40px); }
.lead { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.tabular { font-variant-numeric: tabular-nums; }

.gold-text {
  background: linear-gradient(120deg, #F1DCA7 0%, #C9A96E 45%, #9C7E4A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--surface-3); color: var(--text); border-color: var(--line); }
.btn-dark:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn-light { background: var(--text); color: #0B0B0C; }
.btn-light:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn-block { width: 100%; }

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.07); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--text); color: #0B0B0C; border-color: var(--text); }
.chip .count { font-size: 11px; opacity: 0.6; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tag-red { background: var(--red); border-color: transparent; color: #fff; }
.tag-gold { background: var(--gold); border-color: transparent; color: var(--gold-ink); }
.tag .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tag .live.warn { background: #F59E0B; animation: blink 1.2s infinite; }

@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Inputs ---------- */
.input, .select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--dim); }
.input:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }

input[type="range"] { width: 100%; accent-color: var(--red); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: transform 0.9s var(--ease), border-radius 0.9s var(--ease);
}
#preloader.is-done { transform: translateY(-100%); border-radius: 0 0 48px 48px; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 0 24px; }

.preloader-vector-wrap { width: min(220px, 65vw); height: auto; position: relative; }
.preloader-vector-svg { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(201, 169, 110, 0.35)); }
.preloader-vector-paths path {
  opacity: 0;
  transform: translateY(10px);
  animation: prePathFade 1.2s var(--ease) forwards;
}
.preloader-vector-paths .pre-crown { animation-delay: 0.1s; }
.preloader-vector-paths .pre-bar { animation-delay: 0.35s; }
.preloader-vector-paths .pre-wordmark { animation-delay: 0.5s; }
.preloader-vector-paths .pre-subtitle { animation-delay: 0.7s; }

@keyframes prePathFade {
  to { opacity: 1; transform: translateY(0); }
}

.preloader-count { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: 0.04em; }
.preloader-bar { width: 220px; height: 3px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gold); transition: width 0.08s linear; }
.preloader-caption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }

/* ==========================================================================
   TOP BAR + HEADER (scroll state machine)
   ========================================================================== */
.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: transform 0.5s var(--ease);
}
body.is-scrolled .site-top { transform: translateY(calc(var(--top-bar-h) * -1)); }

.top-bar {
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  background: #121009;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  font-size: 12px;
  color: #D9CBAE;
  transition: opacity 0.4s var(--ease);
}
body.is-scrolled .top-bar { opacity: 0; }
.top-bar button { background: none; border: 0; color: inherit; padding: 0; font-size: 12px; }
.top-bar .link { color: var(--gold-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.top-bar .sep { opacity: 0.3; }

.header {
  height: 68px;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
body.is-scrolled .header { border-bottom-color: var(--line); background: rgba(11, 11, 12, 0.92); }
.header .container { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header-left, .header-right { display: flex; align-items: center; gap: 10px; }
.header-right { justify-content: flex-end; }

.nav { display: none; gap: 28px; margin-left: 14px; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
@media (min-width: 1100px) { .nav { display: flex; } }

/* Logo: vector crown + wordmark con transición fluida al hacer scroll */
.header-logo-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 140px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.header-crown-vec {
  width: 32px;
  height: 24px;
  display: block;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.header-wordmark-vec {
  width: 108px;
  height: 14px;
  display: block;
  margin-top: 3px;
  transition: transform 0.45s var(--ease);
}
body.is-scrolled .header-crown-vec {
  opacity: 0;
  transform: scale(0.35) translateY(-14px);
  pointer-events: none;
}
body.is-scrolled .header-wordmark-vec {
  transform: translateY(-13px);
}

.bag-btn {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: border-color 0.2s, background 0.2s;
}
.bag-btn:hover { border-color: var(--gold); }
.bag-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--pill); display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700; }
.bag-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }

.stock-pill { display: none; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.stock-pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
@media (min-width: 900px) { .stock-pill { display: inline-flex; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-wrap { padding: 12px; }
.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 128px));
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0d0d0e;
  isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; transform: scale(1.04); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.35) 45%, rgba(11, 11, 12, 0.1) 70%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.6) 0%, transparent 60%);
}
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.7) 32%, rgba(11, 11, 12, 0.05) 62%), linear-gradient(0deg, rgba(11, 11, 12, 0.5) 0%, transparent 30%); }
}
.hero-content {
  width: 100%;
  padding: 32px 20px 36px;
  max-width: 580px;
  overflow: visible;
}
@media (min-width: 900px) {
  .hero-content { padding: 64px 72px; }
}

/* Official MONARCC Vector Emblem (Scalable & Never Cut Off) */
.hero-brand-lockup {
  position: relative;
  width: 100%;
  max-width: min(480px, 86vw);
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
  overflow: visible;
}
.hero-vector-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 28px rgba(201, 169, 110, 0.22));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.hero-brand-lockup:hover .hero-vector-svg {
  transform: translateY(-3px) scale(1.015);
  filter: drop-shadow(0 18px 38px rgba(201, 169, 110, 0.4));
}

/* Crown Floating / Breathing Animation */
.anim-crown {
  transform-origin: 799px 626px;
  animation: crownFloat 4.2s ease-in-out infinite;
}
@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px) scale(1.01); }
}

.hero-tagline { font-size: 13.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #E4E4E7; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero-meta .tag { height: 30px; padding: 0 14px; font-weight: 500; color: #D4D4D8; }

/* Footer Vector Logo */
.footer-vector-wrap { width: min(180px, 60vw); margin-bottom: 14px; }
.footer-vector-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 12px rgba(201, 169, 110, 0.15)); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
@media (min-width: 900px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-head .titles { display: flex; flex-direction: column; gap: 10px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }

.chips-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }

/* ---------- Benefits strip ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.benefit-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(201, 169, 110, 0.1); color: var(--gold); }
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h4 { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
.benefit p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: cardIn 0.6s var(--ease) both;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }

.card-media { position: relative; aspect-ratio: 3 / 4; background: #101012; overflow: hidden; }
.slider { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; scroll-snap-align: start; user-select: none; -webkit-user-drag: none; }
.slide-item { flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden; scroll-snap-align: start; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.slide-label { position: absolute; left: 10px; bottom: 22px; z-index: 2; font-size: 10px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(11, 11, 12, 0.75); backdrop-filter: blur(6px); padding: 2px 8px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, 0.1); pointer-events: none; }

.card-tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; pointer-events: none; z-index: 2; }
.card-tags .stack { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(244, 244, 245, 0.92);
  color: #0B0B0C;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.slide-arrow svg { width: 16px; height: 16px; }
.slide-arrow.prev { left: 10px; transform: translateX(-6px); }
.slide-arrow.next { right: 10px; transform: translateX(6px); }
.card-media:hover .slide-arrow { opacity: 1; transform: none; }
@media (hover: none) { .slide-arrow { display: none; } }

.slide-progress { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; height: 3px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.22); overflow: hidden; pointer-events: none; }
.slide-progress span { display: block; height: 100%; border-radius: inherit; background: #fff; transition: transform 0.3s var(--ease); transform-origin: left; }

.quick-btn {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translate(-50%, 10px);
  opacity: 0;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 0;
  background: rgba(244, 244, 245, 0.95);
  color: #0B0B0C;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.25s, transform 0.3s var(--ease);
}
.card-media:hover .quick-btn { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .quick-btn { display: none; } }

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; flex: 1; }
@media (min-width: 1024px) { .card-body { padding: 16px 18px 18px; } }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.card-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; transition: color 0.2s; }
.card-title:hover { color: var(--gold-2); }

.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-old { font-size: 12.5px; color: var(--dim); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.save { font-size: 11px; font-weight: 700; color: #fff; background: var(--red); padding: 2px 7px; border-radius: var(--pill); }

.card-options { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sizes { display: flex; gap: 4px; }
.size {
  min-width: 30px;
  height: 28px;
  padding: 0 6px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s;
}
.size:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.size.is-active { background: var(--text); color: #0B0B0C; border-color: var(--text); }
.size-lg { min-width: 48px; height: 40px; font-size: 13px; border-radius: var(--r-sm); }

.swatches { display: flex; gap: 6px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); padding: 0; transition: transform 0.15s, box-shadow 0.15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.swatch-lg { width: 26px; height: 26px; }

.card-body .btn { height: 40px; margin-top: auto; font-size: 11.5px; }
@media (max-width: 520px) {
  .card-options .swatches { display: none; }
  .card-body { gap: 8px; padding: 12px; }
  .card-title { font-size: 13px; }
  .card-meta span:last-child { display: none; }
  .size { min-width: 26px; height: 26px; font-size: 10.5px; }
}

/* Locked VIP card (easter egg más accesible) */
.card-locked { cursor: pointer; border-color: rgba(201, 169, 110, 0.35); background: linear-gradient(180deg, #17140E 0%, var(--surface) 60%); }
.card-locked .card-media img { filter: blur(14px) brightness(0.55) saturate(0.8); transform: scale(1.15); }
.lock-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.lock-overlay svg { width: 54px; height: 44px; color: var(--gold); animation: floaty 3s ease-in-out infinite; }
.lock-overlay strong { font-family: var(--font-display); letter-spacing: 0.08em; font-size: 15px; text-transform: uppercase; }
.lock-overlay small { color: #D4D4D8; font-size: 12px; max-width: 200px; }
.lock-taps { display: flex; gap: 6px; margin-top: 4px; }
.lock-taps i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: background 0.2s; }
.lock-taps i.on { background: var(--gold); }
@keyframes floaty { 50% { transform: translateY(-5px); } }
.card-vip { border-color: rgba(201, 169, 110, 0.5); box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.2), 0 20px 50px -25px rgba(201, 169, 110, 0.35); }

.load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.load-more .progress { width: 200px; height: 3px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; }
.load-more .progress span { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width 0.4s var(--ease); }

.empty-state { padding: 64px 24px; text-align: center; border-radius: var(--r-xl); background: var(--surface); border: 1px dashed var(--line-2); }

/* ==========================================================================
   BREAKERS (cada 4 prendas)
   ========================================================================== */
.breaker { grid-column: 1 / -1; margin: 20px 0; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); animation: cardIn 0.6s var(--ease) both; }
@media (min-width: 1024px) { .breaker { margin: 32px 0; } }

.breaker-drop { display: grid; grid-template-columns: 1fr; background: radial-gradient(120% 120% at 0% 0%, #1D1912 0%, var(--surface) 55%); }
@media (min-width: 900px) { .breaker-drop { grid-template-columns: 1.1fr 0.9fr; } }
.breaker-copy { padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 900px) { .breaker-copy { padding: 56px; } }
.breaker-media { position: relative; min-height: 360px; }
.breaker-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .breaker-media { margin: 14px; border-radius: var(--r-xl); overflow: hidden; } }

.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 62px; padding: 10px 8px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); text-align: center; }
.countdown b { display: block; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: 10px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }

/* Video pair */
.breaker-video { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .breaker-video { grid-template-columns: 0.9fr 1.1fr; } .breaker-video.reverse .breaker-copy { order: 2; } }
.video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 16px; }
@media (min-width: 900px) { .video-pair { padding: 16px; gap: 14px; } }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: #111113; max-height: 560px; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, transparent 35%); pointer-events: none; }
.reel-label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.reel-label b { font-size: 13px; font-weight: 600; }
.reel-label span { font-size: 11.5px; color: #D4D4D8; }
.reel-sound { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(11, 11, 12, 0.6); backdrop-filter: blur(8px); color: #fff; }
.reel-sound svg { width: 16px; height: 16px; }
.detail-list { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.detail-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #D4D4D8; }
.detail-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.breaker-season { display: flex; flex-direction: column; gap: 20px; padding: 32px 24px; background: radial-gradient(100% 140% at 100% 0%, rgba(225, 29, 42, 0.16) 0%, transparent 55%), var(--surface); }
@media (min-width: 900px) { .breaker-season { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 56px; } }

/* ==========================================================================
   TRACKING (Inter Rapidísimo)
   ========================================================================== */
.tracking-card { padding: 24px; display: grid; gap: 24px; }
@media (min-width: 900px) { .tracking-card { padding: 40px; grid-template-columns: 0.9fr 1.1fr; gap: 40px; } }
.track-form { display: flex; gap: 8px; }
.track-form .input { font-family: var(--mono); letter-spacing: 0.06em; }
.track-result { border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); padding: 22px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; font-size: 13px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps-line { position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 3px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; }
.steps-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width 0.8s var(--ease); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.step-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--dim); font-size: 12px; font-weight: 700; transition: all 0.4s var(--ease); }
.step.is-done .step-dot { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.step.is-current .step-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(225, 29, 42, 0.18); }
.step b { font-size: 12px; font-weight: 600; }
.step span { font-size: 11px; color: var(--dim); }
.track-log { margin-top: 22px; display: grid; gap: 10px; font-size: 13px; }
.track-log div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .reviews { grid-auto-columns: calc(50% - 7px); } }
@media (min-width: 1100px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 0; font-size: 14px; color: #D4D4D8; line-height: 1.6; flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2A241A, #3A3122); color: var(--gold-2); font-weight: 700; font-size: 13px; }
.review-who b { display: block; font-size: 13.5px; }
.review-who span { font-size: 12px; color: var(--dim); }
.verified { margin-left: auto; font-size: 11px; color: var(--green); white-space: nowrap; }

/* ==========================================================================
   ABOUT + POLICIES
   ========================================================================== */
.about-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.about-img { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.about-stats div { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.about-stats b { display: block; font-size: 22px; font-weight: 700; }
.about-stats span { font-size: 12px; color: var(--dim); }

.accordion { display: grid; gap: 10px; }
.acc { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.2s; }
.acc[open] { border-color: rgba(201, 169, 110, 0.35); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); transition: transform 0.3s var(--ease), background 0.3s; }
.acc[open] summary .plus { transform: rotate(45deg); background: var(--gold); color: var(--gold-ink); }
.acc .acc-body { padding: 0 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta-band { display: grid; gap: 20px; padding: 32px 24px; border-radius: var(--r-2xl); background: radial-gradient(120% 160% at 100% 100%, rgba(201, 169, 110, 0.18) 0%, transparent 50%), var(--surface); border: 1px solid var(--line); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.footer ul a, .footer ul button { color: var(--muted); background: none; border: 0; padding: 0; font-size: 13.5px; text-align: left; transition: color 0.2s; }
.footer ul a:hover, .footer ul button:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ==========================================================================
   DRAWERS (Sidebar + Carrito)
   ========================================================================== */
.backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 8px;
  bottom: 8px;
  z-index: 100;
  width: calc(100% - 16px);
  max-width: 440px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.drawer-left { left: 8px; transform: translateX(calc(-100% - 24px)); }
.drawer-right { right: 8px; transform: translateX(calc(100% + 24px)); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 24px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }

/* Sidebar con tonos Motorsport */
.racing-stripe { height: 5px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%); }
.side-block-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; transition: background 0.2s; }
.side-nav a:hover { background: var(--surface-2); }
.side-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.side-cats .chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.side-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.side-sizes .size { height: 44px; border-radius: var(--r-sm); font-size: 13px; }
.side-sizes .size.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.side-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.side-colors .swatch { width: 30px; height: 30px; }
.side-colors .swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--blue); }
.offer-card { padding: 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--red) 0%, #9E0F1A 100%); color: #fff; display: grid; gap: 10px; }
.offer-card p { margin: 0; font-size: 13px; opacity: 0.9; }
.offer-card .btn { background: #fff; color: #9E0F1A; height: 40px; }
.offer-card.is-active { outline: 2px solid #fff; outline-offset: 3px; }
.inventory-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--blue) 0%, #003A92 100%); color: #fff; }
.inventory-card b { font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.inventory-card span { font-size: 12px; opacity: 0.85; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--dim); }
.search-field .input { padding-left: 42px; }

/* Cart */
.cart-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(225, 29, 42, 0.1); border: 1px solid rgba(225, 29, 42, 0.3); font-size: 12.5px; color: #FECACA; line-height: 1.45; }
.ship-progress { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bar { height: 6px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); transition: width 0.5s var(--ease); }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.cart-item img { width: 76px; height: 96px; object-fit: cover; object-position: center 20%; border-radius: var(--r-sm); }
.cart-item h4 { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.cart-item .opts { font-size: 12px; color: var(--dim); }
.cart-item .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.stepper { display: inline-flex; align-items: center; height: 32px; border-radius: var(--pill); border: 1px solid var(--line-2); }
.stepper button { width: 32px; height: 30px; background: none; border: 0; color: var(--text); font-size: 15px; }
.stepper span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: var(--dim); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--dim); }
.totals { display: grid; gap: 6px; font-size: 13.5px; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; font-weight: 700; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { height: 40px; text-transform: uppercase; font-size: 13px; }
.coupon-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coupon-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--pill); background: rgba(52, 211, 153, 0.12); color: var(--green); font-size: 11.5px; font-weight: 600; }
.coupon-tag button { background: none; border: 0; color: inherit; padding: 0; font-size: 13px; line-height: 1; }
.pay-grid { display: grid; gap: 8px; }
.btn-gpay { height: 48px; border-radius: var(--pill); border: 1px solid #3C4043; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 500; transition: background 0.2s; }
.btn-gpay:hover { background: #1a1a1a; }
.btn-gpay svg { height: 20px; width: auto; }
.card-brands { display: flex; justify-content: center; gap: 6px; }
.card-brands span { height: 22px; padding: 0 8px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-3); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.mini-track { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.mini-track .track-form .input { height: 40px; font-size: 13px; }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100svh - 32px); overflow-y: auto; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(16px) scale(0.98); transition: transform 0.4s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-box.wide { max-width: 980px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.modal-pad { padding: 32px 28px 28px; }
.modal-pad h3 { margin: 6px 0 8px; }

.qv { display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) { .qv { grid-template-columns: 1fr 1fr; } }
.qv-media { position: relative; padding: 12px; }
.qv-media .slider { aspect-ratio: 4 / 5; border-radius: var(--r-xl); height: auto; background: #101012; }
.qv-media .slider img { object-position: center 15%; }
.qv-media .slide-progress { left: 28px; right: 28px; bottom: 112px; }
.qv-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.qv-thumbs button { width: 64px; height: 80px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: none; opacity: 0.55; transition: all 0.2s; }
.qv-thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.qv-info { padding: 12px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 860px) { .qv-info { padding: 40px 36px 32px 20px; } }
.qv-info h2 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; }
.qv-info .price { font-size: 24px; }
.qv-info .price-old { font-size: 15px; }
.spec-list { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); font-size: 13px; color: var(--muted); }
.spec-list b { color: var(--text); font-weight: 600; }

.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-radius: var(--r-lg); border: 1px dashed rgba(201, 169, 110, 0.6); background: rgba(201, 169, 110, 0.06); }
.code-box b { font-family: var(--mono); font-size: 22px; letter-spacing: 0.12em; color: var(--gold-2); }

.success-icon, .vip-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; }
.success-icon { background: rgba(52, 211, 153, 0.14); color: var(--green); }
.vip-icon { background: rgba(201, 169, 110, 0.14); color: var(--gold); }
.success-icon svg, .vip-icon svg { width: 30px; height: 30px; }
.kv { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); font-size: 13.5px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv span { color: var(--dim); }

/* ==========================================================================
   TOAST + EASTER EGG FX
   ========================================================================== */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translateX(-50%); display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--pill); background: rgba(28, 28, 31, 0.95); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13.5px; animation: toastIn 0.4s var(--ease) both; }
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

.crown-flash { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(230, 203, 143, 0.35) 0%, rgba(225, 29, 42, 0.12) 45%, transparent 75%); }
.crown-flash::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(230, 203, 143, 0.06) 3px 4px); }
.crown-flash::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.35), transparent); }
.crown-flash.is-on { animation: flash 1.4s var(--ease); }
.crown-flash.is-on::after { animation: sweep 1.1s var(--ease); }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sweep { to { left: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
