/* ═══════════════════════════════════════════════════════════════════════════
   SAINT — public stylesheet  ·  FASE 7C
   Identidad: under / dark / gothic / editorial / streetwear premium.
   Fondo negro profundo · contraste alto · gótico sólo en marca y títulos
   gigantes, el resto tipografía técnica (Bebas + JetBrains Mono + Inter).

   IMPORTANTE: Mantiene EXACTAMENTE los mismos selectores y clases que la
   versión anterior para no romper Alpine.js, x-model, x-show, @click,
   los IDs de checkout/admin ni los listeners de app.js.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Paleta */
  --bg:           #050505;        /* negro profundo del body */
  --bg-elev:      #0a0a0a;        /* superficies elevadas */
  --bg-elev-2:    #111111;        /* hover, inputs, modal */
  --bg-soft:      #1a1a1a;        /* secundarios suaves */
  --line:         #1f1f1f;        /* bordes finos default */
  --line-strong:  #2a2a2a;        /* bordes con más presencia */
  --line-bright:  #3a3a3a;        /* bordes hover */
  --ink:          #f5f5f4;        /* texto principal (off-white) */
  --ink-mute:     #8b8b8b;        /* texto secundario */
  --ink-dim:      #555555;        /* texto terciario */
  --ink-dark:     #0b0b0b;        /* texto sobre fondos blancos */
  --accent:       #ffffff;        /* acento principal: blanco puro */
  --accent-dim:   #d4d4d8;
  --danger:       #f87171;
  --warning:      #f59e0b;
  --success:      #10b981;

  /* Tipográficos */
  --f-gothic: 'Pirata One', 'Cinzel', 'UnifrakturMaguntia', serif;
  --f-display: 'Bebas Neue', 'Anton', sans-serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
  --f-body: 'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-cinzel: 'Cinzel', 'Trajan Pro', serif;
}

/* Reset / base */
[x-cloak] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

/* Tipografías nombradas */
.font-brand   { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.font-gothic  { font-family: var(--f-gothic); font-weight: 400; letter-spacing: 0.04em; }
.font-cinzel  { font-family: var(--f-cinzel); font-weight: 700; letter-spacing: 0.18em; }
.font-mono    { font-family: var(--f-mono); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════════
   TOPBAR + HEADER  ·  compacto, editorial
   ═══════════════════════════════════════════════════════════════════════════ */

.topbar {
  background: #000;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
  padding: 9px 0;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.topbar span { color: var(--ink); }

.header-shell {
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  /* FASE 9B — transición suave para esconder/mostrar al scrollear */
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
/* FASE 9B — Header inteligente: se oculta al bajar, vuelve al subir.
   Toda la pila sticky (top bar + nav inferior + buscador mobile) se traslada
   en bloque para que no queden flotando partes del header. */
.header-shell.site-header--hidden {
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  .header-shell {
    transition: none;
  }
  .header-shell.site-header--hidden {
    transform: none; /* respetamos: no animar y dejarlo siempre visible */
  }
}
.header-shell nav {
  background: rgba(5,5,5,0.96) !important;
  border-color: var(--line) !important;
  color: var(--ink-mute) !important;
}
.header-shell nav button {
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.header-shell nav button:hover,
.header-shell nav button.text-black {
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}

/* Header search — wrapper con lupa integrada */
.header-search {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 0 14px 0 38px;
  height: 38px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header-search:focus-within {
  border-color: var(--ink-mute);
  background: rgba(255,255,255,0.04);
}
.header-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--ink-dim);
  pointer-events: none;
}
.header-search:focus-within .header-search-icon { color: var(--ink); }
.header-search-mobile { max-width: 100%; }
.header-search-mobile .header-search-icon { color: var(--ink-dark); }

/* FASE 8C — Buscador mobile siempre visible (debajo del header, dentro del sticky) */
.header-mobile-search {
  padding: 8px 14px 10px;
  background: rgba(5, 5, 5, 0.94);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.header-mobile-search .header-search {
  max-width: 100%;
  height: 38px;
}

/* FASE 9C — Menú mobile negro fullscreen tipo panel premium */
.mobile-menu-layer {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  padding: 0;
  background: rgba(0,0,0,0.72);
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(255,255,255,0.07), transparent 24%),
    rgba(0,0,0,0.74);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.mobile-menu-panel {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(8,8,8,0.98), rgba(2,2,2,0.985)),
    #050505;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  padding: max(18px, env(safe-area-inset-top)) 30px max(26px, env(safe-area-inset-bottom));
  box-shadow: none;
}
.mobile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu-kicker {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin: 0 0 5px;
}
.mobile-menu-head h2 {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
}
.mobile-menu-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}
.mobile-menu-search {
  margin: 22px 0;
  border-radius: 0;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu-search .header-search-icon { color: rgba(255,255,255,0.56); }
.mobile-menu-search .search-input { color: var(--ink); }
.mobile-menu-search .search-input::placeholder { color: rgba(255,255,255,0.36); }
.mobile-menu-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu-link {
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.84);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
}
.mobile-menu-link span:last-child {
  font-size: 14px;
  opacity: 0.38;
}
.mobile-menu-foot {
  padding-top: 18px;
  margin-top: auto;
}
.mobile-menu-foot p {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.mobile-menu-foot div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
/* FASE 9C microfix — buscador quitado del panel menu; header search sigue existiendo fuera */
.mobile-menu-search { display: none !important; }

.mobile-menu-foot a {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}


.search-input {
  width: 100%;
  border: none;
  border-bottom: none;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  outline: none;
  line-height: 38px;
}
.search-input::placeholder { color: var(--ink-dim); }
/* Versión clara para mobile menu (fondo blanco) */
.header-search-mobile { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.12); }
.header-search-mobile .search-input { color: var(--ink-dark); }
.header-search-mobile .search-input::placeholder { color: rgba(0,0,0,0.4); }

.cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 900;
}

/* Brand wordmark inline (header / loader / footer)
   Tipografía gótica reservada SOLO al logo y títulos gigantes. */
.brand-wordmark {
  font-family: var(--f-gothic);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.06em;
  line-height: 1;
}
.brand-wordmark .brand-z { color: var(--ink-dim); }
.brand-mark { display: inline-block; width: 1em; height: 1em; color: currentColor; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — centrado en la marca, sin imagen de modelo
   Mantiene .hero-section, .hero-noise, .hero-content, .hero-eyebrow,
   .hero-num777, .hero-headline, .hero-manifesto, .hero-tags, .hero-tag,
   .hero-cta-row, .hero-link, .hero-marquee.
   Reemplaza .hero-emblem por .hero-wings (emblema con alas más fuerte).
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  /* FASE 9C — pantalla 1: el hero ocupa la primera vista real.
     El header está antes en el flujo; descontamos su alto aproximado. */
  min-height: calc(100svh - 106px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255,255,255,0.045), transparent 62%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.03), transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 55%, #000 100%);
  /* FASE 9B-FIX 3 — el border-bottom duro creaba un corte plomizo hacia
     PRÓXIMO DROP. Lo reemplazamos por un fade pseudo-elemento más editorial. */
  border-bottom: none;
}
@supports (height: 100dvh) {
  .hero-section { min-height: calc(100dvh - 106px); }
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.92) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.018) 0px, transparent 1.5px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.010) 0px, transparent 1.5px, transparent 3px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(22px, 4vh, 48px);
  padding-bottom: clamp(84px, 11vh, 122px);
}

