/* =============================================
   TrC Artesanías — Crochet & Hogar
   Artesanal · Cálido · Moderno · Premium
   ============================================= */

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

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:          #FFFFFF;
  --bg-light:    #F8F5F0;
  --bg-soft:     #EBE3D5;
  --ink:         #332D2D;
  --ink-mid:     #594A42;
  --ink-soft:    #8C7A6B;
  --ink-dim:     #BFAEA4;
  --border:      #E6D5C3;
  --border-soft: #F2EAE1;

  /* Brand accents */
  --yellow:      #D4AF37; /* Gold */
  --yellow-dark: #AA8622;
  --pink:        #E8C5B0;
  --pink-light:  #F7EBE1;
  --green:       #8C9B7A;

  --font-head:   'Playfair Display', serif;
  --font-body:   'Lato', sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-sharp:  cubic-bezier(0.19, 1, 0.22, 1);

  /* Emil Kowalski custom easing curves */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);      /* Strong ease-out for UI interactions */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);     /* Strong ease-in-out for on-screen movement */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);      /* iOS-like drawer curve */

  --nav-h:       110px;
  --topbar-h:    36px;
  --sidebar-w:   240px;
  --max-w:       1360px;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: black; /* Emil: the background behind the page-wrapper is black to give depth */
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Emil: iOS page scaling effect for drawers */
.page-wrapper {
  background: var(--bg);
  min-height: 100vh;
  transition: transform 0.4s var(--ease-drawer), filter 0.4s var(--ease-drawer), border-radius 0.4s var(--ease-drawer);
  transform-origin: top center;
  position: relative;
  z-index: 1;
}

body.drawer-open .page-wrapper {
  transform: scale(0.95) translateY(10px);
  filter: brightness(0.65);
  border-radius: 18px;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--ink-dim); border-radius: 2px; }
::selection { background: var(--yellow); color: var(--ink); }

/* ═══════════════════════════════════════════════
   PROMO BAR
   ═══════════════════════════════════════════════ */
.promo-bar {
  background: var(--yellow);
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  overflow: hidden;
  position: relative;
  padding: 0 16px;
  color: var(--ink);
}
.promo-nav-btn {
  color: var(--ink);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 100%;
  opacity: 0.6; transition: opacity 0.2s;
}
.promo-nav-btn:hover {
  opacity: 1;
}
.promo-content {
  font-family: var(--font-head);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  flex: 1;
  transition: opacity 0.25s ease;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid #f0e6da;
  z-index: 1000;
  transition: box-shadow 0.3s, background 0.3s;
  box-shadow: 0 1px 12px rgba(160, 100, 60, 0.06);
}
.nav.scrolled, .nav.solid {
  box-shadow: 0 4px 24px rgba(120, 70, 40, 0.10);
}

.nav-top {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #2a1a0e; cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo .logo-accent { color: #c8956c; }

/* Search */
.nav-search {
  flex: 1; max-width: 420px; position: relative;
}
.nav-search-input {
  width: 100%;
  padding: 10px 46px 10px 18px;
  background: #faf6f2;
  border: 1.5px solid #e8ddd4;
  color: #2a1a0e; font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none; border-radius: 28px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-search-input::placeholder { color: #b8a898; }
.nav-search-input:focus {
  border-color: #c8956c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,149,108,0.12);
}
.nav-search-btn {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: #b8a898; background: none; border: none; cursor: pointer;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.nav-search-btn:hover { color: #c8956c; }

/* Nav Actions */
.nav-actions { display: flex; gap: 6px; align-items: center; }
.nav-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: #2a1a0e; position: relative;
  background: none; border: none; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.nav-icon-btn:hover {
  background: #faf0e8;
  color: #c8956c;
}

/* Wishlist icon button */
.nav-wishlist-btn .wl-count {
  position: absolute; top: 4px; right: 4px;
  background: #e05c7a; color: #fff;
  font-family: var(--font-head);
  font-size: 0.45rem; font-weight: 800;
  width: 15px; height: 15px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  border: 1.5px solid #fff;
}
.nav-wishlist-btn.has-items .wl-count {
  display: flex;
}

.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: #c8956c; color: white;
  font-family: var(--font-head);
  font-size: 0.48rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity 0.2s, transform 0.2s var(--ease-sharp);
  border: 1.5px solid white;
}
.cart-badge.visible { opacity: 1; transform: scale(1); }

/* Nav Bottom — Category Links */
.nav-cats {
  border-top: 1px solid #f0e6da;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 28px;
  height: 42px;
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
  background: transparent;
}
.nav-cats::-webkit-scrollbar { display: none; }

.nav-cat-link {
  font-family: var(--font-head);
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #8c7060; white-space: nowrap;
  padding: 0 16px; height: 42px;
  display: flex; align-items: center;
  position: relative; background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.nav-cat-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2.5px; background: #c8956c; border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform 0.22s cubic-bezier(0.4,0,0.2,1);
}
.nav-cat-link:hover { color: #2a1a0e; }
.nav-cat-link:hover::after { transform: scaleX(1); }
.nav-cat-link.active { color: #2a1a0e; font-weight: 800; }
.nav-cat-link.active::after { transform: scaleX(1); }
.nav-cat-link.hot { color: #c8956c; }
.nav-cat-link.hot::after { background: #c8956c; }
/* Mobile nav */
/* ── Hamburger icon — Emil: smooth morph into X ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.nav-hamburger:active { transform: scale(0.92); }
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform 0.28s var(--ease-out), opacity 0.2s var(--ease-out), width 0.28s var(--ease-out);
  transform-origin: center;
}
/* Morph to X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Backdrop overlay — fades in behind the drawer ── */
.nav-mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-drawer), backdrop-filter 0.4s var(--ease-drawer);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.nav-mobile-backdrop.open {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ⚡ Mobile nav drawer - Emil: iOS drawer curve, not ease-sharp ⚡ */
.nav-mobile {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(320px, 88vw);          /* no full-width, respira */
  right: auto;
  background: white; z-index: 2000;
  display: flex; flex-direction: column;
  /* Emil improvement: Instead of a full horizontal translation (-100%), use a subtle shift + scale + opacity */
  transform: translateX(-30px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-drawer), opacity 0.4s var(--ease-drawer);
  overflow-y: auto; padding: 0;
  box-shadow: none;
}
.nav-mobile.open {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  /* Sombra suave aparece solo cuando está abierto */
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.15);
}

.nav-mobile-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-mobile-logo {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-mobile-logo .logo-accent { color: var(--pink); }

/* Close button — Emil: scale feedback en :active */
.nav-mobile-close {
  color: var(--ink); background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: background 0.15s var(--ease-out), transform 0.12s var(--ease-out);
}
.nav-mobile-close:active { transform: scale(0.88); }
@media (hover: hover) and (pointer: fine) {
  .nav-mobile-close:hover { background: var(--bg-light); }
}

.nav-mobile-links { padding: 12px 0; }

/* ── Links: stagger de entrada (Emil: 30-80ms entre ítems) ── */
.nav-mobile-link {
  display: block; width: 100%; text-align: left;
  padding: 14px 24px;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  background: none; border-right: none; border-left: none; border-top: none;
  cursor: pointer;
  /* Emil: Add filter blur for the entrance */
  transition: background 0.15s var(--ease-out), transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out);
  /* Estado inicial para stagger */
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
}
/* Cuando el menú abre, los links se revelan con stagger */
.nav-mobile.open .nav-mobile-link {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
/* Stagger por ítem — Emil: 40ms entre cada uno, máximo 8 ítems */
.nav-mobile.open .nav-mobile-link:nth-child(1) { transition-delay: 80ms; }
.nav-mobile.open .nav-mobile-link:nth-child(2) { transition-delay: 120ms; }
.nav-mobile.open .nav-mobile-link:nth-child(3) { transition-delay: 160ms; }
.nav-mobile.open .nav-mobile-link:nth-child(4) { transition-delay: 200ms; }
.nav-mobile.open .nav-mobile-link:nth-child(5) { transition-delay: 240ms; }
.nav-mobile.open .nav-mobile-link:nth-child(6) { transition-delay: 280ms; }
.nav-mobile.open .nav-mobile-link:nth-child(7) { transition-delay: 310ms; }
.nav-mobile.open .nav-mobile-link:nth-child(8) { transition-delay: 340ms; }
.nav-mobile.open .nav-mobile-link:nth-child(n+9) { transition-delay: 360ms; }
/* Al cerrar: reset inmediato para que no se vea el reverso del stagger */
.nav-mobile:not(.open) .nav-mobile-link { transition-delay: 0ms !important; }

@media (hover: hover) and (pointer: fine) {
  .nav-mobile-link:hover { background: var(--bg-light); }
}
.nav-mobile-link:active { transform: translateX(4px); background: var(--bg-light); }
.nav-mobile-link.hot { color: var(--pink); }

/* ── Transparent Nav — Home view only ──────── */
body.view-home .nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.view-home .nav:not(.scrolled) .nav-logo,
body.view-home .nav:not(.scrolled) .nav-icon-btn,
body.view-home .nav:not(.scrolled) .nav-cat-link {
  color: white;
}
body.view-home .nav:not(.scrolled) .nav-cat-link::after { background: white; }
body.view-home .nav:not(.scrolled) .nav-cat-link.hot { color: var(--yellow); }
body.view-home .nav:not(.scrolled) .nav-cat-link.hot::after { background: var(--yellow); }
body.view-home .nav:not(.scrolled) .nav-cats {
  border-top-color: rgba(255,255,255,0.2);
}
body.view-home .nav:not(.scrolled) .nav-search-input {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  color: white;
}
body.view-home .nav:not(.scrolled) .nav-search-input::placeholder { color: rgba(255,255,255,0.55); }
body.view-home .nav:not(.scrolled) .nav-search-btn { color: rgba(255,255,255,0.8); }
body.view-home .nav:not(.scrolled) .nav-hamburger span { background: white; }

/* Ensure solid nav when scrolled (force override) */
.nav.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* ── Mobile Search Button ───────────────────── */
.mobile-search-btn { display: none; }

/* ── Mobile Search Panel (slide-down) ──────── */
.mobile-search-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px; /* same as nav-top */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 16px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: none;
    z-index: 900;
    display: flex;
    align-items: center; gap: 14px;
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-drawer), opacity 0.35s var(--ease-drawer);
  }
  .mobile-search-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }
.mobile-search-icon {
  color: var(--ink);
  display: flex; align-items: center;
  flex-shrink: 0;
}
.mobile-search-input {
  flex: 1; height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  outline: none; color: var(--ink);
  -webkit-appearance: none;
}
.mobile-search-input::placeholder {
  color: var(--ink-dim);
}
.mobile-search-close {
  color: var(--ink); cursor: pointer;
  background: none; border: none;
  display: flex; align-items: center; flex-shrink: 0;
  padding: 6px;
  transition: transform 0.2s;
}
.mobile-search-close:hover {
  transform: scale(1.1);
}

/* ── Color Swatches filter ─────────────────── */
.filter-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.filter-color-swatch-item {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.filter-color-swatch-item:hover {
  transform: scale(1.15);
}
.filter-color-swatch-item.active {
  box-shadow: inset 0 0 0 2px white, 0 0 0 2px var(--ink);
  transform: scale(1.08);
}
.filter-color-tooltip {
  position: absolute;
  bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--ink); color: white;
  font-family: var(--font-head); font-size: 0.5rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 2px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}
.filter-color-swatch-item:hover .filter-color-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* ── Size Chips filter ─────────────────────── */
.filter-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.filter-size-chip-item {
  min-width: 38px; height: 32px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--ink-mid);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0 6px;
  transition: all 0.2s var(--ease);
}
.filter-size-chip-item:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-size-chip-item.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.filter-size-chip-item.large-chip {
  min-width: 110px;
}

/* ── Style/Occasion chips ──────────────────── */
.filter-style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.filter-style-chip-item {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--ink-mid);
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-style-chip-item:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-style-chip-item.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* ═══════════════════════════════════════════════
   APP ROOT
   ═══════════════════════════════════════════════ */
#app-root {
  min-height: 100vh;
  padding-top: var(--nav-h);
}
#app-root.no-promo { padding-top: var(--nav-h); }
/* Home view: nav overlays hero, so no padding needed */
body.view-home #app-root { padding-top: 0; }

.view-exit { animation: vExit 0.18s var(--ease) forwards; }
.view-enter { animation: vEnter 0.3s var(--ease) forwards; }
@keyframes vExit  { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
/* ── BUTTONS — Emil: scale on :active, not translateY on hover ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  background: var(--ink); color: white;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 2px solid var(--ink); cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--ink-mid); }
}
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  background: transparent; color: var(--ink);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 2px solid var(--ink); cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { background: var(--ink); color: white; }
}
.btn-outline:active { transform: scale(0.97); }

.btn-pink {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  background: var(--pink); color: white;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 2px solid var(--pink); cursor: pointer;
  border-radius: 24px;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-pink:hover { background: #e6306d; }
}
.btn-pink:active { transform: scale(0.97); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--nav-h));
  min-height: 520px; max-height: 700px;
  overflow: hidden; background: var(--bg-soft);
}
/* Home view hero — fills full viewport height since nav is transparent overlay */
body.view-home .hero {
  height: calc(100vh - var(--topbar-h));
  max-height: none;
}
/* Subtle dark gradient at top of hero so white nav text stays legible */
body.view-home .hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
/* Ensure hero content appears above the gradient */
body.view-home .hero .hero-content { z-index: 2; }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 6s var(--ease);
}
.hero-bg img.loaded { transform: scale(1.02); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.7) 40%,
    rgba(255,255,255,0) 70%
  );
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 60px; max-width: 600px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px; align-self: flex-start;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s 0.1s var(--ease) forwards;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp 0.65s 0.2s var(--ease) forwards;
}
.hero-title .line-pink { color: var(--pink); }
.hero-sub {
  font-size: 0.9rem; color: var(--ink-mid);
  margin-bottom: 32px; line-height: 1.6; max-width: 380px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s 0.35s var(--ease) forwards;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s 0.48s var(--ease) forwards;
}

