/* =========================================================================
   REINO SNEAKERS · sistema de diseño luxury (negro + dorado)
   Mobile-first. Sin frameworks. Un solo archivo para toda la tienda.
   Orden: tokens → reset → utilidades → header → componentes → secciones
          → páginas → responsive (min-width) → accesibilidad
   ========================================================================= */

/* ------------------------------------------------------------------ tokens */
:root {
  /* superficies */
  --bg: #06060a;
  --bg-soft: #0b0b11;
  --surface: #101017;
  --surface-2: #16161f;
  --surface-3: #1d1d27;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.4);
  --line-soft: rgba(255, 255, 255, 0.07);

  /* oro */
  --gold: #d4af37;
  --gold-light: #f4e3a1;
  --gold-deep: #9c7a1a;
  --champagne: #e8d9a8;
  --gold-grad: linear-gradient(135deg, #8a6a12 0%, #d4af37 26%, #fff3c4 50%, #d4af37 74%, #8a6a12 100%);
  --gold-grad-soft: linear-gradient(135deg, #d4af37, #f4e3a1 55%, #b58f27);

  /* texto */
  --text: #f6f3ec;
  --text-soft: #c9c3b6;
  --text-muted: #8f8a80;

  /* estado */
  --ok: #4fbf8b;
  --warn: #e0a83c;
  --danger: #e2574c;
  --info: #6aa6e0;

  /* forma */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* sombra */
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 10px 40px -12px rgba(212, 175, 55, 0.35);
  --glow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 20px 60px -25px rgba(212, 175, 55, 0.4);

  /* tipografía */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --header-h: 58px;
  --header-full: 112px;   /* cabecera + fila del buscador (movil) */
  --search-h: 52px;
  --tabbar-h: 62px;
  --pad: clamp(16px, 4vw, 40px);
  --container: 1340px;
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-deep) var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Aura dorada de fondo, fija y muy liviana */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 620px at 18% -8%, rgba(212, 175, 55, 0.13), transparent 62%),
    radial-gradient(760px 520px at 105% 12%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(180deg, #06060a 0%, #08080d 40%, #05050a 100%);
  pointer-events: none;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 8.2vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 5.4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 3.6vw, 1.5rem); }

::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0a0a10; }
::-webkit-scrollbar-thumb { background: #2e2a1c; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* -------------------------------------------------------------- utilidades */
.container { width: min(var(--container), 100%); margin-inline: auto; padding-inline: var(--pad); }

/* Los hijos de una grilla traen min-width:auto, lo que deja que una tabla
   ancha estire toda la página. Con min-width:0 el contenedor con scroll
   propio hace su trabajo y la página nunca se desborda. */
.panel-layout > *, .catalog-layout > *, .product-layout > *, .cart-layout > *,
.hero-grid > *, .about-grid > *, .auction-card > *, .form-grid > *, .stack > * { min-width: 0; }
.grad {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.center { text-align: center; }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.full { width: 100%; }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; }

/* ------------------------------------------------------------------ botones */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn[disabled], .btn.is-busy { opacity: 0.55; pointer-events: none; }

.btn-gold {
  background: var(--gold-grad);
  color: #1a1204;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  background-size: 200% 100%;
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 44px -12px rgba(212, 175, 55, 0.6); }

.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--champagne); }
.btn-outline:hover { background: rgba(212, 175, 55, 0.08); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-danger { border-color: rgba(226, 87, 76, 0.45); color: #ffb4ad; }
.btn-danger:hover { background: rgba(226, 87, 76, 0.14); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.76rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }

/* ---------------------------------------------------------------- insignias */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.08);
  color: var(--champagne);
  white-space: nowrap;
}
.badge-gold { background: var(--gold-grad); color: #1a1204; border-color: transparent; }
.badge-sale { background: rgba(226, 87, 76, 0.16); border-color: rgba(226, 87, 76, 0.4); color: #ffb0a8; }
.badge-new { background: rgba(106, 166, 224, 0.14); border-color: rgba(106, 166, 224, 0.36); color: #a8d0f2; }
.badge-ok { background: rgba(79, 191, 139, 0.14); border-color: rgba(79, 191, 139, 0.35); color: #8ce0bb; }
.badge-warn { background: rgba(224, 168, 60, 0.14); border-color: rgba(224, 168, 60, 0.38); color: #f0cd8a; }
.badge-off { background: rgba(255, 255, 255, 0.05); border-color: var(--line-soft); color: var(--text-muted); }
.badge-live::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff5f52;
  box-shadow: 0 0 0 0 rgba(255, 95, 82, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 95, 82, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 95, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 95, 82, 0); }
}

/* --------------------------------------------------------------- tarjetas */
.card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(16px, 4vw, 24px);
  position: relative;
}
.card-gold { border-color: var(--line); box-shadow: var(--shadow); }

/* ----------------------------------------------------------- formularios */
.field { display: grid; gap: 7px; }
.field > label, .label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.18s, background 0.18s;
  appearance: none;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--line-strong);
  background: rgba(212, 175, 55, 0.05);
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: #6d6862; }
.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
  cursor: pointer;
}
.btn-link {
  font-weight: 800;
  padding: 7px 3px;
  min-height: 34px;
  display: inline-block;
}
.check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 0.86rem; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.form-grid { display: grid; gap: 14px; }
.form-error {
  background: rgba(226, 87, 76, 0.12);
  border: 1px solid rgba(226, 87, 76, 0.35);
  color: #ffb4ad;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
}
.form-ok {
  background: rgba(79, 191, 139, 0.12);
  border: 1px solid rgba(79, 191, 139, 0.35);
  color: #9ae7c4;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
}