/* Alas + cruz central — emblema arriba del 777 */
.hero-wings {
  width: clamp(280px, 38vw, 520px);
  height: auto;
  color: var(--ink);
  opacity: 0.88;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.06));
}
.hero-num777 {
  font-family: var(--f-cinzel);
  font-weight: 900;
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.5em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 6px;
  text-indent: 0.5em;
  text-align: center;
}
/* Headline gigante editorial: gótico permitido AQUÍ */
.hero-headline {
  font-family: var(--f-gothic);
  font-size: clamp(80px, 13vw, 200px);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 4px 0 0;
  text-align: center;
  text-shadow: 0 0 80px rgba(255,255,255,0.06);
}
.hero-manifesto {
  max-width: 540px;
  /* FASE 9B-FIX 3 — Manifesto más editorial: corto, eyebrow-like, no genérico */
  margin: 36px auto 0;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.hero-manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 310px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.28);
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  /* FASE 9B-FIX 3 — más respiración entre manifesto y CTAs */
  margin: 36px 0 0;
}
.hero-link {
  color: rgba(255,255,255,0.88);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-link:hover { border-color: var(--ink); color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════════════════
   FASE 9B-FIX 2 — saint777 como emblema principal del hero
   Ya no es watermark: es el logo/identidad visual del hero. Reemplaza al
   SAINT gótico clásico, al "777" de texto y a las alas SVG para que no
   compitan dos identidades.
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-emblem-art {
  display: block;
  width: clamp(360px, 56vw, 760px);
  max-width: 92%;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  /* opacidad casi total, pero suave para que no "queme" sobre el fondo */
  opacity: 0.94;
  /* glow editorial que conecta con el halo del fondo */
  filter: drop-shadow(0 0 36px rgba(255,255,255,0.10))
          drop-shadow(0 0 8px rgba(255,255,255,0.06));
}

/* a11y helper — H1 semántico oculto visualmente pero visible para lectores */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FASE 9B — Toques premium del hero (sin cambiar la estructura central)
   - .hero-watermark: arte saint777 detrás del contenido, MUY tenue.
   - .hero-halo: halo radial detrás del logo, refuerza el centro.
   - .hero-rule: líneas finas arriba/abajo del hero (editorial).
   - .hero-side: marca técnica vertical en bordes laterales.
   - .hero-scroll-hint: indicador suave de scroll abajo.
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(520px, 88vw, 1080px);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
  /* mezcla con el fondo para que se sienta integrado, no pegoteado */
  mix-blend-mode: screen;
  filter: blur(0.4px);
}
.hero-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92vmin;
  height: 92vmin;
  max-width: 880px;
  max-height: 880px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0) 62%);
  filter: blur(8px);
}
.hero-rule {
  position: absolute;
  left: 50%;
  width: min(360px, 56vw);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.hero-rule--top    { top: 28px; }
.hero-rule--bottom { bottom: 72px; }

.hero-side {
  position: absolute;
  top: 50%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
  opacity: 0.55;
}
.hero-side--left  { left: 22px; }
.hero-side--right { right: 22px; }
.hero-side-tick {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%);
}
.hero-side-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.hero-side--right .hero-side-text {
  transform: rotate(0deg);
  writing-mode: vertical-rl;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  /* FASE 9B-FIX 3 — más separación del borde y composición más prolija */
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  /* opacidad base más baja, queda como detalle no como CTA */
  opacity: 0.42;
}
.hero-scroll-line {
  width: 1px;
  /* línea más corta y discreta */
  height: 22px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%);
  animation: heroScrollPulse 3s ease-in-out infinite;
}
.hero-scroll-text {
  font-family: var(--f-mono);
  /* tamaño y peso más sobrios */
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-mute);
  /* el letter-spacing extra empuja la última letra, lo compensamos */
  text-indent: 0.5em;
}
@keyframes heroScrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50%      { transform: translateY(5px); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
}

/* Columna visual derecha — campaña tipo poster */
/* (Bloques .hero-visual*, .hero-image, .hero-overlay y .hero-marquee eliminados:
    el hero ya no usa imagen de modelo ni marquee de chips; ahora es 100% marca + alas + CTAs.) */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.section-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 20px 0;
}
/* FASE 9C — pantalla 2: primer bloque después del hero. */
.section-screen-two {
  scroll-margin-top: 0;
  padding-top: clamp(56px, 8vh, 96px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.meta-note {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DROP PANEL + COUNTDOWN
   ═══════════════════════════════════════════════════════════════════════════ */

.drop-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 14px;
}
.drop-panel > div:first-child {
  background: transparent !important;
  border-color: var(--line-strong) !important;
}
/* La segunda celda originalmente era blanca: la invertimos */
.drop-panel > div:nth-child(2) {
  background: var(--ink) !important;
  color: var(--ink-dark) !important;
}
.drop-panel > div:nth-child(2) .eyebrow,
.drop-panel > div:nth-child(2) p { color: var(--ink-dark); }
.drop-panel > div:nth-child(2) .btn-primary {
  background: var(--ink-dark);
  color: var(--ink);
  border-color: var(--ink-dark);
}
.drop-panel > div:nth-child(2) .btn-primary:hover {
  background: transparent;
  color: var(--ink-dark);
}
.count-box {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  min-height: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.count-value {
  font-family: var(--f-display);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  color: var(--ink);
}
.count-label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid transparent;
}
.badge-dark         { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.badge-light        { background: transparent; color: var(--ink); border-color: var(--ink); }
.badge-white-on-dark{ background: var(--ink); color: var(--bg); }
.badge-agotado {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 6px 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-primary,
.btn-outline,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 30px;
  transition: all 0.22s ease;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-light:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.cat-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.cat-card img {
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.6s ease;
  filter: grayscale(45%) brightness(0.85);
}
.cat-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}
.cat-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.94), rgba(0,0,0,0));
  color: var(--ink);
}
.cat-label p { color: var(--ink) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS — estilo poster / flyer
   ═══════════════════════════════════════════════════════════════════════════ */

.product-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover { border-color: var(--line-bright); }

/* Header técnico (DROP 001 · NO RESTOCK) — eliminado.
   El identificador queda solo en el footer inferior de la card (.product-card-footer). */

.product-media {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 3 / 4;
}
 .product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
  filter: grayscale(20%) brightness(0.92);
  position: relative;
  z-index: 0;
}
.product-card:hover .product-card-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.08) 48%, rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.product-card:hover .card-overlay { opacity: 1; }