/* ═══════════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════════ */
.section { padding: 60px 32px; max-width: var(--max-w); margin: 0 auto; }
.section-full { padding: 60px 0; }
.section-header { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
}
.section-subtitle { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.section-link {
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s;
}
.section-link:hover { color: var(--pink); }

/* ═══════════════════════════════════════════════
   HOME — CATEGORY BANNERS
   ═══════════════════════════════════════════════ */
.cat-banners { background: var(--bg-light); padding: 50px 32px; }
.cat-banners-inner { max-width: var(--max-w); margin: 0 auto; }
.cat-banners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 28px;
}
.cat-banner {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; background: var(--bg-soft);
  border: none; padding: 0;
  /* Emil: scale active feedback */
  transition: transform 0.15s var(--ease-out);
}
.cat-banner:active { transform: scale(0.98); }
.cat-banner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cat-banner:hover img { transform: scale(1.06); }
}
.cat-banner-overlay {
  position: absolute; inset: 0;
  background: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 14px;
}
.cat-banner-name {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: white; margin-bottom: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65), 0 0 20px rgba(0,0,0,0.3);
}
.cat-banner-count { font-size: 0.6rem; color: rgba(255,255,255,0.75); }
.cat-shop-link {
  display: block; text-align: center; margin-top: 10px;
  font-family: var(--font-head); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; transition: color 0.18s var(--ease-out);
  background: none; border: none; width: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .cat-shop-link:hover { color: var(--pink); }
}

/* ═══════════════════════════════════════════════
   CATEGORY VERTICAL STACK — Forever 21 Mobile Style
   Las 5 categorías más buscadas apiladas verticalmente,
   cada una un banner panorámico de ancho completo.
   ═══════════════════════════════════════════════ */
.cat-stack {
  display: flex; flex-direction: column; gap: 6px; margin-top: 20px;
}
.cat-stack-item {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 5/2; background: var(--bg-soft);
  border: none; padding: 0; width: 100%; display: block;
  transition: opacity 0.2s;
}
.cat-stack-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  transition: transform 0.65s var(--ease);
  display: block;
}
.cat-stack-item:hover img { transform: scale(1.04); }
.cat-stack-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0) 100%
  );
  display: flex; align-items: center; padding: 0 36px;
  transition: background 0.3s;
}
.cat-stack-item:hover .cat-stack-overlay {
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0) 100%
  );
}
.cat-stack-name {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: white; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  line-height: 1;
}
.cat-stack-arrow {
  margin-left: 12px; opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  color: white; display: flex; align-items: center;
}
.cat-stack-item:hover .cat-stack-arrow {
  opacity: 1; transform: translateX(0);
}

/* ── CATEGORY ALL SECTION CHIPS & BUTTONS ──── */
.cat-all-wrap {
  margin-top: 40px;
  text-align: center;
  padding: 0 16px;
}
.cat-all-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cat-chip {
  padding: 10px 22px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  cursor: pointer;
  /* Emil: specify exact properties, never transition:all */
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out),
              background 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out),
              transform 0.12s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cat-chip:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--bg-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
}
.cat-chip:active { transform: scale(0.97); }
.cat-all-btn {
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════════ */
.product-card {
  background: var(--bg); cursor: pointer;
  /* Emil: only animate transform & opacity (GPU) */
  transition: box-shadow 0.25s var(--ease-out), transform 0.15s var(--ease-out);
  position: relative;
  /* Scroll-reveal initial state — uses animation so cards always become visible */
  opacity: 0;
  transform: translateY(16px);
  /* CSS animation fallback: auto-reveals after 600ms regardless of JS */
  animation: cardFallbackReveal 0s 0.6s forwards;
}
@keyframes cardFallbackReveal {
  to { opacity: 1; transform: translateY(0); }
}
.product-card.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
}

