/* =====================================================
   TOSCANA — Design System & Global Styles
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* Colors — Toscana Signature Palette (Beige, Brown, Bone-White) */
  --bg-base:       #FFF5E4;  /* crema pastel — fondo principal */
  --bg-soft:       #FFE5C4;  /* beige melocotón pastel — fondo suave */
  --bg-card:       #FFFFFF;
  --navy:          #8C6554;  /* terracota / marrón cálido dominante */
  --navy-light:    #A67B68;  /* marrón medio */
  --navy-muted:    rgba(140, 101, 84, 0.55);
  --rose:          #8C6554;  /* marrón acento (antes rosa) */
  --rose-light:    #A67B68;  /* marrón claro */
  --rose-pale:     #FBF8F3;  /* blanco hueso pastel */
  --rose-dark:     #5C3D2E;  /* marrón oscuro */
  --color-dark-brown: #5C3D2E; /* marrón oscuro de Toscana */
  --sand:          #7D845C;  /* acento sage / oliva */
  --text-primary:  #5C3D2E;  /* marrón oscuro — texto principal */
  --text-secondary:#8C6554;  /* marrón medio — texto secundario */
  --text-muted:    #B89A8A;  /* beige cálido — texto muted */
  --border:        rgba(140, 101, 84, 0.12);
  --border-hover:  rgba(140, 101, 84, 0.28);
  --shadow-xs:     0 1px 3px rgba(140, 101, 84, 0.08);
  --shadow-sm:     0 4px 12px rgba(140, 101, 84, 0.10);
  --shadow-md:     0 8px 28px rgba(140, 101, 84, 0.14);
  --shadow-lg:     0 20px 60px rgba(140, 101, 84, 0.22);

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Layout */
  --navbar-h:   64px;
  --max-width:  1280px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:   220ms;
  --duration-md:350ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px)  { .container { padding: 0 var(--space-xl); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-2xl); } }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(255, 245, 228, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: box-shadow var(--duration) var(--ease);
  box-shadow: 0 2px 12px rgba(140, 101, 84, 0.04); /* Sombra base suave */
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

/* Nav links (desktop only) */
.navbar__links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) { .navbar__links { display: flex; } }

.navbar__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration) var(--ease);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy);
  transition: width 0.3s var(--ease);
}

.navbar__link:hover { color: var(--navy); }
.navbar__link:hover::after { width: 100%; }

/* Logo */
.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 32px;
  width: auto;
  color: var(--color-dark-brown);
  transition: transform var(--duration) var(--ease-spring);
}

.navbar__logo:hover .navbar__logo-img {
  transform: scale(1.03);
}

.navbar__logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--navy);
  text-transform: uppercase;
}

.navbar__logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Search */
.navbar__search {
  flex: 1;
  max-width: 360px;
  position: relative;
  display: none;
}

@media (min-width: 640px) { .navbar__search { display: block; } }

.navbar__search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: border-color var(--duration) var(--ease),
              box-shadow   var(--duration) var(--ease),
              background   var(--duration) var(--ease);
  outline: none;
}

.navbar__search-input::placeholder { color: var(--text-muted); }

.navbar__search-input:focus {
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 3px var(--rose-pale);
}

.navbar__search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--duration) var(--ease);
}

.navbar__search:focus-within .navbar__search-icon { color: var(--rose); }

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background var(--duration) var(--ease),
              color     var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
  position: relative;
}

.navbar__btn:hover {
  background: var(--bg-soft);
  transform: scale(1.08);
}

.navbar__btn:active { transform: scale(0.95); }

.navbar__cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 17px; height: 17px;
  background: var(--rose);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-base);
  transition: transform var(--duration) var(--ease-spring),
              opacity   var(--duration) var(--ease);
  transform: scale(0);
  opacity: 0;
}

.navbar__cart-badge.visible {
  transform: scale(1);
  opacity: 1;
}

/* Mobile search toggle */
.navbar__search-mobile {
  display: flex;
}