.btn-quick-view {
  position: absolute;
  bottom: -52px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 12px 22px;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  z-index: 3;
}
.product-card:hover .btn-quick-view { bottom: 18px; }
.btn-quick-view:hover { background: transparent; color: var(--ink); }

/* Cuerpo de la card */
.product-card > .pt-3,
.product-card > .pt-3.pb-1 {
  padding: 16px 16px 8px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 128px;
}

.product-name {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-height: 2.25em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.product-color-row {
  min-height: 22px;
  align-content: flex-start;
}

.price-main,
.price-highlight {
  font-family: var(--f-display);
  line-height: 1;
  color: var(--ink);
}
.price-main      { font-size: 30px; letter-spacing: 0.02em; }
.price-highlight { font-size: 44px; letter-spacing: 0.02em; }

/* Footer técnico de la card */
.product-card-footer {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: var(--bg-elev);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* FASE 9B-FIX 3 — Card meta (precio + stockLabel) no debe desbordar en mobile.
   En grid-cols-2 con un precio largo, la palabra "DISPONIBLE" con tracking
   0.18em se salía del contenedor. Defensa en tres frentes:
   1) el span del stock no se contrae y no rompe en mitad de palabra,
   2) en mobile reducimos tracking y font-size del label,
   3) en pantallas muy angostas comprimimos el precio. */
.product-card .price-main + span {
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .price-main {
  min-width: 0;
}
@media (max-width: 640px) {
  .product-card .price-main { font-size: 24px; }
  .product-card .price-main + span {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }
}
@media (max-width: 380px) {
  .product-card .price-main { font-size: 21px; }
  .product-card .price-main + span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
}

/* Número editorial de fondo: 01, 02, 03 — sutil */
.product-card[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.85;
  color: rgba(255,255,255,0.07);
  letter-spacing: -0.04em;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MID BANNER + NEWSLETTER + FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.mid-banner {
  position: relative;
  margin: 80px 0 0;
  min-height: 320px;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mid-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: grayscale(100%) contrast(1.12);
}
.mid-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 75%),
    linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
}