.product-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--bg-soft);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-img-wrap img { transform: scale(1.04); }
}

/* Badges */
.product-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px; z-index: 2;
}
.badge {
  font-family: var(--font-head); font-size: 0.5rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 3px 8px; display: inline-block;
}
.badge-new { background: var(--ink); color: white; }
.badge-sale { background: var(--pink); color: white; }
.badge-limited { background: var(--yellow); color: var(--ink); }
.badge-discount { background: var(--ink); color: white; }

/* Wishlist — Emil: specify exact props */
.product-wishlist {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: color 0.18s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-wishlist:hover { color: var(--pink); transform: scale(1.1); }
}
.product-wishlist:active { transform: scale(0.9); }

/* Quick Add Button — Emil: responsive scale feedback */
.product-quick-add {
  position: absolute; bottom: 10px; right: 10px; z-index: 5;
  width: 32px; height: 32px;
  background: white; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
  border: none; border-radius: 0; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .product-quick-add:hover {
    transform: scale(1.08);
    background: var(--bg-soft);
  }
}
.product-quick-add:active { transform: scale(0.92); }
.product-quick-add svg,
.product-quick-add path,
.product-wishlist svg,
.product-wishlist path {
  pointer-events: none;
}

/* Product Info */
.product-info { padding: 12px 6px 16px; }
.product-brand {
  font-family: var(--font-head); font-size: 0.54rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 4px;
}
.product-name {
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  margin-bottom: 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price-row { display: flex; align-items: center; gap: 8px; }
.product-price {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--ink);
}
.product-price.sale { color: var(--pink); }
.product-price-orig {
  font-size: 0.76rem; color: var(--ink-dim); text-decoration: line-through;
}

/* ═══════════════════════════════════════════════
   PRODUCTS GRID (home preview)
   ═══════════════════════════════════════════════ */
.products-preview-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ═══════════════════════════════════════════════
   PROMO BANNER (between sections)
   ═══════════════════════════════════════════════ */
.promo-banner {
  background: var(--yellow); padding: 48px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  max-width: 100%;
}
.promo-banner-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.promo-banner-text h2 {
  font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 8px;
}
.promo-banner-text p { font-size: 0.85rem; color: var(--ink-mid); }

/* ═══════════════════════════════════════════════
   PRODUCTS VIEW (full page)
   ═══════════════════════════════════════════════ */
.products-view-wrap { background: var(--bg); }
.products-view-header {
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.products-view-title {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.products-count { font-size: 0.76rem; color: var(--ink-soft); }

/* Search + sort */
.products-controls {
  background: var(--bg-light); border-bottom: 1px solid var(--border);
  padding: 14px 32px;
}
.products-controls-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.search-bar { flex: 1; max-width: 440px; position: relative; }
.search-input {
  width: 100%; padding: 10px 40px 10px 16px;
  background: white; border: 1.5px solid var(--border);
  color: var(--ink); font-size: 0.8rem; font-family: var(--font-body);
  outline: none; border-radius: 22px;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--ink-dim); }
.search-input:focus { border-color: var(--ink); }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-dim); pointer-events: none; }
.search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-dim); background: none; border: none; cursor: pointer;
  display: none; align-items: center; transition: color 0.2s;
}
.search-clear:hover { color: var(--pink); }
.search-clear.visible { display: flex; }

.sort-select {
  padding: 10px 36px 10px 14px;
  background: white; border: 1.5px solid var(--border);
  color: var(--ink-mid); font-size: 0.72rem; font-family: var(--font-head);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  outline: none; cursor: pointer; appearance: none; border-radius: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 0.2s;
}
.sort-select:focus { border-color: var(--ink); }

.mobile-filter-toggle {
  display: none; padding: 10px 18px;
  background: white; border: 1.5px solid var(--border);
  color: var(--ink); font-family: var(--font-head);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  align-items: center; gap: 7px; white-space: nowrap;
  cursor: pointer; border-radius: 22px;
  transition: border-color 0.2s;
}
.mobile-filter-toggle:hover { border-color: var(--ink); }

/* Active filter chips */
.active-filters-bar {
  padding: 10px 32px;
  border-bottom: 1px solid var(--border-soft);
}
.active-filters-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px; }
.active-filter-tag {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 16px;
  background: var(--ink); color: white;
  font-family: var(--font-head); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.active-filter-tag:hover { background: var(--pink); }

/* Products layout */
.products-layout {
  display: grid; grid-template-columns: var(--sidebar-w) 1fr;
  max-width: var(--max-w); margin: 0 auto;
  min-height: 60vh;
}

/* Product Detail Grid */
.pdp-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 32px 28px 64px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}

/* Sidebar */
.filters-sidebar {
  border-right: 1px solid var(--border);
  padding: 24px 20px;
  position: sticky; top: calc(var(--topbar-h) + var(--nav-h));
  height: calc(100vh - var(--topbar-h) - var(--nav-h));
  overflow-y: auto;
}
.filters-sidebar::-webkit-scrollbar { width: 2px; }

.filters-title {
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.filters-reset {
  font-size: 0.58rem; color: var(--pink); font-weight: 700;
  background: none; border: none; cursor: pointer; letter-spacing: 0.1em;
  text-transform: uppercase; transition: opacity 0.2s;
}
.filters-reset:hover { opacity: 0.7; }

.filter-group { margin-bottom: 24px; border-bottom: 1px solid var(--border-soft); padding-bottom: 20px; }
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-family: var(--font-head); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mid);
  margin-bottom: 12px;
}

.filter-checkbox-list { display: flex; flex-direction: column; gap: 9px; }
.filter-checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filter-checkbox-item input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; transition: border-color 0.2s, background 0.2s;
}
.filter-checkbox-item input:checked + .checkbox-custom { border-color: var(--ink); background: var(--ink); }
.filter-checkbox-item input:checked + .checkbox-custom::after {
  content: ''; width: 7px; height: 4px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px); display: block;
}
.checkbox-label { font-size: 0.76rem; color: var(--ink-soft); transition: color 0.2s; }
.filter-checkbox-item:hover .checkbox-label { color: var(--ink); }
.filter-checkbox-item input:checked ~ .checkbox-label { color: var(--ink); font-weight: 600; }
.checkbox-count { margin-left: auto; font-size: 0.62rem; color: var(--ink-dim); }

/* Price Range */
.price-range-inputs { display: flex; gap: 8px; margin-bottom: 14px; align-items: center; }
.price-input-group { flex: 1; }
.price-input-group label { display: block; font-size: 0.54rem; color: var(--ink-dim); margin-bottom: 4px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.price-input {
  width: 100%; padding: 8px 10px;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--ink); font-size: 0.76rem; outline: none;
  border-radius: 6px; transition: border-color 0.2s;
}
.price-input:focus { border-color: var(--ink); }
.price-sep { color: var(--ink-dim); margin-top: 18px; }
.range-slider-wrap { position: relative; height: 22px; margin-bottom: 6px; }
.range-track { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; height: 3px; background: var(--border); border-radius: 2px; }
.range-fill { position: absolute; height: 3px; background: var(--ink); top: 50%; transform: translateY(-50%); border-radius: 2px; }
.range-slider { position: absolute; width: 100%; height: 100%; appearance: none; background: transparent; outline: none; top: 0; pointer-events: none; }
.range-slider::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); cursor: pointer; pointer-events: all;
  border: 2.5px solid white; box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.62rem; color: var(--ink-dim); }

/* Products main */
.products-main { padding: 24px 28px; }
.products-grid-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.no-results { grid-column: 1/-1; padding: 80px; text-align: center; }
.no-results h3 { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 10px; text-transform: uppercase; }
.no-results p { font-size: 0.8rem; color: var(--ink-dim); }

/* ── Custom Order Hero Banner ─────────────────── */
.custom-order-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 38%;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #7a4f35 0%, #a0663d 40%, #c8845a 100%);
  box-shadow: 0 8px 40px rgba(120, 70, 40, 0.28);
  position: relative;
  margin-bottom: 4px;
}
.custom-order-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.custom-order-img-side {
  position: relative;
  overflow: hidden;
}
.custom-order-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .custom-order-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .custom-order-img-side {
    height: 220px;
  }
  .custom-order-img-side img {
    border-radius: 0 0 16px 16px;
  }
  .custom-order-content {
    padding: 28px 24px;
  }
}


