/* ============================================================
   HOUSE OF DRAKO — Stylesheet v2
   Paleta: blanco #FFFFFF / negro #0A0A0A / gold champagne #C9A961
   Inspiración: Fear of God · Aimé Leon Dore · Jacquemus
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500;600&display=swap');

/* === CSS VARIABLES — Paleta principal === */
:root {
  --color-bg:        #FFFFFF;
  --color-bg-alt:    #0A0A0A;
  --color-text:      #0A0A0A;
  --color-text-inv:  #FFFFFF;
  --color-accent:    #C9A961;
  --color-accent-h:  #B8954F;
  --color-muted:     #6B6B6B;
  --color-border:    #E5E5E5;
  --color-border-2:  #CCCCCC;
  --color-surface:   #FAFAFA;
  --color-surface-2: #F2F2F2;

  /* Muted sobre fondo oscuro */
  --color-muted-inv: #8A8A8A;

  /* Aliases de compatibilidad (para referencias inline en HTML) */
  --bg:        var(--color-bg);
  --surface:   var(--color-surface);
  --surface-2: var(--color-surface-2);
  --border:    var(--color-border);
  --border-2:  var(--color-border-2);
  --text:      var(--color-text);
  --muted:     var(--color-muted);
  --white:     var(--color-text-inv);

  --font-display: 'Bebas Neue', sans-serif;
  --font-label:   'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --ticker-h:  36px;
  --header-h:  64px;
  --offset:    calc(var(--ticker-h) + var(--header-h));

  --ease:  0.2s ease;
  --r:     2px;
  --max-w: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* === TICKER BANNER — negro sobre negro === */
.ticker {
  background: var(--color-bg-alt);
  height: var(--ticker-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.ticker__track {
  display: flex;
  align-items: center;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 0 1.75rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-text-inv);
  text-transform: uppercase;
}
.ticker__dot {
  width: 4px; height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === HEADER === */
.header {
  position: fixed;
  top: var(--ticker-h); left: 0; right: 0;
  z-index: 190;
  height: var(--header-h);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo imagen en header */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 768px) { .header__nav { display: flex; } }
.header__nav a {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--ease);
}
.header__nav a:hover,
.header__nav a.active { color: var(--color-text); }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

/* Cart button */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid var(--color-border-2);
  border-radius: var(--r);
  transition: all var(--ease);
}
.cart-btn:hover { border-color: var(--color-text); }
.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  background: var(--color-bg-alt);
  color: white;
  font-size: 10px;
  font-weight: 900;
  border-radius: 50%;
  padding: 0 3px;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--offset); left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 180;
  padding: 2.5rem var(--gutter);
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--ease), padding-left var(--ease);
}
.mobile-menu a:hover { color: var(--color-accent); padding-left: 0.5rem; }

/* === PAGE OFFSET === */
.page-top { padding-top: var(--offset); }

/* === CONTAINER & SECTION === */
.container { max-width: var(--max-w); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
/* Primario: negro → hover invierte a outline negro */
.btn--primary {
  background: var(--color-bg-alt);
  color: var(--color-text-inv);
  border-color: var(--color-bg-alt);
}
.btn--primary:hover {
  background: transparent;
  color: var(--color-bg-alt);
  border-color: var(--color-bg-alt);
  transform: translateY(-1px);
}
/* Outline: borde negro fino, texto negro */
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-2);
}
.btn--outline:hover {
  background: var(--color-bg-alt);
  color: var(--color-text-inv);
  border-color: var(--color-bg-alt);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
  border-width: 1px;
}
.btn--ghost:hover { color: var(--color-text); border-color: var(--color-border-2); }
.btn--lg { padding: 1.1rem 2.75rem; font-size: 14px; }
.btn--full { width: 100%; }
.btn--whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
  font-size: 14px;
  padding: 1.1rem 2rem;
}
.btn--whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-1px);
}
.btn--icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-inv);
  border-radius: var(--r);
  transition: all var(--ease);
  padding: 0;
  flex-shrink: 0;
  border: none;
}
.btn--icon:hover { background: var(--color-accent); }