/* ================================================================= HEADER */
/*
   Movil  : fila compacta (menu - logo - accesos) + buscador debajo.
   >=960px: dos filas alineadas al contenedor: marca, buscador centrado y
            accesos arriba; el menu, centrado, en su propia fila.
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 6, 10, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-main { height: var(--header-h); }
.header-main > .header-inner { height: 100%; }
.header-nav { display: none; }

.brand { flex: none; display: flex; align-items: center; }
.brand img {
  display: block;
  height: 34px;
  width: auto;
  flex: none;
  object-fit: contain;
}

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-soft);
  position: relative;
  flex: none;
  transition: color 0.18s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover, .icon-btn.is-active { color: var(--gold); background: rgba(212, 175, 55, 0.1); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .dot {
  position: absolute; top: 4px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--gold-grad);
  color: #1a1204;
  font-size: 0.64rem;
  font-weight: 900;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hide-sm { display: none; }

/* --- buscador --- */
.search { position: relative; flex: 1; min-width: 0; }
#search-desktop { display: none; }
.search-mobile { padding: 0 var(--pad) 10px; }
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 5px 0 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.search-form:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
  background: rgba(212, 175, 55, 0.05);
}
.search-form > svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.search-form input {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  background: none;
  border: 0;
  outline: none;
  font-size: 0.9rem;
}
.search-form input::placeholder { color: #6d6862; }
.search-form .btn { min-height: 34px; padding: 0 16px; font-size: 0.74rem; }

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #0c0c12;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden auto;
  z-index: 60;
  max-height: min(70vh, 460px);
}
.suggest:empty { display: none; }
.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s;
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover, .suggest-item.is-sel { background: rgba(212, 175, 55, 0.1); }
.suggest-item img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  flex: none;
}
.suggest-item .t { display: block; font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.suggest-item .m { display: block; font-size: 0.74rem; color: var(--text-muted); }
.suggest-item .p { margin-left: auto; font-weight: 800; color: var(--gold); font-size: 0.85rem; white-space: nowrap; }
.suggest-head {
  padding: 9px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* --- menu de escritorio --- */
.nav-desktop { display: none; }
.nav-desktop > ul { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 46px;
  padding: 0 15px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 9px;
  height: 1.5px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.is-active, .nav-item:hover > .nav-link { color: var(--gold); }
.nav-link:hover::after, .nav-link.is-active::after, .nav-item:hover > .nav-link::after { transform: scaleX(1); }
.nav-link .chev { width: 10px; height: 10px; opacity: 0.55; transition: transform 0.24s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.nav-dot {
  margin-left: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--gold-grad);
  color: #1a1204;
  font-size: 0.64rem;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 270px;
  max-width: calc(100vw - 32px);
  background: #0b0b11;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mega-grid { display: grid; grid-template-columns: 1fr; gap: 18px 24px; }
.mega-col > .eyebrow { display: block; margin-bottom: 9px; }
.mega-col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: color 0.16s, background 0.16s, padding-left 0.16s;
}
.mega-col a:hover { color: var(--gold); background: rgba(212, 175, 55, 0.08); padding-left: 13px; }
.mega-col a span { font-size: 0.7rem; color: var(--text-muted); }
.mega-wide { min-width: min(620px, calc(100vw - 32px)); }
.mega-wide .mega-grid { grid-template-columns: repeat(3, 1fr); }

/* --- drawer móvil --- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(2, 2, 5, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 310;
  width: min(330px, 88vw);
  background: #08080d;
  border-right: 1px solid var(--line);
  transform: translateX(-102%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0;
  background: #08080d;
  z-index: 2;
}
.drawer-head img { height: 26px; }
.drawer-body { padding: 10px var(--pad) 20px; }
.acc { border-bottom: 1px solid var(--line-soft); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 15px 2px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.acc-head svg { width: 12px; height: 12px; color: var(--gold); transition: transform 0.25s; }
.acc.is-open .acc-head svg { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 0 12px 10px; }
.acc.is-open .acc-body { display: block; }
.acc-body a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  border-radius: var(--r-sm);
}
.acc-body a:active { background: rgba(212, 175, 55, 0.1); }
.acc-body a span { font-size: 0.68rem; color: var(--text-muted); }
.drawer-user {
  margin: 16px var(--pad) 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(212, 175, 55, 0.05);
}

/* --- barra inferior movil --- */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(8, 8, 13, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line-soft);
}
.tabbar a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.tabbar .tb-ico { position: relative; display: block; line-height: 0; }
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.is-active { color: var(--gold); }
.tabbar a.is-active::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 2px;
  background: var(--gold-grad);
  border-radius: 0 0 3px 3px;
}
.tabbar .dot {
  position: absolute; top: -6px; left: 12px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--gold-grad); color: #1a1204;
  font-size: 0.62rem; font-weight: 900;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
}
body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }

