/* =============================================================
   ENTRELAZADAS — Sistema de Diseño v2.0
   Tokens de diseño, reset tipográfico y utilidades base.
   Se carga DESPUÉS de store.css para sobrescribir variables.
   ============================================================= */

:root {
  /* ── Paleta editorial tierra cálida ── */
  --bg:         oklch(0.965 0.012 78);   /* crema base */
  --bg-warm:    oklch(0.93 0.018 70);    /* crema tostada */
  --paper:      oklch(0.985 0.006 80);   /* casi blanco cálido */
  --ink:        oklch(0.22 0.018 45);    /* café tinta — texto principal */
  --ink-soft:   oklch(0.42 0.018 45);    /* café medio — texto secundario */
  --line:       oklch(0.85 0.02 60);     /* bordes */
  --line-soft:  oklch(0.90 0.015 70);    /* bordes sutiles */
  --clay:       oklch(0.62 0.115 38);    /* terracota — acento principal */
  --clay-deep:  oklch(0.46 0.10 32);     /* terracota profundo */
  --burgundy:   oklch(0.36 0.085 22);    /* burdeos — secundario */

  /* ── Aliases backward-compat con store.css ── */
  --primary:          var(--clay);
  --primary-hover:    oklch(0.66 0.12 38);
  --primary-dark:     var(--clay-deep);
  --secondary:        var(--burgundy);
  --secondary-light:  oklch(0.50 0.09 28);
  --accent:           var(--bg-warm);
  --bg-card:          var(--paper);
  --text-dark:        var(--ink);
  --text-medium:      var(--ink-soft);
  --text-light:       oklch(0.58 0.025 55);
  --border:           var(--line);

  /* ── Estado ── */
  --success: oklch(0.55 0.09 145);
  --error:   oklch(0.55 0.14 27);
  --warning: oklch(0.60 0.11 55);

  /* ── Tipografía ── */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', -apple-system, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ── Radios — editorial, sin burbujas ── */
  --radius-sm:   2px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-full: 99px;

  /* ── Sombras — sutiles, tinta cálida ── */
  --shadow-sm: 0 1px 4px oklch(0.22 0.018 45 / 0.06);
  --shadow-md: 0 2px 12px oklch(0.22 0.018 45 / 0.08);
  --shadow-lg: 0 4px 32px oklch(0.22 0.018 45 / 0.12);

  /* ── Misc ── */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:   70px;
}

/* ── Reset tipográfico base ── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

/* ── Utilidades tipográficas ── */
.serif { font-family: var(--font-heading); }
.sans  { font-family: var(--font-body); }
.mono  {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.chip:hover,
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ── Botones — override de sombras de marca antigua ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
}
.btn:hover {
  opacity: 0.86;
  transform: none;
  box-shadow: none;
}

.btn-ghost,
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover,
.btn.ghost:hover {
  background: var(--bg-warm);
  box-shadow: none;
  transform: none;
}

.btn-primary,
.btn.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
  box-shadow: none;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: none;
  transform: none;
}

.btn-secondary,
.btn.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
.btn-secondary:hover,
.btn.btn-secondary:hover {
  background: var(--bg-warm);
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--paper);
  box-shadow: none;
}
.btn-outline-white:hover {
  background: oklch(1 0 0 / 0.1);
  box-shadow: none;
  transform: none;
}

/* ── Cards de producto: sin sombras, borde fino ── */
.product-card {
  box-shadow: none;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}
.product-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

/* ── Formulario de contacto: radios contenidos ── */
.contact-form {
  box-shadow: none;
  border: 1px solid var(--line);
}

/* ── Testimonios: sin sombras ── */
.testimonial-card {
  box-shadow: none;
  border: 1px solid var(--line);
}
.testimonial-card:hover {
  transform: none;
  box-shadow: none;
}

/* =============================================================
   FASE 2 — Header + Nav
   ============================================================= */