/* === HERO — fondo blanco, tipografía editorial === */
.hero {
  min-height: calc(100vh - var(--offset));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem var(--gutter);
  background: var(--color-bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,169,97,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 100%, rgba(201,169,97,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero__scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0,0,0,0.012) 4px,
    rgba(0,0,0,0.012) 5px
  );
  pointer-events: none;
}
/* Patrón de marca — generado en canvas con los 4 elementos via JS */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-pattern-bg, none);
  background-size: var(--hero-pattern-size, 280px 280px);
  background-repeat: repeat;
  background-position: 0 0;
  mix-blend-mode: multiply;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 1s ease;
}
.hero.video-ready::before { opacity: 0; }
.hero__content { position: relative; z-index: 1; max-width: 960px; width: 100%; }
.hero__eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 18vw, 12rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 0.1em;
}
.hero__title-drako {
  display: block;
  color: var(--color-accent);
  font-size: clamp(3.5rem, 22vw, 15rem);
  line-height: 0.85;
  text-shadow: 0 2px 40px rgba(201,169,97,0.18);
}
.hero__tagline {
  font-family: var(--font-label);
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin: 1.5rem 0 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* === SECTION TITLES === */
.section-label {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* === PRODUCTS GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.625rem, 2vw, 1.25rem);
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* === PRODUCT CARD — luz, borde sutil, sombra al hover === */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  border-color: var(--color-border-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}
.product-card.agotado { opacity: 0.5; }
.product-card__image-link { display: block; }
.product-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-2);
}
.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (hover: hover) {
  .product-card__image-wrap img {
    transition: transform 0.45s ease;
  }
  .product-card:hover .product-card__image-wrap img {
    transform: scale(1.02);
  }
}
.product-card__agotado-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.82);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}
.product-card__info {
  padding: 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.product-card__cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.product-card__name {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--color-text);
}
.product-card__name a { transition: color var(--ease); }
.product-card__name a:hover { color: var(--color-muted); }
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.625rem;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  font-weight: 400;
}