/* ═══════════════════════════════════════════════
   MOBILE FILTER DRAWER
   ═══════════════════════════════════════════════ */
.filter-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.15); z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-drawer), backdrop-filter 0.4s var(--ease-drawer); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
.filter-drawer-overlay.open { opacity: 1; pointer-events: all; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.filter-drawer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--border);
  z-index: 1501; max-height: 82vh; overflow-y: auto; padding: 24px;
  /* Emil: iOS drawer curve, translateY(100%) for size-agnostic hide */
  transform: translateY(100%); transition: transform 0.36s var(--ease-drawer);
}
.filter-drawer.open { transform: translateY(0); }
.filter-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.filter-drawer-title { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.filter-drawer-close { color: var(--ink); background: none; border: none; cursor: pointer; }
.filter-drawer-close:hover { color: var(--pink); }

/* ═══════════════════════════════════════════════
   NOSOTRAS VIEW
   ═══════════════════════════════════════════════ */
.nosotras-view { background: var(--bg); }
.nosotras-hero {
  background: var(--ink); padding: 80px 32px;
  display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
}
.nosotras-hero-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.nosotras-hero-text { flex: 1; min-width: 280px; }
.nosotras-hero-text .eyebrow {
  font-family: var(--font-head); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px;
}
.nosotras-hero-text h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: white; line-height: 1.1; margin-bottom: 20px;
}
.nosotras-hero-text h1 span { color: var(--yellow); }
.nosotras-hero-text p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 500px; }
.nosotras-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); max-width: var(--max-w); margin: 60px auto 0;
  padding: 0 32px;
}
.nosotras-stat { background: var(--bg); padding: 36px 24px; }
.nosotras-stat-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 700;
  color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.nosotras-stat-num .accent { color: var(--pink); }
.nosotras-stat-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.nosotras-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: var(--max-w); margin: 0 auto; padding: 60px 32px;
}
.nosotras-value { background: var(--bg-light); padding: 32px; }
.value-icon { font-size: 1.5rem; margin-bottom: 14px; }
.value-title { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.value-desc { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   CONTACTO VIEW
   ═══════════════════════════════════════════════ */
.contacto-view { background: var(--bg); }
.contacto-inner { max-width: var(--max-w); margin: 0 auto; padding: 60px 32px; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 40px; }
.contacto-left h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.contacto-left p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 28px; }
.contacto-info { display: flex; flex-direction: column; gap: 18px; }
.contacto-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contacto-info-icon { color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.contacto-info-label { font-family: var(--font-head); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 3px; }
.contacto-info-val { font-size: 0.82rem; color: var(--ink); font-weight: 600; }
.contacto-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-family: var(--font-head); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mid); }
.form-input, .form-textarea {
  padding: 12px 14px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--ink); font-size: 0.82rem;
  font-family: var(--font-body); outline: none; border-radius: 6px;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-dim); }
.form-input:focus, .form-textarea:focus { border-color: var(--ink); }
.form-textarea { resize: vertical; min-height: 120px; }

.newsletter-section { background: var(--bg-light); padding: 60px 32px; border-top: 1px solid var(--border); }
.newsletter-inner { max-width: 540px; margin: 0 auto; text-align: center; }
.newsletter-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.newsletter-title span { color: var(--pink); }
.newsletter-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 24px; }
.newsletter-form { display: flex; border: 1.5px solid var(--border); border-radius: 28px; overflow: hidden; background: white; transition: border-color 0.2s; }
.newsletter-form:focus-within { border-color: var(--ink); }
.newsletter-input { flex: 1; padding: 14px 20px; background: transparent; border: none; outline: none; font-family: var(--font-body); font-size: 0.82rem; color: var(--ink); }
.newsletter-input::placeholder { color: var(--ink-dim); }
.newsletter-btn { padding: 14px 24px; background: var(--ink); color: white; font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.25s; border-radius: 0 24px 24px 0; }
.newsletter-btn:hover { background: var(--pink); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer { background: var(--ink); color: white; padding: 56px 32px 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: white; margin-bottom: 14px; cursor: pointer; }
.footer-logo .logo-accent { color: var(--yellow); }
.footer-desc { font-size: 0.76rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 240px; }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: border-color 0.25s, color 0.25s; }
.social-link:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-col-title { font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links button, .footer-links a { font-size: 0.76rem; color: rgba(255,255,255,0.55); background: none; border: none; cursor: pointer; text-align: left; padding: 0; transition: color 0.2s; }
.footer-links button:hover, .footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.64rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.64rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; width: 400px; max-width: 95vw; height: 100vh; background: white; border-left: 1px solid var(--border); z-index: 2001; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s var(--ease-sharp); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.cart-close { color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 4px; transition: color 0.2s; }
.cart-close:hover { color: var(--pink); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 220px; gap: 14px; }
.cart-empty svg { color: var(--ink-dim); opacity: 0.4; }
.cart-empty p { font-family: var(--font-head); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); animation: fadeIn 0.3s ease; }
.cart-item-img { width: 72px; height: 90px; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-cat { font-family: var(--font-head); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); margin-bottom: 3px; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cart-item-price { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.cart-item-remove { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); cursor: pointer; background: none; border: none; padding: 0; text-decoration: underline; transition: color 0.2s; }
.cart-item-remove:hover { color: var(--pink); }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-subtotal-label { font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.cart-subtotal-value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.btn-checkout { width: 100%; padding: 15px; background: var(--ink); color: white; font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.25s; }
.btn-checkout:hover { background: var(--pink); }

/* ═══════════════════════════════════════════════
   HERO — TRUST MICRO-COPY
   ═══════════════════════════════════════════════ */
.hero-trust {
  font-size: 0.7rem; color: var(--ink-soft);
  margin-top: 16px; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.6s 0.6s var(--ease) forwards;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: stretch;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 24px; flex: 1;
  justify-content: center; min-width: 0;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item-icon { font-size: 1.15rem; flex-shrink: 0; }
.trust-item-text {
  font-family: var(--font-head); font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1.4;
}
.trust-item-text strong {
  color: var(--ink); font-weight: 700; display: block;
  font-size: 0.65rem; margin-bottom: 1px;
}

/* ═══════════════════════════════════════════════
   BEAUTY SPLIT BANNER
   ═══════════════════════════════════════════════ */
.beauty-split {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); overflow: hidden; min-height: 380px;
}
.beauty-split-text {
  padding: 64px 52px; display: flex; flex-direction: column;
  justify-content: center;
}
.beauty-split-text .eyebrow {
  font-family: var(--font-head); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
}
.beauty-split-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: white; line-height: 1.1; margin-bottom: 14px;
}
.beauty-split-text p {
  font-size: 0.84rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin-bottom: 28px; max-width: 320px;
}
.beauty-split-img { overflow: hidden; }
.beauty-split-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.7s var(--ease);
}
.beauty-split:hover .beauty-split-img img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════
   HOME STATS (Prueba Social)
   ═══════════════════════════════════════════════ */
.home-stats { background: var(--bg); padding: 60px 32px; }
.home-stats-inner { max-width: var(--max-w); margin: 0 auto; }
.home-stats-title {
  text-align: center; margin-bottom: 36px;
  font-family: var(--font-head); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-dim);
}
.home-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.home-stat-item {
  background: var(--bg-light); padding: 36px 20px; text-align: center;
}
.home-stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 10px;
}
.home-stat-num .accent { color: var(--pink); }
.home-stat-label {
  font-family: var(--font-head); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════ */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticker  { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid-view { grid-template-columns: repeat(2, 1fr); }
  .products-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-banners-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .nosotras-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 60px; --topbar-h: 32px; }
  .cat-banners { padding: 40px 16px; }
  .cat-all-chips { gap: 8px; margin-bottom: 20px; }
  .cat-chip { padding: 8px 18px; font-size: 0.62rem; }
  .section { padding: 44px 20px; }
  .nav-top { padding: 0 20px; }
  .nav-cats { display: none; }
  .nav-search { display: none; }
  .mobile-search-btn { display: flex; } /* show search icon on mobile */
  .nav-hamburger { display: flex; }
  .products-layout { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; padding: 24px 20px; gap: 32px; }
  .filters-sidebar { display: none; }
  .mobile-filter-toggle { display: inline-flex; }
  .products-controls-inner { flex-wrap: wrap; }
  .products-view-header { padding: 20px; }
  .products-controls { padding: 12px 20px; }
  .products-main { padding: 16px; }
  .products-grid-view { grid-template-columns: repeat(2, 1fr); }
  .cat-banners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
  .nosotras-values { grid-template-columns: 1fr; }
  .nosotras-stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-content { padding: 0 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100%; }
  .promo-banner-inner { flex-direction: column; gap: 16px; }
  .nosotras-hero { padding: 50px 20px; }
  /* Trust bar — stack 2x2 on mobile */
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-item { min-width: 50%; flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  /* Beauty split — stack vertically */
  .beauty-split { grid-template-columns: 1fr; min-height: auto; }
  .beauty-split-text { padding: 44px 24px; order: 2; }
  .beauty-split-img { min-height: 260px; order: 1; }
  /* Home stats — 2x2 grid */
  .home-stats { padding: 44px 20px; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .products-grid-view { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-banners-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nosotras-values { padding: 40px 20px; }
  .contacto-inner, .newsletter-section { padding: 44px 20px; }
}

/* ═══════════════════════════════════════════════
   QUICK ADD OVERLAY & MODAL (CHOOSE OPTIONS)
   ═══════════════════════════════════════════════ */
.quick-add-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 2500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.quick-add-overlay.open {
  opacity: 1; pointer-events: all;
}

/* ═══════════════════════════════════════════
   QUICK-ADD MODAL — Premium Redesign
   ═══════════════════════════════════════════ */

.quick-add-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FAFAF8;
  border-radius: 20px 20px 0 0;
  z-index: 2501;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
}
.quick-add-modal.open {
  transform: translateY(0);
}

/* ── Header ── */
.qa-header {
  padding: 14px 20px 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  /* Drag handle */
  position: relative;
}
.qa-header::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 4px;
  background: #D4C9BC;
  border-radius: 2px;
}
.qa-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.qa-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}
.qa-close:hover {
  background: rgba(0,0,0,0.12);
  color: var(--ink);
}
.qa-close:active { transform: scale(0.93); }

