/* SlowBurn® — Brandbook Sopadeletras® v5
   Sistema tipográfico:
   - Times New Roman (Regular) — Títulos y cuerpo
   - Satoshi (Negrita) — Cuerpo secundario / énfasis inline
   - Roboto Mono (Light) — Subtítulos y etiquetas
   Paleta: Arena · Piel · Sombra · Sol · Mar · Destello · Bronceado · Marea */


:root {
  /* === Paleta oficial brandbook v5 === */
  --arena: #EBE0CC;          /* 25% — fondo principal cream */
  --arena-light: #F2E9D8;
  --arena-soft: #F7F0DF;
  --piel: #C9A573;           /* 25% — tan / piel */
  --piel-dark: #B59060;
  --sombra: #3A2A1E;         /* 20% — marrón profundo, texto y CTAs */
  --sombra-deep: #2A1E14;
  --sol: #E89C30;            /* 17% — naranja brillante (acento principal) */
  --sol-dark: #C7831E;
  --mar: #2A3A5F;            /* 17% — azul marino (acento principal) */
  --mar-dark: #1F2D49;
  --destello: #E8B72A;       /* 5% — amarillo dorado */
  --bronceado: #D17C5F;      /* 5% — coral/salmón (antes era gris café) */
  --marea: #DDE9EB;          /* 5% — azul muy claro */

  /* === Helpers semánticos === */
  --bg: #EEEAE0;
  --line: rgba(58,42,30,0.12);
  --muted: #8B7B66;          /* texto secundario (gris cálido, no es color de marca) */
  --coral: #1A1818;          /* hover state oscuro para CTAs */

  --font-serif: 'Times New Roman', 'Tinos', Times, Georgia, serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', 'Menlo', monospace;

  /* firma de movimiento del sitio (misma curva que cards y reveals) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
/* sin overscroll horizontal. OJO: overflow-x:hidden/clip en html/body rompe el
   backdrop-filter del nav fixed (Chromium/WebKit no captura el backdrop bajo un
   root con clipping). El drawer off-canvas es position:fixed, no empuja el ancho,
   así que basta con overscroll-behavior para matar el swipe-back sin clipping. */
html { overscroll-behavior-x: none; }
/* scroll bloqueado mientras el intro está en pantalla */
html.sb-scroll-lock, html.sb-scroll-lock body { overflow: hidden; height: 100%; touch-action: none; }
/* scroll-behavior:smooth removido: peleaba con Lenis (doble suavizado) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--sombra);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============ Anti-viudas tipográficas ============ */
/* Headings: balance distribuye las líneas para evitar palabras sueltas */
h1, h2, h3, h4, h5, h6,
.hero-quote, .editorial-quote, .section-title, .pdp-title,
.cat-banner h2, .complete-look h2, .lb-hero h1, .look-title,
.shop-hero h1, .cart-header h1, .modal h2, .empty-cart h2,
.cart-item-name, .card-name {
  text-wrap: balance;
}

/* Párrafos: pretty evita la viuda en la última línea */
p, .hero-sub, .editorial-body, .pdp-subtitle, .modal-q, .modal-desc,
.look-desc, .footer-tag, .lb-hero-sub, .detail-row-body, .card-desc,
.cart-item-opts, .summary-row {
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Satoshi Negrita — used inline for emphasis within Times New Roman blocks */
strong, b, .emph {
  font-family: var(--font-sans);
  font-weight: 700;
}

/* Roboto Mono Light — labels, tags, meta, eyebrows */
.mono {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ LOGO (SVG wordmark) ============ */
.logo {
  display: inline-block;
  line-height: 0;
  color: var(--sombra);
}
.logo svg {
  display: block;
  height: 38px;
  width: auto;
  fill: currentColor;
}
.logo-sm svg { height: 24px; }
/* Hide legacy text in case any page still uses text logo */
.logo .reg, .logo .text-logo { display: none; }

/* ============ NAV (logo centered top, menu horizontal below) ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s ease;
}
/* El frosted + blur van en un ELEMENTO REAL (.nav-bg), NO en el .nav ni en un
   ::before. Dos motivos, ambos bugs de Chrome (Safari los tolera):
   1) si el backdrop-filter va en el .nav, un descendiente compositado (dropdowns
      con transform, logo con mask) hace que Chrome descarte el filtro.
   2) Chrome aplica mal el backdrop-filter en pseudo-elementos y en z-index negativo.
   Un div hijo dedicado, sin hijos, con z-index positivo, lo renderiza fiable. */
.nav-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
@supports not (backdrop-filter: blur(1px)) {
  .nav-bg { background: var(--bg); }
}
/* el contenido del nav va POR ENCIMA de la capa de fondo */
.nav-top, .nav-menu { position: relative; z-index: 1; }

/* Transparent nav over hero (used on pages with class="has-hero-nav") */
.has-hero-nav .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 200;
}
/* Estado scrolled = vidrio BLANCO translúcido (frosted), texto oscuro.
   Fondo al 82%: con GPU se lee como vidrio esmerilado (blur difumina lo de
   atrás); SIN GPU (Chrome con aceleración apagada, donde backdrop-filter no
   pinta) sigue viéndose como una barra frosted limpia y premium, no rota. */
.nav.scrolled { border-bottom-color: var(--line); }
.nav.scrolled .nav-bg {
  background: color-mix(in srgb, var(--arena-soft) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .nav.scrolled .nav-bg { background: rgba(247,240,223,0.86); }
}
.nav.scrolled .logo,
.nav.scrolled .nav-menu-link,
.nav.scrolled .nav-top a,
.nav.scrolled .nav-search,
.nav.scrolled .nav-selector-current {
  color: var(--sombra);
}
.nav.scrolled .nav-search svg,
.nav.scrolled .nav-hamburger svg { stroke: var(--sombra); }
.nav.scrolled .nav-menu {
  border-top-color: var(--line);
}
.has-hero-nav .nav:not(.scrolled) .logo,
.has-hero-nav .nav:not(.scrolled) .nav-menu-link,
.has-hero-nav .nav:not(.scrolled) .nav-top a,
.has-hero-nav .nav:not(.scrolled) .nav-search,
.has-hero-nav .nav:not(.scrolled) .nav-selector-current {
  color: var(--arena-light);
  transition: color .3s ease;
}
.has-hero-nav .nav:not(.scrolled) .nav-search svg { stroke: var(--arena-light); }
.has-hero-nav .nav:not(.scrolled) .nav-menu {
  border-top-color: rgba(245,239,224,0.20);
}
.has-hero-nav .nav:not(.scrolled) .nav-menu-item:hover .nav-menu-link {
  border-bottom-color: var(--arena-light);
}
/* Transición de color declarada en los ELEMENTOS base (no en el estado):
   así el cambio a "scrolled" también funde en vez de saltar. */
.logo, .nav-menu-link, .nav-search, .nav-selector-current { transition: color .3s ease; }
.nav-search svg, .nav-hamburger svg { transition: stroke .3s ease; }
/* Subrayado hover/active: oscuro sobre el nav claro; claro sobre el hero */
.nav.scrolled .nav-menu-item:hover .nav-menu-link,
.nav.scrolled .nav-menu-item.active .nav-menu-link {
  border-bottom-color: var(--sombra);
}
.has-hero-nav .nav:not(.scrolled) .nav-menu-item.active .nav-menu-link {
  border-bottom-color: var(--arena-light);
}
/* Sobre el hero SIN scrollear: la capa muestra un scrim degradado (para leer
   el nav sobre fotos claras) y sin blur; anula el frosted base. */
.has-hero-nav .nav:not(.scrolled) .nav-bg {
  background: linear-gradient(180deg, rgba(26,16,16,0.35) 0%, rgba(26,16,16,0.0) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* TOP ROW: utilities left, logo centered, account/cart right */
.nav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 32px 12px;
  max-width: 1800px;
  margin: 0 auto;
  gap: 24px;
}
.nav-top-left {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-top-right {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-top a:hover, .nav-top button:hover { opacity: 0.6; }
.nav-logo-link { justify-self: center; display: block; }

/* Selectors (lang / currency) */
.nav-selector {
  position: relative;
  cursor: pointer;
  padding: 4px 0;
}
.nav-selector-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sombra);
}
.nav-selector-current::after {
  content: '▾';
  font-size: 8px;
  margin-left: 2px;
  opacity: 0.6;
}
.nav-selector-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--arena-soft);
  border: 1px solid var(--line);
  padding: 6px 0;
  min-width: 100px;
  display: none;
  z-index: 50;
  margin-top: 8px;
}
/* Bridge invisible para mantener el hover al cruzar el gap */
.nav-selector-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-selector:hover .nav-selector-menu,
.nav-selector:focus-within .nav-selector-menu,
.nav-selector.open .nav-selector-menu { display: block; }
.nav-selector-menu button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sombra);
  cursor: pointer;
}
.nav-selector-menu button:hover { background: var(--arena); }
.nav-selector-menu button.active { color: var(--sombra); font-weight: 500; }