@media (min-width: 640px) { .navbar__search-mobile { display: none; } }

/* Mobile Menu Toggle Button */
.navbar__toggle-mobile {
  display: none;
}

@media (max-width: 760px) {
  .navbar__toggle-mobile {
    display: flex;
  }

  /* Layout de 3 columnas para mobile navbar */
  .navbar__inner {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    justify-items: center;
    gap: 0;
    width: 100%;
  }

  /* Columna Izquierda: Botón hamburguesa */
  #mobileMenuToggleBtn {
    grid-column: 1;
    justify-self: start;
    display: flex;
  }

  /* Columna Central: Logotipo de Toscana centrado y de 140px */
  .navbar__logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar__logo-img {
    width: 140px !important;
    height: auto !important;
  }

  /* Columna Derecha: Grupo de iconos alineados a la derecha */
  #mobileIconGroup {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 16px;
    align-items: center;
  }

  /* Ocultar elementos desktop */
  .navbar__search {
    display: none !important;
  }

  .navbar__links {
    display: none !important;
  }

  /* Área táctil mínima de 44px x 44px para usabilidad */
  .navbar__btn {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Mobile Menu Drawer Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 66, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

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

/* Mobile Menu Drawer Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: rgba(255, 245, 228, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
  border-right: 1px solid var(--border);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mobile-menu__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.mobile-menu__logo-img {
  height: 28px;
  width: auto;
  color: var(--color-dark-brown);
}

.mobile-menu__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background var(--duration) var(--ease),
              color      var(--duration) var(--ease),
              transform  var(--duration) var(--ease);
}

.mobile-menu__close:hover {
  background: var(--bg-soft);
  transform: scale(1.05);
}

.mobile-menu__close:active {
  transform: scale(0.95);
}

.mobile-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) clamp(var(--space-xl), 5vh, var(--space-2xl));
  overflow-y: auto;
}

.mobile-menu__nav {
  margin-bottom: var(--space-xl);
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 43, 66, 0.05);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--rose);
  padding-left: 0.35rem;
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.mobile-menu__footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.mobile-menu__socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.mobile-menu__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color var(--duration) var(--ease);
}

.mobile-menu__social-link:hover {
  color: var(--navy);
}

.mobile-menu__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.mobile-menu__footer-address {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* =====================================================
   HERO / BANNER
   ===================================================== */
.hero {
  margin-top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  height: calc(100dvh - var(--navbar-h));
  min-height: 480px;

  /* Escala la imagen para cubrir el contenedor completo sin costuras, alineando a la modelo a la derecha */
  background-image: url('/hero.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #EEF2D9;

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;

  animation: fadeInHero 1.4s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes fadeInHero {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Velo de contraste izquierdo ──
   Degradado que va de crema semiopaco (izquierda) a transparente (derecha).
   Garantiza legibilidad del texto sin tapar a la modelo. */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 245, 228, 0.95) 0%,   /* crema casi opaco sobre el verde salvia */
    rgba(255, 245, 228, 0.82) 38%,
    rgba(255, 245, 228, 0.38) 60%,
    rgba(255, 245, 228, 0.00) 78%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Contenedor del texto, sobre el velo ── */
.hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: var(--space-3xl) var(--space-md);
}

@media (min-width: 640px) {
  .hero__overlay { padding: var(--space-3xl) var(--space-xl); }
}

/* ── Bloque de texto (máx. 50% del ancho en desktop) ── */
.hero__content {
  max-width: min(520px, 52%);
}

/* ── Elementos desactivados (layout anterior) ── */
.hero__bg-pattern,
.hero__ornament,
.hero__inner,
.hero__media,
.hero__img { display: none; }

/* ── Animación escalonada del contenido ── */
.hero__content > * {
  animation: slideUpDiscover 1.1s cubic-bezier(0.25, 1, 0.3, 1) both;
}

/* ── Eyebrow: "Colección 2025" ── */
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: var(--text-primary);         /* #5C3D2E — ratio ~5.5:1, WCAG AA ✅ */
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-weight: 700;
  animation-delay: 0.15s;
}

/* ── Título principal ── */
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  color: var(--text-primary);         /* marrón chocolate #5C3D2E */
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  animation-delay: 0.3s;
}