.newsletter-shell {
  margin-top: 96px;
  padding: 100px 20px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 14px 0;
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
}
.newsletter-input::placeholder {
  color: var(--ink-dim);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.newsletter-input:focus { border-bottom-color: var(--ink); }
.newsletter-button {
  margin-top: 16px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 17px 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.newsletter-button:hover { background: transparent; color: var(--ink); }

.footer-shell {
  background: #000;
  padding: 100px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
/* Social links minimalistas (no cajas) */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-social-link {
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social-link:hover { border-color: var(--ink); color: var(--ink); }
.footer-social-sep {
  color: var(--ink-dim);
  font-family: var(--f-mono);
  font-size: 11px;
}
/* Compat: .social-box reservado por si admin u otros lo siguen usando, lo dejamos invisible-clean */
.social-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 0 0 3px;
  transition: border-color 0.2s ease;
}
.social-box:hover { border-color: var(--ink); }
.footer-heading {
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-link {
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--ink); }
.footer-text {
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.65;
}
.pay-chip {
  border: 1px solid var(--line-strong);
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 10px;
}

/* Footer payments — línea limpia y premium en lugar de chips */
.footer-payments {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL PRODUCTO + CART PANEL (dark)
   ═══════════════════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-panel {
  width: 100%;
  max-width: 1040px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.modal-media {
  position: relative;
  min-height: 560px;
  max-height: 620px;
  aspect-ratio: 4 / 5;
  background: #050505;
}
.modal-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-copy {
  position: relative;
  min-height: 100%;
  padding-top: 68px;
}
.modal-close,
.modal-close-x,
.modal-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.modal-close {
  margin-bottom: 18px;
  background: none;
  border: none;
  padding: 0;
}
.modal-close:hover { color: var(--ink); }
.modal-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  padding: 0;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.modal-close-x:hover {
  border-color: var(--line-bright);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.modal-close-x:focus-visible { outline: 2px solid rgba(255,255,255,0.35); outline-offset: 2px; }

.cart-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 60px rgba(0,0,0,0.6);
  border-left: 1px solid var(--line);
}

/* Cart item — layout prolijo, X de eliminar bien visible */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item-img {
  width: 80px;
  height: 108px;
  object-fit: cover;
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.cart-item-body { min-width: 0; }
.cart-item-name {
  font-size: 16px;
  margin-bottom: 4px;
}
.cart-item-meta {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cart-qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cart-qty-btn:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.06);
}
.cart-qty-value {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  min-width: 24px;
  text-align: center;
  color: var(--ink);
}
.cart-item-total {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-top: 12px;
}
.cart-item-unit {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.cart-item-remove svg {
  width: 14px;
  height: 14px;
  display: block;
}
.cart-item-remove:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.coupon-box {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
}
.coupon-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 6px;
  color: var(--ink);
}
.coupon-subtitle {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.55;
}
.coupon-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  outline: none;
}
.coupon-input::placeholder { color: var(--ink-dim); }
.coupon-input:focus { border-color: var(--ink); }

.suggestion-chip,
.chip {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 9px 14px;
  transition: all 0.18s ease;
}
.suggestion-chip:hover,
.chip:hover,
.chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.total-row {
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.summary-row.text-green-700 { color: var(--success); }

.filter-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.sort-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  background-color: rgba(255,255,255,0.02);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
    linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--ink);
  padding: 9px 32px 9px 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.sort-select:hover,
.sort-select:focus {
  border-color: var(--ink-mute);
  background-color: rgba(255,255,255,0.04);
}
.sort-select option { background: var(--bg); color: var(--ink); }

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 14px 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* FASE 8B — Badge de unidades restantes premium.
   Dark translúcido sobre la imagen, borde fino, texto blanco.
   Anclado abajo a la izquierda dentro del contenedor relativo.
   Variantes: --low (stock <=3, ambar) y --out (agotado, rojo). */
.stock-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
  background: rgba(8,8,8,0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  white-space: nowrap;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.stock-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.stock-pill--low {
  color: #fde68a;
  border-color: rgba(245,158,11,0.55);
  background: rgba(20,12,0,0.78);
}
.stock-pill--low::before { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,0.7); }
.stock-pill--out {
  color: #fecaca;
  border-color: rgba(220,38,38,0.55);
  background: rgba(28,4,4,0.82);
}
.stock-pill--out::before { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.7); }

@media (max-width: 640px) {
  .stock-pill { font-size: 9px; padding: 6px 10px 5px; bottom: 10px; left: 10px; letter-spacing: 0.18em; }
}

.chip.line-through { text-decoration: line-through; opacity: 0.5; }

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OVERRIDES de utilidades de Tailwind para mantener tema dark
   ═══════════════════════════════════════════════════════════════════════════ */

.bg-white { background: var(--bg) !important; }
.text-black { color: var(--ink) !important; }
.text-zinc-200 { color: var(--ink-mute) !important; }
.text-zinc-400 { color: var(--ink-mute) !important; }
.text-zinc-500 { color: var(--ink-dim) !important; }
.text-zinc-700 { color: var(--ink-mute) !important; }
.border-zinc-200 { border-color: var(--line) !important; }
.border-zinc-300 { border-color: var(--line-strong) !important; }

/* Inputs nativos */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], textarea, select {
  color: var(--ink);
  background: transparent;
}
input::placeholder, textarea::placeholder { color: var(--ink-dim); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-content { padding-top: 48px; padding-bottom: 28px; }
  .hero-wings { width: clamp(220px, 50vw, 360px); }
  /* FASE 9B — En tablet/mobile reducimos las marcas laterales y el watermark */
  .hero-side       { gap: 10px; }
  .hero-side-tick  { height: 32px; }
  .hero-side-text  { font-size: 8.5px; letter-spacing: 0.35em; }
  .hero-watermark  { width: clamp(420px, 110vw, 900px); opacity: 0.05; }
  .hero-rule       { width: min(280px, 68vw); }
  .hero-rule--top    { top: 22px; }
  .hero-rule--bottom { bottom: 62px; }
  /* FASE 9B-FIX 2 — emblema principal: en tablet algo más chico */
  .hero-emblem-art { width: clamp(320px, 62vw, 600px); }
}

@media (max-width: 900px) {
  .modal-panel { grid-template-columns: 1fr; max-width: 560px; }
  .modal-media { min-height: 0; max-height: none; aspect-ratio: 1 / 1; }
}

@media (max-width: 768px) {
  .section-shell { padding-top: 64px; }
  .section-head { align-items: start; flex-direction: column; }
  .newsletter-button { width: 100%; }
  .mid-banner { min-height: 280px; }
  .hero-section { min-height: calc(100svh - 104px); }
  @supports (height: 100dvh) {
    .hero-section { min-height: calc(100dvh - 104px); }
  }
  .hero-headline { font-size: clamp(64px, 22vw, 130px); }
  .hero-num777 { font-size: clamp(12px, 4vw, 18px); }
  .hero-content { padding-top: 18px; padding-bottom: 76px; }
  .hero-wings { width: clamp(200px, 70vw, 320px); margin-bottom: 12px; }
  .hero-manifesto { font-size: 10px; letter-spacing: 0.24em; margin-top: 22px; }
  .hero-manifesto::after { width: 180px; }
  .hero-cta-row { margin-top: 24px; gap: 14px; }
  /* FASE 9B — Mobile: ocultamos las marcas verticales para no comprimir layout.
     El watermark queda, sólo más reducido en opacidad. Scroll hint se mantiene. */
  .hero-side       { display: none; }
  .hero-watermark  { opacity: 0.04; width: clamp(380px, 130vw, 760px); }
  .hero-rule       { width: min(220px, 70vw); }
  .hero-rule--top    { top: 16px; }
  .hero-rule--bottom { bottom: 56px; }
  .hero-scroll-hint { display: none; }
  /* FASE 9B-FIX 2 — Mobile: emblema limpio, sin tapar todo, con respiración */
  .hero-emblem-art {
    width: clamp(260px, 78vw, 420px);
    opacity: 0.96;
    /* glow más suave en mobile para no saturar */
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.10));
  }
  .product-card[data-num]::before {
    font-size: clamp(48px, 12vw, 72px);
    top: 12px;
  }
  .header-search { max-width: 100%; height: 36px; }
  .footer-payments { font-size: 10px; letter-spacing: 0.16em; }
}

@media (max-width: 480px) {
  .cart-item { grid-template-columns: 70px 1fr auto; gap: 12px; }
  .cart-item-img { width: 70px; height: 96px; }
  .cart-item-name { font-size: 14.5px; }
  .cart-item-total { font-size: 21px; }
  /* FASE 9B-FIX 2 — en pantallas muy chicas, achicamos un poco más el emblema */
  .hero-emblem-art { width: clamp(230px, 78vw, 340px); }
  .hero-manifesto::after { width: 150px; }
  .hero-content { padding-top: 10px; padding-bottom: 58px; }
  .hero-cta-row { flex-direction: column; gap: 13px; }
}
/* FASE 9C — CARRITO COMPACTO
   Microfix visual: achica header/footer del carrito y une mejor el bloque inferior.
   Seguro para append: no toca JS ni HTML. */