/* SEARCH icon */
.nav-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sombra);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-search svg { width: 13px; height: 13px; }

/* BOTTOM ROW: horizontal menu spanning full width */
.nav-menu {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.nav-menu-inner {
  display: flex;
  justify-content: center;
  gap: 42px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px;
  flex-wrap: wrap;
}
.nav-menu-item {
  position: relative;
  padding: 6px 0;
}
.nav-menu-link {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--sombra);
  letter-spacing: 0.005em;
  display: inline-block;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .3s ease;
  cursor: pointer;
}
.nav-menu-item.active .nav-menu-link,
.nav-menu-item:hover .nav-menu-link { border-color: var(--sombra); }

/* DROPDOWN */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  --dd-shift: 0px;
  /* el shift horizontal va por margin-left (NO se anima): encaja al instante,
     sin deslizarse desde la posición cortada. El transform solo anima la caída. */
  margin-left: var(--dd-shift);
  transform: translateX(-50%) translateY(-12px);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px 36px;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .5s var(--ease-out);
  z-index: 60;
  box-shadow: 0 18px 44px rgba(58,42,30,0.13);
}
/* Puente invisible para mantener hover al cruzar el gap entre botón y dropdown.
   El pseudo-element extiende el área de hover del dropdown hacia arriba sin afectar layout. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -20px;
  right: -20px;
  height: 20px;
  /* Solo activo cuando el dropdown está visible (pointer-events) */
}
.nav-menu-item:focus-within .nav-dropdown,
.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown a {
  display: block;
  padding: 7px 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--sombra);
  white-space: nowrap;
  transition: opacity .15s;
}
.nav-dropdown a:hover { opacity: 0.55; }

/* Two-column dropdown for SHOP */
.nav-dropdown.two-col {
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 44px;
  padding: 28px 40px;
}
.nav-dropdown.two-col .col-section {
  display: flex;
  flex-direction: column;
}
.nav-dropdown.two-col .col-section h5 {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown.two-col .col-section a { padding: 6px 0; font-size: 15px; }

/* Hamburger button (mobile only) */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sombra);
  padding: 4px;
}
.nav-hamburger svg { width: 22px; height: 16px; }