/* ============================================================ VISOR 360 3D */
/*
   Las fotos son caras de un prisma que gira: cada una rota sobre el eje Y con
   perspectiva y se releva con la siguiente cuando ambas estan muy giradas.
   La mascara en degradado disuelve el fondo blanco de las fotos contra el
   negro de la pagina, de modo que el par parece flotar en un charco de luz.
*/
.viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
.viewer.is-dragging { cursor: grabbing; }

/* Lienzo del visor 3D real (WebGL). */
.viewer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.viewer-gl { touch-action: none; }

/* Aura tenue detrás del producto ya recortado: solo insinúa la luz de
   vitrina, sin formar un halo gris alrededor de la silueta. */
.viewer-glow {
  position: absolute;
  inset: 8% 4% 8%;
  background: radial-gradient(52% 46% at 50% 50%, rgba(212, 175, 55, 0.10), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

/* El recuadro debe ser cuadrado como las fotos: asi la mascara coincide
   exactamente con la imagen y no queda un rectangulo blanco alrededor. */
.viewer-stage {
  position: absolute;
  inset: 5%;
  transform-style: preserve-3d;
}
.viewer-face {
  position: absolute;
  inset: 0;
  transform-origin: 50% 58%;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}
.viewer-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Solo para el visor CSS de respaldo: disuelve el fondo blanco. */
  -webkit-mask-image: radial-gradient(ellipse 53% 35% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.82) 83%, rgba(0, 0, 0, 0.32) 94%, transparent 100%);
  mask-image: radial-gradient(ellipse 53% 35% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.82) 83%, rgba(0, 0, 0, 0.32) 94%, transparent 100%);
}

/* Charco de luz que acompana el giro. */
.viewer-shadow {
  position: absolute;
  left: 16%; right: 16%; bottom: 8%;
  height: 6%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.34), rgba(212, 175, 55, 0.10) 48%, transparent 76%);
  filter: blur(9px);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.viewer-badge,
.viewer-hint {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(8, 8, 13, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  white-space: nowrap;
  pointer-events: none;
}
.viewer-badge { top: 12px; left: 12px; z-index: 4; }
.viewer-badge svg, .viewer-hint svg { width: 14px; height: 14px; color: var(--gold); }
.viewer-hint {
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  transition: opacity 0.4s;
}
.viewer.is-touched .viewer-hint { opacity: 0; }

.viewer-spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  transition: opacity 0.45s;
}
.viewer-spinner.is-done { opacity: 0; pointer-events: none; }
.spinner {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.18);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- controles --- */
.media-block { display: grid; gap: 12px; }
.media-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.viewer-controls { display: flex; align-items: center; gap: 12px; }
.viewer-range { flex: 1; }