.cart-panel > div:first-of-type {
  padding: 22px 24px !important;
  min-height: 84px;
}
.cart-panel > div:first-of-type .font-brand {
  font-size: clamp(32px, 7vw, 38px) !important;
  line-height: 0.9 !important;
}
.cart-panel > div:first-of-type span[x-text="cartItemCountLabel()"] {
  margin-left: 10px !important;
  font-size: 9px !important;
  letter-spacing: 0.12em !important;
}
.cart-panel > div:first-of-type button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-panel > .flex-1 {
  padding: 18px 24px !important;
}
.cart-panel > .flex-1 > div.text-center {
  padding-top: 58px !important;
  padding-bottom: 50px !important;
}
.cart-panel > .flex-1 > div.text-center p:first-child {
  font-size: clamp(34px, 10vw, 44px) !important;
  line-height: 0.95 !important;
  margin-bottom: 6px !important;
}
.cart-panel > .flex-1 > div.text-center p:last-child {
  font-size: 9px !important;
  letter-spacing: 0.20em !important;
}
.cart-panel > div:last-child {
  padding: 18px 24px 20px !important;
}
.cart-panel > div:last-child.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 12px !important;
}
.cart-panel .coupon-box {
  padding: 15px 16px !important;
}
.cart-panel .coupon-title {
  font-size: 10px !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.20em !important;
}
.cart-panel .coupon-subtitle {
  font-size: 10.5px !important;
  line-height: 1.45 !important;
}
.cart-panel .coupon-input {
  padding: 10px 12px !important;
  min-height: 42px !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
}
.cart-panel .coupon-box .btn-outline {
  padding: 11px 15px !important;
  min-height: 42px !important;
}
.cart-panel .summary-row {
  font-size: 10.5px !important;
  letter-spacing: 0.16em !important;
}
.cart-panel .total-row {
  padding-top: 7px !important;
}
.cart-panel .btn-primary {
  min-height: 50px !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}
.cart-panel > div:last-child > button:last-child {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
}
@media (max-width: 480px) {
  .cart-panel > div:first-of-type {
    padding: 18px 20px !important;
    min-height: 74px;
  }
  .cart-panel > div:first-of-type .font-brand {
    font-size: 34px !important;
  }
  .cart-panel > .flex-1 {
    padding: 14px 20px !important;
  }
  .cart-panel > .flex-1 > div.text-center {
    padding-top: 44px !important;
    padding-bottom: 38px !important;
  }
  .cart-panel > div:last-child {
    padding: 16px 20px 18px !important;
  }
  .cart-panel .coupon-box {
    padding: 14px !important;
  }
  .cart-panel .coupon-box .flex {
    gap: 8px !important;
  }
  .cart-panel .coupon-input {
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }
}


/* FASE CART CLEAR — botón Vaciar carrito */
.cart-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.cart-clear-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}
.cart-clear-all svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: .9;
}
.cart-clear-all:hover {
  color: #fecaca;
  border-color: rgba(248,113,113,.55);
  background: rgba(127,29,29,.16);
  transform: translateY(-1px);
}
.cart-close-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 0;
  background: transparent;
}
@media (max-width: 430px) {
  .cart-header-actions { gap: 8px; }
  .cart-clear-all {
    padding: 0 9px;
    gap: 6px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .cart-clear-all svg { width: 13px; height: 13px; }
}
@media (max-width: 360px) {
  .cart-clear-all span { display: none; }
  .cart-clear-all { width: 34px; padding: 0; }
}


/* FASE CART HEADER STRUCTURED — Vaciar alineado */
.cart-drawer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
}
.cart-title-group {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.cart-title {
  font-family: var(--f-brand);
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: 0.015em;
  color: var(--ink);
  white-space: nowrap;
}
.cart-units-label {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  transform: translateY(-1px);
}
.cart-drawer-header .cart-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
  margin-left: 0;
}
.cart-drawer-header .cart-clear-all {
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.025);
  color: var(--ink-mute);
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.cart-drawer-header .cart-clear-all svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  opacity: .78;
}
.cart-drawer-header .cart-clear-all:hover {
  color: #fecaca;
  border-color: rgba(248,113,113,.55);
  background: rgba(127,29,29,.18);
}
.cart-drawer-header .cart-close-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  opacity: .95;
}
.cart-drawer-header .cart-close-btn:hover { opacity: 1; }
.cart-drawer-header .cart-close-btn svg {
  width: 21px;
  height: 21px;
  display: block;
}

@media (max-width: 430px) {
  .cart-drawer-header {
    padding: 22px 24px 20px;
    gap: 12px;
  }
  .cart-title-group { gap: 11px; }
  .cart-title { font-size: 38px; }
  .cart-units-label {
    font-size: 9px;
    letter-spacing: 0.15em;
  }
  .cart-drawer-header .cart-header-actions { gap: 8px; }
  .cart-drawer-header .cart-clear-all {
    height: 31px;
    min-height: 31px;
    padding: 0 9px;
    gap: 6px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .cart-drawer-header .cart-close-btn {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 370px) {
  .cart-drawer-header { padding-inline: 20px; }
  .cart-title { font-size: 35px; }
  .cart-units-label { font-size: 8px; letter-spacing: 0.12em; }
  .cart-drawer-header .cart-clear-all span { display: none; }
  .cart-drawer-header .cart-clear-all {
    width: 31px;
    padding: 0;
  }
}


/* FASE CART HEADER TYPO FIX — fuente original y borrar prolijo */
.cart-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 22px 28px 20px !important;
  border-bottom: 1px solid var(--line) !important;
  background: rgba(0,0,0,0.12) !important;
}
.cart-drawer-header .cart-title-group {
  min-width: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
}
.cart-drawer-header .cart-title {
  font-family: var(--f-display) !important;
  font-size: 38px !important;
  line-height: .9 !important;
  letter-spacing: .02em !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
}
.cart-drawer-header .cart-units-label {
  font-family: var(--f-mono) !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .17em !important;
  text-transform: uppercase !important;
  color: var(--ink-mute) !important;
  white-space: nowrap !important;
  transform: translateY(-1px) !important;
}
.cart-drawer-header .cart-header-actions {
  margin-left: auto !important;
  min-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
}
.cart-drawer-header .cart-clear-all {
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink-mute) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: var(--f-mono) !important;
  font-size: 8.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  opacity: .82 !important;
  transition: opacity .16s ease, color .16s ease !important;
}
.cart-drawer-header .cart-clear-all svg {
  width: 12px !important;
  height: 12px !important;
  flex: 0 0 auto !important;
  opacity: .82 !important;
}
.cart-drawer-header .cart-clear-all:hover {
  color: #fecaca !important;
  opacity: 1 !important;
}
.cart-drawer-header .cart-close-btn {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: .96 !important;
}
.cart-drawer-header .cart-close-btn svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