/* Drawer (mobile slide-out) */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,16,16,0.5);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(82vw, 380px);
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 260;
  transform: translateX(-100%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
  padding: 56px 24px 24px;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 30px;
  color: var(--sombra);
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-drawer-search {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-search .nav-search {
  width: 100%;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sombra);
  padding: 8px 0;
}
.nav-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-drawer-menu > li {
  border-bottom: 1px solid var(--line);
}
.nav-drawer-menu > li > a,
.nav-drawer-menu .drawer-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--sombra);
  cursor: pointer;
}
.drawer-arrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  transition: transform .2s;
}
.nav-drawer-menu li.open .drawer-arrow { transform: rotate(45deg); }
.drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 14px 14px;
  display: none;
}
.nav-drawer-menu li.open .drawer-submenu { display: block; }
.drawer-submenu a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--sombra);
  opacity: 0.85;
}
.nav-drawer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.drawer-selectors {
  display: flex;
  gap: 28px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* en el drawer, los menús de selector abren HACIA ARRIBA (no se cortan abajo) */
.drawer-selectors .nav-selector-menu {
  left: 0;
  right: auto;
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 8px;
}
.drawer-selectors .nav-selector-menu::before { top: auto; bottom: -10px; }
.drawer-selectors .nav-selector-current { padding: 6px 2px; }
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.drawer-links a { color: var(--sombra); }

/* Drawer always uses dark colors regardless of transparent nav state */
.nav-drawer,
.nav-drawer * {
  color: var(--sombra) !important;
}
.nav-drawer .nav-search svg,
.nav-drawer .nav-hamburger svg { stroke: var(--sombra) !important; }
.nav-drawer .nav-selector-current::after { color: var(--sombra) !important; }

/* Hide drawer pieces on desktop */
@media (min-width: 901px) {
  .nav-hamburger,
  .nav-drawer,
  .nav-drawer-overlay { display: none !important; }
}

/* Mobile nav layout */
@media (max-width: 900px) {
  .nav-only-desktop { display: none !important; }
  .nav-hamburger { display: inline-flex; }
  .logo svg { height: 26px; }
  .nav-top { padding: 12px 18px 12px; gap: 8px; }
  .nav-top-left, .nav-top-right { gap: 14px; font-size: 10px; }
  .nav-top-right a { font-size: 10px; }
  .nav-menu { display: none; }
  /* Transparent nav over hero on mobile too */
  .has-hero-nav .nav:not(.scrolled) .nav-hamburger,
  .has-hero-nav .nav:not(.scrolled) .nav-search { color: var(--arena-light); }
  .has-hero-nav .nav:not(.scrolled) .nav-search svg,
  .has-hero-nav .nav:not(.scrolled) .nav-hamburger svg { stroke: var(--arena-light); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  background: var(--sombra-deep);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/ph-02.jpeg');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.78);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,16,16,0.25) 0%, rgba(26,16,16,0.0) 30%, rgba(26,16,16,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 32px 80px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--arena);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(56px, 9vw, 130px);
  line-height: 1;
  color: var(--arena-light);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--arena);
  margin-top: 22px;
  opacity: 0.9;
}
.hero-sub strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.85em; }
.hero-logo {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--arena-light);
  z-index: 3;
  display: none;
}
.hero-cta {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 34px;
  border: 1px solid var(--arena-light);
  color: var(--arena-light);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.hero-cta:hover { background: var(--arena-light); color: var(--sombra); }

/* ============ MARQUEE ============ */
.marquee {
  background: #263762;
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--arena-light);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 110px 32px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sombra);
  line-height: 1.0;
}
.section-title strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.92em; }
.section-sub {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ EDITORIAL POSTER (estilo afiche "Not Made for Rushing") ============ */
section.editorial-poster {
  background: var(--bg) !important;
  color: var(--sombra);
  padding: 60px 60px !important;
  overflow: visible !important;
}
.editorial-poster .editorial-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 78vh;
  aspect-ratio: 4/5;
  margin: 0 auto;
  background-color: var(--sombra-deep);
  overflow: hidden;
  padding: 36px 48px;
}
.editorial-poster .editorial-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ph-02.jpeg');
  background-size: cover;
  background-position: center 30%;
  filter: sepia(0.45) saturate(1.35) brightness(0.95) hue-rotate(-8deg);
  opacity: 1;
  z-index: 0;
}
.editorial-poster .editorial-warm-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(232,156,48,0.22) 0%, transparent 60%),
    linear-gradient(180deg, rgba(58,42,30,0.10) 0%, rgba(58,42,30,0.0) 40%, rgba(58,42,30,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Logo arriba-derecha */
.editorial-poster .editorial-logo {
  position: absolute;
  top: 36px;
  right: 48px;
  z-index: 3;
  color: var(--arena-light);
  line-height: 0;
}
.editorial-poster .editorial-logo svg {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(26,16,16,0.4));
}
/* Quote + info abajo-derecha, alineado a la derecha */
.editorial-poster .editorial-inner {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 3;
  text-align: right;
  max-width: 60%;
}
.editorial-poster .editorial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--arena-light);
  line-height: 1;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(26,16,16,0.30);
}
.editorial-poster .editorial-info {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.05vw, 16px);
  color: var(--arena-light);
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(26,16,16,0.35);
}
.editorial-poster .editorial-info strong {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88em;
}
@media (max-width: 900px) {
  .editorial-poster { padding: 36px 24px !important; }
  .editorial-poster .editorial-frame { aspect-ratio: 3/4; max-height: 85vh; padding: 24px 28px; }
  .editorial-poster .editorial-logo { top: 22px; right: 22px; }
  .editorial-poster .editorial-logo svg { height: 22px; }
  .editorial-poster .editorial-inner { bottom: 22px; right: 22px; left: 22px; max-width: none; }
  .editorial-poster .editorial-quote { font-size: clamp(28px, 8vw, 48px); }
}

/* ============ EDITORIAL ============ */
.editorial {
  position: relative;
  background: var(--sombra);
  color: var(--arena-light);
  padding: 140px 32px;
  overflow: hidden;
}
.editorial-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ph-03.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: brightness(0.7);
}
.editorial-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.editorial-eyebrow {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--piel);
  margin-bottom: 32px;
}
.editorial-quote {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.editorial-body {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  color: var(--arena);
  opacity: 0.92;
}
.editorial-body strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.85em; }
.editorial-divider {
  width: 40px;
  height: 1px;
  background: var(--piel);
  margin: 32px auto;
}

/* ============ CATEGORY BANNER ============ */
.cat-banner {
  position: relative;
  background: var(--piel);
  padding: 100px 32px;
  text-align: center;
  overflow: hidden;
}
.cat-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ph-04.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.cat-banner-inner { position: relative; z-index: 2; }
.cat-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 110px);
  color: var(--sombra);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
.cat-banner h2 strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.92em; }
.cat-banner-sub {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sombra-deep);
  margin-top: 22px;
  opacity: 0.75;
}

/* ============ GRID ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 24px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .grid { grid-template-columns: 1fr; } }

.card { display: block; cursor: pointer; }
.card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: var(--sombra-deep);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  transition: opacity .3s ease;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-img > * { position: relative; z-index: 2; }
.card:hover .card-img::after { transform: scale(1.045); }
.card:hover .card-img { opacity: 0.94; }

/* Photo placeholders */
.ph-01 { background-image: url('../images/ph-01.jpeg'); }
.ph-02 { background-image: url('../images/ph-02.jpeg'); }
.ph-03 { background-image: url('../images/ph-03.jpeg'); }
.ph-04 { background-image: url('../images/ph-04.jpeg'); }
.ph-05 { background-image: url('../images/ph-05.jpeg'); }
.ph-06 { background-image: url('../images/ph-06.jpeg'); }
.ph-07 { background-image: url('../images/ph-07.jpeg'); }

.card-img-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--arena-light);
  text-transform: uppercase;
  background: rgba(26,16,16,0.45);
  padding: 4px 8px;
}
.card-img-look {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--arena-light);
  background: var(--sol);
  padding: 4px 10px;
  text-transform: uppercase;
}
.card-name {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--sombra);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  font-weight: 400;
}
.card-name strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.88em; }
.card-desc {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-price {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 12px;
  color: var(--sombra);
  letter-spacing: 0.05em;
}

/* ============ PDP ============ */
.pdp {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}
@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
}