.hero__title em {
  font-style: italic;
  color: var(--navy);                 /* #8C6554 terracota */
}

/* ── Descripción ── */
.hero__desc {
  font-size: 0.92rem;
  color: var(--text-primary);
  opacity: 0.82;
  max-width: 360px;
  margin-bottom: var(--space-xl);
  line-height: 1.72;
  animation-delay: 0.45s;
}

/* ── Botón CTA ── */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: 999px;
  background: var(--navy);            /* #8C6554 marrón dominante */
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background  var(--duration) var(--ease),
              transform   var(--duration) var(--ease-spring),
              box-shadow  var(--duration) var(--ease);
  animation-delay: 0.6s;
}

.hero__cta:hover {
  background: var(--rose-dark);       /* #5C3D2E marrón oscuro */
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 61, 46, 0.30);
}

.hero__cta:active { transform: translateY(0); }

/* ── Keyframe slide-up ── */
@keyframes slideUpDiscover {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────────
   RESPONSIVE — Mobile (< 640px)
   En pantallas chicas la modelo se mueve al centro;
   el velo cubre más para que el texto siempre sea legible.
   ────────────────────────────────── */
@media (max-width: 639px) {


  .hero__veil {
    /* Velo horizontal ajustado para mobile: opaco a la izquierda para el texto, transparente a la derecha para la modelo */
    background: linear-gradient(
      to right,
      rgba(255, 245, 228, 0.98) 0%,
      rgba(255, 245, 228, 0.88) 45%,
      rgba(255, 245, 228, 0.25) 70%,
      rgba(255, 245, 228, 0.00) 85%
    );
  }

  .hero__overlay {
    /* Centrar verticalmente el contenido y reducir padding */
    align-items: center;
    padding: var(--space-xl) var(--space-md);
  }

  .hero__content {
    /* Limitar el ancho del contenido al 60% izquierdo para que no solape a la modelo */
    max-width: 60%;
  }

  .hero__eyebrow {
    font-size: 0.65rem;
    margin-bottom: var(--space-xs);
  }

  .hero__title {
    font-size: clamp(1.3rem, 5.8vw, 1.65rem);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
  }

  .hero__desc {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    max-width: 100%;
  }

  .hero__cta {
    padding: 0.65rem 1.3rem;
    font-size: 0.8rem;
  }

  /* Sin animación en mobile para evitar parpadeos */
  .hero__content > * { animation: none; opacity: 1; transform: none; }
}

/* =====================================================
   CATEGORY FILTER BAR
   ===================================================== */
.filter-bar {
  position: sticky;
  top: var(--navbar-h);
  z-index: 800;
  background: rgba(255, 245, 228, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--space-md);
  height: 52px;
}

.filter-bar__inner::-webkit-scrollbar { display: none; }

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color       var(--duration) var(--ease),
              background  var(--duration) var(--ease),
              transform   var(--duration) var(--ease-spring);
  flex-shrink: 0;
}

.filter-btn__icon {
  font-size: 0.7rem;
  opacity: 0.7;
}

.filter-btn:hover {
  color: var(--navy);
  background: var(--bg-soft);
}

.filter-btn.active {
  color: #fff;
  background: var(--navy);
}

.filter-btn:active { transform: scale(0.96); }

/* =====================================================
   MAIN CONTENT AREA
   ===================================================== */
.main {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  padding-bottom: 3px;
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px)  { .product-grid { gap: var(--space-lg); } }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================
   PRODUCT CARD
   ===================================================== */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(140, 101, 84, 0.06);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  animation: cardFadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--card-index, 0) * 0.04s);
  transition: box-shadow var(--duration-md) var(--ease),
              transform  var(--duration-md) var(--ease);
  will-change: transform, opacity;
}