input[type='range'].gold {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 36px;
  background: none;
  cursor: pointer;
}
input[type='range'].gold::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
}
input[type='range'].gold::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--gold-grad);
  border: 2px solid #0a0a10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
input[type='range'].gold::-moz-range-track { height: 3px; border-radius: 3px; background: var(--gold-deep); }
input[type='range'].gold::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 2px solid #0a0a10;
}

/* Conmutador 3D / Fotos */
.view-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  gap: 2px;
}
.view-toggle button {
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.18s, background 0.18s;
}
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button.is-active { background: var(--gold-grad); color: #1a1204; }
.view-toggle button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Galeria de fotos */
.gallery { display: grid; gap: 10px; }
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: radial-gradient(60% 55% at 50% 48%, rgba(212, 175, 55, 0.1), transparent 72%), #0c0c12;
  border: 1px solid var(--line-soft);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button {
  width: 62px; height: 62px;
  flex: none;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
  transition: border-color 0.18s, transform 0.18s;
}
.gallery-thumbs button.is-active { border-color: var(--gold); transform: translateY(-2px); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================================== PRODUCT CARD */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr));
  gap: clamp(10px, 2.2vw, 18px);
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(168deg, rgba(23, 23, 32, 0.9), rgba(9, 9, 14, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

/* Envoltorio de la imagen: ancla las superposiciones sobre la foto. */
.pc-top { position: relative; display: block; }
.pc-media {
  display: block;                 /* es un <a>: sin esto colapsa a 0x0 */
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(58% 55% at 50% 46%, rgba(212, 175, 55, 0.1), transparent 72%), #0d0d13;
  overflow: hidden;
}
.pc-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
}
.pc-media img.pc-alt { opacity: 0; }
.product-card:hover .pc-media img.pc-main { opacity: 0; }
.product-card:hover .pc-media img.pc-alt { opacity: 1; transform: scale(1.05); }

.pc-flags { position: absolute; top: 8px; left: 8px; display: grid; gap: 5px; z-index: 2; justify-items: start; }
.pc-fav {
  position: absolute; top: 7px; right: 7px; z-index: 3;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6, 6, 10, 0.62);
  border: 1px solid var(--line-soft);
  color: var(--text-soft);
  backdrop-filter: blur(4px);
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.pc-fav svg { width: 16px; height: 16px; }
.pc-fav:hover { transform: scale(1.1); }
.pc-fav.is-on { color: var(--gold); border-color: var(--line-strong); }
.pc-fav.is-on svg { fill: currentColor; }

.pc-3d {
  position: absolute; bottom: 8px; right: 8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(6, 6, 10, 0.7);
  border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--champagne);
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}
.pc-3d svg { width: 13px; height: 13px; }
.pc-3d:hover { background: var(--gold-grad); color: #1a1204; border-color: transparent; }

.pc-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pc-brand {
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.pc-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.34;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.pc-title:hover { color: var(--champagne); }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.pc-price .now { font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.pc-price .was { font-size: 0.76rem; color: var(--text-muted); text-decoration: line-through; }
.pc-meta { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-muted); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: -2px; }
.stars svg { width: 12px; height: 12px; }
.stars .off { color: #3a372e; }

/* -------------------------------------------------------------- secciones */
.section { padding-block: clamp(38px, 6.5vw, 76px); }
.section-tight { padding-block: clamp(24px, 4vw, 44px); }
.section-band {
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.04) 22%, rgba(212, 175, 55, 0.04) 78%, transparent);
  border-block: 1px solid var(--line-soft);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(16px, 3vw, 30px);
}
.section-head h2 { margin: 7px 0 0; }
.section-head p { color: var(--text-muted); font-size: 0.88rem; max-width: 54ch; margin-top: 8px; }

/* Carrusel horizontal en movil que se vuelve rejilla en escritorio. */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- toast */
.toasts {
  position: fixed;
  z-index: 400;
  bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px;
  border-radius: var(--r);
  background: #12121a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  animation: toast-in 0.3s var(--ease);
  pointer-events: auto;
}
.toast.ok { border-color: rgba(79, 191, 139, 0.4); }
.toast.err { border-color: rgba(226, 87, 76, 0.45); }
.toast svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* --------------------------------------------------------------- esqueleto */
.skel {
  background: linear-gradient(90deg, #14141c 25%, #1d1d27 50%, #14141c 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { aspect-ratio: 0.72; border-radius: var(--r); }

.empty {
  padding: clamp(30px, 8vw, 60px) 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--text-muted);
}
.empty h3 { color: var(--text); margin-bottom: 8px; }

/* =================================================================== HERO */
/*
   La portada es el producto: solo el par girando, sin texto que compita.
*/
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 520px);
  padding-block: clamp(6px, 2vw, 18px) clamp(30px, 5vw, 48px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -20% 0;
  background: radial-gradient(46% 44% at 50% 42%, rgba(212, 175, 55, 0.14), transparent 72%);
  pointer-events: none;
}
.hero-stage {
  display: block;
  position: relative;
  width: min(100%, 460px);
  z-index: 1;
}
.hero-stage .viewer { aspect-ratio: 1 / 1; }
/* Nombre del modelo bajo el par: enlace aparte, nunca envolviendo al visor
   (un <a> alrededor haría que el navegador secuestrara el arrastre). */
.hero-link {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(8, 8, 13, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s, border-color 0.2s;
}
.hero-link:hover { color: var(--gold); border-color: var(--line-strong); }
.hero-link:empty, .hero-link span:empty { display: none; }

.hero-scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  background: rgba(8, 8, 13, 0.5);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Cifras rapidas (se usa tambien en la cabecera de subastas). */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats .v { font-family: var(--font-display); font-size: clamp(1.15rem, 4.4vw, 1.6rem); font-weight: 700; color: var(--champagne); }
.hero-stats .l { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* --------------------------------------------------------- categorías */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2.4vw, 18px);
}
.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cat-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cat-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 4, 8, 0.15) 0%, rgba(4, 4, 8, 0.55) 52%, rgba(4, 4, 8, 0.94) 100%);
}
.cat-card .k { font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.cat-card .t { font-family: var(--font-display); font-size: clamp(1rem, 3.6vw, 1.45rem); font-weight: 700; line-height: 1.15; }
.cat-card .n { font-size: 0.68rem; color: var(--text-muted); }
.cat-card.is-wide { aspect-ratio: 16 / 11; grid-column: span 2; }

/* ------------------------------------------------------------- reseñas */
.reviews-grid { display: grid; gap: 14px; }
.review {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(22, 22, 31, 0.85), rgba(9, 9, 14, 0.9));
  position: relative;
}
.review::before {
  content: '”';
  position: absolute;
  top: 2px; right: 16px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.14);
}
.review h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; margin: 9px 0 6px; }
.review p { font-size: 0.86rem; color: var(--text-soft); }
.review-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad);
  color: #1a1204;
  font-weight: 900;
  font-size: 0.8rem;
  flex: none;
}
.review-foot .n { font-size: 0.8rem; font-weight: 700; }
.review-foot .d { font-size: 0.68rem; color: var(--text-muted); }