.breadcrumb {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--sombra); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.pdp-gallery { display: flex; flex-direction: column; gap: 10px; }
.pdp-main {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  background-color: var(--sombra-deep);
  background-size: cover;
  background-position: center;
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp-thumb {
  aspect-ratio: 1;
  background-color: var(--sombra);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s;
}
.pdp-thumb:hover, .pdp-thumb.active { opacity: 1; }

.pdp-info { padding-top: 12px; position: sticky; top: 160px; align-self: start; }
.pdp-collection {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--sombra);
  margin-bottom: 8px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.pdp-title strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.88em; }
.pdp-subtitle {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pdp-price {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--sombra);
  margin-bottom: 36px;
}

.pdp-section { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.pdp-section:last-of-type { border-bottom: none; }
.pdp-label {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sombra);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-label-value { color: var(--sombra); font-weight: 400; }
.size-link {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 9px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.18em;
}
.size-link:hover { color: var(--sombra); }

.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sombra);
  transition: all .2s;
}
.size-btn:hover { border-color: var(--sombra); }
.size-btn.selected { background: var(--sombra); color: var(--arena-light); border-color: var(--sombra); }
.size-btn.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.style-grid { display: flex; gap: 12px; }
.style-option {
  flex: 1;
  padding: 16px;
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: rgba(255,255,255,0.3);
}
.style-option:hover { border-color: var(--sombra); }
.style-option.selected { border-color: var(--sombra); background: var(--arena); }
.style-option svg { width: 52px; height: 52px; margin-bottom: 8px; }
.style-option-label {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sombra);
}

.color-row { display: flex; gap: 10px; align-items: center; }
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
  position: relative;
}
.color-swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.color-swatch.selected::after { border-color: var(--sombra); }
.color-swatch.c-sombra { background: #3A2A1E; }
.color-swatch.c-coral { background: #1A1818; }
.color-swatch.c-piel { background: #C9A476; }
.color-swatch.c-arena { background: #E8DECA; }
.color-swatch.c-bronceado { background: #8B7B66; }

.add-btn {
  width: 100%;
  padding: 18px;
  background: var(--sombra);
  color: var(--arena-light);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background .2s;
  margin-top: 8px;
}
.add-btn:hover { background: var(--coral); }
.add-btn.disabled { background: var(--muted); cursor: not-allowed; }
.fav-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--sombra);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 8px;
}
.fav-btn:hover { border-color: var(--sombra); }

.pdp-details { margin-top: 32px; }
.detail-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  cursor: pointer;
}
.detail-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sombra);
}
.detail-row-body {
  display: none;
  padding-top: 14px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--sombra);
  line-height: 1.55;
  opacity: 0.9;
}
.detail-row-body strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.88em; }
.detail-row.open .detail-row-body { display: block; }
.detail-row.open .toggle { transform: rotate(45deg); }
.toggle { transition: transform .2s; font-size: 18px; color: var(--muted); }

/* ============ COMPLETE LOOK ============ */
.complete-look {
  background: var(--bg);
  padding: 100px 32px;
  margin-top: 60px;
}
.complete-look-inner { max-width: 1600px; margin: 0 auto; }
.complete-look h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 36px;
  color: var(--sombra);
  letter-spacing: -0.005em;
}
.complete-look h2 strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.92em; }
.complete-look-sub { display: none; }

/* Aerie-style 3-card flat-lay grid */
.style-grid-aerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .style-grid-aerie { grid-template-columns: 1fr; }
}

.style-look {
  background: var(--arena-soft);
  border-radius: 6px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 520px;
}

.style-look-canvas {
  position: relative;
  width: 100%;
  flex: 1;
  margin-bottom: 28px;
  min-height: 380px;
}

.style-piece {
  position: absolute;
  background-color: var(--arena);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(58,42,30,0.08);
}
.style-piece-add {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--sombra);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 5;
  transition: transform .2s;
}
.style-piece-add:hover { transform: scale(1.1); background: var(--sombra); color: var(--arena-light); }

/* Piece positions per card — staggered flat-lay feel */
.style-piece.p-tl { top: 0;    left: 8%;   width: 36%; aspect-ratio: 3/4; }
.style-piece.p-tr { top: 6%;   right: 4%;  width: 42%; aspect-ratio: 3/4; }
.style-piece.p-bl { bottom: 4%; left: 18%;  width: 38%; aspect-ratio: 1; }
.style-piece.p-br { bottom: 0; right: 14%; width: 30%; aspect-ratio: 1; }

.style-cta {
  padding: 13px 32px;
  background: white;
  border: 1px solid var(--sombra);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sombra);
  cursor: pointer;
  transition: all .2s;
}
.style-cta:hover { background: var(--sombra); color: var(--arena-light); }
.style-look-label {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Old recommend-grid kept hidden for compatibility */
.recommend-grid { display: none; }

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,16,16,0.55);
  z-index: 350;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
.search-overlay.open { display: flex; animation: searchFadeIn .25s ease; }
@keyframes searchFadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-panel {
  background: var(--bg);
  width: 100%;
  max-height: 100vh;
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
  animation: searchSlideDown .45s var(--ease-out);
  overflow-y: auto;
}
@keyframes searchSlideDown {
  from { transform: translateY(-24px); }
  to { transform: translateY(0); }
}
.search-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.search-icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
#search-input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--sombra);
  padding: 8px 0;
  outline: none;
  letter-spacing: -0.005em;
}
#search-input::placeholder { color: var(--muted); opacity: 0.7; }
.search-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--sombra);
  cursor: pointer;
  font-family: var(--font-sans);
  line-height: 1;
  padding: 4px 8px;
}
.search-close:hover { opacity: 0.65; }

.search-results {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 0 0;
}
.search-heading {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.search-empty {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--sombra);
  padding: 40px 0;
  text-align: center;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .search-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .search-grid { grid-template-columns: 1fr; } }
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.search-result:hover { border-color: var(--line); background: var(--arena-soft); }
.search-result-img {
  width: 80px;
  height: 100px;
  background-color: var(--sombra-deep);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-cat {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.search-result-name {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--sombra);
  margin-bottom: 6px;
  line-height: 1.2;
}
.search-result-price {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 12px;
  color: var(--sombra);
}

@media (max-width: 700px) {
  .search-panel { padding: 16px 18px 32px; }
  #search-input { font-size: 18px; }
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,16,16,0.95);
  z-index: 400;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lb-image {
  width: min(90vw, 1100px);
  height: 90vh;
  background-color: var(--sombra-deep);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: zoom-out;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(245,239,224,0.10);
  border: 1px solid rgba(245,239,224,0.25);
  color: var(--arena-light);
  font-family: var(--font-sans);
  cursor: pointer;
  z-index: 410;
  transition: background .2s, border-color .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(245,239,224,0.20);
  border-color: var(--arena-light);
}
.lb-close {
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  border-radius: 50%;
  line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 32px;
  border-radius: 50%;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--arena);
  text-transform: uppercase;
  z-index: 410;
}
@media (max-width: 700px) {
  .lb-image { width: 100vw; height: 80vh; }
  .lb-close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 20px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; font-size: 22px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}