/* ── Ticker / Marquee ── */
#ticker-wrap {
  background: var(--ink);
  overflow: hidden;
  padding: 10px 0;
  border-bottom: none;
}
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0.01em;
  will-change: transform;
}
.ticker-track span { margin: 0 32px; }
.ticker-track span::before {
  content: '✦';
  margin-right: 32px;
  opacity: 0.45;
}

/* ── Header principal ── */
#main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line-soft);
  height: var(--header-h);
  transition: border-color var(--transition);
  box-shadow: none;
}
#main-header.scrolled {
  border-color: var(--line);
  box-shadow: none;
}

/* Grid 3 columnas: nav | wordmark | acciones */
#main-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 40px;
  gap: 0;
}

/* ── Columna izquierda ── */
.header-left {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Wordmark (centro) ── */
.logo {
  text-align: center;
  text-decoration: none;
  display: block;
  line-height: 1;
}
.wordmark {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.wordmark-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  margin-top: 3px;
  text-transform: uppercase;
}

/* ── Links de nav (escritorio) ── */
#main-nav {
  display: flex;
  align-items: center;
}
#main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#main-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
#main-nav a:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

/* Botón cerrar nav: oculto en escritorio — !important para ganar a .header-icon-btn */
.nav-close { display: none !important; }

/* ── Columna derecha ── */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* Botones icono */
.header-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
}
.header-icon-btn:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

/* ── Carrito — pill editorial ── */
#cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  transform: none;
}
#cart-btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: none;
}
.cart-label {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
#cart-count {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  background: transparent;
  color: inherit;
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  display: inline;
  line-height: 1;
}

/* ── Tablet ── */
@media (max-width: 1100px) {
  #main-header .container { padding: 0 24px; }
  #main-nav a { padding: 7px 9px; font-size: 10.5px; }
}

/* ── Mobile (≤ 900px) ── */
@media (max-width: 900px) {
  #main-header .container { padding: 0 16px; }
  :root { --header-h: 62px; }

  /* Hamburguesa visible */
  #menu-toggle { display: flex; }

  /* Nav oculta por defecto */
  #main-nav {
    display: none;
  }

  /* Nav abierta = overlay full-screen */
  #main-nav.open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    gap: 0;
    padding: 0;
  }

  #main-nav.open ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  #main-nav.open a {
    font-family: var(--font-heading);
    font-size: clamp(36px, 9vw, 52px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
    padding: 14px 32px;
    color: var(--ink);
    background: transparent;
    border-radius: 0;
  }
  #main-nav.open a:hover {
    color: var(--clay);
    background: transparent;
  }

  /* Botón cerrar: solo visible dentro del overlay abierto */
  #main-nav.open .nav-close {
    display: flex !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    color: var(--ink-soft);
    background: transparent;
    border: none;
    cursor: pointer;
  }
  #main-nav.open .nav-close:hover { color: var(--ink); background: var(--bg-warm); }
}

/* =============================================================
   FASE 3 — Hero
   ============================================================= */

/* ── Kill elementos del hero oscuro anterior ── */
#hero::before,
#hero::after        { display: none !important; }
.hero-bg-img,
.hero-particle,
.hero-float-el      { display: none !important; }
.hero-content       { display: none !important; }

/* ── Layout: split 1.05fr / 1fr ── */
#hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - var(--header-h) - 38px); /* 38px ≈ ticker */
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

/* ── Columna izquierda: copy ── */
.hero-copy {
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-soft);
}
.hero-copy-top { display: flex; flex-direction: column; }

/* Eyebrow con línea */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.hero-eyebrow::before { display: none; } /* reset store.css */
.hero-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ink);
  flex-shrink: 0;
}

/* Título display */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: clamp(20px, 3.5vw, 36px) 0 0;
}
.hero-title em {
  color: var(--clay-deep);
  font-style: italic;
  font-weight: 400;
}