@keyframes cardFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Image */
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__img--main {
  transition: transform 500ms var(--ease);
}

.product-card:hover .product-card__img--main {
  transform: scale(1.04);
}

.product-card__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-card__tag--nuevo {
  background: #FDDF84;
  color: var(--text-primary);
}

.product-card__tag--tendencias {
  background: rgba(125, 132, 92, 0.90);
  color: #fff;
}

/* Body */
.product-card__body {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

.product-card__price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Color dots */
.product-card__colors {
  display: flex;
  gap: 5px;
  margin-top: var(--space-xs);
}

.color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
  position: relative;
}

.color-dot.selected,
.color-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--rose);
}

/* Sizes */
.product-card__sizes {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}

.size-btn {
  min-width: 34px;
  height: 28px;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: border-color var(--duration) var(--ease),
              background   var(--duration) var(--ease),
              color        var(--duration) var(--ease),
              transform    var(--duration) var(--ease-spring);
}

.size-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.size-btn.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.size-btn:active { transform: scale(0.94); }

/* CTA */
.product-card__footer {
  padding: 0 var(--space-md) var(--space-md);
  margin-top: auto;
}

.btn-add {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: background  var(--duration) var(--ease),
              transform   var(--duration) var(--ease-spring),
              box-shadow  var(--duration) var(--ease);
}

.btn-add:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(140, 101, 84, 0.28);
}

.btn-add:active { transform: scale(0.97); }

.btn-add.added {
  background: var(--rose);
  animation: pulse-add 500ms var(--ease-spring);
}

@keyframes pulse-add {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) 0;
  grid-column: 1 / -1;
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.35;
}

.empty-state__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =====================================================
   CART DRAWER
   ===================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(140, 101, 84, 0.38);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-md) var(--ease);
  backdrop-filter: blur(2px);
}

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

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--bg-card);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--duration-md) var(--ease);
}

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

.cart-drawer__header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
}

.cart-drawer__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: background var(--duration) var(--ease),
              color     var(--duration) var(--ease);
}

.cart-drawer__close:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

/* Cart Body */
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-xl);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-drawer__body::-webkit-scrollbar {
  width: 6px;
}
.cart-drawer__body::-webkit-scrollbar-track {
  background: transparent;
}
.cart-drawer__body::-webkit-scrollbar-thumb {
  background-color: var(--border-hover);
  border-radius: 999px;
}

/* Cart Empty */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cart-empty__icon {
  font-size: 3rem;
  opacity: 0.25;
}

.cart-empty__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.cart-empty__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Cart Item */
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-base);
  transition: box-shadow var(--duration) var(--ease);
  opacity: 0;
  transform: translateX(16px);
  animation: slideInItem 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--item-index, 0) * 0.05s);
  will-change: transform, opacity;
}

@keyframes slideInItem {
  to   { opacity: 1; transform: translateX(0); }
}

.cart-item:hover {
  box-shadow: var(--shadow-xs);
}

.cart-item__img {
  width: 68px; height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.cart-item__info { min-width: 0; }

.cart-item__name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex; flex-wrap: wrap; gap: 4px;
}

.cart-item__badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.cart-item__color-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  margin-right: 4px;
}

.cart-item__price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--space-xs);
}

/* Qty controls */
.cart-item__qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: border-color var(--duration) var(--ease),
              background   var(--duration) var(--ease),
              color        var(--duration) var(--ease);
}

.qty-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg-soft);
}

.qty-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 18px;
  text-align: center;
}

.qty-btn--remove {
  border-color: transparent;
  color: var(--text-muted);
  margin-top: 4px;
}

.qty-btn--remove:hover {
  color: #C0392B;
  background: #FEF0EF;
  border-color: transparent;
}