/* ============ MODAL ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,16,16,0.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg);
  max-width: 720px;
  width: 100%;
  max-height: 96vh;
  overflow-y: auto;
  padding: 56px 56px 64px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 22px;
  color: var(--sombra);
  line-height: 1;
  font-family: var(--font-sans);
  cursor: pointer;
}
.modal h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  text-align: center;
  margin-bottom: 36px;
  color: var(--sombra);
  font-weight: 400;
}

/* Question with text + icon options */
.modal-q {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--sombra);
  margin-bottom: 28px;
}

.modal-tabs-icons {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 56px;
}
.modal-icon-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.modal-icon-tab svg {
  width: 56px;
  height: 38px;
  stroke: var(--sombra);
  fill: none;
  stroke-width: 1.4;
}
.modal-icon-tab span {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--sombra);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.modal-icon-tab.active span { border-bottom-color: var(--sombra); }

/* Section titles (COVERAGE, REGION) */
.modal-section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--sombra);
  margin-bottom: 18px;
}
.modal-desc {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--sombra);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
.modal-desc strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.88em; text-decoration: underline; cursor: pointer; }

/* Coverage row (icons + labels) */
.modal-coverage {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.coverage-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.coverage-opt svg {
  width: 56px;
  height: 38px;
  stroke: var(--sombra);
  fill: none;
  stroke-width: 1.4;
}
.coverage-opt span {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--sombra);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.coverage-opt.active span { border-bottom-color: var(--sombra); }

/* Region row */
.modal-regions {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.region-opt {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--sombra);
  border-bottom: 2px solid transparent;
}
.region-opt.active { border-bottom-color: var(--sombra); }

/* Unit toggle (CM/IN) — pill */
.unit-toggle {
  display: flex;
  justify-content: center;
  margin: 0 auto 36px;
  border: 1px solid rgba(58,42,30,0.4);
  padding: 8px 24px;
  width: fit-content;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.unit-toggle button, .unit-toggle span {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  padding: 0;
}
.unit-toggle .active { color: var(--sombra); font-weight: 500; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 12px;
  color: var(--sombra);
}
.size-table th, .size-table td {
  padding: 14px 6px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.size-table th {
  color: var(--sombra);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;
  font-size: 12px;
  font-family: var(--font-serif);
}
.size-table tbody td:first-child {
  font-family: var(--font-serif);
  font-size: 13px;
}

@media (max-width: 600px) {
  .modal { padding: 40px 22px 48px; }
  .modal-coverage { gap: 20px; }
  .modal-regions { gap: 18px; }
}

/* ============ SHOP ============ */
.shop-hero {
  padding: 100px 32px 40px;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}
.shop-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 400;
  color: var(--sombra);
  line-height: 1;
  letter-spacing: -0.02em;
}
.shop-hero h1 strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.9em; }
.shop-hero p {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1600px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.filter {
  padding: 8px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
}
.filter:hover, .filter.active {
  color: var(--sombra);
  border-color: var(--sombra);
}
.shop-grid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 28px;
}
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .shop-grid { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer {
  background: var(--sombra);
  color: var(--arena);
  padding: 100px 32px 32px;
}
.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand {
  color: var(--arena-light);
  line-height: 0;
}
.footer-brand svg { height: 42px; width: auto; display: block; }
.footer-brand .reg { display: none; }
.footer-tag {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-top: 14px;
  opacity: 0.8;
  max-width: 360px;
  line-height: 1.4;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.55;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.88;
}
.footer-col li a:hover { opacity: 0.55; }
.footer-bottom {
  max-width: 1600px;
  margin: 70px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(232,222,202,0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 700px) {
  /* Sections */
  .section { padding: 60px 18px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; padding-bottom: 18px; }
  .section-title { font-size: clamp(36px, 9vw, 56px); }

  /* Hero — más compacto en mobile */
  .hero { min-height: 0; height: auto; }
  .hero-content {
    height: auto;
    min-height: 540px;
    padding: 110px 20px 44px;
    justify-content: center;
    gap: 0;
  }
  .hero-quote { font-size: clamp(36px, 11vw, 56px); }
  .hero-sub { font-size: 15px; padding: 0 8px; margin-top: 18px; }
  .hero-cta { padding: 12px 24px; font-size: 10px; margin-top: 28px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.3em; margin-bottom: 14px; }

  /* Editorial */
  .editorial { padding: 80px 22px; }
  .editorial-quote { font-size: clamp(32px, 9vw, 48px); }
  .editorial-body { font-size: 17px; }

  /* Category banner */
  .cat-banner { padding: 60px 20px; }
  .cat-banner h2 { font-size: clamp(40px, 11vw, 64px); }

  /* Marquee smaller */
  .marquee { padding: 11px 0; font-size: 10px; letter-spacing: 0.18em; }
  .marquee-track { gap: 36px; }

  /* PDP */
  .pdp { padding: 22px 18px 60px; gap: 24px; }
  .pdp-title { font-size: clamp(28px, 8vw, 40px); }
  .pdp-price { font-size: 20px; margin-bottom: 24px; }
  .pdp-info { position: static; padding-top: 6px; }
  .size-btn { padding: 11px 14px; min-width: 48px; }
  .style-grid { gap: 8px; }
  .style-option { padding: 12px; }

  /* Aerie style-look — adjust positions for narrow */
  .style-look { min-height: 460px; padding: 22px; }
  .style-look-canvas { min-height: 320px; }
  .style-piece.p-tl { width: 42%; }
  .style-piece.p-tr { width: 46%; }
  .style-piece.p-bl { width: 44%; }
  .style-piece.p-br { width: 36%; }

  /* Complete look h2 */
  .complete-look h2 { font-size: 24px; margin-bottom: 24px; }
  .complete-look { padding: 70px 18px; margin-top: 40px; }

  /* Cart */
  .cart-header { padding: 30px 18px 0; }
  .cart-header h1 { font-size: clamp(40px, 11vw, 64px); }
  .cart-wrap { padding: 32px 18px 60px; gap: 32px; }
  .cart-item { grid-template-columns: 80px 1fr; row-gap: 16px; padding: 22px 0; }
  .cart-item .cart-thumb { width: 80px; }
  .cart-item-name { font-size: 17px; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; font-size: 18px; }
  .cart-summary { position: static; padding: 28px 22px; }

  /* Lookbook hero */
  .lb-hero { height: 60vh; min-height: 400px; }
  .lb-hero-content { padding: 0 22px 60px; }
  .lb-hero h1 { font-size: clamp(40px, 12vw, 72px); }
  .lb-hero-sub { font-size: 16px; margin-top: 16px; }
  /* Lookbook looks */
  .look { padding: 50px 18px; gap: 28px; }
  .look-title { font-size: clamp(32px, 9vw, 48px); }
  .look-desc { font-size: 17px; }

  /* Size modal mobile */
  .modal { padding: 36px 22px 44px; max-height: 100vh; max-width: 100%; }
  .modal h2 { font-size: 24px; margin-bottom: 22px; }
  .modal-q { font-size: 16px; }
  .modal-tabs-icons { gap: 36px; margin-bottom: 36px; }
  .modal-icon-tab svg { width: 44px; height: 30px; }
  .modal-icon-tab span { font-size: 16px; }
  .modal-section-title { font-size: 13px; }
  .modal-desc { font-size: 15px; margin-bottom: 24px; }
  .modal-coverage { gap: 16px; margin-bottom: 36px; }
  .coverage-opt svg { width: 38px; height: 26px; }
  .coverage-opt span { font-size: 13px; }
  .modal-regions { gap: 16px; }
  .region-opt { font-size: 15px; }
  .size-table th, .size-table td { padding: 11px 4px; font-size: 11px; }
  .size-table tbody td:first-child { font-size: 12px; }

  /* Shop hero */
  .shop-hero { padding: 50px 18px 24px; }
  .shop-hero h1 { font-size: clamp(48px, 14vw, 84px); }
  .filters { gap: 8px; padding: 14px 18px; font-size: 9px; }
  .filter { padding: 7px 12px; }
  .shop-grid { padding: 36px 18px 60px; gap: 28px 14px; }

  /* Grid */
  .grid { gap: 28px 14px; }
  .card-name { font-size: 16px; }
  .card-desc { font-size: 9px; }

  /* Footer */
  .footer { padding: 60px 22px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand svg { height: 32px; }
}


/* ============ SHOP THE LOOK — outfit shoppable con hotspots (home) ============ */
/* Datos en main.js (array LOOKS). En Shopify: cada look = producto/metaobjeto con
   sus piezas y coordenadas x/y; esto mapea 1:1 a una sección Liquid. */
.shop-look .cs-looks { display: flex; gap: 10px; margin: 0 0 32px; flex-wrap: wrap; }
.cs-look-chip { font-family: var(--font-mono); font-weight: 300; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: transparent; padding: 10px 18px; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.cs-look-chip.active, .cs-look-chip:hover { color: var(--sombra); border-color: var(--sombra); }

.cs-scene { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .cs-scene { grid-template-columns: 1fr; gap: 28px; } }

.cs-photo { position: relative; aspect-ratio: 4/5; background-size: cover; background-position: center; overflow: hidden; background-color: var(--sombra-deep); }
.cs-photo-tag { position: absolute; top: 16px; left: 16px; z-index: 4; font-family: var(--font-mono); font-weight: 300; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--arena-light); background: rgba(26,16,16,0.4); padding: 5px 10px; }

.hotspot { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(247,240,223,0.92); color: var(--sombra); font-family: var(--font-sans); font-size: 20px; font-weight: 400; line-height: 1; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(26,16,16,0.25); transform: translate(-50%, -50%); transition: transform .25s var(--ease-out), background .25s ease, color .25s ease; }
.hotspot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(247,240,223,0.6); animation: hsPulse 2.4s ease-out infinite; }
@keyframes hsPulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
.hotspot:hover, .hotspot.active { transform: translate(-50%, -50%) scale(1.14); background: var(--sol); color: var(--arena-light); }
.hotspot.active::after { display: none; }

.hs-pop { position: absolute; z-index: 6; width: 230px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(26,16,16,0.22); padding: 12px; display: none; }
.hs-pop.show { display: block; animation: hsPopIn .3s var(--ease-out); }
@keyframes hsPopIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hs-pop-row { display: flex; gap: 12px; }
.hs-pop-thumb { width: 64px; height: 80px; background-size: cover; background-position: center; flex-shrink: 0; background-color: var(--sombra-deep); }
.hs-pop-cat { font-family: var(--font-mono); font-weight: 300; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hs-pop-name { font-family: var(--font-serif); font-size: 16px; color: var(--sombra); line-height: 1.2; }
.hs-pop-price { font-family: var(--font-mono); font-weight: 300; font-size: 12px; color: var(--sombra); margin-top: 6px; }
.hs-pop-add { display: block; width: 100%; margin-top: 12px; padding: 10px; background: var(--sombra); color: var(--arena-light); font-family: var(--font-mono); font-weight: 300; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; border: none; cursor: pointer; text-align: center; transition: background .2s; }
.hs-pop-add:hover { background: var(--coral); }

.cs-panel { padding-top: 6px; }
.cs-panel-label { font-family: var(--font-mono); font-weight: 300; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cs-piece { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center; transition: opacity .2s; color: inherit; text-decoration: none; }
.cs-piece.dim { opacity: 0.4; }
.cs-piece-thumb { width: 56px; height: 70px; background-size: cover; background-position: center; flex-shrink: 0; background-color: var(--sombra-deep); }
.cs-piece-info { flex: 1; }
.cs-piece-name { font-family: var(--font-serif); font-size: 18px; color: var(--sombra); }
.cs-piece-cat { font-family: var(--font-mono); font-weight: 300; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cs-piece-price { font-family: var(--font-mono); font-weight: 300; font-size: 13px; color: var(--sombra); white-space: nowrap; }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 18px; }
.cs-total-label { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.cs-total-value { font-family: var(--font-serif); font-size: 26px; color: var(--sombra); }
.cs-buy { width: 100%; padding: 18px; background: var(--sombra); color: var(--arena-light); font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; border: none; cursor: pointer; transition: background .25s; }
.cs-buy:hover { background: var(--coral); }
.cs-hint { font-family: var(--font-mono); font-weight: 300; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 14px; text-align: center; }

/* ============ HOME v2 — recorrido editorial ============ */

/* Manifiesto tipográfico: la declaración de marca SIN depender de foto.
   Reemplaza al viejo "editorial poster" (foto enmarcada + frase encimada). */
.manifesto { background: var(--bg); padding: clamp(100px, 14vw, 190px) 32px; }
.mf-inner { max-width: 1600px; margin: 0 auto; }
.mf-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.mf-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 176px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--sombra);
}
.mf-title .mf-l2 { display: block; font-style: italic; padding-left: clamp(36px, 14vw, 260px); }
.mf-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: clamp(44px, 6vw, 76px); padding-top: 22px;
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* La Colección en clave editorial: un look grande + dos apilados (asimétrico) */
.collection-ed { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.collection-ed .ed-feature { display: flex; flex-direction: column; }
.collection-ed .ed-feature .card-img { aspect-ratio: 4/5; flex: 1; }
.collection-ed .ed-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.collection-ed .ed-stack .ed-item { display: flex; flex-direction: column; }
.collection-ed .ed-stack .card-img { aspect-ratio: 16/13; flex: 1; }
@media (max-width: 800px) {
  .collection-ed { grid-template-columns: 1fr; }
  .collection-ed .ed-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .collection-ed .ed-feature .card-img { aspect-ratio: 4/5; }
}
@media (max-width: 500px) { .collection-ed .ed-stack { grid-template-columns: 1fr; } }

/* El Edit: curaduría por mood (texto + dos looks grandes) */
.edit-section { background: var(--arena-soft); }
.edit { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; }
.edit-text .edit-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sol); margin-bottom: 18px; }
.edit-text h2 { font-family: var(--font-serif); font-size: clamp(38px, 5vw, 66px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.0; color: var(--sombra); }
.edit-text .edit-lead { color: var(--muted); margin: 22px 0 6px; max-width: 42ch; line-height: 1.6; font-size: 16px; }
.edit-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.edit-imgs .card-img { aspect-ratio: 3/4; }
@media (max-width: 800px) { .edit { grid-template-columns: 1fr; gap: 30px; } }

/* Asomo de Journal / SlowBurn World: imagen + historia */
.journal-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.jt-img { aspect-ratio: 4/3; background-color: var(--sombra-deep); background-size: cover; background-position: center; }
.jt-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.jt-text h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 50px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; color: var(--sombra); margin-bottom: 20px; }
.jt-text p { color: var(--muted); line-height: 1.7; max-width: 52ch; }
.link-underline { display: inline-block; margin-top: 26px; font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sombra); border-bottom: 1px solid var(--sombra); padding-bottom: 5px; transition: color .25s, border-color .25s; }
.link-underline:hover { color: var(--sol); border-color: var(--sol); }
@media (max-width: 800px) { .journal-teaser { grid-template-columns: 1fr; gap: 28px; } .jt-img { aspect-ratio: 16/10; } }

/* By Appointment: banda oscura de servicio (ritmo claro/oscuro de lujo) */
.appointment { background: var(--sombra-deep); color: var(--arena-light); text-align: center; padding: clamp(80px, 11vw, 140px) 32px; }
.appointment .ap-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(242,233,216,0.55); margin-bottom: 24px; }
.appointment h2 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 62px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; color: var(--arena-light); max-width: 16ch; margin: 0 auto; }
.appointment p { color: rgba(242,233,216,0.66); max-width: 46ch; margin: 22px auto 0; line-height: 1.7; }
.ap-cta { display: inline-block; margin-top: 36px; padding: 15px 40px; border: 1px solid rgba(242,233,216,0.4); color: var(--arena-light); font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.ap-cta:hover { background: var(--arena-light); color: var(--sombra-deep); border-color: var(--arena-light); }

/* Newsletter discreta */
.newsletter { text-align: center; padding: clamp(70px, 9vw, 110px) 32px; max-width: 720px; margin: 0 auto; }
.nl-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sol); margin-bottom: 18px; }
.newsletter h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 42px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; color: var(--sombra); max-width: 20ch; margin: 0 auto; }
.nl-form { display: flex; align-items: center; gap: 14px; max-width: 460px; margin: 32px auto 0; border-bottom: 1px solid var(--sombra); padding-bottom: 8px; }
.nl-form input { flex: 1; border: none; background: transparent; font-family: var(--font-sans); font-size: 15px; color: var(--sombra); padding: 6px 2px; }
.nl-form input::placeholder { color: var(--muted); }
.nl-form input:focus { outline: none; }
.nl-form button { flex: none; border: none; background: transparent; cursor: pointer; font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sombra); transition: color .25s; }
.nl-form button:hover { color: var(--sol); }
.nl-done { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 20px; opacity: 0; transition: opacity .4s; }
.nl-done.show { opacity: 1; }