/* Lede */
.hero-lede {
  max-width: 380px;
  margin-top: clamp(16px, 2.5vw, 28px);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* CTAs */
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: clamp(24px, 3.5vw, 36px);
  align-items: center;
  flex-wrap: wrap;
}

/* ── Stats (pie de columna izquierda) ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  /* reset store.css flex */
  flex-wrap: unset;
}
.hero-stat {
  display: block; /* reset */
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
  color: var(--clay-deep);
}
.stat-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ── Columna derecha: imagen ── */
.hero-img {
  position: relative;
  background-color: #c9b89e; /* arena cálida — claramente visible en cualquier monitor */
  align-self: stretch;
  min-height: 400px;
  overflow: hidden;
}

/* Placeholder: rayas diagonales 135° */
.hero-img-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(0, 0, 0, 0.10) 18px 19px
  );
}

/* Leyenda mono centrada */
.hero-img-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Badge: "En stock" */
.hero-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  background: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  z-index: 2;
}
.hero-badge-dot {
  color: var(--clay);
  font-size: 8px;
  line-height: 1;
}

/* Pricetag: pieza destacada */
.hero-pricetag {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: var(--paper);
  padding: 16px 20px;
  max-width: 240px;
  z-index: 2;
}
.hero-pricetag-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}
.hero-pricetag-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 5px;
  letter-spacing: 0.03em;
}

/* ── Mobile hero (≤ 768px) ── */
@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 40px 24px 36px;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-img {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ── Tablet (768px–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding: 48px 32px;
  }
}

/* =============================================================
   FASE 4 — Categorías editoriales
   ============================================================= */

/* ── Sección contenedor ── */
.cats-section {
  background: var(--bg);
  overflow: hidden;
}
.cats-inner {
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px);
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Cabecera ── */
.cats-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.cats-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-top: 10px;
  color: var(--ink);
}
.cats-title em {
  color: var(--clay-deep);
  font-style: italic;
}

/* Flechas decorativas */
.cats-nav-arrows {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
}
.cnav {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.cnav:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ── Grid principal: 3 cols, 2 filas ── */
.cats-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

/* ── Card base ── */
.cat-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-warm);
  background-size: cover;
  background-position: center top;
  cursor: pointer;
  transition: var(--transition);
  /* reset store.css .category-card */
  border-radius: 0;
  padding: 0;
  text-align: left;
  box-shadow: none;
  border: none;
}
.cat-card:hover { transform: none; }

/* Leve zoom de imagen al hover */
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity var(--transition);
}

/* Gradiente oscuro para cards claras con foto */
.cat-card:not(.cat-dark):not(.cat-clay)::after {
  background: linear-gradient(
    to top,
    rgba(22, 17, 12, 0.80) 0%,
    rgba(22, 17, 12, 0.30) 50%,
    rgba(22, 17, 12, 0.05) 100%
  );
}

/* Tinte burgundy para cards oscuras */
.cat-card.cat-dark::after {
  background: linear-gradient(
    to top,
    oklch(0.36 0.085 22 / 0.92) 0%,
    oklch(0.36 0.085 22 / 0.65) 45%,
    oklch(0.36 0.085 22 / 0.28) 100%
  );
}

/* Tinte terracota para cards clay */
.cat-card.cat-clay::after {
  background: linear-gradient(
    to top,
    oklch(0.46 0.10 32 / 0.92) 0%,
    oklch(0.46 0.10 32 / 0.65) 45%,
    oklch(0.46 0.10 32 / 0.28) 100%
  );
}

/* Ocultar stripe y watermark cuando hay foto */
.cat-card[style*="background-image"] .cat-ph-stripe { display: none; }
.cat-card[style*="background-image"]::before       { opacity: 0 !important; }

/* Todo el texto en papel cuando hay foto */
.cat-card[style*="background-image"] .cat-name-big,
.cat-card[style*="background-image"] .cat-sub-info { color: var(--paper) !important; }