@media (max-width: 430px) {
  .cart-drawer-header {
    padding: 20px 22px 18px !important;
    gap: 10px !important;
  }
  .cart-drawer-header .cart-title-group { gap: 10px !important; }
  .cart-drawer-header .cart-title { font-size: 34px !important; }
  .cart-drawer-header .cart-units-label {
    font-size: 8px !important;
    letter-spacing: .14em !important;
  }
  .cart-drawer-header .cart-header-actions { gap: 10px !important; }
  .cart-drawer-header .cart-clear-all {
    font-size: 7.5px !important;
    letter-spacing: .12em !important;
    gap: 5px !important;
  }
  .cart-drawer-header .cart-clear-all svg {
    width: 11px !important;
    height: 11px !important;
  }
}

@media (max-width: 365px) {
  .cart-drawer-header .cart-clear-all span { display: none !important; }
  .cart-drawer-header .cart-title { font-size: 32px !important; }
  .cart-drawer-header .cart-units-label { font-size: 7.5px !important; }
}

/* FASE 10M — Polish mobile + responsive final
   Ajustes visuales seguros: carrito full-screen en mobile, cards sin desbordes,
   botones táctiles más cómodos y protección contra overflow horizontal. */
html, body { max-width: 100%; overflow-x: hidden; }
button, a, input, select, textarea { -webkit-tap-highlight-color: rgba(255,255,255,0.08); }

.cart-panel {
  max-height: 100dvh;
  overscroll-behavior: contain;
}
@supports (height: 100svh) {
  .cart-panel { max-height: 100svh; }
}
.cart-panel > .flex-1 {
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.cart-panel .btn-primary,
.cart-panel .btn-outline,
.cart-panel .coupon-box .btn-outline,
.cart-panel .coupon-input {
  min-height: 46px;
}
.cart-panel .coupon-box .flex { align-items: stretch; }
.cart-item-name,
.product-name {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.product-card,
.product-card * { min-width: 0; }
.product-card-footer { gap: 10px; }
.product-card-footer span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (hover: none) {
  .card-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.02) 58%, rgba(0,0,0,0)); }
  .btn-quick-view { bottom: 14px; }
}

@media (max-width: 640px) {
  .section-shell { padding-left: 14px; padding-right: 14px; }
  .product-card > .pt-3,
  .product-card > .pt-3.pb-1 { padding: 12px 11px 7px; }
  .product-name { font-size: 16px; line-height: 1.05; }
  .product-card-footer { padding: 9px 10px; font-size: 7.5px; letter-spacing: 0.14em; }
  .btn-quick-view { padding: 11px 14px; font-size: 8.5px; letter-spacing: 0.18em; width: calc(100% - 24px); text-align: center; }
  .cart-panel {
    width: 100vw;
    max-width: none;
    border-left: 0;
    box-shadow: none;
  }
  .cart-panel > .flex-1 { padding: 18px 18px 14px !important; }
  .cart-panel > div:last-child {
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .cart-panel .coupon-box { padding: 14px; }
  .cart-panel .coupon-box .flex { gap: 8px; }
  .cart-panel .coupon-input { font-size: 10px; letter-spacing: 0.12em; }
  .cart-panel .coupon-box .btn-outline { padding-inline: 14px; font-size: 9px; letter-spacing: 0.18em; }
  .cart-panel .summary-row,
  .cart-panel .total-row { font-size: 12px; }
  .cart-panel .btn-primary { min-height: 52px; font-size: 10px; letter-spacing: 0.24em; }
}

@media (max-width: 430px) {
  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) 32px !important;
    gap: 11px !important;
    padding-bottom: 18px;
  }
  .cart-item-img { width: 64px !important; height: 86px !important; }
  .cart-item-name { font-size: 14px !important; }
  .cart-item-meta { font-size: 8px; letter-spacing: 0.16em; margin-bottom: 8px; }
  .cart-item-qty { gap: 8px; }
  .cart-qty-btn { width: 32px; height: 32px; }
  .cart-item-total { font-size: 20px !important; margin-top: 10px; }
  .cart-item-unit { font-size: 8px; letter-spacing: 0.16em; }
  .cart-item-remove { width: 32px; height: 32px; }
}

@media (max-width: 390px) {
  .cart-panel .coupon-box .flex { flex-direction: column; }
  .cart-panel .coupon-box .btn-outline { width: 100%; }
  .cart-drawer-header .cart-title { font-size: 30px !important; }
  .cart-drawer-header .cart-units-label { max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
}


@media (max-width: 640px) {
  .product-card { min-height: 100%; }
  .product-media { aspect-ratio: 3 / 4.2; }
  .product-card > .pt-3,
  .product-card > .pt-3.pb-1 { min-height: 118px; }
  .modal-copy { padding-top: 62px; }
  .modal-close-x { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FASE 10Z — hero / categorías / modal refinados (PATCH visual)
   - Logo hero duplicado: frente más chico + fondo más grande y tenue.
   - Categorías más equilibradas en PC / notebook / mobile.
   - Modal: X a la esquina superior derecha y foto más contenida.
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-emblem-stack {
  position: relative;
  width: clamp(340px, 54vw, 700px);
  max-width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-emblem-stack .hero-emblem-art {
  width: 100%;
  max-width: none;
  margin: 0;
}
.hero-emblem-art--front {
  position: relative;
  z-index: 2;
  width: 84% !important;
  opacity: 0.95;
  filter: drop-shadow(0 0 36px rgba(255,255,255,0.10)) drop-shadow(0 0 8px rgba(255,255,255,0.06));
}
.hero-emblem-art--back {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(1.18);
  z-index: 1;
  width: 100% !important;
  opacity: 0.16;
  filter: blur(0.8px) drop-shadow(0 0 42px rgba(255,255,255,0.10));
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 16px;
  align-items: stretch;
}
.cat-card {
  display: block;
  min-height: 280px;
}
.cat-card--featured {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 620px;
}
.cat-card--standard {
  min-height: 300px;
}
.cat-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.cat-media--featured { min-height: 620px; }
.cat-media--standard { min-height: 300px; }
.cat-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.6s ease;
  filter: grayscale(45%) brightness(0.85);
}
.cat-card:hover .cat-card-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.modal-panel {
  position: relative;
}
.modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 25%, rgba(255,255,255,0.04), transparent 40%), #050505;
}
.modal-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  padding: 28px 26px 18px;
}
.modal-copy {
  padding-top: 92px;
}
.modal-close-x {
  top: 16px;
  right: 16px;
  z-index: 8;
  width: 46px;
  height: 46px;
  background: rgba(5,5,5,0.76);
  border: 1px solid var(--line-strong);
  font-size: 30px;
}