/* ============ REVEALS DE ENTRADA (progresivo: JS agrega .rv) ============ */
/* Sin will-change: persistía tras la animación y promovía los títulos a su
   propia capa, que el backdrop-filter del nav NO capturaba (el texto detrás
   no se difuminaba). Sin él, tras el reveal el elemento vuelve al flujo normal. */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Variante B — reveal blur-focus palabra por palabra (títulos de sección).
   Los .rv-word los crea el JS (sin JS el título se ve en texto plano). Tras
   animar, el JS restaura el textContent para no dejar filter:blur(0) residual
   que volvería a romper el backdrop del nav. */
.rvB .rv-word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(16px);
  transition: opacity 1s ease, filter 1.1s ease, transform 1.1s var(--ease-out);
}
.rvB.on .rv-word { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rvB .rv-word { transition: none !important; filter: none !important; opacity: 1 !important; transform: none !important; }
}


/* Transiciones parejas en todos los hovers de opacidad/color */
.footer-col li a, .nav-top a, .nav-top button, .nav-dropdown a,
.breadcrumb a, .drawer-links a, .search-close, .filter,
.nav-selector-menu button { transition: opacity .25s ease, color .25s ease, border-color .25s ease, background .25s ease; }


/* ============ TRANSICIONES DE PÁGINA ============ */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pageIn .5s ease both; }
  @keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
  body.page-leaving { opacity: 0; transition: opacity .26s ease; animation: none; }
}