/* Tag: pill oscuro semitransparente sobre foto */
.cat-card[style*="background-image"] .cat-tag {
  background: rgba(22, 17, 12, 0.45) !important;
  color: var(--paper) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Flecha: borde y color papel sobre foto */
.cat-card[style*="background-image"] .cat-arrow-btn {
  border-color: rgba(255,255,255,0.65) !important;
  color: var(--paper) !important;
}
.cat-card[style*="background-image"]:hover .cat-arrow-btn {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--paper) !important;
}

/* Elevar texto y flechas sobre el overlay */
.cat-card .cat-tag,
.cat-card .cat-meta { z-index: 3; }

/* Card grande: ocupa 2 filas */
.cat-card.cat-tall {
  grid-row: span 2;
  min-height: 560px;
}

/* Cards pequeñas */
.cat-card.cat-short {
  aspect-ratio: 1 / 0.85;
}

/* Variante oscura: burgundy */
.cat-card.cat-dark {
  background: var(--burgundy);
}

/* Variante oscura: terracota profundo */
.cat-card.cat-clay {
  background: var(--clay-deep);
}

/* ── Placeholder rayado ── */
.cat-ph-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(0, 0, 0, 0.09) 22px 23px
  );
}
.cat-card.cat-dark .cat-ph-stripe,
.cat-card.cat-clay .cat-ph-stripe {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(0, 0, 0, 0.18) 22px 23px
  );
}

/* ── Tag arriba-izquierda ── */
.cat-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  z-index: 2;
  line-height: 1.4;
}

/* ── Meta: nombre + flecha (abajo) ── */
.cat-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  gap: 12px;
}

/* Watermark: nombre de categoría en enorme Cormorant italic, muy tenue */
.cat-card::before {
  content: attr(data-cat-label);
  position: absolute;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.055;
  bottom: 80px;
  left: 16px;
  right: 16px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.cat-card.cat-dark::before,
.cat-card.cat-clay::before {
  color: var(--paper);
  opacity: 0.10;
}

/* Nombre categoría */
.cat-name-big {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: block;
}
.cat-card.cat-dark .cat-name-big,
.cat-card.cat-clay .cat-name-big {
  color: var(--paper);
}

/* Sub-info debajo del nombre (descriptor de subcategorías) */
.cat-sub-info {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
  line-height: 1;
}
.cat-card.cat-dark .cat-sub-info,
.cat-card.cat-clay .cat-sub-info {
  color: oklch(0.85 0.04 50 / 0.6);
}

/* El .cat-meta ahora tiene contenido anidado */
.cat-meta > div {
  display: flex;
  flex-direction: column;
}

/* Flecha en círculo */
.cat-arrow-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: var(--transition);
}
.cat-card.cat-dark .cat-arrow-btn,
.cat-card.cat-clay .cat-arrow-btn {
  border-color: var(--paper);
  color: var(--paper);
}
.cat-card:hover .cat-arrow-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cat-card.cat-dark:hover .cat-arrow-btn,
.cat-card.cat-clay:hover .cat-arrow-btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .cats-inner { padding: 40px 20px; }

  .cats-grid {
    /* Scroll horizontal en móvil */
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    /* scrollbar invisible */
    scrollbar-width: none;
  }
  .cats-grid::-webkit-scrollbar { display: none; }

  .cat-card {
    flex: 0 0 72vw;
    max-width: 280px;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    min-height: unset;
  }
  .cat-card.cat-tall {
    flex: 0 0 72vw;
    max-width: 280px;
    min-height: unset;
  }

  .cats-head {
    grid-template-columns: 1fr;
  }
  .cats-nav-arrows { display: none; }
}

/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .cat-card.cat-tall { min-height: 440px; }
  .cat-name-big { font-size: clamp(22px, 2.8vw, 34px); }
}

/* =============================================================
   FASE 5 — Grid de producto
   ============================================================= */