@media (max-width: 1280px) {
  .category-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .cat-card--featured,
  .cat-media--featured {
    min-height: 560px;
  }
}

@media (max-width: 1024px) {
  .hero-emblem-stack { width: clamp(310px, 60vw, 580px); }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .cat-card--featured,
  .cat-media--featured {
    min-height: 420px;
  }
  .cat-card--standard,
  .cat-media--standard {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .modal-media-img { padding: 34px 24px 10px; }
}

@media (max-width: 768px) {
  .hero-emblem-stack { width: clamp(250px, 78vw, 400px); }
  .hero-emblem-art--back { opacity: 0.12; }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cat-card--featured,
  .cat-media--featured {
    min-height: 360px;
  }
  .cat-card--standard,
  .cat-media--standard {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .modal-copy { padding-top: 74px; }
  .modal-media-img { padding: 28px 18px 8px; }
  .modal-close-x {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-emblem-stack { width: clamp(220px, 78vw, 320px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FASE 10Z-FIX FINAL — CATEGORÍAS PC / NOTEBOOK
   PATCH sin data: corrige solamente proporción, altura y encuadre del bloque
   de categorías en pantallas medianas/grandes. Mobile queda igual.
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 769px) {
  .category-grid {
    max-width: min(1120px, 100%);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.74fr) minmax(0, 0.74fr);
    gap: clamp(12px, 1vw, 16px);
    align-items: start;
  }

  .cat-card {
    min-height: 0;
    isolation: isolate;
  }

  .cat-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: clamp(460px, 30vw, 530px);
  }

  .cat-card--standard {
    min-height: clamp(220px, 15.6vw, 270px);
  }

  .cat-media,
  .cat-media--featured,
  .cat-media--standard {
    height: 100%;
    min-height: inherit;
    background:
      radial-gradient(circle at 50% 22%, rgba(255,255,255,0.055), transparent 42%),
      linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.16)),
      #050505;
  }

  .cat-card-img {
    object-fit: contain;
    object-position: center center;
    box-sizing: border-box;
    padding: clamp(8px, 0.8vw, 12px) clamp(6px, 0.7vw, 10px) clamp(44px, 4vw, 68px);
  }

  .cat-label {
    padding: 42px clamp(14px, 1.2vw, 20px) 16px;
  }

  .cat-label .font-brand {
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 0.86;
    letter-spacing: 0.01em;
  }

  .cat-label .text-\[10px\] {
    font-size: 9px;
    line-height: 1.1;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .category-grid {
    max-width: min(1040px, 100%);
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.77fr) minmax(0, 0.77fr);
    gap: 14px;
  }

  .cat-card--featured {
    min-height: 470px;
  }

  .cat-card--standard {
    min-height: 235px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .category-grid {
    max-width: min(930px, 100%);
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.86fr) minmax(0, 0.86fr);
    gap: 12px;
  }

  .cat-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 410px;
  }

  .cat-card--standard {
    min-height: 205px;
  }

  .cat-card-img {
    padding: 8px 6px 54px;
  }

  .cat-label {
    padding: 34px 12px 13px;
  }

  .cat-label .font-brand {
    font-size: clamp(20px, 2.7vw, 28px);
  }
}

@media (min-width: 769px) and (max-width: 880px) {
  .category-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  }

  .cat-card--featured {
    min-height: 380px;
  }

  .cat-card--standard {
    min-height: 190px;
  }

  .cat-label .font-brand {
    font-size: 21px;
  }
}


/* FIX URGENTE CATEGORIAS PC — 1ra card igual a las demás */
@media (min-width: 1025px) {
  .categories-grid,
  .category-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid,
  section:has(.category-card) .grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(220px, 300px)) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 18px !important;
  }

  .category-card,
  .category-card:first-child,
  .category-card:nth-child(1),
  .category-card.is-featured,
  .category-card.featured,
  .category-card--featured,
  .categories-grid > *:first-child,
  .category-grid > *:first-child,
  .home-categories-grid > *:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 0 !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    aspect-ratio: auto !important;
  }

  .category-card:first-child img,
  .category-card:nth-child(1) img,
  .category-card.is-featured img,
  .category-card.featured img,
  .category-card--featured img,
  .categories-grid > *:first-child img,
  .category-grid > *:first-child img,
  .home-categories-grid > *:first-child img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }
}


/* FIX FINAL CATEGORIAS PC — cards iguales, un poco más chicas */
@media (min-width: 1025px) {
  .category-grid,
  .categories-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid {
    grid-template-columns: repeat(3, 270px) !important;
    gap: 14px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > *,
  .category-grid > *:first-child,
  .categories-grid > *:first-child,
  .home-categories-grid > *:first-child,
  .category-card,
  .category-card:first-child,
  .category-card--featured,
  .cat-card,
  .cat-card--featured,
  .cat-card--standard {
    width: 270px !important;
    max-width: 270px !important;
    height: 385px !important;
    min-height: 385px !important;
    max-height: 385px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: auto !important;
  }

  .category-grid > * img,
  .categories-grid > * img,
  .home-categories-grid > * img,
  .category-card img,
  .cat-card img,
  .cat-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }
}


/* FIX FINAL CATEGORIAS PC — fila de 4 categorías */
@media (min-width: 1025px) {
  .category-grid,
  .categories-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid {
    display: grid !important;
    grid-template-columns: repeat(4, 235px) !important;
    gap: 14px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > *,
  .category-card,
  .category-card:first-child,
  .category-card--featured,
  .cat-card,
  .cat-card--featured,
  .cat-card--standard {
    width: 235px !important;
    max-width: 235px !important;
    min-width: 0 !important;
    height: 355px !important;
    min-height: 355px !important;
    max-height: 355px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: auto !important;
  }

  .category-grid > * img,
  .categories-grid > * img,
  .home-categories-grid > * img,
  .category-card img,
  .cat-card img,
  .cat-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }

  .cat-label {
    padding: 14px 14px 12px !important;
  }

  .cat-label .font-brand {
    font-size: clamp(24px, 1.7vw, 32px) !important;
    line-height: 0.9 !important;
  }
}

/* PC ancho: un toque más grande, pero sigue en fila de 4 */
@media (min-width: 1400px) {
  .category-grid,
  .categories-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid {
    grid-template-columns: repeat(4, 250px) !important;
    gap: 14px !important;
  }

  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > *,
  .category-card,
  .category-card:first-child,
  .category-card--featured,
  .cat-card,
  .cat-card--featured,
  .cat-card--standard {
    width: 250px !important;
    max-width: 250px !important;
    height: 375px !important;
    min-height: 375px !important;
    max-height: 375px !important;
  }
}