/* ── Body (scrollable) ── */
.qa-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: #D4C9BC transparent;
}

/* ── Media / Image area ── */
.qa-media-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 12px auto 0;
  aspect-ratio: 4/5;
  background: #EDE9E3;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}
.qa-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.2s var(--ease-out);
  border-radius: 12px;
}
.qa-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}
.qa-media-wrap:hover .qa-nav-btn { opacity: 1; }
@media (hover: none) { .qa-nav-btn { opacity: 0.85; } }
.qa-nav-prev { left: 10px; }
.qa-nav-prev svg { transform: rotate(180deg); }
.qa-nav-next { right: 10px; }
.qa-nav-btn:hover { transform: translateY(-50%) scale(1.07); }
.qa-nav-btn:active { transform: translateY(-50%) scale(0.94); }

.qa-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.qa-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: white;
  opacity: 0.45;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, width 0.25s var(--ease-out);
  padding: 0;
}
.qa-dot.active {
  opacity: 1;
  width: 14px;
  border-radius: 3px;
  transform: none;
}

/* ── Product info block ── */
.qa-info-block {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qa-prod-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.qa-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  margin-top: 2px;
}
.qa-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.qa-price.sale { color: #C85A2A; }
.qa-price-orig {
  font-size: 0.9rem;
  color: var(--ink-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(28,28,28,0.4);
  font-weight: 500;
}

/* ── Description ── */
.qa-description {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #6B6358;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #EDE9E3;
}

/* ── Stock alert ── */
.qa-stock-alert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 20px;
  margin-top: 8px;
  width: fit-content;
}
.qa-stock-alert.normal {
  background: #E8F5EF;
  color: #1A7A4C;
}
.qa-stock-alert.low {
  background: #FEF3CD;
  color: #92600A;
}
.qa-stock-alert.out {
  background: #F2F0ED;
  color: var(--ink-soft);
}

/* ── Divider between sections ── */
.qa-divider {
  height: 1px;
  background: #EDE9E3;
  margin: 16px 0;
}

/* ── Option sections ── */
.qa-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.qa-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9B9189;
}
.qa-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Color chips ── */
.qa-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.qa-color-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1.5px solid #D9D3CC;
  border-radius: 6px;
  background: white;
  color: #5A544D;
  font-family: var(--font-head);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.qa-color-opt.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 2px 8px rgba(28,28,28,0.18);
}
.qa-color-opt:active { transform: scale(0.96); }
.qa-color-swatch {
  width: 11px; height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  display: inline-block;
  flex-shrink: 0;
}

/* ── Size chips ── */
.qa-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.qa-size-opt {
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid #D9D3CC;
  border-radius: 6px;
  background: white;
  color: #5A544D;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.qa-size-opt.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 2px 8px rgba(28,28,28,0.18);
}
.qa-size-opt:active { transform: scale(0.95); }
.qa-size-opt.out-of-stock {
  opacity: 0.38;
  border-style: dashed !important;
  text-decoration: line-through;
  text-decoration-color: rgba(28,28,28,0.3);
  cursor: not-allowed;
}
.qa-color-opt.out-of-stock {
  opacity: 0.38;
  border-style: dashed !important;
  text-decoration: line-through;
  text-decoration-color: rgba(28,28,28,0.3);
  cursor: not-allowed;
}

/* ── Quantity selector ── */
.qa-qty-row { display: flex; align-items: center; }
.qa-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #D9D3CC;
  border-radius: 24px;
  height: 38px;
  background: white;
  overflow: hidden;
}
.qa-qty-btn {
  width: 38px; height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color 0.15s, background 0.15s;
  user-select: none;
}
.qa-qty-btn:hover { color: var(--ink); }
.qa-qty-btn:active { background: rgba(0,0,0,0.05); }
.qa-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-head);
}

/* ── Footer / CTA ── */
.qa-footer {
  padding: 12px 20px 20px;
  background: #FAFAF8;
  flex-shrink: 0;
}
.qa-btn-add {
  width: 100%;
  padding: 15px;
  background: var(--ink);
  color: white;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s var(--ease-out), box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(28,28,28,0.22);
}
@media (hover: hover) and (pointer: fine) {
  .qa-btn-add:hover {
    background: #2A2A2A;
    box-shadow: 0 6px 22px rgba(28,28,28,0.32);
    transform: translateY(-1px);
  }
}
.qa-btn-add:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(28,28,28,0.18);
}
.qa-btn-add.disabled {
  background: #C5BEB7 !important;
  color: rgba(255,255,255,0.7) !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ── Desktop: centered dialog with two columns ── */
@media (min-width: 720px) {
  .quick-add-modal {
    top: 50%; left: 50%;
    bottom: auto; right: auto;
    width: 760px;
    max-width: 94vw;
    border-radius: 18px;
    transform: translate(-50%, -48%) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.28s var(--ease-out);
    max-height: 88vh;
  }
  .quick-add-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
  }
  .qa-header::before { display: none; }
  .qa-body {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
  }
  .qa-media-wrap {
    margin: 0;
    max-width: none;
    width: 100%;
    aspect-ratio: auto;
    height: 100%;
    min-height: 480px;
    border-radius: 0 0 0 18px;
    grid-row: 1 / 3;
  }
  .qa-img { border-radius: 0 0 0 18px; }
  .qa-info-block {
    padding: 28px 32px 0;
    overflow-y: auto;
    max-height: calc(88vh - 58px - 72px);
  }
  .qa-sections-block {
    padding: 0 32px;
    overflow-y: auto;
    max-height: calc(88vh - 58px - 72px);
  }
  .qa-prod-name { font-size: 1.45rem; }
  .qa-price { font-size: 1.4rem; }
  .qa-footer {
    grid-column: 2;
    padding: 12px 32px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-add-modal {
    transition: opacity 0.15s;
    transform: translateY(0);
  }
  .quick-add-modal.open { opacity: 1; }
}

/* ── WHATSAPP FLOATING BUTTON ────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.whatsapp-fab::before {
  content: '';
  position: absolute; inset: -4px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: waPulse 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5), 0 3px 8px rgba(0,0,0,0.18);
  color: white;
}
.whatsapp-fab:active {
  transform: scale(0.96);
}
@keyframes waPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0; }
}

@media (max-width: 900px) {
  .whatsapp-fab {
    bottom: 20px; right: 20px;
    width: 48px; height: 48px;
  }
  .whatsapp-fab svg {
    width: 22px; height: 22px;
  }
}

/* ═══════════════════════════════════════════════
   CHECKOUT FLOW STYLES
   ═══════════════════════════════════════════════ */

/* ── Progress Indicator ──────────────────────── */
.checkout-progress-container {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 24px 16px;
}
.checkout-progress {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 40px;
}
.progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s var(--ease);
  color: var(--ink-soft);
}
.progress-step.completed {
  background: var(--yellow);
  color: var(--ink);
}
.progress-step.active {
  background: var(--ink);
  color: var(--bg);
}
.progress-step.inactive {
  background: transparent;
  color: var(--ink-dim);
}
.progress-step svg {
  flex-shrink: 0;
}