/* === FILTERS === */
.filters { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.45rem 1rem;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover { color: var(--color-text); border-color: var(--color-border-2); }
.filter-btn.active {
  background: var(--color-bg-alt);
  color: var(--color-text-inv);
  border-color: var(--color-bg-alt);
}

/* === PAGE HERO — fondo negro, toque editorial === */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  background: var(--color-bg-alt);
  border-bottom: none;
}
.page-hero__eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  color: var(--color-text-inv);
}
.page-hero__sub {
  margin-top: 0.75rem;
  font-size: 14px;
  color: var(--color-muted-inv);
  letter-spacing: 0.04em;
}

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  flex-wrap: wrap;
}
.breadcrumb a { transition: color var(--ease); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb__sep { opacity: 0.35; }

/* === PRODUCT DETAIL === */
.product-detail { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
}
@media (min-width: 1024px) {
  .product-detail { grid-template-columns: 54% 1fr; gap: 4.5rem; }
}
.product-gallery__main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-info__cat {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.product-info__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}
.product-info__price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.product-info__desc {
  color: var(--color-muted);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}
.product-info__label {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.product-info__agotado {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* Size selector */
.sizes-selector { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.size-btn {
  min-width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-2);
  border-radius: var(--r);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0 0.875rem;
  transition: all var(--ease);
}
.size-btn:hover { border-color: var(--color-text); }
.size-btn.selected { background: var(--color-bg-alt); border-color: var(--color-bg-alt); color: white; }
.sizes-selector.shake { animation: shake 0.35s ease; }

/* Quantity selector */
.qty-wrap {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--color-border-2);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.qty-btn {
  width: 44px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text);
  font-size: 1.2rem;
  transition: all var(--ease);
}
.qty-btn:hover { background: var(--color-surface-2); }
.qty-display {
  min-width: 52px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  border-left: 1px solid var(--color-border-2);
  border-right: 1px solid var(--color-border-2);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === ABOUT — sección de contraste NEGRO === */
.about {
  background: var(--color-bg-alt);
  border: none;
}
.about__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) {
  .about__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* Logo en sección about */
.about__logo {
  height: 140px;
  width: auto;
  display: block;
  filter: invert(1);
  margin: 0 0 2rem;
  opacity: 0.92;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.88;
  color: var(--color-text-inv);
  margin-bottom: 1.5rem;
}
.about__title em { font-style: normal; color: var(--color-accent); }
.about__text { color: var(--color-muted-inv); line-height: 1.85; font-size: 15px; margin-bottom: 0.875rem; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.about__stat-n { font-family: var(--font-display); font-size: 2.75rem; color: var(--color-accent); line-height: 1; }
.about__stat-l {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-muted-inv);
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.about__visual {
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about__visual-text {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  color: rgba(255,255,255,0.07);
  letter-spacing: 0.02em;
  user-select: none;
}
.about__visual-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-accent);
}
/* Logo en visual del about si aplica */
.about__visual-logo {
  height: 60%;
  width: auto;
  filter: invert(1);
  opacity: 0.15;
}

/* Historia video — reemplaza el placeholder "D" */
.about__video-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.about__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.about__video-wrap.video-ready .about__video { opacity: 1; }
.about__video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.about__video-wrap.video-ready .about__video-fallback { opacity: 0; }
.about__video-fallback-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.12em;
  text-align: center;
}

/* === FOOTER — negro, editorial === */
.footer {
  background: var(--color-bg-alt);
  border-top: none;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* Logo imagen en footer */
.footer__logo { margin-bottom: 1.25rem; }
.footer__logo a { display: block; }
.footer__logo-img {
  height: 110px;
  width: auto;
  display: block;
  filter: invert(1);
  opacity: 0.9;
  transition: opacity var(--ease);
}
.footer__logo a:hover .footer__logo-img { opacity: 1; }

.footer__desc { color: var(--color-muted-inv); font-size: 13px; line-height: 1.75; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 0.625rem; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}
.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-h);
  transform: scale(1.1);
}
.footer__col-title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-muted-inv);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a { font-size: 13px; color: var(--color-muted-inv); transition: color var(--ease); }
.footer__links a:hover { color: var(--color-text-inv); }
.footer__link-more { color: var(--color-accent) !important; font-weight: 600; letter-spacing: 0.02em; }
.footer__despacho-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer__despacho-icon { color: var(--color-accent); flex-shrink: 0; margin-top: 1px; }
.footer__despacho-text { font-size: 13px; color: var(--color-muted-inv); line-height: 1.6; }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer__copy { font-size: 12px; color: var(--color-muted-inv); }
.footer__wa-note { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--color-muted-inv); text-transform: uppercase; }
.footer__wa-note span { color: #25D366; }

/* === CART PAGE === */
.cart-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.cart-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  background: var(--color-bg);
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
@media (min-width: 640px) { .cart-item { grid-template-columns: 100px 1fr auto; } }
.cart-item__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-surface-2); border-radius: var(--r); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-label); font-size: 15px; font-weight: 700; color: var(--color-text); margin-bottom: 0.2rem; line-height: 1.2; }
.cart-item__meta { font-size: 12px; color: var(--color-muted); letter-spacing: 0.06em; margin-bottom: 0.75rem; text-transform: uppercase; }
.cart-item__price { font-family: var(--font-display); font-size: 1.6rem; color: var(--color-text); }
.cart-item__controls { display: flex; align-items: center; gap: 0.375rem; }
.ci-qty-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--ease);
  flex-shrink: 0;
}
.ci-qty-btn:hover { background: var(--color-border-2); }
.ci-qty { min-width: 28px; text-align: center; font-family: var(--font-label); font-weight: 700; font-size: 14px; color: var(--color-text); }
.cart-item__remove { background: none; border: none; color: var(--color-muted); cursor: pointer; padding: 6px; transition: color var(--ease); display: flex; align-items: center; justify-content: center; }
.cart-item__remove:hover { color: var(--color-text); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--offset) + 1rem);
}
.cart-summary__title { font-family: var(--font-display); font-size: 1.6rem; color: var(--color-text); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.cart-summary__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; font-size: 14px; color: var(--color-muted); }
.cart-summary__row strong { color: var(--color-text); font-weight: 600; }
.cart-summary__divider { border: none; border-top: 1px solid var(--color-border); margin: 1rem 0; }
.cart-summary__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.cart-summary__total-label { font-family: var(--font-label); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); }
.cart-summary__total-price { font-family: var(--font-display); font-size: 2.25rem; color: var(--color-text); }
.cart-note { font-size: 12px; color: var(--color-muted); text-align: center; margin-top: 0.875rem; line-height: 1.6; }
.cart-empty { text-align: center; padding: 5rem 2rem; border: 1px solid var(--color-border); border-radius: var(--r); background: var(--color-surface); }
.cart-empty__icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.2; }
.cart-empty__title { font-family: var(--font-display); font-size: 2.5rem; color: var(--color-text); margin-bottom: 0.75rem; }
.cart-empty__text { font-size: 14px; color: var(--color-muted); margin-bottom: 2rem; }