/* ── Sección ── */
.products-section {
  background: var(--bg);
  padding: clamp(48px, 7vw, 80px) 0;
}

/* ── Cabecera editorial ── */
.products-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}
.products-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 10px;
  color: var(--ink);
}
.products-title em {
  color: var(--clay-deep);
  font-style: italic;
}

/* ── Toolbar: filtros + ordenar ── */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

/* Chips de filtro */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-tab {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  min-height: 34px;
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Selector de orden */
.sort-select {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--ink); color: var(--ink); }

/* ── Promo banner ── */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 18px 24px;
  margin-bottom: 32px;
  border-radius: 0;
  box-shadow: none;
}
.promo-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 !important;
}
.promo-sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 4px 0 0 !important;
  line-height: 1.5;
}

/* ── Grid de productos ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

/* ── Card de producto ── */
.product-card {
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
}
.product-card:hover { transform: none; box-shadow: none; }

/* Imagen 3:4 */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: #d4c5af;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

/* "Vista rápida →" barra deslizante desde abajo */
.product-img-wrap::after {
  content: 'Vista rápida →';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 13px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.product-card:hover .product-img-wrap::after {
  transform: translateY(0);
}

/* Badge */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-nuevo  { background: var(--clay);    color: var(--paper); }
.badge-oferta { background: var(--ink);     color: var(--paper); }
.badge-agotado{ background: #888;           color: var(--paper); }

/* Corazón / wishlist */
.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink-soft);
  opacity: 0;
  transition: var(--transition);
  box-shadow: none;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist.active { opacity: 1; color: var(--clay); border-color: var(--clay); }
.product-wishlist:hover  { color: var(--clay); border-color: var(--clay); }

/* Info del producto */
.product-info { padding: 14px 0 0; }

.product-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.product-price-original {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: line-through;
}
.product-discount {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--clay-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Botón agregar */
.product-add-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  min-height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-add-btn:hover:not(.disabled) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.product-add-btn.disabled {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line-soft);
  cursor: not-allowed;
  opacity: 0.6;
}

/* CTA final */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  .filter-tab { font-size: 11px; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .products-grid { gap: 14px 10px; }
  .product-info { padding: 10px 0 0; }
  .product-name { font-size: 16px; }
}

/* =============================================================
   FASE 6 — Por qué Entrelazadas + Nosotras
   ============================================================= */

/* ── Por qué (sección clara con grid bordeado) ── */
#por-que {
  background: var(--bg-warm);
}
.porque-section {
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.porque-head { margin-bottom: clamp(28px, 4vw, 44px); }
.porque-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 10px;
  color: var(--ink);
}
.porque-title em { color: var(--clay-deep); font-style: italic; }

/* Grid con bordes */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.porque-item {
  padding: clamp(20px, 2.5vw, 32px) clamp(18px, 2vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background var(--transition);
}
.porque-item:hover { background: var(--paper); }

.porque-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--clay);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.porque-item-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.porque-item p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* ── Nosotras: split 1fr / 1.2fr ── */
.nosotras-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.nosotras-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 640px;
}

/* Columna imagen */
.nosotras-img {
  position: relative;
  background-color: #c9b89e;
  overflow: hidden;
}
.nosotras-img-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(0, 0, 0, 0.08) 18px 19px
  );
}
.nosotras-img-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.nosotras-quote {
  position: absolute;
  bottom: 32px;
  left: 28px;
  right: 28px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  background: var(--paper);
  padding: 20px 22px;
  margin: 0;
  border-left: 3px solid var(--clay);
  z-index: 2;
}

/* Columna copy */
.nosotras-content {
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line-soft);
}

.nosotras-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 10px 0 24px;
}
.nosotras-title em { color: var(--clay-deep); font-style: italic; }

.nosotras-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 14px;
}