/* ── Checkout Layout ─────────────────────────── */
.checkout-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px 80px 32px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Left Column: Cart Items ─────────────────── */
.checkout-section-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 8px;
}
.checkout-items-list {
  display: flex;
  flex-direction: column;
}
.checkout-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.checkout-item:first-of-type {
  padding-top: 0;
}
.checkout-item-img {
  width: 90px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-light);
  flex-shrink: 0;
}
.checkout-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 28px; /* space for delete button */
}
.checkout-item-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.checkout-item-brand {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.checkout-item-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.checkout-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.checkout-item-color {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.color-dot-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.checkout-item-size {
  background: var(--bg-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ink-mid);
}

.checkout-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2px;
  background: var(--bg);
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: var(--bg-light);
}
.qty-val {
  width: 32px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
}
.checkout-item-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.checkout-item-price {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.checkout-item-price.sale {
  color: var(--green);
}
.checkout-item-price-orig {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--ink-dim);
}
.checkout-item-delete {
  position: absolute;
  top: 24px;
  right: 0;
  color: var(--ink-soft);
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.checkout-item:first-of-type .checkout-item-delete {
  top: 0;
}
.checkout-item-delete:hover {
  background: var(--bg-light);
  color: var(--pink);
}

/* ── Right Column: Sticky Summary ───────────── */
.order-summary-card {
  position: sticky;
  top: 96px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.summary-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--ink-mid);
}
.summary-row.total {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid var(--border);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-head);
}
.summary-row.total span:last-of-type {
  color: var(--ink);
}

/* Free Shipping Meter */
.shipping-meter {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--border-soft);
}
.shipping-meter-text {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-mid);
}
.shipping-meter-text strong {
  color: var(--ink);
}
.shipping-meter-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.shipping-meter-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.4s var(--ease);
}
.shipping-meter.free {
  background: #E8F5E9;
  border-color: #C8E6C9;
}
.shipping-meter.free .shipping-meter-text {
  color: #2E7D32;
}

/* WhatsApp Checkout Button */
.whatsapp-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  background: var(--ink);
  color: white;
  border-radius: 30px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.whatsapp-checkout-btn:hover {
  background: #111;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.whatsapp-checkout-btn:active {
  transform: translateY(1px);
}
.whatsapp-checkout-btn svg {
  fill: currentColor;
}
.checkout-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 14px;
  font-weight: 500;
}
.checkout-trust-note svg {
  color: var(--green);
}

/* ── Upsell Row ─────────────────────────────── */
.upsell-section {
  margin-top: 64px;
  border-top: 1.5px solid var(--border);
  padding-top: 48px;
}
.upsell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.upsell-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.upsell-badge {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}
.upsell-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.upsell-grid::-webkit-scrollbar {
  display: none;
}
.upsell-card {
  flex: 0 0 165px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 2px solid var(--yellow);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.upsell-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,232,0,0.18);
}
.upsell-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 120%; /* 4:5 aspect ratio */
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
}
.upsell-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.upsell-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.upsell-brand {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.upsell-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.upsell-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.upsell-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}
.upsell-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.upsell-add-btn:hover {
  background: var(--pink);
  transform: scale(1.08);
}

/* ── Empty Checkout State ───────────────────── */
.checkout-empty {
  text-align: center;
  padding: 80px 16px;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.checkout-empty svg {
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.checkout-empty-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.checkout-empty-text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.checkout-empty .btn-primary {
  margin-top: 12px;
}

/* ── Responsive Checkout ─────────────────────── */
@media (max-width: 1024px) {
  .checkout-container {
    padding: 30px 20px 60px 20px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .order-summary-card {
    position: static;
  }
  /* upsell-grid is now a flex carousel */
}
@media (max-width: 580px) {
  .checkout-progress {
    padding: 4px;
  }
  .progress-step {
    padding: 8px 10px;
    font-size: 0.58rem;
    gap: 4px;
  }
  .checkout-item {
    gap: 14px;
  }
  .checkout-item-img {
    width: 76px;
    height: 95px;
  }
  .checkout-item-name {
    font-size: 0.88rem;
  }
}

/* ── Checkout Registration Form & Success Styles ── */

.checkout-form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-section-title {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
  margin-bottom: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row.full {
  grid-template-columns: 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.required-star {
  color: var(--pink);
  margin-left: 2px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 48px;
  background: var(--bg);
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-textarea {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
}
.form-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231C1C1C' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-dim);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 0 var(--yellow);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--pink);
  box-shadow: inset 0 -3px 0 0 rgba(255, 77, 141, 0.1);
}
.form-error-msg {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pink);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-note {
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 2px;
}
.form-note.whatsapp {
  color: var(--green);
}
.form-note.amber {
  color: #D48C00;
}
.form-note.gray {
  color: var(--ink-soft);
}

/* Phone input with country prefix pill */
.phone-input-wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
}
.phone-prefix-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  padding: 0 12px;
  height: 48px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.phone-input-wrapper .form-input {
  flex: 1;
}

/* Form Trust Badges under button */
.form-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.68rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-trust-dot {
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
}

/* ── Order Summary Mini Items ────────────────── */
.summary-mini-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
.summary-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink);
}
.mini-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.mini-item-emoji {
  font-size: 1rem;
  flex-shrink: 0;
}
.mini-item-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.mini-item-qty {
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.64rem;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mini-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

/* ── Checkout Confirmation Success Screen ─────── */
.checkout-confirm-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.confirm-circle-success {
  width: 80px;
  height: 80px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(255, 232, 0, 0.25);
  animation: waPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.confirm-headline {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.confirm-subtext {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 36px;
}

/* Summary Card */
.checkout-confirm-card {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
}
.confirm-card-section {
  margin-bottom: 20px;
}
.confirm-card-section:last-of-type {
  margin-bottom: 0;
}
.confirm-section-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 6px;
}
.confirm-section-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.confirm-edit-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink);
  cursor: pointer;
  transition: opacity 0.2s;
}
.confirm-edit-link:hover {
  opacity: 0.8;
}

/* Micro shipping details grid */
.confirm-details-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  font-size: 0.82rem;
  line-height: 1.4;
}
.details-grid-label {
  font-weight: 600;
  color: var(--ink-soft);
}
.details-grid-val {
  font-weight: 600;
  color: var(--ink);
}

.whatsapp-success-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 30px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
  margin-bottom: 12px;
}
.whatsapp-success-btn:hover {
  background: #20BA59;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}
.whatsapp-success-btn:active {
  transform: translateY(1px);
}
.whatsapp-success-btn svg {
  fill: currentColor;
}
.whatsapp-success-note {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 48px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .confirm-circle-success {
    width: 70px;
    height: 70px;
  }
  .confirm-headline {
    font-size: 1.35rem;
  }
}

/* ── PRODUCT DETAIL VIEW ──────────────────────── */
.product-detail-view-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px 80px 32px;
}

/* Breadcrumbs */
.detail-breadcrumbs {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.detail-breadcrumbs span {
  cursor: pointer;
  transition: color 0.2s;
}
.detail-breadcrumbs span:hover {
  color: var(--ink);
}
.detail-breadcrumbs span.active {
  color: var(--ink);
  font-weight: 700;
  cursor: default;
}

/* Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: start;
}

/* Left Side Media */
.detail-media-side {
  width: 100%;
}
.detail-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Side Info */
.detail-info-side {
  display: flex;
  flex-direction: column;
}
.detail-brand-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}
.detail-title {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.detail-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.detail-price {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}
.detail-price.sale {
  color: var(--pink);
}
.detail-price-orig {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: line-through;
  color: var(--ink-dim);
}

/* Promo Card */
.detail-promo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
}
.detail-promo-badge {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--yellow);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.detail-promo-text {
  font-size: 0.78rem;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

.detail-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 16px 0 24px 0;
}

/* Selectable Sections */
.detail-select-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.detail-select-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.detail-select-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-size-chart-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.detail-size-chart-btn:hover {
  color: var(--ink);
}

