/* X MENOS + PRENDAS — identidad urbana premium.
   Tema dark lock. Monocromo, sin acento. Display: Archivo Black. */

:root {
  --bg: #0e0e0e;
  --surface: #171717;
  --ink: #f2f2ee;
  --ink-soft: #9c9c97;
  --hairline: #262624;
  --nav-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.display {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* Grano sutil sobre toda la página */
.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Intro ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}

.intro.done {
  opacity: 0;
  pointer-events: none;
}

.intro video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro mobile: logo animado en lugar del video */

.intro-logo { display: none; }

.intro--logo .intro-logo {
  display: block;
  width: min(56vw, 260px);
  height: auto;
  opacity: 0;
  transform: scale(0.88);
  animation: intro-logo-in 0.8s var(--ease) forwards;
}

.intro--logo::after {
  content: "";
  position: absolute;
  top: calc(50% + min(28vw, 130px) + 28px);
  left: 50%;
  width: min(56vw, 260px);
  height: 1px;
  background: #f2f2ee;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
  opacity: 0.55;
  animation: intro-rule-in 0.7s var(--ease) 0.5s forwards;
}

@keyframes intro-logo-in {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes intro-rule-in {
  from { transform: translateX(-50%) scaleX(0); }
  to   { transform: translateX(-50%) scaleX(1); }
}

.intro .intro-skip {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  right: clamp(20px, 4vw, 56px);
  border: 1px solid #f2f2ee;
  background: transparent;
  color: #f2f2ee;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 30px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.intro .intro-skip:hover {
  background: #f2f2ee;
  color: #0e0e0e;
}

body.intro-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ---------- Nav ---------- */

.topstrip {
  background: #f2f2ee;
  color: #0e0e0e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}

/* Barra estilo sitio original: hamburguesa + buscador / logo centrado / carrito.
   Vidrio de alta definición: blur profundo + saturación, borde luminoso 1px. */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(14, 14, 14, 0.45);
  backdrop-filter: blur(28px) saturate(1.7) brightness(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(1.7) brightness(1.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 48px -24px rgba(0, 0, 0, 0.7);
}

.nav-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-zone { display: flex; align-items: center; gap: 22px; }
.nav-zone.right { justify-content: flex-end; }

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-burger:hover span:nth-child(1) { transform: translateY(-1.5px); }
.nav-burger:hover span:nth-child(3) { transform: translateY(1.5px); }

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 170px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}

.nav-search:focus-within { border-color: var(--ink-soft); }

.nav-search input {
  flex: 1;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav-search input::placeholder {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-search button {
  display: inline-flex;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-soft);
}

.nav-search svg { width: 15px; height: 15px; }

.nav-plain {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-brand { display: flex; align-items: center; justify-content: center; }

.nav-brand img {
  height: 42px;
  width: auto;
  filter: invert(1);
  transition: transform 0.3s var(--ease);
}

.nav-brand:hover img { transform: scale(1.04); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--ink);
  padding: 4px;
}

.cart-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* ---------- Menú drawer (izquierda, estilo sitio original) ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 50;
}

.menu-overlay.open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(360px, 88vw);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  background: rgba(16, 16, 16, 0.58);
  backdrop-filter: blur(36px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(36px) saturate(1.8) brightness(1.05);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    24px 0 80px -32px rgba(0, 0, 0, 0.8);
}

.menu-drawer.open { transform: none; }

.menu-head {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px 4px;
}

.menu-head button {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}

.menu-drawer .nav-search { margin: 6px 28px 18px; min-width: 0; }

.menu-list {
  display: flex;
  flex-direction: column;
  padding: 8px 28px 32px;
  overflow-y: auto;
}

.menu-list > a,
.menu-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  text-align: left;
  font-family: inherit;
}

.menu-list > a:hover,
.menu-accordion:hover { color: var(--ink-soft); }

.menu-accordion .arrow {
  display: inline-flex;
  color: var(--ink-soft);
  transition: transform 0.35s var(--ease);
}

.menu-accordion .arrow svg { width: 13px; height: 13px; }

.menu-group.open .menu-accordion .arrow { transform: rotate(180deg); }

.menu-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.menu-sub > div { overflow: hidden; }

.menu-group.open .menu-sub { grid-template-rows: 1fr; }

.menu-sub a {
  display: block;
  padding: 13px 0 13px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.menu-sub a:hover { color: var(--ink); }

/* ---------- Hero: video full-bleed ---------- */

.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.2) 60%, rgba(10, 10, 10, 0.3)),
    linear-gradient(to right, rgba(10, 10, 10, 0.5), transparent 55%);
  pointer-events: none;
}

.hero-copy h1,
.hero-copy p {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 9vh, 110px);
}

.hero-copy h1 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero-copy p {
  margin-top: 20px;
  color: #c9c9c4;
  max-width: 38ch;
}

.hero-actions { margin-top: 32px; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #0e0e0e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 36px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.15s var(--ease);
}

.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- Marquee (único en la página) ---------- */

.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-right: 3.5rem;
}

.marquee-track .ghost {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-soft);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Secciones ---------- */

.section { padding: clamp(72px, 10vw, 140px) 0; }

.section-head {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ---------- Grilla de productos (asimétrica) ---------- */

.product-grid {
  display: grid;
  /* Grilla pareja: todas las cards mismo tamaño. 3 columnas en desktop.
     minmax(0,…) evita que una imagen ancha desborde su columna. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.product-card { display: block; }

.product-card .frame {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3 / 4;   /* mismo recorte para todas: object-fit cover uniforma las fotos */
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover img { transform: scale(1.035); }

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card .meta .price { color: var(--ink-soft); white-space: nowrap; font-weight: 400; }

/* ---------- Split editorial ---------- */

.editorial {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}

.editorial .frame {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  width: 100%;
}

.editorial .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 76%;
}

.editorial-copy h2 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  max-width: 14ch;
}