/* Grid 2x2 de pilares */
.nosotras-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.pilar-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--clay);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.pilar-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.pilar-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.62;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .porque-grid { grid-template-columns: 1fr 1fr; }

  .nosotras-grid { grid-template-columns: 1fr; min-height: auto; }
  .nosotras-img  { aspect-ratio: 4 / 3; min-height: 240px; }
  .nosotras-content { padding: 40px 24px; border-left: none; }
  .nosotras-pillars { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .nosotras-quote { font-size: 16px; padding: 14px 16px; bottom: 16px; left: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .porque-grid { grid-template-columns: 1fr; }
  .nosotras-pillars { grid-template-columns: 1fr; }
}

/* =============================================================
   FASE 7 — Testimonios
   ============================================================= */

/* ── Sección: fondo var(--ink) oscuro ── */
#testimonios { background: var(--ink); }

.testimonios-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.testimonios-inner {
  padding: 0 clamp(24px, 5vw, 56px);
  max-width: 1400px;
  margin: 0 auto;
}

/* Cabecera */
.testimonios-head {
  margin-bottom: clamp(32px, 4vw, 52px);
}
.testimonios-eyebrow {
  color: oklch(0.85 0.015 70 / 0.55);
}
.testimonios-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 400;
  color: var(--paper);
  margin-top: 10px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.testimonios-title em {
  color: var(--clay);
  font-style: italic;
}

/* ── Grid 3 cols con separadores de 1px ── */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid oklch(1 0 0 / 0.12);
  border-left: 1px solid oklch(1 0 0 / 0.12);
}

/* ── Card de testimonio ── */
.testimonio {
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  border-right: 1px solid oklch(1 0 0 / 0.12);
  border-bottom: 1px solid oklch(1 0 0 / 0.12);
  display: flex;
  flex-direction: column;
}

/* Estrellas en terracota cálido */
.testimonio-stars {
  color: var(--clay);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 18px;
  line-height: 1;
}

/* Comilla decorativa + texto */
.testimonio-body {
  flex: 1;
  margin-bottom: 20px;
}
.testimonio-mark {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 52px;
  line-height: 0.75;
  color: var(--clay);
  margin-bottom: 10px;
  opacity: 0.8;
  user-select: none;
}
.testimonio-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  color: oklch(0.94 0.008 78);
  line-height: 1.65;
  margin: 0;
}

/* Divider */
.testimonio-divider {
  border: none;
  border-top: 1px solid oklch(1 0 0 / 0.15);
  margin: 0 0 20px;
}

/* Author: avatar + nombre + ciudad */
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.10);
  border: 1px solid oklch(1 0 0 / 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--paper);
  flex-shrink: 0;
}
.testimonio-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.testimonio-city {
  font-family: var(--font-body);
  font-size: 11px;
  color: oklch(0.85 0.012 70 / 0.5);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* ── Mobile: scroll horizontal con snap ── */
@media (max-width: 768px) {
  .testimonios-section { padding: 40px 0; }
  .testimonios-head    { padding: 0 20px; }

  .testimonios-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-left: none;
    border-top: none;
    gap: 0;
  }
  .testimonios-grid::-webkit-scrollbar { display: none; }

  .testimonio {
    flex: 0 0 84vw;
    max-width: 340px;
    scroll-snap-align: start;
    border-top: 1px solid oklch(1 0 0 / 0.12);
    border-left: 1px solid oklch(1 0 0 / 0.12);
  }
}

/* =============================================================
   FASE 8 — Newsletter + Footer
   ============================================================= */