.detail-colors-list,
.detail-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Color & Size Option Buttons */
.detail-color-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: white;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.15s, box-shadow 0.2s;
  color: var(--ink);
}
.detail-color-opt:hover,
.detail-size-opt:hover {
  border-color: var(--ink);
}
.detail-color-opt.active,
.detail-size-opt.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.detail-color-swatch {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  display: inline-block;
}
.detail-color-opt.active .detail-color-swatch {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.detail-size-opt {
  min-width: 42px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: white;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.2s, color 0.2s;
  color: var(--ink);
}

.detail-color-opt.out-of-stock,
.detail-size-opt.out-of-stock {
  opacity: 0.4;
  border-style: dashed !important;
  text-decoration: line-through;
  text-decoration-color: rgba(28,28,28,0.2);
  cursor: default;
}

/* Quantity Selection */
.detail-qty-row {
  display: flex;
  gap: 12px;
}
.detail-qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  height: 42px;
  overflow: hidden;
  background: white;
}
.detail-qty-btn {
  width: 38px;
  height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-qty-btn:hover {
  color: var(--ink);
}
.detail-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.detail-qty-val {
  width: 36px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

/* Add Button */
.detail-actions-row {
  margin-top: 12px;
  margin-bottom: 24px;
}
.detail-btn-add {
  width: 100%;
  height: 52px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
}
.detail-btn-add:hover {
  background: var(--pink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,77,141,0.2);
}
.detail-btn-add:active {
  transform: translateY(1px);
}
.detail-btn-add.disabled {
  background: var(--ink-dim) !important;
  color: rgba(255,255,255,0.6) !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}

/* Details list styling */
.detail-bullets {
  list-style: none;
  margin: 32px 0 0 0;
  border-top: 1.5px dashed var(--border-soft);
  padding: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-bullets li {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Related Products Grid */
.related-section {
  margin-top: 80px;
  border-top: 1.5px solid var(--ink);
  padding-top: 48px;
}
.related-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── RESPONSIVE DETAILS ──────────────────────── */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .detail-breadcrumbs {
    margin-bottom: 24px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .related-section {
    margin-top: 60px;
    padding-top: 36px;
  }
}

@media (max-width: 580px) {
  .product-detail-view-container {
    padding: 20px 16px 60px 16px;
  }
  .detail-title {
    font-size: 1.65rem;
  }
  .related-grid {
    gap: 12px;
  }
}

/* ── DEMO GATEWAY PORTAL ──────────────────────── */
.demo-gateway-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #2c2c2c 0%, #121212 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.4s ease-out;
}
.demo-gateway-card {
  background: rgba(28, 28, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--yellow);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255, 232, 0, 0.05);
}
.demo-gateway-logo {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 8px;
}
.demo-gateway-logo span {
  color: var(--yellow);
}
.demo-gateway-tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
}
.demo-gateway-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 36px;
}
.demo-gateway-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-gateway-opt {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.15s;
}
.demo-gateway-opt:hover {
  border-color: var(--yellow);
  background: rgba(255,232,0,0.02);
  transform: translateY(-2px);
}
.demo-gateway-opt-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  color: var(--yellow);
}
.demo-gateway-opt:hover .demo-gateway-opt-icon {
  background: var(--yellow);
  color: var(--ink);
}
.demo-gateway-opt-text {
  flex: 1;
}
.demo-gateway-opt-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.demo-gateway-opt-desc {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Floating Switcher Widget */
.demo-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.demo-switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, background 0.2s;
  letter-spacing: 0.05em;
}
.demo-switcher-btn:hover {
  transform: translateY(-2px);
  background: #FFE000;
}
.demo-switcher-btn:active {
  transform: translateY(1px);
}
.demo-switcher-menu {
  background: rgba(28,28,28,0.95);
  backdrop-filter: blur(12px);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  animation: floatUp 0.25s var(--ease);
}
.demo-switcher-menu.open {
  display: flex;
}
.demo-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: none;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  text-transform: uppercase;
}
.demo-switcher-item:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}
.demo-switcher-item.active {
  background: var(--yellow);
  color: var(--ink);
}

/* ── DEMO ADMIN DASHBOARD ─────────────────────── */
.admin-view-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px 80px 32px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.admin-subtitle {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 12px;
}
.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  color: var(--ink);
}
.admin-tab-btn.active {
  background: var(--ink);
  color: white;
}
.admin-tab-btn:hover:not(.active) {
  background: var(--bg-light);
}