.editorial-copy p {
  margin-top: 24px;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ---------- Banda lookbook ---------- */

.lookbook {
  position: relative;
  height: min(88vh, 820px);
  overflow: hidden;
}

.lookbook img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ---------- Info compra ---------- */

.info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(40px, 5vw, 64px);
}

.info-cols h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-cols p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 36ch;
}

/* ---------- Newsletter ---------- */

.newsletter {
  border-top: 1px solid var(--hairline);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) 0;
}

.newsletter h2 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.newsletter form { display: grid; gap: 8px; }

.newsletter label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.newsletter .field-row {
  display: flex;
  gap: 0;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid #3a3a37;
  border-right: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
}

.newsletter input::placeholder { color: #6f6f6a; }

.newsletter input:focus { border-color: var(--ink); }

.newsletter .form-note {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer { padding: clamp(48px, 6vw, 80px) 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand img {
  height: 44px;
  width: auto;
  filter: invert(1);
}

.footer-brand p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  max-width: 30ch;
}

.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: grid; gap: 10px; font-size: 13px; }

.footer ul a { color: var(--ink-soft); transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Fila de links legales (footer de páginas sin footer-grid, ej producto) */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 8px 0 4px;
  font-size: 12px;
}
.footer-legal-links a {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-legal-links a:hover { color: var(--ink); }

.footer-word {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(3rem, 12.5vw, 12rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-align: center;
  color: #1d1d1b;
  user-select: none;
  padding: clamp(24px, 4vw, 56px) 0 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- PDP ---------- */

.pdp {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 48px);
}

.pdp-gallery { display: grid; gap: 16px; }

.pdp-gallery .frame {
  background: var(--surface);
  overflow: hidden;
}

.pdp-gallery img { width: 100%; height: auto; }

/* Zoom con cursor en imagen principal del producto */
.zoomable {
  cursor: zoom-in;
}

.zoomable img {
  transition: transform 0.25s var(--ease);
  will-change: transform;
}

.zoomable.zooming {
  cursor: zoom-out;
}

.zoomable.zooming img {
  transform: scale(2.2);
  transition: none;
}

.pdp-info {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding-top: 8px;
}

.pdp-info .crumb {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.pdp-info .crumb a:hover { color: var(--ink); }

.pdp-info h1 {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.pdp-info .price {
  margin-top: 12px;
  font-size: 1.1rem;
}

.pdp-info .price-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Info comercial (precio sin impuestos, cuotas, transferencia, envío) */
.pdp-info .price-tax {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.pdp-info .price-perks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.pdp-info .price-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-info .price-perks li svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ink);
}

.pdp-info .pdp-desc {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  white-space: pre-line;   /* respeta saltos de línea de la descripción */
}

.size-group { margin-top: 36px; }

.size-group .size-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.size-group .size-label button {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.size-group .size-label button:hover { color: var(--ink); }

.sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.size-pill {
  min-width: 52px;
  padding: 12px 0;
  text-align: center;
  border: 1px solid #3a3a37;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.size-pill:hover { border-color: var(--ink); }

.size-pill.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #0e0e0e;
}

.pdp-cta { margin-top: 24px; display: grid; gap: 10px; }

.pdp-cta .hint {
  font-size: 12px;
  color: var(--ink-soft);
  min-height: 18px;
}

.accordion { margin-top: 40px; border-top: 1px solid var(--hairline); }

.accordion details { border-bottom: 1px solid var(--hairline); }

.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 400;
}

.accordion details[open] summary::after { content: "\2212"; }

.accordion .acc-body {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.accordion .acc-body img { margin-top: 8px; }

/* ---------- Relacionados ---------- */

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.related-grid .product-card .frame { aspect-ratio: 4 / 3; }

/* ---------- Carrito drawer ---------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 50;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100vw);
  background: rgba(16, 16, 16, 0.58);
  backdrop-filter: blur(36px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(36px) saturate(1.8) brightness(1.05);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    -24px 0 80px -32px rgba(0, 0, 0, 0.8);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hairline);
}

.cart-head h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-head button {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.cart-item img { width: 72px; height: 90px; object-fit: cover; background: var(--surface); }

.cart-item .ci-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-item .ci-meta { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.cart-item .ci-remove {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 8px;
  padding: 0;
}

.cart-item .ci-price { font-size: 13px; white-space: nowrap; }

.cart-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--hairline);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---------- WhatsApp flotante ---------- */

.wsp-btn {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vh, 32px);
  z-index: 45;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2ee;
  border: 1px solid #f2f2ee;
  color: #0e0e0e;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.15s var(--ease);
}

.wsp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.wsp-btn:hover {
  background: #0e0e0e;
  color: #f2f2ee;
}

.wsp-btn:active { transform: translateY(1px); }

/* ---------- Reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-card img { transition: none; }
  .cart-drawer, .cart-overlay { transition: none; }
  .menu-drawer, .menu-overlay, .menu-sub { transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .hero { min-height: 88dvh; }
  .hero-copy { padding-bottom: 48px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial { grid-template-columns: 1fr; }
  .info-cols { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .nav .nav-search { display: none; }
  .nav-brand img { height: 34px; }
  .nav-zone { gap: 14px; }
}

@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
}