/* Nav scrolled es claro (frosted): los dropdowns y selectores conservan su
   estilo crema por defecto — no se necesita override. */

/* ============ BANDA DE RELIEVE (textura de marca) ============ */
.relief-band {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px 110px;
}
.relief-band canvas {
  width: 100%;
  aspect-ratio: 2 / 1;
  display: block;
}
@media (max-width: 700px) {
  .relief-band { padding: 0 18px 60px; }
}

/* ============ FOOTER FOLD (oficial candidato) ============ */
.footer.fold-footer {
  background: var(--sombra-deep);
  position: relative;
  overflow: hidden;
  padding-bottom: 340px; /* el contenido termina y abajo respira el horizonte */
}
.fold-footer .footer-inner,
.fold-footer .footer-bottom { position: relative; z-index: 2; }
.fold-scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 320px;
  perspective: 620px;
  overflow: hidden;
  z-index: 1;
}
.fold-plane {
  position: absolute;
  left: -6%;
  top: 0;
  width: 112%;
  height: 120%;
  transform-origin: 50% 0%;
  transform: rotateX(74deg);
  will-change: transform;
}
.fold-plane svg { width: 100%; height: 100%; display: block; }


/* ============ FOOTER FOLD: compacto en móvil (que el degradado se vea) ============ */
@media (max-width: 700px) {
  .footer.fold-footer { padding-bottom: 215px; }
  .fold-scene { height: 205px; }
}