/* === SIZE MODAL === */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.75); z-index: 500; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  border-radius: var(--r);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: modal-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--color-muted); font-size: 1.4rem; cursor: pointer; line-height: 1; transition: color var(--ease); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.modal-close-btn:hover { color: var(--color-text); }
.modal-cat { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 0.4rem; }
.modal-name { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-text); line-height: 1; margin-bottom: 0.4rem; }
.modal-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-text); margin-bottom: 1.5rem; }
.modal-size-label { display: block; font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.75rem; }
.modal-hint { font-size: 12px; color: var(--color-accent); margin-top: 0.625rem; display: none; font-family: var(--font-label); letter-spacing: 0.04em; }
.modal-hint.show { display: block; }

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  border-left: 3px solid var(--color-accent);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  z-index: 600;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast__icon { color: var(--color-accent); font-size: 15px; }

/* === LOADING SKELETONS === */
.loading-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.625rem, 2vw, 1.25rem); }
@media (min-width: 640px) { .loading-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .loading-grid { grid-template-columns: repeat(4, 1fr); } }
.skeleton { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r); overflow: hidden; animation: pulse 1.5s ease-in-out infinite; }
.skeleton__image { aspect-ratio: 3 / 4; background: var(--color-surface-2); }
.skeleton__text { padding: 0.875rem; }
.skeleton__line { height: 12px; background: var(--color-surface-2); border-radius: 2px; margin-bottom: 0.5rem; }
.skeleton__line--short { width: 60%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

/* === SCROLL ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.06s; }
.fade-in:nth-child(3) { transition-delay: 0.12s; }
.fade-in:nth-child(4) { transition-delay: 0.18s; }
.fade-in:nth-child(5) { transition-delay: 0.24s; }
.fade-in:nth-child(6) { transition-delay: 0.3s; }
.fade-in:nth-child(7) { transition-delay: 0.36s; }
.fade-in:nth-child(8) { transition-delay: 0.42s; }

/* === SWATCHES EN CARD (color dots) === */
.product-card__swatches {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
}
.swatch:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--color-accent);
  transform: scale(1.1);
}
.swatch--agotado {
  opacity: 0.4;
  cursor: default;
}
.swatch--agotado::after {
  content: '';
  position: absolute;
  top: 50%; left: -2px; right: -2px;
  height: 1.5px;
  background: rgba(0,0,0,0.5);
  transform: rotate(-45deg);
}

/* === SELECTOR DE COLOR EN PRODUCTO === */
.color-selector {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.color-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}
.color-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.color-dot-wrap:hover .color-dot {
  transform: scale(1.08);
}
.color-dot-wrap.selected .color-dot {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-accent);
}
.color-dot-wrap.agotado { opacity: 0.45; cursor: not-allowed; }
.color-dot-wrap.agotado .color-dot-label { text-decoration: line-through; }
.color-dot-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.color-dot-wrap.selected .color-dot-label { color: var(--color-text); }

/* === GALERÍA DE IMÁGENES (producto.html) === */
.product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.product-gallery__main-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  cursor: zoom-in;
  position: relative;
}
.product-gallery__main-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.product-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 76px; height: 76px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.15s ease;
  background: var(--color-surface-2);
  flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active { border-color: var(--color-accent); opacity: 1; }

/* === TABS (producto.html) === */
.product-tabs { margin-top: 2.5rem; }
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.625rem 0;
  margin-right: 2rem;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-text); border-bottom-color: var(--color-accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.85;
}
.tab-text + .tab-text { margin-top: 0.625rem; }
.tab-detail-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin: 1rem 0 0.25rem;
}