/* ------------------------------------------------------------ sobre / redes */
.about-grid { display: grid; gap: clamp(22px, 5vw, 44px); align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.about-stat {
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
}
.about-stat .v { font-family: var(--font-display); font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 700; }
.about-stat .l { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.about-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: var(--shadow);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-btn svg { width: 17px; height: 17px; color: var(--gold); }
.social-btn:hover { border-color: var(--line-strong); background: rgba(212, 175, 55, 0.08); transform: translateY(-2px); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: clamp(30px, 6vw, 64px);
  border-top: 1px solid var(--line);
  background: #050509;
  padding-top: clamp(26px, 4vw, 44px);
}
.footer-grid {
  display: grid;
  gap: 22px 24px;
  grid-template-columns: repeat(2, 1fr);
}
.footer-brand { grid-column: span 2; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.83rem; max-width: 42ch; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--text-soft);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { color: var(--gold); border-color: var(--line-strong); background: rgba(212, 175, 55, 0.08); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 800;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 24px;
  padding: 14px 0 calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-pay span {
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}
body.has-tabbar .site-footer { padding-bottom: var(--tabbar-h); }

/* ============================================================== CATÁLOGO */
.page-head {
  padding-block: clamp(20px, 4vw, 40px) clamp(14px, 3vw, 24px);
  border-bottom: 1px solid var(--line-soft);
}
.crumbs { display: flex; gap: 7px; align-items: center; font-size: 0.72rem; color: var(--text-muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.crumbs svg { width: 11px; height: 11px; opacity: 0.5; }

.catalog-layout { display: grid; gap: 22px; padding-block: 22px; }
.filters-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.filters-bar::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.is-on { background: var(--gold-grad); color: #1a1204; border-color: transparent; }
.chip svg { width: 13px; height: 13px; }
.chip select, .chip input { align-self: stretch; min-height: 100%; cursor: pointer; }

.filters-panel { display: grid; gap: 20px; align-content: start; }
.filter-group { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
.filter-group > .eyebrow { display: block; margin-bottom: 11px; }
.filter-list { display: grid; gap: 3px; max-height: 260px; overflow-y: auto; }
.filter-list label {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 8px;
  min-height: 40px;
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  cursor: pointer;
  color: var(--text-soft);
}
.filter-list label:hover { background: rgba(212, 175, 55, 0.07); }
.filter-list input { accent-color: var(--gold); width: 19px; height: 19px; flex: none; }
.filter-list .c { margin-left: auto; font-size: 0.68rem; color: var(--text-muted); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 7px; }
.size-btn {
  min-height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: all 0.16s;
}
.size-btn:hover:not(:disabled) { border-color: var(--line-strong); color: var(--text); }
.size-btn.is-on { background: var(--gold-grad); color: #1a1204; border-color: transparent; }
.size-btn:disabled { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 320;
  max-height: 86vh;
  overflow-y: auto;
  background: #0a0a11;
  border-top: 1px solid var(--line);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 0 var(--pad) calc(22px + env(safe-area-inset-bottom));
  transform: translateY(102%);
  transition: transform 0.34s var(--ease);
  overscroll-behavior: contain;
}
.sheet.is-open { transform: none; }
.sheet-head {
  position: sticky; top: 0;
  background: #0a0a11;
  padding: 14px 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 2;
}
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: #2e2a1c; margin: 8px auto 0; }
.sheet-foot {
  position: sticky; bottom: 0;
  background: linear-gradient(180deg, transparent, #0a0a11 30%);
  padding: 12px 0 4px;
  display: flex; gap: 10px;
}

.pager { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.pager button {
  min-width: 40px; min-height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: all 0.16s;
}
.pager button:hover:not(:disabled) { border-color: var(--line-strong); color: var(--text); }
.pager button.is-on { background: var(--gold-grad); color: #1a1204; border-color: transparent; }
.pager button:disabled { opacity: 0.3; }

/* =============================================================== PRODUCTO */
.product-layout { display: grid; gap: clamp(22px, 5vw, 46px); padding-block: clamp(18px, 4vw, 34px); }
.product-info h1 { font-size: clamp(1.5rem, 5.6vw, 2.5rem); margin: 8px 0 12px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.price-now { font-size: clamp(1.5rem, 5.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.price-was { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.stock-line { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 9px currentColor; }
.stock-dot.bajo { background: var(--warn); }
.stock-dot.agotado { background: var(--danger); }
.buy-bar { display: grid; gap: 10px; margin-top: 20px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-soft); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 42px; height: 46px; font-size: 1.1rem; color: var(--gold); }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }
.perks { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.perk { display: flex; gap: 11px; align-items: flex-start; font-size: 0.83rem; color: var(--text-soft); }
.perk svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.prose { color: var(--text-soft); font-size: 0.9rem; line-height: 1.75; }
.prose p { margin-bottom: 12px; }
.prose strong { color: var(--text); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 13px 15px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.tab.is-active { color: var(--gold); border-color: var(--gold); }
.tab-panel { padding-top: 20px; }

/* barra fija de compra en móvil */
.buy-sticky {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  z-index: 180;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px var(--pad);
  background: rgba(8, 8, 13, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(130%);
  transition: transform 0.3s var(--ease);
}
.buy-sticky.is-show { transform: none; }
.buy-sticky .p { font-weight: 800; font-size: 0.95rem; }
.buy-sticky .s { font-size: 0.7rem; color: var(--text-muted); }
.buy-sticky .btn { flex: 1; }

/* =============================================================== SUBASTAS */
.auction-hero {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(18px, 4vw, 32px);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(212, 175, 55, 0.14), transparent 65%),
    linear-gradient(160deg, #13131b, #08080d);
  position: relative;
  overflow: hidden;
}
.countdown { display: flex; gap: 7px; }
.cd-unit {
  min-width: 54px;
  padding: 9px 6px;
  text-align: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(6, 6, 10, 0.55);
}
.cd-unit .n {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--champagne);
}
.cd-unit .l { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.cd-urgent .cd-unit { border-color: rgba(226, 87, 76, 0.5); }
.cd-urgent .cd-unit .n { color: #ff9b91; }

.auction-grid { display: grid; gap: clamp(14px, 3vw, 22px); }
.auction-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(22, 22, 31, 0.9), rgba(9, 9, 14, 0.95));
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.auction-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.auction-card .media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: #0d0d13;
  position: relative;
}
.auction-card .media img { width: 100%; height: 100%; object-fit: cover; }
.bid-box {
  display: grid; gap: 10px;
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.05);
}
.bid-current { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bid-current .v { font-family: var(--font-display); font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 700; color: var(--champagne); }
.bid-quick { display: flex; gap: 7px; flex-wrap: wrap; }
.bid-history { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; }
.bid-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
}
.bid-row.is-top { background: rgba(212, 175, 55, 0.11); border: 1px solid var(--line); }
.bid-row .a { font-weight: 800; color: var(--champagne); }
.bid-row .t { font-size: 0.68rem; color: var(--text-muted); }

/* ================================================================ CARRITO */
.cart-layout { display: grid; gap: 22px; padding-block: 22px; }
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.cart-item .t { font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.cart-item .m { font-size: 0.72rem; color: var(--text-muted); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; padding: 7px 0; }
.summary-row.total { font-size: 1.05rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px; }

/* ================================================================== PANEL */
.panel-layout { display: grid; gap: 20px; padding-block: 22px; }
.panel-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.panel-nav::-webkit-scrollbar { display: none; }
.panel-nav button {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  transition: all 0.18s;
}
.panel-nav button svg { width: 15px; height: 15px; }
.panel-nav button:hover { border-color: var(--line-strong); color: var(--text); }
.panel-nav button.is-active { background: var(--gold-grad); color: #1a1204; border-color: transparent; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.kpi {
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(22, 22, 31, 0.9), rgba(9, 9, 14, 0.95));
}
.kpi .k { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); }
.kpi .v { font-family: var(--font-display); font-size: clamp(1.25rem, 4.6vw, 1.7rem); font-weight: 700; margin-top: 5px; letter-spacing: -0.01em; }
.kpi .d { font-size: 0.7rem; font-weight: 700; margin-top: 3px; }
.kpi .d.up { color: var(--ok); }
.kpi .d.down { color: var(--danger); }

.chart-card { padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02); }
.chart-card svg { width: 100%; height: auto; display: block; overflow: visible; }
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px; font-size: 0.8rem; }
.bar-track { grid-column: 1 / -1; height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 7px; background: var(--gold-grad); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table.data { min-width: 640px; font-size: 0.82rem; }
table.data th {
  text-align: left;
  padding: 11px 13px;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
table.data td { padding: 11px 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s; }
table.data tbody tr:hover { background: rgba(212, 175, 55, 0.05); }
.cell-prod { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.cell-prod img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; }
.cell-prod .t { font-weight: 600; line-height: 1.25; font-size: 0.8rem; }
.cell-prod .s { font-size: 0.68rem; color: var(--text-muted); }
.inline-input {
  width: 92px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-size: 0.8rem;
  text-align: right;
}
.inline-input:focus { border-color: var(--line-strong); outline: none; }
.inline-input.w-sm { width: 64px; }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 350;
  background: rgba(2, 2, 5, 0.8);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: end center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  overflow-y: auto;
  padding: 0;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  width: 100%;
  max-width: 620px;
  background: #0a0a11;
  border: 1px solid var(--line);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(40px);
  transition: transform 0.3s var(--ease);
  overscroll-behavior: contain;
}
.modal-backdrop.is-open .modal { transform: none; }
.modal-head {
  position: sticky; top: 0; z-index: 2;
  background: #0a0a11;
  padding: 16px var(--pad) 13px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal-head h3 { font-size: 1.05rem; }
.modal-body { padding: 18px var(--pad); }
.modal-foot {
  position: sticky; bottom: 0;
  background: linear-gradient(180deg, transparent, #0a0a11 40%);
  padding: 14px var(--pad) calc(18px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; justify-content: flex-end;
  flex-wrap: wrap;
}

/* ================================================================== AUTH */
.auth-wrap { display: grid; gap: 26px; padding-block: clamp(24px, 6vw, 60px); place-items: center; }
.auth-card { width: min(460px, 100%); }
.auth-tabs { display: flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); margin-bottom: 22px; }
.auth-tabs button {
  flex: 1;
  min-height: 40px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s;
}
.auth-tabs button.is-active { background: var(--gold-grad); color: #1a1204; }

/* ========================================================== RESPONSIVE ↑ */

/* Tablet pequeña */
@media (min-width: 560px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card.is-wide { grid-column: span 2; aspect-ratio: 3 / 2; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .form-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .auction-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { gap: 12px; }
}

/* Tablet */
@media (min-width: 768px) {
  body { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
  .cart-layout { grid-template-columns: 1.7fr 1fr; align-items: start; }
  .cart-item { grid-template-columns: 96px 1fr; }
  .cart-item img { width: 96px; height: 96px; }
  .modal-backdrop { place-items: center; padding: 22px; }
  .modal { border-radius: var(--r-xl); }
  .modal-foot { padding-bottom: 18px; }
  .sheet { position: static; transform: none; max-height: none; padding: 0; background: none; border: 0; border-radius: 0; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Escritorio: cambia el header a una sola fila con nav */
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: span 4; }
}

/* Escritorio: cabecera de dos filas, menu completo y sin barra inferior. */
@media (min-width: 960px) {
  :root { --header-h: 68px; --header-full: 114px; }
  .search-mobile { display: none; }
  #search-desktop { display: block; }
  .drawer-toggle { display: none; }
  .tabbar { display: none; }
  body.has-tabbar { padding-bottom: 0; }
  body.has-tabbar .site-footer { padding-bottom: 0; }
  .hide-sm { display: grid; }
  .toasts { left: auto; right: 22px; bottom: 22px; transform: none; }

  .brand img { height: 42px; }
  .header-main > .header-inner {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 420px) 1fr;
    align-items: center;
    gap: 18px;
  }
  .brand { justify-self: start; }
  .header-actions { justify-self: end; margin-left: 0; }
  .header-nav { display: block; border-top: 1px solid var(--line-soft); }
  .header-nav > .nav-desktop { display: flex; justify-content: center; gap: 0; }

  .hero { min-height: min(84vh, 720px); }
  .hero-stage { width: min(58vw, 640px); }
  /* Nombre del modelo bajo el par: enlace aparte, nunca envolviendo al visor
   (un <a> alrededor haría que el navegador secuestrara el arrastre). */
.hero-link {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(8, 8, 13, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s, border-color 0.2s;
}
.hero-link:hover { color: var(--gold); border-color: var(--line-strong); }
.hero-link:empty, .hero-link span:empty { display: none; }

.hero-scroll { bottom: 18px; }

  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { height: 62px; }

  .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  .product-media { position: sticky; top: calc(var(--header-full) + 16px); }
  .buy-sticky { display: none; }
  .catalog-layout { grid-template-columns: 252px minmax(0, 1fr); }
  .filters-panel {
    position: sticky;
    top: calc(var(--header-full) + 16px);
    max-height: calc(100vh - var(--header-full) - 32px);
    overflow-y: auto;
    padding-right: 6px;
  }
  .filters-toggle { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .panel-layout { grid-template-columns: 216px minmax(0, 1fr); align-items: start; }
  .panel-nav {
    flex-direction: column;
    overflow: visible;
    margin: 0;
    padding: 0;
    position: sticky;
    top: calc(var(--header-full) + 16px);
  }
  .panel-nav button { justify-content: flex-start; width: 100%; }
  .auction-card { grid-template-columns: 250px minmax(0, 1fr); align-items: center; }
  .auction-grid { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: minmax(220px, 1fr); }
}

/* Escritorio grande */
@media (min-width: 1200px) {
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .header-main > .header-inner { grid-template-columns: 1fr minmax(300px, 460px) 1fr; }
}

/* Puntero fino: activa efectos de hover más ricos */
@media (hover: none) {
  .product-card:hover { transform: none; }
  .product-card:hover .pc-media img.pc-main { opacity: 1; }
  .product-card:hover .pc-media img.pc-alt { opacity: 0; }
}

/* Pantallas muy estrechas (iPhone SE, 320px) */
@media (max-width: 360px) {
  :root { --pad: 13px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .brand img { height: 26px; }
  .cd-unit { min-width: 46px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Modo horizontal en teléfonos */
@media (max-height: 460px) and (orientation: landscape) {
  .tabbar { display: none; }
  body.has-tabbar { padding-bottom: 0; }
  .hero { padding-block: 18px; }
}

/* Accesibilidad: respeta la reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Impresión */
@media print {
  .site-header, .tabbar, .site-footer, .buy-sticky, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
}