/* Cart Footer */
.cart-drawer__footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex-shrink: 0;
  background: var(--bg-card);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-summary__row--total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.btn-whatsapp {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #25D366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  transition: background  var(--duration) var(--ease),
              transform   var(--duration) var(--ease-spring),
              box-shadow  var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: whatsappShimmer 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes whatsappShimmer {
  0% { left: -100%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.btn-whatsapp:hover {
  background: #20BC5C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40);
}

.btn-whatsapp:active { transform: scale(0.97); }

.btn-whatsapp__icon {
  width: 20px; height: 20px;
}

.cart-footer__note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: toastIn 350ms var(--ease-spring) both;
  pointer-events: auto;
}

.toast.removing {
  animation: toastOut 300ms var(--ease) both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px) scale(0.9); }
}

/* =====================================================
   MOBILE SEARCH BAR (full-width overlay)
   ===================================================== */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: var(--bg-base);
  z-index: 950;
  display: flex;
  align-items: center;
  padding: 0 var(--space-md);
  gap: var(--space-sm);
  transform: translateY(-100%);
  transition: transform var(--duration-md) var(--ease);
  border-bottom: 1px solid var(--border);
}

.search-overlay.open {
  transform: translateY(0);
}

.search-overlay__input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.9rem;
  outline: none;
  color: var(--text-primary);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease-spring);
}

.search-overlay.open .search-overlay__input {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.1s;
}

.search-overlay__close {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.4rem 0.6rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-3xl) 0 var(--space-xl);
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: var(--space-xl);
  }
}

.site-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.site-footer__logo-img {
  height: 40px;
  width: auto;
  color: var(--bg-base);
  margin-bottom: var(--space-md);
}

.site-footer__brand-desc,
.site-footer__info-item,
.site-footer__links a,
.site-footer__copy,
.site-footer__write-us,
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--bg-soft) !important;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 229, 196, 0.28);
  background: rgba(255, 229, 196, 0.04);
  letter-spacing: 0.03em;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.site-footer__brand-desc {
  display: block;
  max-width: 320px;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.site-footer__info-item {
  align-items: flex-start;
}

.site-footer__info-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--bg-soft);
  opacity: 0.9;
}

.site-footer__heading {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-soft);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer__links a svg,
.payment-badge svg {
  flex-shrink: 0;
  stroke: var(--bg-soft);
  opacity: 0.9;
}

/* Hover styles for interactive elements inside the footer */
.site-footer__links a:hover,
.site-footer__write-us:hover,
.payment-badge:hover {
  background: rgba(255, 229, 196, 0.09);
  border-color: rgba(255, 229, 196, 0.45);
  transform: translateY(-1px);
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.site-footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__copy {
  order: 1;
}

.site-footer__write-us {
  order: 3;
}

.site-footer__payment-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

@media (max-width: 767px) {
  .site-footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }
  .site-footer__grid {
    text-align: left;
    gap: var(--space-xl);
  }
  .site-footer__brand-desc {
    max-width: 100%;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .site-footer__write-us {
    order: 1;
  }
  .site-footer__copy {
    order: 2;
  }
}

/* =====================================================
   PRODUCT CARD — Bento Grid Upgrade
   ===================================================== */
.product-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(140, 101, 84, 0.07),
              0 8px 32px rgba(140, 101, 84, 0.03);
  border: 1px solid rgba(140, 101, 84, 0.06);
}

.product-card:hover {
  box-shadow: 0 8px 40px rgba(140, 101, 84, 0.13),
              0 2px 12px rgba(140, 101, 84, 0.05);
  transform: translateY(-4px);
}

.product-card__img-wrap {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* =====================================================
   MULTI-IMAGE HOVER
   ===================================================== */
.product-card__img--main,
.product-card__img--hover {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-card__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}

.product-card:hover .product-card__img--hover {
  opacity: 1;
}

/* =====================================================
   QUICK VIEW BUTTON (on card)
   ===================================================== */
.product-card__quick-view {
  position: absolute;
  bottom: 10px; right: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring),
              background var(--duration) var(--ease);
  cursor: pointer;
  border: 1px solid rgba(140, 101, 84, 0.1);
}