/* === TABLA DE MEDIDAS === */
.medidas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 0.5rem;
}
.medidas-table th {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.medidas-table td {
  padding: 0.625rem 0.75rem 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 13px;
}
.medidas-table tr:last-child td { border-bottom: none; }
.medidas-table td:first-child {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* === MISC === */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.divider { border: none; border-top: 1px solid var(--color-border); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* === PRODUCT BADGES === */
.product-badge {
  position: absolute;
  top: 0.625rem; left: 0.625rem;
  z-index: 2;
  padding: 0.2rem 0.625rem;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1.6;
}
.product-badge--new            { background: var(--color-accent); color: #000; }
.product-badge--oferta         { background: #000; color: var(--color-accent); }
.product-badge--ultima-unidad  { background: #fff; border: 1px solid #000; color: #000; }
.product-badge--pre-venta      { background: #666; color: #fff; }
.product-badge--restock        { background: #e8d49a; color: #000; }
.product-badge--limitado       { background: #000; color: #fff; }
.product-badge--agotado        { background: #999; color: #fff; }

/* === OFFER PRICE (cards) === */
.price-offer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.price-offer__original {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.price-offer__new {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text);
}
.price-offer__pct {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  background: var(--color-accent);
  color: #000;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}

/* === OFFER PRICE (product detail) === */
.price-detail-offer {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.price-detail-offer__new {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.price-detail-offer__original {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.price-detail-offer__pct {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  background: var(--color-accent);
  color: #000;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  align-self: center;
}

/* === HERO VIDEO === */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero.video-ready .hero__video         { opacity: 1; }
.hero.video-ready .hero__bg            { opacity: 0; }
.hero.video-ready .hero__scanlines     { opacity: 0; }
.hero.video-ready .hero__title         { color: #fff; }
.hero.video-ready .hero__title-drako   { color: var(--color-accent); text-shadow: 0 2px 40px rgba(201,169,97,.4); }
.hero.video-ready .hero__tagline       { color: rgba(255,255,255,.85); }
.hero.video-ready .hero__eyebrow       { color: var(--color-accent); }
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero.video-ready .hero__video-overlay { opacity: 1; }

/* === DARK SECTION === */
.section--dark { background: var(--color-bg-alt); }

/* === BENEFITS === */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  transition: border-color var(--ease);
}
.benefit-item:hover { border-color: rgba(201,169,97,.35); }
.benefit-item__icon {
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}
.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text-inv);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}
.benefit-item p { font-size: 13px; color: var(--color-muted-inv); line-height: 1.75; }

/* === LOOKBOOK === */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (min-width: 641px) and (max-width: 900px) {
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
}
.lookbook-item {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r);
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.lookbook-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.lookbook-item.video-loaded .lookbook-video { opacity: 1; }
.lookbook-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.02);
  transition: opacity 0.6s ease;
}
.lookbook-item.video-loaded .lookbook-placeholder { opacity: 0; pointer-events: none; }
.lookbook-placeholder__logo {
  height: 80px;
  width: auto;
  filter: invert(1);
  opacity: 0.15;
}
.lookbook-item__label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  z-index: 2;
}

/* === TESTIMONIALS === */
.testimonials-outer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonials-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.testimonials-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  padding: 1.75rem;
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 0;
}
@media (max-width: 900px) { .testimonial-card { flex: 0 0 calc(50% - 0.65rem); } }
.testimonial-stars {
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #000;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
}
.testimonial-meta { font-size: 11px; color: var(--color-muted); margin-top: 1px; }
.testimonial-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--color-border-2);
  border-radius: var(--r);
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--ease);
  font-size: 1rem;
}
.testimonial-arrow:hover:not(:disabled) { background: var(--color-bg-alt); color: white; border-color: var(--color-bg-alt); }
.testimonial-arrow:disabled { opacity: 0.3; cursor: default; }

/* === FAQ === */
.faq-accordion {
  border-top: 1px solid rgba(255,255,255,.1);
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--color-text-inv);
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color var(--ease);
}
.faq-btn:hover { color: var(--color-accent); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-accent);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 14px;
  color: var(--color-muted-inv);
  line-height: 1.85;
  max-width: 720px;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 0.6rem; line-height: 1.75; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  margin: 0.4rem 0 0.75rem;
  padding: 0;
  list-style: none;
}
.faq-answer ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.65;
  font-size: 14px;
}
.faq-answer ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* === BOTÓN FLOTANTE WHATSAPP === */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; display: block; }
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
/* === SALES POPUP === */
.sales-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 700;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--r);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 300px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  pointer-events: none;
}
.sales-popup.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sales-popup__icon {
  width: 38px; height: 38px;
  border-radius: var(--r);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.sales-popup__body { flex: 1; min-width: 0; }
.sales-popup__name {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sales-popup__text {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sales-popup__close {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
  padding: 0 0 0 0.25rem;
  transition: color var(--ease);
}
.sales-popup__close:hover { color: var(--color-text); }

/* === VIDEO THUMB === */
.gallery-thumb--video {
  position: relative;
  background: var(--color-bg-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb--video svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 4px rgba(0,0,0,.5));
}

/* === TRUST ICONS (producto) === */
.trust-icons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
}
.trust-item svg { flex-shrink: 0; margin-top: 1px; color: var(--color-accent); }

/* === PRODUCT BADGE (detail page) === */
.product-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 0.875rem;
}
.product-detail-badge--new            { background: var(--color-accent); color: #000; }
.product-detail-badge--oferta         { background: #000; color: var(--color-accent); border: 1px solid var(--color-accent); }
.product-detail-badge--ultima-unidad  { background: transparent; border: 1px solid #000; color: #000; }
.product-detail-badge--pre-venta      { background: #666; color: #fff; }
.product-detail-badge--restock        { background: #e8d49a; color: #000; }
.product-detail-badge--limitado       { background: #000; color: #fff; }
.product-detail-badge--agotado        { background: #999; color: #fff; }

/* === FAQ LIGHT (para futuras páginas con fondo blanco) === */
.faq-accordion--light { border-top-color: var(--color-border); }
.faq-accordion--light .faq-item { border-bottom-color: var(--color-border); }
.faq-accordion--light .faq-btn { color: var(--color-text); }
.faq-accordion--light .faq-icon { border-color: var(--color-border-2); color: var(--color-accent); }
.faq-accordion--light .faq-answer { color: var(--color-muted); }

/* === MOBILE OPTIMIZATIONS ===================================================
   Sistema unificado < 768px — Zara / H&M / Mango mobile principles
   UNA sola regla por cada elemento. Sin parches aislados.
   ============================================================================ */
@media (max-width: 768px) {

  /* ── TOKENS — valores mobile unificados ─────────────────── */
  :root {
    --ticker-h: 32px;
    --header-h: 56px;
    --gutter:   16px;
  }

  /* ── OVERFLOW GLOBAL ────────────────────────────────────── */
  body, .container { overflow-x: hidden; }

  /* ── (B) TICKER — 32px / 11px ──────────────────────────── */
  .ticker { height: var(--ticker-h); }
  .ticker__item { font-size: 11px; padding: 0 1.25rem; }

  /* ── (L) HEADER — 56px / logo 32px ─────────────────────── */
  .header { height: var(--header-h); }
  .header__logo-img { height: 32px; }
  .cart-btn { padding: 0.35rem 0.625rem; font-size: 12px; }

  /* ── REGLA 1+2: SECCIONES — 48px vertical / 16px lateral ─ */
  .section      { padding: 48px 16px; }
  .about.section { padding: 48px 16px; }
  .footer       { padding: 48px 16px 0; }

  /* ── REGLA 3: TÍTULOS — clamp(1.5rem,5vw,2rem) ─────────── */
  .section-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
  }
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .section-header { margin-bottom: 24px; }

  /* ── (A) HERO — 70vh, tipografía proporcional ───────────── */
  .hero {
    min-height: 70vh;
    padding: 48px 16px;
  }
  .hero::before { background-size: 140px 140px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.25em; margin-bottom: 10px; }
  .hero__title        { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero__title-drako  { font-size: clamp(3rem, 15vw, 5rem); }
  .hero__tagline      { font-size: 13px; letter-spacing: 0.2em; margin: 10px 0 20px; }
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .hero__actions .btn--lg {
    flex: 1 1 120px;
    max-width: 160px;
    padding: 0.65rem 1rem;
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  /* ── (G) PRODUCTS GRID — 2 cols / gap 8px ──────────────── */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card__info  { padding: 8px 10px 10px; gap: 2px; }
  .product-card__cat   { font-size: 10px; letter-spacing: 0.1em; }
  .product-card__name  { font-size: 13px; line-height: 1.25; }
  .product-card__price { font-size: 1rem; }
  .product-card__footer { padding-top: 6px; }
  .price-offer__original { font-size: 0.85rem; }
  .price-offer__new      { font-size: 1rem; }

  /* ── (D) BENEFICIOS — 3 cols en una sola vista ──────────── */
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .benefit-item { padding: 20px 8px; }
  .benefit-item__icon { margin-bottom: 8px; }
  .benefit-item__icon svg { width: 22px; height: 22px; }
  .benefit-item h3 {
    font-size: 11px;
    letter-spacing: 0.01em;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .benefit-item p { font-size: 10px; line-height: 1.45; }

  /* ── (H) LOOKBOOK — grid 2 cols, 3er item landscape ─────── */
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lookbook-item:last-child:nth-child(odd) {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  /* ── (C) BORN BY DRAKO — stats 3 cols con separadores ───── */
  .about__logo  { height: 64px; margin-bottom: 14px; }
  .about__title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .about__text  { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
  .about__inner { gap: 2rem; }
  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
    padding-top: 24px;
  }
  .about__stats > div {
    padding: 14px 0;
    border-bottom: none;
    border-right: 1px solid rgba(201,169,97,0.3);
    text-align: center;
  }
  .about__stats > div:last-child { border-right: none; }
  .about__stat-n { font-size: 1.75rem; line-height: 1; }
  .about__stat-l { font-size: 10px; margin-top: 4px; }

  /* ── (F) TESTIMONIOS — 82% + peek / max-height 200px ────── */
  #testimonios { overflow: hidden; }
  .testimonials-outer   { gap: 0; }
  .testimonials-viewport { overflow: visible; }
  .testimonial-arrow    { display: none; }
  .testimonial-card {
    flex: 0 0 82% !important;
    max-height: 200px;
    overflow: hidden;
    padding: 14px 16px;
  }
  .testimonial-stars  { font-size: 12px; letter-spacing: 2px; margin-bottom: 6px; }
  .testimonial-text   { font-size: 13px; line-height: 1.55; margin-bottom: 10px; }
  .testimonial-name   { font-size: 12px; }
  .testimonial-meta   { font-size: 10px; }
  .testimonial-avatar { width: 34px; height: 34px; font-size: 0.875rem; }

  /* ── (I) FAQ — acordeón compacto ───────────────────────── */
  .faq-btn { padding: 12px 0; font-size: 14px; line-height: 1.4; }
  .faq-icon { width: 18px; height: 18px; font-size: 14px; }
  .faq-answer { font-size: 13px; padding-bottom: 12px; }
  .faq-answer p, .faq-answer ul li { font-size: 13px; line-height: 1.65; }

  /* ── (E) FOOTER — logo centrado / links 2 cols ──────────── */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer__grid > div:first-child { grid-column: 1 / -1; text-align: center; }
  .footer__grid > div:last-child  { grid-column: 1 / -1; }
  .footer__logo     { justify-content: center; }
  .footer__logo-img { height: 70px; }
  .footer__desc     { text-align: center; font-size: 12px; }
  .footer__social   { justify-content: center; }
  .footer__col-title { font-size: 11px; margin-bottom: 12px; }
  .footer__links a  { font-size: 12px; }

  /* ── (J) SALES POPUP — compacto top-right ───────────────── */
  .sales-popup {
    bottom: auto;
    top: calc(var(--offset) + 8px);
    left: auto;
    right: 12px;
    max-width: 185px;
    padding: 8px 10px;
    gap: 6px;
  }
  .sales-popup__icon { width: 26px; height: 26px; }
  .sales-popup__icon svg { width: 13px; height: 13px; }
  .sales-popup__name { font-size: 10px; }
  .sales-popup__text { font-size: 9px; }

  /* ── (K) WHATSAPP FLOAT — 48px / margen 16px ───────────── */
  .wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }

}