/* ── Newsletter: fondo terracota ── */
.newsletter-section {
  background: var(--clay);
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-eyebrow {
  color: oklch(0.92 0.04 55 / 0.7);
}
.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}
.newsletter-title em {
  font-style: italic;
  color: oklch(0.96 0.025 72);
}
.newsletter-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: oklch(0.93 0.03 60 / 0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Input pill + botón integrado */
.newsletter-field {
  display: flex;
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 20px;
  gap: 8px;
  box-shadow: none;
}
.newsletter-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.newsletter-field input::placeholder {
  color: var(--ink-soft);
}
.newsletter-field button {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-field button:hover { opacity: 0.86; }

/* ── Footer: fondo var(--ink) ── */
#footer { background: var(--ink); }

.footer-new {
  padding: clamp(48px, 7vw, 72px) clamp(24px, 5vw, 56px) 0;
}

/* Grid 4 columnas */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid oklch(1 0 0 / 0.10);
}

/* Columna brand */
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }

.footer-wordmark {
  text-decoration: none;
  display: block;
  line-height: 1;
}
.footer-wordmark-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.footer-wordmark-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: oklch(0.85 0.015 70 / 0.5);
  margin-top: 3px;
  text-transform: uppercase;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: oklch(0.85 0.012 70 / 0.55);
  line-height: 1.65;
  max-width: 260px;
  margin: 0;
}

/* Iconos sociales */
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.85 0.012 70 / 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social-btn:hover {
  background: oklch(1 0 0 / 0.15);
  color: var(--paper);
}

/* Columnas de navegación */
.footer-col-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.85 0.015 70 / 0.45);
  margin-bottom: 16px;
  margin-top: 0;
}
.footer-col-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: oklch(0.85 0.012 70 / 0.62);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.3;
}
.footer-col-nav a:hover { color: var(--paper); }

/* Barra inferior */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px clamp(24px, 5vw, 56px);
  max-width: 1400px;
  margin: 0 auto;
}
.footer-legal {
  font-family: var(--font-body);
  font-size: 12px;
  color: oklch(0.85 0.012 70 / 0.35);
  margin: 0;
}

/* Chips de métodos de pago */
.footer-payments { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-chip {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: oklch(0.85 0.012 70 / 0.45);
  padding: 4px 10px;
  border: 1px solid oklch(1 0 0 / 0.10);
  border-radius: 3px;
  line-height: 1;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; }
  .newsletter-field { flex-direction: column; padding: 12px 16px; border-radius: 8px; }
  .newsletter-field button { width: 100%; justify-content: center; border-radius: var(--radius-full); }
}

/* =============================================================
   FASE 3 — Mobile Polish
   ============================================================= */

/* ── 3.1 Secciones legacy con padding fijo → fluid ── */
.section {
  padding: clamp(48px, 7vw, 80px) 0;
}

/* ── 3.2 Marquee más lento en móvil (legible al pulgar) ── */
@media (max-width: 768px) {
  .ticker-track { animation-duration: 52s; }
}

/* ── 3.3 Touch targets ≥ 44px ── */
.filter-tab {
  min-height: 44px;
}
.quick-reply {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── 3.4 Carrito: drawer 90vw en móvil ── */
@media (max-width: 768px) {
  #cart-sidebar {
    max-width: 90vw !important;
    box-shadow: -4px 0 24px oklch(0.22 0.018 45 / 0.18);
  }
}

/* ── 3.5 Header container: respira más en pantallas pequeñas ── */
@media (max-width: 480px) {
  #main-header .container {
    padding: 0 16px;
  }
}

/* ── 3.6 Trend cards: 2 columnas en móvil ── */
@media (max-width: 600px) {
  .trend-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: unset;
    padding-bottom: 0;
    gap: 12px;
  }
  .trend-card { flex: unset; }
}

/* ── 3.7 Editorial grid: 2×2 compacto en móvil ── */
@media (max-width: 600px) {
  .editorial-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }
  .editorial-cell:first-child {
    grid-column: 1 / -1;
  }
}

/* ── 3.8 Location + contact grids: una columna en móvil ── */
@media (max-width: 768px) {
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .map-wrap {
    min-height: 260px;
  }
}

/* ── 3.9 Botón agregar — touch target ── */
.product-add-btn {
  min-height: 44px;
}