.product-card:hover .product-card__quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-card__quick-view:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* =====================================================
   DYNAMIC TAG BADGES
   ===================================================== */
.product-card__tags {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-card__tag {
  position: static;
}

/* =====================================================
   QUICK VIEW MODAL
   ===================================================== */
.qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(92, 61, 46, 0.40);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-md) var(--ease),
              visibility var(--duration-md);
}

.qv-overlay.open {
  opacity: 1;
  visibility: visible;
}

.qv-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 32px 80px rgba(92, 61, 46, 0.35);
  transform: scale(0.92) translateY(16px);
  transition: transform var(--duration-md) var(--ease-spring);
}

.qv-overlay.open .qv-card {
  transform: scale(1) translateY(0);
}

@media (max-width: 639px) {
  .qv-card {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
}

/* QV Gallery */
.qv-gallery {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background: var(--bg-soft);
}

@media (max-width: 639px) {
  .qv-gallery {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    aspect-ratio: 1/1;
  }
}

.qv-gallery__main {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}

.qv-gallery__thumbs {
  position: absolute;
  bottom: 12px; left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.qv-gallery__thumb {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
}

.qv-gallery__thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.qv-gallery__thumb.active {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* QV Info panel */
.qv-info {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow-y: auto;
}

.qv-close {
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.qv-close:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.qv-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

.qv-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qv-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.qv-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.qv-colors {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

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

.qv-add-btn {
  width: 100%;
  margin-top: auto;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}

.qv-add-btn:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 61, 46, 0.3);
}

/* =====================================================
   ADVANCED FILTERS PANEL
   ===================================================== */
.adv-filters {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s var(--ease),
              opacity 0.3s var(--ease),
              padding 0.35s var(--ease);
  padding: 0 0;
}

.adv-filters.open {
  max-height: 500px;
  opacity: 1;
  padding: var(--space-lg) 0;
}

.adv-filters__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 899px) {
  .adv-filters__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 559px) {
  .adv-filters__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.adv-filters__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.adv-filters__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Size filter pills */
.adv-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adv-size-btn {
  min-width: 38px; height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.adv-size-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.adv-size-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Price range */
.adv-price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.adv-price__input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-base);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  -moz-appearance: textfield;
}

.adv-price__input::-webkit-inner-spin-button,
.adv-price__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.adv-price__input:focus {
  border-color: var(--navy);
}

.adv-price__sep {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Color filter dots */
.adv-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adv-color-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}

.adv-color-dot:hover {
  transform: scale(1.15);
}

.adv-color-dot.active {
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--navy);
  transform: scale(1.1);
}

/* Sort select */
.adv-sort-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-base);
  cursor: pointer;
  outline: none;
  transition: border-color var(--duration) var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238C6554' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.adv-sort-select:focus {
  border-color: var(--navy);
}

/* Filters toggle button + clear */
.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.filters-toggle:hover,
.filters-toggle.active {
  color: var(--navy);
  background: var(--bg-soft);
  border-color: var(--border-hover);
}

.filters-toggle__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.adv-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
  margin-top: var(--space-xs);
  align-self: flex-start;
}

.adv-clear-btn:hover {
  color: var(--navy);
}

/* =====================================================
   FILTER SKELETON
   ===================================================== */
.filter-skeleton {
  display: flex;
  gap: var(--space-sm);
  padding: 8px var(--space-md);
  height: 52px;
  align-items: center;
  overflow: hidden;
}

.filter-skeleton__pill {
  flex-shrink: 0;
  width: 80px; height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, #ede8df 50%, var(--bg-soft) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite linear;
}

.filter-skeleton__pill:nth-child(2) { width: 95px; }
.filter-skeleton__pill:nth-child(3) { width: 70px; }
.filter-skeleton__pill:nth-child(4) { width: 85px; }
.filter-skeleton__pill:nth-child(5) { width: 65px; }

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
@media (max-width: 399px) {
  .product-card__name  { font-size: 0.85rem; }
  .product-card__price { font-size: 0.95rem; }
  .btn-add             { font-size: 0.72rem; padding: 0.55rem; }
  .size-btn            { min-width: 30px; height: 26px; font-size: 0.65rem; }
}