/* Dashboard Cards Grid */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.admin-dash-card {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.admin-dash-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-dash-val {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
}

/* Sections */
.admin-section {
  display: none;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.admin-section.active {
  display: block;
}
.admin-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* Orders Table */
.admin-table-wrapper {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}
.admin-table th, .admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.admin-table th {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  background: var(--bg-light);
}
.admin-table tr:hover td {
  background: rgba(28,28,28,0.01);
}

/* Order Status Badge */
.status-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge.pendiente { background: rgba(255,232,0,0.12); color: #9A8300; border: 1px solid rgba(255,232,0,0.25); }
.status-badge.en-camino { background: rgba(0,168,107,0.08); color: #00A86B; border: 1px solid rgba(0,168,107,0.18); }
.status-badge.completado { background: rgba(28,28,28,0.05); color: var(--ink-soft); border: 1px solid var(--border-soft); }

/* Table Actions */
.btn-table-action {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 10px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-table-action:hover {
  background: var(--pink);
}

.status-select {
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: white;
  font-weight: 600;
  color: var(--ink);
}

/* Inventory Stocks */
.admin-search-bar {
  margin-bottom: 24px;
  position: relative;
}
.admin-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.admin-search-input:focus {
  border-color: var(--ink);
}

.admin-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-product-row {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.admin-product-row:hover {
  border-color: var(--ink);
}
.admin-product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-light);
  cursor: pointer;
  user-select: none;
}
.admin-product-img {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}
.admin-product-info {
  flex: 1;
}
.admin-product-brand {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.admin-product-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.admin-product-stock-overview {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-right: 12px;
}
.admin-product-arrow {
  transition: transform 0.25s var(--ease);
}
.admin-product-row.expanded .admin-product-arrow {
  transform: rotate(90deg);
}

.admin-product-variants {
  display: none;
  padding: 20px;
  border-top: 1px solid var(--border-soft);
  background: white;
}
.admin-product-row.expanded .admin-product-variants {
  display: block;
}
.admin-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.admin-variant-card {
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(28,28,28,0.01);
}
.admin-variant-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-variant-color-dot {
  width: 9px; height: 9px; border-radius: 1px;
  display: inline-block; border: 1px solid rgba(0,0,0,0.1);
}
.admin-variant-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-variant-input {
  width: 54px;
  padding: 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.btn-save-variant {
  padding: 6px 12px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}
.btn-save-variant:hover {
  background: var(--pink);
}

/* Success Toast */
.admin-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--ink);
  color: white;
  border: 2px solid var(--yellow);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-head);
  z-index: 100000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: slideIn 0.3s ease-out;
  letter-spacing: 0.05em;
}

/* Modal details */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  animation: modalIn 0.3s var(--ease);
}
.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-soft);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.admin-modal-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.admin-modal-close {
  background: none; border: none; cursor: pointer; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
}
.admin-modal-close:hover {
  color: var(--ink);
}
.admin-modal-body {
  font-size: 0.82rem;
  line-height: 1.45;
}
.admin-modal-section {
  margin-bottom: 20px;
}
.admin-modal-sec-title {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.admin-modal-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-modal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(28,28,28,0.05);
}
.admin-modal-item:last-child {
  border: none;
}
.admin-modal-item-img {
  width: 32px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}
.admin-modal-item-info {
  flex: 1;
}
.admin-modal-item-name {
  font-weight: 700;
  color: var(--ink);
}
.admin-modal-item-meta {
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.admin-modal-item-price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
}

/* ── Emil Kowalski keyframes ────────────────── */
/* floatUp: starts from scale(0.97)+translateY, never from scale(0) */
@keyframes floatUp {
  from { transform: translateY(8px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}
/* slideIn: admin toast slides in from left with natural scale */
@keyframes slideIn {
  from { transform: translateX(-24px) scale(0.97); opacity: 0; }
  to   { transform: translateX(0) scale(1);       opacity: 1; }
}
/* modalIn: centered scale-in, correct for modals (not popovers) */
@keyframes modalIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
/* fadeUp: hero text stagger reveal */
@keyframes fadeUp {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Scroll-reveal (managed by IntersectionObserver) ── */
/* Stagger delays for product grid — short (Emil: 30-80ms between items) */
/* Reveal: scroll-triggered fade-up for sections */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Category banner scroll reveal */
.cat-banner.reveal-on-scroll {
  opacity: 0;
  clip-path: inset(0 0 8% 0);
  transition: opacity 0.5s var(--ease-out), clip-path 0.5s var(--ease-out);
}
.cat-banner.reveal-on-scroll.revealed {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
}
/* ── prefers-reduced-motion ─────────────────── */
/* Emil: keep opacity transitions, remove transform-based motion */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card.revealed,
  .cat-banner.reveal-on-scroll,
  .cat-banner.reveal-on-scroll.revealed,
  .reveal-on-scroll,
  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
  .hero-badge, .hero-title, .hero-sub, .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .nav-mobile { transition: none; }
  .filter-drawer { transition: none; }
}

@media (max-width: 900px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .admin-view-container {
    padding: 30px 16px 60px 16px;
  }
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-section {
    padding: 16px;
}
}

/* =========================================================
   DEMO SELECTOR OVERLAY
   ========================================================= */
.demo-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-black);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-selector-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-selector-content {
  background: var(--c-white);
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.demo-selector-logo {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.demo-selector-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.demo-selector-desc {
  color: var(--c-grey-text);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.demo-option-card {
  background: var(--c-bone);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-option-card:hover {
  border-color: var(--c-black);
  transform: translateY(-4px);
  background: var(--c-white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.demo-option-icon {
  width: 64px;
  height: 64px;
  background: var(--c-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.demo-option-icon svg {
  width: 32px;
  height: 32px;
  color: var(--c-black);
}

.demo-option-card h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--c-black);
}

.demo-option-card p {
  color: var(--c-grey-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .demo-selector-content {
    padding: 2rem 1.5rem;
  }
  .demo-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .demo-option-card {
    padding: 1.5rem;
  }
  .demo-selector-title {
    font-size: 1.5rem;
  }
}



/* Emil: Mobile Press States & Stagger */
.cat-chip:active { transform: scale(0.96) !important; }
.product-card:active { transform: scale(0.98) !important; }
.btn-primary:active, .btn-outline:active, .btn-checkout:active, .newsletter-btn:active, .cat-shop-link:active { transform: scale(0.96) !important; }






/* --- EMIL DESIGN: Stagger Animations & Buttons --- */
@keyframes staggerEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-enter {
  opacity: 0;
  animation: staggerEnter 400ms var(--ease-out) forwards;
}

.stagger-enter.d-1 { animation-delay: 40ms; }
.stagger-enter.d-2 { animation-delay: 80ms; }
.stagger-enter.d-3 { animation-delay: 120ms; }
.stagger-enter.d-4 { animation-delay: 160ms; }

/* Button press feedback */
button {
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
button:active {
  transform: scale(0.97);
}

/* Elegant Receipt Card for Checkout */
.checkout-view-container {
  width: 100%;
}

.checkout-receipt-card {
  background: #fdfaf6;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
}

/* Redesigned Form Inputs */
.form-input-v2, .form-textarea-v2 {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e8e0d5;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-sizing: border-box;
  outline: none;
}
.form-input-v2::placeholder, .form-textarea-v2::placeholder {
  color: var(--ink-dim);
}
.form-input-v2:focus, .form-textarea-v2:focus {
  border-color: var(--c-primary, #C8956C);
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.12);
}

/* Subtle label styling */
.form-label-v2 {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Main checkout page wrapper ─────────────── */
.checkout-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .checkout-grid-v2 {
    padding: 48px 40px 100px;
  }
}

@media (min-width: 940px) {
  .checkout-grid-v2 {
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 56px 48px 100px;
    align-items: start;
  }
}

/* ── Column ordering ────────────────────────── */
.checkout-form-col    { order: 1; }
.checkout-summary-col { order: 2; }

@media (max-width: 939px) {
  .checkout-form-col    { order: 2; }
  .checkout-summary-col { order: 1; }
}

/* ── Form card wrapper ──────────────────────── */
.checkout-form-col {
  background: #fff;
  border: 1px solid #ece5da;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .checkout-form-col {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .checkout-receipt-card {
    padding: 22px 18px;
  }
}

/* ── Progress bar ───────────────────────────── */
.checkout-progress-container {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 20px 20px;
}
.checkout-progress {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f3ede4;
  padding: 5px;
  border-radius: 40px;
}

/* Remove duplicate order rules */

/* ══════════════════════════════════════════════
   WISHLIST
   ══════════════════════════════════════════════ */
.product-wishlist {
  transition: transform 0.2s, color 0.2s;
}
.product-wishlist.wishlisted svg {
  fill: #e05c7a;
  stroke: #e05c7a;
  color: #e05c7a;
}
.product-wishlist.wishlisted {
  color: #e05c7a;
  transform: scale(1.15);
}
#wishlist-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  background: #e05c7a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: var(--font-head);
  line-height: 1;
}

/* ══════════════════════════════════════════════
   PRODUCTION TIME BADGE (product card)
   ══════════════════════════════════════════════ */
.product-delivery-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #8b6340;
  font-weight: 600;
  margin-top: 6px;
  background: #fdf3e7;
  border: 1px solid #f0d9be;
  border-radius: 20px;
  padding: 3px 9px;
  width: fit-content;
}

/* Production time banner in product detail */
.detail-production-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fdf7f0, #fef3e5);
  border: 1.5px solid #f0d9be;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}
.detail-prod-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-prod-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  color: #7a4f20;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.detail-prod-sub {
  font-size: 0.8rem;
  color: #a07040;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   REVIEWS SECTION (product detail)
   ══════════════════════════════════════════════ */
.reviews-section {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 0 80px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.reviews-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 6px;
}
.reviews-avg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink-mid);
}
.avg-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
}
.reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .reviews-list { grid-template-columns: 1fr; }
}
.review-card {
  background: #fdfaf6;
  border: 1px solid #ece5da;
  border-radius: 14px;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8956c, #a07050);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.review-date {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 1px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  font-style: italic;
}
.review-form-wrap {
  background: #fff;
  border: 1.5px solid #ece5da;
  border-radius: 16px;
  padding: 28px;
}
.review-form-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
   HOME REVIEWS GRID
   ══════════════════════════════════════════════ */
.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.home-review-card {
  background: #fdfaf6;
  border: 1px solid #ece5da;
  border-radius: 16px;
  padding: 22px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-review-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .home-reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ═══════════════════════════════════════════════
   SOUVENIRS BLOG VIEW
   ═══════════════════════════════════════════════ */

.souvenirs-view {
  min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────── */
.sv-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-hero-img-wrap {
  position: absolute;
  inset: 0;
}
.sv-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,20,10,0.45) 0%, rgba(30,20,10,0.65) 100%);
}
.sv-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 600px;
}
.sv-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 30px;
  padding: 6px 18px;
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sv-hero-title {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.sv-hero-title span {
  color: var(--c-accent, #C8956C);
}
.sv-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Intro ─────────────────────────────────────── */
.sv-intro-section {
  background: var(--bg-light, #F8F5F0);
  padding: 64px 24px 48px;
  text-align: center;
}
.sv-intro-inner {
  max-width: 640px;
  margin: 0 auto;
}
.sv-intro-inner h2 {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--ink, #332D2D);
  margin: 10px 0 16px;
  letter-spacing: -0.01em;
}
.text-accent {
  color: var(--c-accent, #C8956C);
}
.sv-intro-sub {
  color: var(--ink-mid, #594A42);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Blog Grid ─────────────────────────────────── */
.sv-blog-section {
  padding: 48px 24px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.sv-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.sv-blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border, #E6D5C3);
  transition: box-shadow 0.25s, transform 0.25s;
}
.sv-blog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.sv-blog-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft, #EBE3D5);
}
.sv-blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.sv-blog-card:hover .sv-blog-card-img-wrap img {
  transform: scale(1.04);
}
.sv-blog-card-body {
  padding: 20px 22px 24px;
}
.sv-blog-card-tag {
  display: inline-block;
  background: var(--bg-soft, #EBE3D5);
  color: var(--c-accent, #C8956C);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.sv-blog-card-title {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #332D2D);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sv-blog-card-desc {
  font-size: 0.85rem;
  color: var(--ink-mid, #594A42);
  line-height: 1.65;
  margin-bottom: 12px;
}
.sv-blog-card-price {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-accent, #C8956C);
  margin: 0;
}
.sv-blog-card-price span {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ink-soft, #8C7A6B);
}

/* ── WhatsApp CTA ──────────────────────────────── */
.sv-cta-section {
  padding: 0 24px 72px;
  max-width: 1100px;
  margin: 0 auto;
}
.sv-cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(135deg, #1C1811, #2d2319);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.sv-cta-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sv-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 6px 14px;
  margin-bottom: 20px;
  width: fit-content;
}
.sv-cta-badge span:first-child {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}
.sv-cta-badge span:last-child {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
}
.sv-cta-title {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.sv-cta-title em {
  font-style: italic;
  opacity: 0.9;
}
.sv-cta-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 340px;
}
.sv-cta-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sv-cta-step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sv-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}
.sv-cta-step span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.sv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-head, 'Playfair Display', serif);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: fit-content;
}
.sv-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}
.sv-cta-img {
  position: relative;
  overflow: hidden;
}
.sv-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .sv-hero {
    height: 55vh;
  }
  .sv-hero-title {
    font-size: 2.4rem;
  }
  .sv-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sv-cta-card {
    grid-template-columns: 1fr;
  }
  .sv-cta-img {
    height: 250px;
    order: -1;
  }
  .sv-cta-content {
    padding: 32px 24px;
  }
  .sv-cta-title {
    font-size: 2rem;
  }
  .sv-intro-section {
    padding: 48px 20px 36px;
  }
  .sv-blog-section {
    padding: 36px 16px 48px;
  }
  .sv-cta-section {
    padding: 0 16px 56px;
  }
}
@media (min-width: 640px) and (max-width: 960px) {
  .sv-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