/* ============ LETTERPRESS (grabado, para fondos claros) ============ */
.lp {
  font-family: var(--font-serif);
  color: #DFD3BC;
  text-shadow: 0 -1px 1px rgba(58,42,30,0.5), 0 1px 1px rgba(255,255,255,0.85);
}

/* ============ SELLO DE MARCA (isotipo en relieve + letterpress) ============ */
.sello {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 32px 110px;
  text-align: center;
}
.sello canvas {
  width: min(440px, 82vw);
  height: min(440px, 82vw);
  display: block;
  margin: 0 auto;
}
.sello .lp {
  font-size: clamp(26px, 3.6vw, 42px);
  margin-top: 4px;
}
@media (max-width: 700px) { .sello { padding-bottom: 70px; } }

/* ============ INTRO DEL HOME (momento de marca: mesh vivo + wordmark) ============ */
#sb-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  /* degradado slow-burn de BASE (garantizado, aunque WebGL no pinte): brasa cálida
     que respira. El canvas vivo se monta encima como mejora. */
  background:
    radial-gradient(75% 55% at 22% 28%, rgba(206,74,14,0.50), transparent 60%),
    radial-gradient(65% 55% at 80% 42%, rgba(242,171,44,0.42), transparent 60%),
    radial-gradient(95% 72% at 52% 100%, rgba(237,135,33,0.52), transparent 66%),
    var(--sombra-deep);
  background-size: 165% 165%, 165% 165%, 180% 180%, auto;
  background-position: 0% 0%, 100% 0%, 50% 100%, center;
  /* drift lentísimo: slow burn, sin prisa */
  animation: sbIntroDrift 30s ease-in-out infinite alternate;
  opacity: 1;
  overflow: hidden;
  /* disolución lenta y elegante: la brasa se enfría revelando el sitio */
  transition: opacity 1.5s ease, transform 1.7s var(--ease-out);
}
@keyframes sbIntroDrift {
  to { background-position: 16% 10%, 84% 20%, 55% 84%, center; }
}
#sb-intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* velo radial suave: da profundidad y hace legible el wordmark sobre el gradiente */
#sb-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 95% at 50% 46%, transparent 40%, rgba(26,16,16,0.40) 100%);
  pointer-events: none;
}
.sb-intro-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sb-intro-mark {
  width: min(340px, 62vw);
  aspect-ratio: 234 / 46;
  background: var(--arena-light);
  -webkit-mask: url('../images/logo.svg') center / contain no-repeat;
  mask: url('../images/logo.svg') center / contain no-repeat;
  opacity: 0;
  transform: translateY(14px);
  /* aparición lenta y suave del wordmark */
  animation: sbIntroUp 1.8s var(--ease-out) .5s forwards;
  filter: drop-shadow(0 6px 26px rgba(26,16,16,0.42));
}
@keyframes sbIntroUp { to { opacity: 1; transform: none; } }
/* salida: disolución lenta con un leve push (la cámara atraviesa la brasa) */
#sb-intro.leave {
  opacity: 0;
  transform: scale(1.09);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .sb-intro-mark { animation: none; opacity: 1; transform: none; }
  #sb-intro { animation: none; }
  #sb-intro.leave { transform: none; }
}


/* ============ DETALLES PREMIUM ============ */
::selection { background: var(--sol); color: var(--sombra-deep); }
:focus-visible { outline: 2px solid var(--sol); outline-offset: 3px; }
html { scrollbar-color: var(--piel) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--piel); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* nav scrolled: profundidad sutil */
.nav.scrolled { box-shadow: 0 12px 34px rgba(26, 16, 16, 0.14); }

/* ============ PÁGINAS DE CONTENIDO (info, políticas, world, journal) ============ */
.page-hero { max-width: 1100px; margin: 0 auto; padding: 150px 32px 20px; }
.page-eyebrow { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.page-title { font-family: var(--font-serif); font-size: clamp(48px, 8vw, 104px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.0; color: var(--sombra); }
.page-lead { font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 26px); color: var(--muted); line-height: 1.5; max-width: 620px; margin-top: 22px; }
.page-body { max-width: 760px; margin: 0 auto; padding: 48px 32px 130px; }
.page-body h3 { font-family: var(--font-mono); font-weight: 300; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.page-body h3:first-child { margin-top: 0; }
.page-body p { font-family: var(--font-serif); font-size: 19px; line-height: 1.65; color: var(--sombra); margin-bottom: 18px; }
.page-body p strong { font-family: var(--font-sans); font-weight: 700; font-size: 0.9em; }
.page-body a.inline { text-decoration: underline; }
.page-body a.inline:hover { color: var(--muted); }
.page-body ul.clean { list-style: none; margin: 8px 0 18px; }
.page-body ul.clean li { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--sombra); padding: 7px 0 7px 22px; position: relative; }
.page-body ul.clean li::before { content: '·'; position: absolute; left: 6px; color: var(--sol); font-weight: 700; }
.page-note { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.08em; line-height: 1.6; color: var(--muted); margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-cta { display: inline-block; margin-top: 20px; padding: 15px 34px; background: var(--sombra); color: var(--arena-light); font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; transition: background .25s; }
.page-cta:hover { background: var(--coral); }

/* tabla de tallas simple */
.size-table-page { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-weight: 300; font-size: 13px; color: var(--sombra); margin: 12px 0 8px; }
.size-table-page th, .size-table-page td { padding: 13px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table-page th { color: var(--muted); font-weight: 400; letter-spacing: 0.06em; }
.size-table-page td:first-child, .size-table-page th:first-child { text-align: left; font-family: var(--font-serif); font-size: 15px; }

/* journal / favoritos grids reutilizan .grid y .card del sitio */
.page-empty { max-width: 760px; margin: 0 auto; padding: 60px 32px 130px; text-align: center; }
.page-empty h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; color: var(--sombra); margin-bottom: 14px; }
.page-empty p { font-family: var(--font-mono); font-weight: 300; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }

.fav-btn.saved { border-color: var(--sombra); color: var(--sombra); }