/* =====================================================
   SKELETON LOADING (for future async data)
   ===================================================== */
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 25%, #ede8df 50%, var(--bg-soft) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}

/* =====================================================
   SHARED SECTION UTILITIES
   ===================================================== */
.section-header--centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: var(--space-sm) auto 0;
}

/* Shared button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.8rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--duration) var(--ease),
              transform  var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}

.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 61, 46, 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1.5px solid var(--navy);
  transition: background var(--duration) var(--ease),
              color     var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* =====================================================
   CÓMO COMPRAR
   ===================================================== */
.how-to-buy {
  padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.2);
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

/* Steps grid */
.htb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-xl);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3xl);
  counter-reset: steps;
}

.htb-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow var(--duration) var(--ease);
  transition-delay: var(--step-delay, 0s);
  will-change: transform, opacity;
}

.htb-steps.is-visible .htb-step {
  opacity: 1;
  transform: translateY(0);
}

.htb-steps.is-visible .htb-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
  transition-delay: 0s;
}

/* Decorative step number background */
.htb-step__number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--bg-soft);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.htb-step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  margin-bottom: var(--space-xs);
}

.htb-step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.htb-step__desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA row */
.htb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* =====================================================
   FAQ — PREGUNTAS FRECUENTES
   ===================================================== */
.faq {
  padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.3);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

/* FAQ list */
.faq-list {
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow var(--duration) var(--ease);
  transition-delay: var(--faq-delay, 0s);
  will-change: transform, opacity;
}

.faq-list.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
}

.faq-list.is-visible .faq-item:hover {
  transition-delay: 0s;
}

.faq-item.open,
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

/* Question button */
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.1rem var(--space-xl);
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: transparent;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.faq-item__q:hover,
.faq-item.open .faq-item__q {
  color: var(--navy);
  background: rgba(140, 101, 84, 0.04);
}

/* Chevron rotation */
.faq-item__chevron {
  flex-shrink: 0;
  display: flex;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.3, 1),
              color     var(--duration) var(--ease);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

/* Answer panel — CSS grid trick for smooth height animation */
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.25, 1, 0.3, 1);
}

.faq-item.open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a > p {
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
  padding: 0 var(--space-xl) 0;
  transition: padding 0.38s cubic-bezier(0.25, 1, 0.3, 1);
}

.faq-item.open .faq-item__a > p {
  padding: 0 var(--space-xl) 1.2rem;
}

/* CTA row */
.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.faq-cta > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* =====================================================
   RESPONSIVE — HOW TO BUY & FAQ
   ===================================================== */
@media (max-width: 639px) {
  .htb-steps {
    grid-template-columns: 1fr;
  }

  .htb-step {
    padding: var(--space-lg);
  }

  .faq-item__q {
    padding: 1rem var(--space-lg);
    font-size: 0.88rem;
  }

  .faq-item__a > p {
    padding: 0 var(--space-lg) 0;
  }

  .faq-item.open .faq-item__a > p {
    padding: 0 var(--space-lg) 1rem;
  }
}

/* =====================================================
   SCROLL REVEAL SYSTEM & MICRO-INTERACTIONS
   ===================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sparkle icon subtle rotation on button hover */
.btn-primary svg,
.btn-add svg,
.hero__cta svg {
  transition: transform 0.4s var(--ease-spring);
}

.btn-primary:hover svg,
.btn-add:hover svg,
.hero__cta:hover svg {
  transform: rotate(15deg) scale(1.1);
}

/* Subtle fade in for FAQ answer text once expanded */
.faq-item__a > p {
  opacity: 0;
  transition: padding 0.38s cubic-bezier(0.25, 1, 0.3, 1),
              opacity 0.35s var(--ease);
}

.faq-item.open .faq-item__a > p {
  opacity: 1;
}