/* FIX FINAL CATEGORIAS PC — tamaño tipo LO NUEVO, 4 por fila */
@media (min-width: 1025px) {
  .category-grid,
  .categories-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > *,
  .category-card,
  .category-card:first-child,
  .category-card--featured,
  .cat-card,
  .cat-card--featured,
  .cat-card--standard {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: auto !important;
  }

  .category-grid > * img,
  .categories-grid > * img,
  .home-categories-grid > * img,
  .category-card img,
  .cat-card img,
  .cat-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }

  .cat-label {
    padding: 18px 18px 16px !important;
  }

  .cat-label .font-brand {
    font-size: clamp(30px, 2vw, 42px) !important;
    line-height: 0.9 !important;
  }
}

/* Notebook / pantallas más chicas: sigue 4 por fila pero no se rompe */
@media (min-width: 1025px) and (max-width: 1399px) {
  .category-grid,
  .categories-grid,
  .home-categories-grid,
  .categories-list,
  .home-categories .grid {
    max-width: 1120px !important;
    gap: 16px !important;
  }

  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > *,
  .category-card,
  .category-card:first-child,
  .category-card--featured,
  .cat-card,
  .cat-card--featured,
  .cat-card--standard {
    height: 440px !important;
    min-height: 440px !important;
    max-height: 440px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FASE 10Z-FINAL — Home hero: fondo más grande + frente más contenido
   - Solo ajusta la composición del logo central del home.
   - Fondo/back más grande y tenue para mayor profundidad.
   - Frente/front apenas más chico para que respire mejor.
   - No toca categorías, productos, data ni mobile crítico.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .hero-emblem-stack {
    width: clamp(340px, 52vw, 690px) !important;
    max-width: 94% !important;
  }

  .hero-emblem-art--front {
    width: 76% !important;
    opacity: 0.96 !important;
    filter:
      drop-shadow(0 0 34px rgba(255,255,255,0.11))
      drop-shadow(0 0 8px rgba(255,255,255,0.07)) !important;
  }

  .hero-emblem-art--back {
    width: 112% !important;
    transform: translate(-50%, -49%) scale(1.42) !important;
    opacity: 0.135 !important;
    filter:
      blur(0.9px)
      drop-shadow(0 0 46px rgba(255,255,255,0.11)) !important;
  }
}

@media (min-width: 1025px) {
  .hero-content {
    padding-top: clamp(18px, 3.4vh, 42px) !important;
    padding-bottom: clamp(82px, 10vh, 118px) !important;
  }
}

@media (max-width: 768px) {
  .hero-emblem-stack {
    width: clamp(250px, 78vw, 410px) !important;
  }

  .hero-emblem-art--front {
    width: 78% !important;
  }

  .hero-emblem-art--back {
    width: 108% !important;
    transform: translate(-50%, -49%) scale(1.28) !important;
    opacity: 0.105 !important;
  }
}

/* FIX FINAL HOME HERO — PC un poco más chico / mobile un poco más arriba */
@media (min-width: 1025px) {
  .hero-emblem-stack {
    width: clamp(330px, 49vw, 660px) !important;
    max-width: 92% !important;
  }

  .hero-emblem-art--front {
    width: 73% !important;
  }

  .hero-emblem-art--back {
    width: 108% !important;
    transform: translate(-50%, -48%) scale(1.32) !important;
    opacity: 0.125 !important;
  }
}

/* Mobile: sube un poco el bloque del logo sin romper botones */
@media (max-width: 768px) {
  .hero-content {
    transform: translateY(-18px) !important;
  }

  .hero-emblem-stack {
    width: clamp(240px, 74vw, 390px) !important;
  }

  .hero-emblem-art--front {
    width: 76% !important;
  }

  .hero-emblem-art--back {
    width: 106% !important;
    transform: translate(-50%, -48%) scale(1.22) !important;
    opacity: 0.105 !important;
  }
}


/* FIX HOME MOBILE — bajar un poco slogan + botones */
@media (max-width: 768px) {
  .hero-manifesto,
  .hero-actions,
  .hero-cta,
  .hero-buttons {
    transform: translateY(14px) !important;
  }
}


/* FIX HOME MOBILE — bajar más slogan + botones, casi como original */
@media (max-width: 768px) {
  .hero-manifesto,
  .hero-actions,
  .hero-cta,
  .hero-buttons {
    transform: translateY(28px) !important;
  }
}


/* FIX REAL HOME MOBILE — bajar slogan + botones */
@media (max-width: 768px) {
  .hero-manifesto {
    transform: translateY(42px) !important;
  }

  .hero-cta-row {
    transform: translateY(42px) !important;
  }
}


/* FIX CATEGORIAS — mostrar imagen completa, sin cortar PRÓXIMAMENTE */
@media (min-width: 1025px) {
  .category-grid > * img,
  .categories-grid > * img,
  .home-categories-grid > * img,
  .category-card img,
  .cat-card img,
  .cat-card-img {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: #050505 !important;
  }

  .cat-card,
  .cat-card--featured,
  .cat-card--standard,
  .category-card,
  .category-card--featured {
    background: #050505 !important;
  }

  .cat-label {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.82) 58%,
      rgba(0, 0, 0, 0.00) 100%
    ) !important;
  }
}


/* FIX CATEGORIAS — sacar franja negra abajo y montar label sobre la imagen */
@media (min-width: 1025px) {
  .cat-card,
  .cat-card--featured,
  .cat-card--standard,
  .category-card,
  .category-card--featured,
  .category-grid > *,
  .categories-grid > *,
  .home-categories-grid > * {
    position: relative !important;
    overflow: hidden !important;
    background: #050505 !important;
  }

  .cat-media,
  .category-card .cat-media {
    height: 100% !important;
    min-height: 0 !important;
  }

  .category-grid > * img,
  .categories-grid > * img,
  .home-categories-grid > * img,
  .category-card img,
  .cat-card img,
  .cat-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #050505 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .cat-label {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    padding: 18px 16px 14px !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.98) 0%,
      rgba(0,0,0,0.92) 42%,
      rgba(0,0,0,0.55) 72%,
      rgba(0,0,0,0.00) 100%
    ) !important;
  }
}

