/* Шрифти підключені у <head> index.html (preconnect + link rel=stylesheet) — НЕ через @import */

:root {
  --accent:     #2742d6;
  --red:        #2742d6;
  --red-dim:    rgba(39,66,214,0.10);
  --red-glow:   rgba(39,66,214,0.28);
  --orange:     #15151a;
  --green:      #18c75a;
  --gold:       #f5a623;
  --border-accent: rgba(39,66,214,0.22);
  --shadow-red:    0 6px 28px rgba(39,66,214,0.22);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.14), 0 0 0 1px rgba(39,66,214,0.12);
  --niche-font:      'Archivo', sans-serif;
  --niche-font-body: 'Inter', sans-serif;
  --grain-opacity:   0.018;
  --accent-rgb: 39,66,214;
}

body { font-family: 'Inter', var(--niche-font-body), sans-serif; }

.cart-sum-discount { color: #18c75a !important; font-weight: 700 !important; }

@keyframes heroFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,66,214,0); }
  50%       { box-shadow: 0 0 0 8px rgba(39,66,214,0.08); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 16px 24px !important;
  background: linear-gradient(135deg,
    #f8f9fe 0%,
    #f1f2f9 25%,
    #fff 50%,
    #f3f4fb 75%,
    #fff 100%) !important;
  background-size: 400% 400% !important;
  animation: heroFlow 8s ease infinite !important;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(39,66,214,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(21,21,26,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.home-greeting {
  font-family: 'Archivo', sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin-bottom: 8px !important;
}

.home-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(34px, 9vw, 56px) !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  /* line-height 1.08 — щоб крапки над Ї/Й не обрізались */
  line-height: 1.08 !important;
  padding-top: 0.08em !important;
  color: #0d0d0d !important;
  position: relative;
  z-index: 1;
  animation: titleReveal .6s cubic-bezier(.16,1,.3,1) .1s both !important;
}

.home-title br + span,
.home-title > span {
  background: linear-gradient(135deg, #2742d6 0%, #15151a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal .65s cubic-bezier(.16,1,.3,1) .2s both !important;
  display: inline-block;
  white-space: nowrap;
}

.home-counter-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 14px !important;
  padding: 6px 14px !important;
  background: rgba(39,66,214,0.07) !important;
  border: 1.5px solid rgba(39,66,214,0.18) !important;
  border-radius: 100px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  color: var(--accent) !important;
  animation: pulseGlow 3s ease-in-out infinite !important;
  position: relative;
  z-index: 1;
}

/* ── HERO TRUST CHIPS ──────────────────────────────── */
.hero-trust {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin-top: 12px !important;
  flex-wrap: nowrap !important;
  position: relative;
  z-index: 1;
}
.hero-trust-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(13,13,13,0.65) !important;
  white-space: nowrap !important;
}
.hero-trust-item svg { color: var(--accent) !important; flex-shrink: 0; }
.hero-trust-sep {
  width: 3px !important; height: 3px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,0.2) !important;
  margin: 0 10px !important;
  flex-shrink: 0 !important;
}

/* ── DAILY DEAL — eyebrow layout fix ──────────────── */
.dd-title-wrap {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

/* ── SECTION EYEBROW ───────────────────────────────── */
.sec-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin-bottom: 4px !important;
}
.sec-eyebrow-dot {
  width: 6px !important; height: 6px !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
  flex-shrink: 0 !important;
  animation: pulseGlow 2.5s ease-in-out infinite !important;
}

.live-dot {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(39,66,214,0.2) !important;
}

#gender-toggle {
  background: rgba(0,0,0,0.06) !important;
  border-radius: 100px !important;
  padding: 3px !important;
  margin: 2px 16px 14px !important;
  display: flex !important;
  gap: 1px !important;
  position: relative;
  z-index: 1;
}

.g-btn {
  flex: 1 !important;
  height: 36px !important;
  border-radius: 100px !important;
  background: transparent !important;
  border: none !important;
  color: rgba(0,0,0,0.4) !important;
  font-family: 'Archivo', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  transition: all .2s cubic-bezier(.16,1,.3,1) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.g-btn.active {
  background: #ffffff !important;
  color: #0d0d0d !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13), 0 1px 3px rgba(0,0,0,0.07) !important;
  font-weight: 900 !important;
}
.g-cnt { display: none !important; }

.sec-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 24px !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #0d0d0d !important;
}

#header {
  background: rgba(255,255,255,0.96) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important;
}
.header-logo {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #0d0d0d !important;
}
.header-logo .dot { color: var(--accent) !important; }
.header-logo small {
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 3px !important;
}

#bottom-nav {
  background: rgba(255,255,255,0.97) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}
.nav-item.active { color: var(--accent) !important; }
.nav-item.active .nav-icon::after { background: var(--accent) !important; }
.nav-item.active::before { background: var(--accent) !important; }

.product-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03) !important;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s !important;
}
.product-card:active {
  transform: scale(.96) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-card-hover) !important;
}

.card-img-wrap {
  background: linear-gradient(145deg, #fafafa, #f0f0f2) !important;
}

.card-brand {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
}


.badge-hot {
  background: var(--accent) !important;
  color: #fff !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  animation: floatBadge 2.5s ease-in-out infinite !important;
}
.badge-new  { background: rgba(24,199,90,0.14) !important; color: #18c75a !important; font-weight: 800 !important; }
.badge-sale { background: rgba(21,21,26,0.14) !important; color: #15151a !important; font-weight: 800 !important; }

.cart-checkout-btn {
  background: linear-gradient(135deg, #2742d6 0%, #1d31a8 100%) !important;
  color: #fff !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 17px !important;
  box-shadow: 0 4px 20px rgba(39,66,214,0.30) !important;
}

#cart-sticky-bar {
  background: linear-gradient(135deg, #2742d6 0%, #1d31a8 100%) !important;
  color: #fff !important;
  box-shadow: 0 -4px 24px rgba(39,66,214,0.18) !important;
}

.cod-banner {
  background: rgba(24,199,90,0.07) !important;
  border-color: rgba(24,199,90,0.20) !important;
  color: #18c75a !important;
}

.size-chip.active  {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(39,66,214,0.28) !important;
}
.range-track-fill  { background: var(--accent) !important; }
.price-range-thumb { background: var(--accent) !important; }
.size-btn.active   {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(39,66,214,0.28) !important;
}

.sheet {
  background: #ffffff !important;
  border-top-color: rgba(0,0,0,0.07) !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12) !important;
}
.sh-handle { background: rgba(0,0,0,0.10) !important; }

.form-inp, .checkout-input {
  background: #f5f5f7 !important;
  border-color: rgba(0,0,0,0.09) !important;
  color: #0d0d0d !important;
  font-family: 'Inter', sans-serif !important;
}
.form-inp:focus, .checkout-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(39,66,214,0.10) !important;
}

.brand-chip {
  background: #f5f5f7 !important;
  border-color: rgba(0,0,0,0.07) !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

.wow-marquee-item {
  color: rgba(39,66,214,0.20) !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
}

.niche-fam-chip {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.niche-fam-chip.active {
  background: rgba(39,66,214,0.09) !important;
  border-color: rgba(39,66,214,0.30) !important;
  color: var(--accent) !important;
}

.g-compact {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  margin: 8px 16px 4px;
}
.g-chip {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
  background: transparent;
  border: none;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all .2s cubic-bezier(.16,1,.3,1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  line-height: 1;
}
.g-chip:active { transform: scale(.93); }
.g-chip.active {
  background: #ffffff;
  color: #0d0d0d;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13), 0 1px 3px rgba(0,0,0,0.07);
}

.match-page-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 28px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.m-action {
  font-family: 'Archivo', sans-serif !important;
}

.contacts-banner-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 32px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.faq-question {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
}

#splash {
  background: #0d0d0d !important;
}

/* ── DESKTOP SIDE DECOR ──────────────────────────────── */
@keyframes sideFloat {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .18; }
  50%      { transform: translateY(-18px) rotate(4deg); opacity: .28; }
}
@keyframes sideFloatR {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .14; }
  50%      { transform: translateY(12px) rotate(-3deg); opacity: .22; }
}

@media (min-width: 900px) {
  body::before {
    content: 'WOW' !important;
    position: fixed !important;
    left: max(16px, calc(50% - var(--half-max) - 120px)) !important;
    top: 38vh !important;
    font-family: 'Archivo', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(48px, 5vw, 88px) !important;
    letter-spacing: .12em !important;
    color: rgba(39,66,214,.12) !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    text-transform: uppercase !important;
    animation: sideFloat 7s ease-in-out infinite !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 0 !important;
    background: none !important;
  }
}

@media (min-width: 1100px) {
  #app-root::before {
    content: '';
    position: fixed;
    right: max(16px, calc(50% - var(--half-max) - 100px));
    top: 25vh;
    width: 80px; height: 80px;
    border: 3px solid rgba(39,66,214,.14);
    border-radius: 50%;
    animation: sideFloatR 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }
  #app-root::after {
    content: '';
    position: fixed;
    right: max(24px, calc(50% - var(--half-max) - 80px));
    top: calc(25vh + 110px);
    width: 40px; height: 40px;
    background: rgba(39,66,214,.10);
    border-radius: 50%;
    animation: sideFloat 11s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
  }
}

/* ── MATCH / PARTNER NUDGE CARD ─────────────────────── */
@keyframes nudgeSlideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes nudgeSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(110%); opacity: 0; }
}

#match-nudge, #partner-nudge {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 10px);
  left: max(12px, calc(50% - var(--half-inset)));
  right: max(12px, calc(50% - var(--half-inset)));
  z-index: 250;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 12px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
#match-nudge.mn-in, #partner-nudge.mn-in {
  transform: translateY(0);
  opacity: 1;
}

.mn-ico { font-size: 26px; flex-shrink: 0; line-height: 1; }
.mn-body { flex: 1; min-width: 0; }
.mn-title {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.2;
}
.mn-sub {
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  margin-top: 2px;
  line-height: 1.3;
}
.mn-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: #2742d6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .15s;
}
.mn-btn:active { opacity: .8; }
.mn-close {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.07);
  color: rgba(0,0,0,0.45);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   DESKTOP STORE LAYOUT (≥900px) — full-width, sidebar, grid
   ============================================================ */
@media (min-width: 900px) {
  :root {
    --max-w: 1400px;
    --sidebar-w: 240px;
    --header-h: 64px;
  }

  /* Body — light aurora лишаємо, але набагато тихіше */
  body {
    padding: 0 !important;
    display: block !important;
    background: #f6f4f4 !important;
    min-height: 100vh;
  }
  body::before {
    /* прибираємо вертикальне "WOW" — заважає sidebar */
    display: none !important;
  }
  body::after {
    /* premium.css grain лишається, але aurora приглушуємо */
    opacity: 0.012 !important;
  }

  /* App container — на всю ширину з max-cap */
  #app-root {
    max-width: var(--max-w) !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
    padding: 0 !important;
    min-height: 100vh;
  }
  #app-root::before, #app-root::after { display: none !important; }

  /* ── HEADER (повна ширина, sticky) ── */
  #header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 32px !important;
    height: var(--header-h) !important;
    background: rgba(255,255,255,0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05) !important;
    z-index: 200;
  }
  .header-logo {
    flex: 0 0 auto !important;
    font-size: 22px !important;
    margin-right: 32px;
  }
  .header-logo small { display: none !important; }

  /* Desktop header nav — показуємо на ≥900px */
  #desktop-nav {
    display: flex !important;
    gap: 2px !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    margin: 0 24px !important;
  }
  .dsk-nav-btn {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    opacity: .65;
    transition: all .18s ease;
    white-space: nowrap;
  }
  .dsk-nav-btn:hover { opacity: 1 !important; background: rgba(0,0,0,0.05) !important; }
  .dsk-nav-btn.active {
    opacity: 1 !important;
    color: var(--accent) !important;
    background: rgba(39,66,214,0.09) !important;
    font-weight: 700 !important;
  }

  #cart-sticky-bar { display: none !important; }

  /* Pill nav — залишається на desktop, але ховається на match (там свайп) */
  body.on-match #bottom-nav { display: none !important; }
  /* Padding знизу — враховуємо висоту pill nav (--nav-h 64px) */
  #pages { padding-bottom: 88px !important; }
  #pwa-android, #pwa-ios { display: none !important; }
  #page-home > #gender-toggle,
  #page-match .g-compact,
  #page-catalog .g-compact { display: none !important; }

  .header-actions {
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }
  .hdr-btn {
    width: 42px; height: 42px;
    background: rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 14px !important;
    transition: all .18s ease;
    position: relative;
  }
  .hdr-btn:hover {
    background: #0d0d0d !important;
    border-color: #0d0d0d !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  }
  .hdr-btn:hover .badge { background: #2742d6 !important; }
  .hdr-btn .badge {
    border: 2px solid #fff;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
  }

  /* ── PAGES container ── */
  #pages {
    padding-top: var(--header-h) !important;
    padding-bottom: 48px !important;
    background: transparent !important;
    min-height: 100vh;
  }

  /* ── SIDEBAR (на каталозі) ── */
  #desktop-filter-sidebar {
    display: block !important;
    position: fixed !important;
    left: max(0px, calc(50% - var(--max-w) / 2)) !important;
    top: var(--header-h) !important;
    width: var(--sidebar-w) !important;
    height: calc(100vh - var(--header-h)) !important;
    background: transparent;
    border-right: 1px solid rgba(0,0,0,0.06);
    padding: 28px 24px !important;
    overflow-y: auto;
    z-index: 50;
  }
  .dsf-section + .dsf-section { margin-top: 24px; }
  .dsf-title {
    font-family: 'Archivo', sans-serif;
    font-size: 11px; font-weight: 900; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 10px;
  }
  .dsf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .dsf-chip {
    padding: 7px 14px; border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.08);
    background: transparent; color: var(--text-dim);
    font-size: 12px; font-weight: 700;
    cursor: pointer; transition: all .18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .dsf-chip:hover {
    background: rgba(0,0,0,0.04); color: var(--text);
    border-color: rgba(0,0,0,0.14);
  }
  .dsf-chip.active {
    background: var(--accent); color: #fff; border-color: var(--accent);
    box-shadow: 0 2px 10px rgba(39,66,214,0.25);
  }

  /* sidebar показуємо ТІЛЬКИ на каталозі */
  body:not(.show-sidebar) #desktop-filter-sidebar { display: none !important; }
  body.show-sidebar #pages > #page-catalog,
  body.show-sidebar #page-catalog.active { padding-left: var(--sidebar-w); }

  /* ── HOME PAGE — широка композиція ── */
  #page-home, #page-match, #page-catalog, #page-contacts {
    max-width: 100%;
    padding: 0 32px;
  }
  .home-hero {
    padding: 56px 0 32px !important;
    text-align: left;
    background: none !important;
    animation: none !important;
  }
  .home-title { font-size: clamp(48px, 5vw, 80px) !important; }
  .home-hero::before, .home-hero::after { display: none; }

  /* секції: ширші padding */
  .section { padding: 24px 0 8px !important; }
  .sec-title { font-size: 28px !important; }

  /* h-scroll рядки — на десктопі робимо їх 4-5 видимими */
  .h-scroll {
    padding: 0 0 16px !important;
    margin: 0 !important;
    gap: 16px !important;
  }
  .h-scroll .product-card,
  .h-scroll .prod-card {
    min-width: 220px !important;
    width: 220px !important;
  }

  /* ── PRODUCT GRID — 4-5 колонок ── */
  .prods-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
  }
  /* Daily deals — рівно 3 картки, max-width щоб не розбухали */
  .dd-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 0 0 28px !important;
    max-width: 880px;
  }
  /* Gift-box контейнер ширший на десктопі */
  .dd-gift-wrap {
    max-width: 560px;
    margin: 8px auto 28px !important;
    padding: 36px 28px 32px !important;
  }
  .dd-gift-box { width: 130px; height: 130px; }
  .dd-gift-cta strong { font-size: 20px; }
  .dd-gift-cta span { font-size: 13px; }
  #daily-deals-section .dd-header { max-width: 880px; }

  /* ── BRANDS — BENTO MOSAIC ── */
  .brands-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 118px !important;
    gap: 12px !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-wrap: unset !important;
  }
  .hb-card {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }
  /* Nike (rank 1) — 2×2 hero */
  .hb-card:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    border-radius: 22px !important;
  }
  .hb-card:nth-child(1) .hb-text {
    justify-content: flex-end !important;
    padding: 0 22px 20px !important;
  }
  .hb-card:nth-child(1) .hb-name { font-size: 26px !important; letter-spacing: -.6px !important; }
  .hb-card:nth-child(1) .hb-cnt  { font-size: 12px !important; margin-top: 5px !important; }
  /* Hero Nike — full-bleed, bigger image coverage */
  .hb-card:nth-child(1) .hb-bg-img {
    width: 100% !important; height: 100% !important;
    top: 0 !important; right: 0 !important;
    background-position: center 30% !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  /* Shimmer on hero — above overlay (z:1), below text (z:2) is z:3 */
  .hb-card:nth-child(1)::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.11) 50%, transparent 65%);
    animation: hbHeroShimmer 3.8s ease-in-out infinite;
    pointer-events: none; z-index: 3;
  }
  @keyframes hbHeroShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
  }
  /* New Balance (rank 2) — 2×1 wide */
  .hb-card:nth-child(2) { grid-column: span 2 !important; }
  .hb-card:nth-child(2) .hb-name,
  .hb-card:nth-child(3) .hb-name { font-size: 16px !important; }
  /* Adidas (rank 3) — 2×1 wide */
  .hb-card:nth-child(3) { grid-column: span 2 !important; }

  /* Brand visual grid */
  .brand-visual-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 16px !important; padding: 0 !important; }

  /* ── CATALOG — search bar повноширинний ── */
  .cat-search-wrap { padding: 16px 0 12px !important; background: transparent !important; }
  .cat-search { font-size: 16px !important; padding: 16px 44px 16px 48px !important; }
  .size-filter-wrap, .price-filter-wrap, #price-filter-wrap, .update-ts { padding: 0 0 12px !important; }

  /* ── CONTACTS — центрований стовпчик на desktop ── */
  #page-contacts {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .contacts-banner { padding: 56px 32px !important; margin: 32px 0 !important; }
  /* Telegram CTA — прибираємо мобільний margin 16px, даємо max-width */
  .tg-channel-cta { margin: 4px 0 18px !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
  /* CAB кнопки (Замовити сайт / WOW.STUDIO) */
  .contacts-action-row { margin: 16px 0 8px !important; max-width: 680px; margin-left: auto !important; margin-right: auto !important; }
  /* Іконки соцмереж */
  .social-actions { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 0 24px !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
  /* Список доставки */
  .contacts-list { padding: 0 0 24px !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
  /* WOW Ecosystem (WEAR / PARFUM) */
  .wow-ecosystem { margin: 20px 0 4px !important; max-width: 680px; margin-left: auto !important; margin-right: auto !important; }
  /* Інші магазини */
  .wow-stores-block { max-width: 720px; margin: 24px auto !important; }
  /* Реферальна секція */
  .ref-section { padding: 8px 0 20px !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
  /* FAQ */
  .faq-wrap { padding: 0 0 32px !important; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }

  /* ── SHEETS → CENTERED MODALS ── */
  .overlay { backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; background: rgba(0,0,0,0.55) !important; }
  .sheet {
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(0.96) !important;
    max-width: 560px !important;
    width: calc(100% - 64px) !important;
    max-height: 86vh !important;
    border-radius: 24px !important;
    opacity: 0;
    transition: transform .3s var(--ease, cubic-bezier(.16,1,.3,1)), opacity .2s ease !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.32), 0 8px 24px rgba(0,0,0,0.12) !important;
  }
  .sheet.on { transform: translate(-50%, -50%) scale(1) !important; opacity: 1; pointer-events: auto !important; visibility: visible !important; }
  .sh-handle { display: none !important; }

  /* Product detail — ширша модалка */
  #sheet-product { max-width: 920px !important; }

  /* Success view */
  #view-success { max-width: 540px; margin: 0 auto; left: 50%; transform: translateX(-50%); right: auto; padding: 56px 40px; }

  /* ── HOVER STATES (тільки тут, на десктопі) ── */
  .product-card:hover .card-img { transform: scale(1.06); }
  .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06) !important;
  }

  /* Можна вибирати/копіювати текст товарів */
  .card-name, .card-brand, .card-price,
  .pd-name, .pd-brand, .pd-price,
  .cart-name, .cart-brand, .cart-price,
  .fav-name, .fav-brand, .fav-price,
  .sec-title, .home-title, .home-greeting {
    user-select: text !important;
    -webkit-user-select: text !important;
  }

  /* ── MATCH PAGE — PC CENTERED LAYOUT ── */
  #page-match .match-top,
  #page-match .card-stage,
  #page-match .match-actions,
  #page-match .match-kb-hint {
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
  #page-match .match-hint { display: none !important; }
  .card-stage { min-height: 380px !important; }
  .m-card { cursor: grab !important; }
  .m-card:active { cursor: grabbing !important; }
  .m-card-img, .m-card-img-ph {
    aspect-ratio: 4/3 !important;
    max-height: 380px !important;
  }
  .match-actions {
    gap: 48px !important;
    padding: 20px 20px 8px !important;
  }
  .m-action {
    width: 88px !important;
    height: 88px !important;
    font-size: 34px !important;
  }
  .match-kb-hint {
    display: flex !important;
    justify-content: space-between !important;
    padding: 6px 8px 0 !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    opacity: .5 !important;
  }
}

/* Дуже широкі екрани — 5 колонок */
@media (min-width: 1440px) {
  .prods-grid { grid-template-columns: repeat(5, 1fr) !important; }
  .dd-row { grid-template-columns: repeat(5, 1fr) !important; }
}

/* ── ІНШІ МАГАЗИНИ ──────────────────────────────────── */
.wow-stores-block {
  margin: 20px 16px 4px; background: var(--bg2, #f8f8f8);
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-radius: 16px; padding: 16px;
}
.wow-stores-title {
  font-size: 13px; font-weight: 600; color: var(--text-muted, #999);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.wow-stores-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wow-store-card {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 4px; background: var(--bg3, #f0f0f0);
  border: 1px solid var(--border, rgba(0,0,0,0.06));
  border-radius: 12px; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.wow-store-card:active { opacity: .8; }
.ws-ico  { font-size: 22px; line-height: 1; }
.ws-name { font-size: 11px; color: var(--text-muted, #888); font-weight: 500; text-align: center; }
.success-stores { margin-top: 20px; width: 100%; }
.success-stores-lbl { font-size: 13px; color: var(--text-muted, #888); text-align: center; margin-bottom: 10px; }

/* ── MATCH KB HINT (hidden on mobile, shown via 900px block) ── */
.match-kb-hint { display: none; }

/* ── DESKTOP NAV ────────────────────────────────────── */
#desktop-nav {
  display: none;
  gap: 4px;
  align-items: center;
}
.dsk-nav-btn {
  background: none; border: none; font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 6px 14px; border-radius: 8px;
  transition: all .15s; color: inherit; opacity: .65;
}
.dsk-nav-btn.active, .dsk-nav-btn:hover { opacity: 1; background: rgba(39,66,214,0.08); color: var(--accent); }

/* ── ЗНАХІДКА ДНЯ — NIKE SHOEBOX ─────────────────────── */
@keyframes ddNikeGlow {
  0%,100% { box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 0 0 rgba(242,99,34,0); }
  50%     { box-shadow: 0 16px 50px rgba(0,0,0,0.65), 0 0 0 8px rgba(242,99,34,0.12); }
}
@keyframes ddNikeWiggle {
  0%,100% { transform: rotate(-2deg) translateY(0); }
  50%     { transform: rotate(2deg)  translateY(-3px); }
}

.dd-gift-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.dd-gift-wrap::before { opacity: 0 !important; }
.dd-gift-box { animation: ddNikeWiggle 3s ease-in-out infinite !important; }

/* Base — Nike orange */
.dd-gift-base {
  background: linear-gradient(170deg, #2E2E36 0%, #0F0F14 100%) !important;
  box-shadow: 0 5px 18px rgba(194,78,16,0.5), inset 0 1px 0 rgba(255,255,255,0.18) !important;
  border-radius: 4px 4px 10px 10px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  padding: 6px 8px !important;
}
/* Lid — near-black */
.dd-gift-lid {
  background: linear-gradient(180deg, #2a2a2a 0%, #1c1c1c 100%) !important;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  border-radius: 8px 8px 3px 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
/* Hide original ribbon & bow */
.dd-gift-ribbon-v { display: none !important; }
.dd-gift-bow      { display: none !important; }
.dd-gift-bow::before { display: none !important; }
.dd-gift-shine { opacity: 0.15 !important; width: 8px !important; left: 8px !important; }

/* "ЗНАХІДКА ДНЯ" on lid */
.dd-shoe-lid-label {
  font-family: 'Archivo', sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  pointer-events: none;
}
/* Nike Swoosh on box side */
.dd-shoe-swoosh {
  width: 100%;
  height: 28px;
  margin-bottom: 2px;
  flex-shrink: 0;
  pointer-events: none;
}
/* "WOW.ZNAHIDKA" at bottom of box */
.dd-shoe-base-label {
  font-family: 'Archivo', sans-serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  pointer-events: none;
  align-self: flex-end;
}
/* Confetti colors — Nike palette */
.dd-confetti span:nth-child(3n+1) { background: #2E2E36 !important; }
.dd-confetti span:nth-child(3n+2) { background: #ffffff !important; }
.dd-confetti span:nth-child(3n)   { background: #222222 !important; }

/* CTA text */
.dd-gift-cta strong { color: #0d0d0d !important; }
.dd-gift-cta span   { color: rgba(0,0,0,0.45) !important; }
.dd-gift-cta b      { color: #2E2E36 !important; }
/* Brand row */
.dd-gift-brand-logo { color: #0d0d0d !important; }
.dd-gift-brand-tag  { color: rgba(0,0,0,0.45) !important; border-color: rgba(0,0,0,0.14) !important; }
.dd-gift-brand-tag svg path { stroke: rgba(0,0,0,0.45) !important; }

/* ── SOCIAL PROOF TOAST ───────────────────────────────── */
@keyframes proofIn  { from { transform: translateY(120%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes proofOut { from { transform: translateY(0);    opacity: 1; } to { transform: translateY(120%); opacity: 0; } }
.proof-toast {
  position: fixed;
  bottom: calc(var(--nav-h, 68px) + var(--safe-bottom, 0px) + 14px);
  left: max(12px, calc(50% - var(--half-inset, 50%) + 12px));
  right: max(12px, calc(50% - var(--half-inset, 50%) + 12px));
  z-index: 240;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  pointer-events: none;
  animation: proofIn .38s cubic-bezier(.16,1,.3,1) forwards;
}
.proof-toast.out { animation: proofOut .32s ease forwards; }
.proof-toast img {
  width: 40px; height: 40px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.proof-toast-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(39,66,214,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.proof-toast-body { flex: 1; min-width: 0; font-size: 12px; color: rgba(0,0,0,0.5); line-height: 1.35; }
.proof-toast-body b { color: #0d0d0d; font-weight: 700; }
.proof-toast-body span { display: block; color: rgba(0,0,0,0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #18c75a; flex-shrink: 0; }

/* ── NOTIFY ME (size picker) ─────────────────────────── */
#sp-notify-wrap { margin: 6px 0 0; }
.sp-notify-trigger {
  width: 100%; padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px dashed rgba(39,66,214,0.22);
  background: rgba(39,66,214,0.025);
  color: var(--accent); font-size: 13px; font-weight: 600;
  font-family: 'Inter', sans-serif; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .18s;
}
.sp-notify-trigger:active { background: rgba(39,66,214,0.07); }
.sp-notify-panel { display: none; flex-direction: column; gap: 8px; padding: 10px 0 2px; }
.sp-notify-panel.open { display: flex; }
.sp-notify-label { font-size: 12px; color: rgba(0,0,0,0.45); line-height: 1.4; }
.sp-notify-row { display: flex; gap: 8px; }
.sp-notify-sz {
  flex: 0 0 80px; padding: 10px 8px;
  border-radius: 10px; border: 1.5px solid rgba(0,0,0,0.10);
  background: #f5f5f7; font-size: 14px; font-family: 'Inter', sans-serif;
  color: #0d0d0d; outline: none;
}
.sp-notify-sz:focus { border-color: var(--accent); }
.sp-notify-phone {
  flex: 1; padding: 10px 12px;
  border-radius: 10px; border: 1.5px solid rgba(0,0,0,0.10);
  background: #f5f5f7; font-size: 14px; font-family: 'Inter', sans-serif;
  color: #0d0d0d; outline: none;
}
.sp-notify-phone:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39,66,214,0.08); }
.sp-notify-send {
  width: 100%; padding: 11px; border-radius: 12px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; font-family: 'Archivo', sans-serif;
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity .15s;
}
.sp-notify-send:active { opacity: .85; }

/* ── POST-PURCHASE UPSELL ─────────────────────────────── */
.success-upsell { width: 100%; margin-top: 18px; padding: 0 0 8px; }
.success-upsell-title {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(0,0,0,0.38);
  font-family: 'Archivo', sans-serif; margin-bottom: 10px; text-align: left;
}
.success-upsell-row {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; -webkit-overflow-scrolling: touch;
}
.success-upsell-row::-webkit-scrollbar { display: none; }
.success-upsell-card { flex: 0 0 100px; scroll-snap-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.success-upsell-card img {
  width: 100px; height: 128px; object-fit: cover;
  border-radius: 10px; display: block;
}
.success-upsell-card-ph {
  width: 100px; height: 128px; border-radius: 10px;
  background: rgba(39,66,214,0.06);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.success-upsell-name {
  font-size: 11px; font-weight: 600; color: #0d0d0d;
  margin-top: 5px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px;
}

/* ── CONTACTS ACTION BUTTONS ──────────────────────────── */
@keyframes cabShimmer {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(220%)  skewX(-18deg); }
}
@keyframes cabPulseOrder {
  0%,100% { box-shadow: 0 6px 28px rgba(39,66,214,0.38), 0 2px 8px rgba(39,66,214,0.22); }
  50%     { box-shadow: 0 8px 40px rgba(39,66,214,0.60), 0 2px 12px rgba(39,66,214,0.30); }
}
@keyframes cabPulseCollab {
  0%,100% { box-shadow: 0 6px 28px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.14); }
  50%     { box-shadow: 0 8px 36px rgba(0,0,0,0.38), 0 2px 10px rgba(0,0,0,0.20); }
}
.contacts-action-row {
  display: flex; gap: 10px;
  margin: 12px 16px 4px;
}
.cab {
  flex: 1; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px;
  padding: 24px 14px 22px;
  border-radius: 22px; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.16,1,.3,1), opacity .15s;
  cursor: pointer; min-height: 130px;
}
.cab:active { transform: scale(.95); opacity: .88; }
.cab-order {
  background: linear-gradient(145deg, #2742d6 0%, #16267f 100%);
  animation: cabPulseOrder 2.6s ease-in-out infinite;
}
.cab-collab {
  background: linear-gradient(145deg, #232323 0%, #0d0d0d 100%);
  animation: cabPulseCollab 3s ease-in-out infinite;
  border: 1.5px solid rgba(255,255,255,0.09);
}
.cab-shine {
  position: absolute; top: 0; left: 0; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.20) 50%, transparent 70%);
  animation: cabShimmer 2.2s ease-in-out infinite;
  pointer-events: none;
}
.cab-collab .cab-shine {
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  animation-delay: 1.1s;
}
.cab-icon { font-size: 30px; line-height: 1; }
.cab-label {
  font-size: 14px; font-weight: 900; letter-spacing: 0.04em;
  font-family: 'Archivo', sans-serif; color: #fff;
  text-transform: uppercase; text-align: center; line-height: 1.2;
}
.cab-sub {
  font-size: 10px; color: rgba(255,255,255,0.50);
  text-align: center; line-height: 1.3;
}

/* ── WOW ECOSYSTEM ──────────────────────────────────── */
.wow-ecosystem {
  margin: 18px 16px 4px;
}
.wow-eco-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(0,0,0,0.35);
  font-family: 'Archivo', sans-serif; margin-bottom: 10px;
}
.wow-eco-row {
  display: flex; gap: 10px;
}
.wow-eco-card {
  flex: 1; display: flex; flex-direction: column;
  align-items: flex-start; gap: 4px;
  padding: 16px 14px; border-radius: 16px;
  background: #0d0d0d; color: #fff; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  min-width: 0;
}
.wow-eco-card:active { transform: scale(.96); }
.wow-eco-icon { font-size: 24px; line-height: 1; }
.wow-eco-name {
  font-size: 14px; font-weight: 900; letter-spacing: 0.04em;
  font-family: 'Archivo', sans-serif; color: #fff;
  margin-top: 6px;
}
.wow-eco-desc {
  font-size: 11px; color: rgba(255,255,255,0.48); line-height: 1.3;
}
.success-upsell-price { font-size: 12px; color: var(--accent); font-weight: 700; margin-top: 1px; }


/* ═══════════ СТИЛІСТ (перенесено з v22) ═══════════ */
#page-stylist { padding: 16px 14px 24px; }
/* ============================================================
   WOW.WEAR — IDENTITY LAYER · Editorial Monochrome
   Mood: Fashion Editorial · Ref: SSENSE, COS, Zara
   ============================================================ */
:root {
  --accent:      #2742d6;
  --accent-rgb:  39,66,214;
  --border-accent: rgba(21,21,26,0.30);
  --shadow-red:  0 6px 24px rgba(39,66,214,0.20);
  --r-xs: 4px; --r-sm: 7px; --r: 10px; --r-lg: 14px; --r-xl: 18px;
}

/* Editorial заголовки: верхній регістр, щільний трекінг */
.home-title,
.sec-title,
.match-page-title {
  font-family: 'Archivo', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
}

/* Монохромний hero — як обкладинка лукбука */
.home-hero {
  background:
    linear-gradient(115deg, rgba(21,21,26,0.045) 0%, transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f6 100%);
}

/* Картки: пласкі, графічні, з тонкою лінією замість тіні */
.card, .m-card {
  box-shadow: none;
  border: 1px solid rgba(21,21,26,0.10);
}
.card:hover, .m-card:hover {
  border-color: rgba(21,21,26,0.32);
  box-shadow: 0 10px 32px rgba(21,21,26,0.10);
}

/* Основна CTA — чорна, як у SSENSE */
.cart-checkout-btn, .exit-cta {
  background: linear-gradient(135deg, #23232a 0%, #0f0f14 100%);
}

/* ============================================================
   WOW.WEAR — EDITORIAL FASHION UPGRADE · Mauve & Charcoal
   Ref: COS, Arket, & Other Stories
   ============================================================ */
:root {
  --accent:      #9b3f6e;
  --red:         #9b3f6e;
  --red-dim:     rgba(155,63,110,0.10);
  --red-glow:    rgba(155,63,110,0.28);
  --border-accent: rgba(155,63,110,0.22);
  --shadow-red:  0 6px 28px rgba(155,63,110,0.22);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(155,63,110,0.14);
  --accent-rgb: 155,63,110;
}
.home-hero {
  background:
    radial-gradient(ellipse 70% 55% at 85% -15%, rgba(155,63,110,0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at -5% 115%, rgba(90,20,55,0.2), transparent 55%),
    linear-gradient(160deg, #120a0e 0%, #1c0f16 45%, #0f090c 100%) !important;
  min-height: 340px !important;
}
.home-hero .home-greeting { color: rgba(245,220,230,0.52) !important; }
.home-hero .home-title    { color: #faeef3 !important; font-weight:900 !important; }
.home-hero .home-title span { color: #c96a9a !important; }
.home-hero .home-subtitle  { color: rgba(245,220,230,0.6) !important; }
.cart-checkout-btn, .exit-cta { background: linear-gradient(135deg, #b34f80 0%, #7a2852 100%); }

.style-chips { display:flex; gap:8px; flex-wrap:nowrap; padding:14px 16px 2px; overflow-x:auto; scrollbar-width:none; }
.style-chips::-webkit-scrollbar { display:none; }
.style-chip { flex-shrink:0; display:inline-flex; align-items:center; gap:5px; font-family:'Archivo','Inter',sans-serif; font-size:12px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; padding:7px 14px; border-radius:99px; border:1.5px solid rgba(155,63,110,0.28); background:rgba(155,63,110,0.06); color:#7a2852; cursor:pointer; transition:all .2s; white-space:nowrap; -webkit-tap-highlight-color:transparent; }
.style-chip.active, .style-chip:hover { background:rgba(155,63,110,0.15); border-color:rgba(155,63,110,0.6); color:#9b3f6e; box-shadow:0 2px 12px rgba(155,63,110,0.2); }

/* ── PRODUCT DETAIL GALLERY ───────────────────────── */
.pd-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
  touch-action: pan-y;
  cursor: grab;
}
.pd-gallery:active { cursor: grabbing; }
.pd-gimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
.pd-gimg.pd-gimg-on { opacity: 1; pointer-events: auto; }
.pd-gimg.loaded { /* already visible */ }
.pd-gdots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.pd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .15s;
  border: 1.5px solid rgba(0,0,0,.12);
}
.pd-dot.on { background: #fff; }

/* ── CLOTHING TYPE CHIPS ────────────────────────── */
.type-filter-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 16px 2px;
}
.type-filter-wrap::-webkit-scrollbar { display: none; }

.type-chips-row {
  display: flex;
  gap: 7px;
  width: max-content;
}

.type-chip {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.type-chip:active { transform: scale(.95); }
.type-chip.on {
  background: var(--accent, #2742d6);
  border-color: var(--accent, #2742d6);
  color: #fff;
  box-shadow: 0 2px 10px rgba(39,66,214,.28);
}
.type-chip-clear {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  display: none;
  transition: color .15s;
}
.type-chip-clear.vis { display: flex; align-items: center; }
.type-chip-clear:hover { color: #333; }

/* ── PRODUCT DETAIL: MATERIAL ───────────────────── */
.pd-material {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #888;
  margin: 8px 0 0;
  padding: 6px 10px;
  background: #f7f7f9;
  border-radius: 8px;
  display: inline-block;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║   UI/UX PRO MAX — STREETWEAR PREMIUM UPGRADE             ║
   ║   Kinetic Brutalism × Fashion Dark                       ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── 1. DARK PRODUCT CARDS (streetwear premium) ─────────── */
.product-card {
  background: #0d0d0d !important;
  border-color: rgba(255,255,255,0.07) !important;
  box-shadow:
    0 2px 12px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.04) !important;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(39,66,214,0.5) !important;
    box-shadow:
      0 8px 32px rgba(0,0,0,0.5),
      0 0 0 1px rgba(39,66,214,0.35) !important;
  }
}
.card-img-wrap {
  background: #1c1c1e !important;
}
.card-img-wrap::after {
  background: radial-gradient(ellipse at center, rgba(39,66,214,0.08) 0%, transparent 70%) !important;
}
.card-body { background: #0d0d0d !important; }
.card-brand {
  color: #4f72ff !important;
}
.card-name { color: #f0f0f0 !important; }
.card-price { color: #ffffff !important; }
.card-old-price { color: rgba(255,255,255,0.28) !important; }
.card-disc { background: rgba(39,66,214,0.85) !important; }
.card-cod-chip {
  background: rgba(13,13,13,0.75) !important;
  color: #18c75a !important;
  border-color: rgba(24,199,90,0.22) !important;
}

/* Size chips on dark card */
.sz-quick-btn {
  background: rgba(255,255,255,0.07) !important;
  color: rgba(255,255,255,0.7) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.sz-quick-btn:hover {
  background: #2742d6 !important;
  color: #fff !important;
  border-color: #2742d6 !important;
}
.sz-quick-btn.sel {
  background: #2742d6 !important;
  border-color: #2742d6 !important;
}
.card-sizes-preview span,
.card-sizes-preview button {
  background: rgba(255,255,255,0.07) !important;
  color: rgba(255,255,255,0.65) !important;
  border-color: rgba(255,255,255,0.09) !important;
}
.sz-more { color: rgba(255,255,255,0.3) !important; }
.card-fomo {
  background: rgba(39,66,214,0.15) !important;
  border-color: rgba(39,66,214,0.3) !important;
  color: #7a9aff !important;
}
/* Scarcity badge */
.chip-scarcity {
  background: rgba(255,50,50,0.18) !important;
  color: #ff6b6b !important;
  border: 1px solid rgba(255,80,80,0.22) !important;
}
/* New badge */
.chip-new {
  background: rgba(39,66,214,0.85) !important;
  color: #fff !important;
}

/* ── 2. PORTRAIT RATIO FOR GRID CARDS ──────────────────── */
.product-card.grid-card .card-img-wrap {
  aspect-ratio: 4 / 5 !important;
}
.product-card.grid-card .card-img {
  object-fit: contain;
  padding: 6% !important;
}

/* ── 3. HERO MARQUEE TICKER ─────────────────────────────── */
@keyframes marqueeTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: #0d0d0d;
  padding: 9px 0;
  margin: 0 -16px;
  width: calc(100% + 32px);
  position: relative;
  z-index: 2;
}
.hero-marquee {
  display: inline-block;
  animation: marqueeTicker 22s linear infinite;
  will-change: transform;
}
.hero-marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f0f0f0;
}
.hero-marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.hero-marquee-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #2742d6;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee { animation: none; }
}

/* ── 4. HERO SECTION UPGRADE ─────────────────────────────── */
.home-hero {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d1a 40%, #080812 100%) !important;
  animation: none !important;
  padding: 28px 16px 20px !important;
}
.home-hero::before {
  background: radial-gradient(circle at 70% 30%, rgba(39,66,214,0.22) 0%, transparent 60%) !important;
  width: 280px; height: 280px;
  top: -30%; right: -5%;
}
.home-hero::after {
  background: radial-gradient(circle at 20% 80%, rgba(39,66,214,0.10) 0%, transparent 55%) !important;
  width: 180px; height: 180px;
}
.home-greeting {
  color: #4f72ff !important;
  letter-spacing: 6px !important;
  font-size: 10px !important;
}
.home-title {
  color: #f0f0f0 !important;
  font-size: clamp(32px, 8.5vw, 52px) !important;
  line-height: 1.04 !important;
}
.home-title br + span,
.home-title > span {
  background: linear-gradient(135deg, #4f72ff 0%, #2742d6 50%, #a78bfa 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.home-counter-chip {
  background: rgba(39,66,214,0.15) !important;
  border-color: rgba(39,66,214,0.35) !important;
  color: #7a9aff !important;
}
.hero-trust-item {
  color: rgba(240,240,240,0.5) !important;
}
.hero-trust-item svg { color: #4f72ff !important; }
.hero-trust-sep { background: rgba(255,255,255,0.2) !important; }

/* ── 5. GENDER TOGGLE on HERO (dark bg version) ────────── */
#gender-toggle {
  background: rgba(255,255,255,0.07) !important;
  margin: 0 16px 14px !important;
  border-radius: 100px !important;
}
.g-btn { color: rgba(255,255,255,0.35) !important; }
.g-btn.active {
  background: #f0f0f0 !important;
  color: #0d0d0d !important;
  border-color: #f0f0f0 !important;
}

/* ── 6. SECTION HEADER UPGRADE ──────────────────────────── */
.sec-head { margin-bottom: 10px; }
.sec-title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  letter-spacing: -0.02em !important;
  position: relative;
}
.sec-title::after {
  content: '';
  display: inline-block;
  width: 18px; height: 3px;
  background: #2742d6;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.sec-link {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #2742d6 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

/* ── 7. BOTTOM NAV UPGRADE ───────────────────────────────── */
#bottom-nav {
  background: rgba(13,13,13,0.95) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
.nav-item { color: rgba(255,255,255,0.32) !important; }
.nav-item.active { color: #ffffff !important; }
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 8px rgba(39,66,214,0.7)) !important;
}
.nav-item.active::before {
  background: #2742d6 !important;
  box-shadow: 0 0 10px rgba(39,66,214,0.6) !important;
  width: 32px !important;
}
.nav-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
}
.nav-icon { font-size: 21px !important; }

/* ── 8. HEADER UPGRADE ───────────────────────────────────── */
#header {
  background: rgba(13,13,13,0.96) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
.header-logo {
  color: #ffffff !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
}
.header-logo .dot { color: #2742d6 !important; }
.header-logo small { color: rgba(255,255,255,0.3) !important; }
.hdr-btn {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.hdr-btn:active { background: rgba(255,255,255,0.14) !important; }
.hdr-lang { color: rgba(255,255,255,0.55) !important; }

/* ── 9. CATALOG FILTER BAR UPGRADE ────────────────────────── */
.cat-quicks { gap: 7px !important; }
.cat-quick {
  height: 34px !important;
  font-size: 12.5px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1.5px solid rgba(255,255,255,0.09) !important;
  color: rgba(0,0,0,0.55) !important;
  font-weight: 700 !important;
}
.cat-quick.on {
  background: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #ffffff !important;
}
.cat-sort {
  background: rgba(0,0,0,0.04) !important;
  border: 1.5px solid rgba(0,0,0,0.08) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  color: #1d1d1f !important;
}

/* ── 10. TYPE CHIPS UPGRADE ─────────────────────────────── */
.type-chip {
  background: rgba(0,0,0,0.04) !important;
  border: 1.5px solid rgba(0,0,0,0.10) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  height: 34px !important;
  border-radius: 10px !important;
  color: #333 !important;
  transition: all .15s cubic-bezier(.16,1,.3,1) !important;
}
.type-chip.on {
  background: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}

/* ── 11. BRAND STORY CIRCLES UPGRADE ────────────────────── */
.cat-story-inner {
  background: #1c1c1e !important;
}
.cat-story-abbr { color: #fff !important; }
.cat-stories-hdr {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
}

/* ── 12. H-SCROLL PRODUCT ROW (dark cards look great on light bg) */
.h-scroll { padding-bottom: 6px !important; }
.h-scroll .product-card {
  min-width: 156px !important;
  width: 156px !important;
}

/* ── 13. SIZE FILTER CHIPS UPGRADE ─────────────────────── */
.sz-chip {
  background: rgba(0,0,0,0.04) !important;
  border: 1.5px solid rgba(0,0,0,0.09) !important;
  color: #444 !important;
  font-weight: 700 !important;
  height: 34px !important;
  min-width: 42px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
}
.sz-chip.on {
  background: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #ffffff !important;
}

/* ── 14. PAGE BACKGROUND UPGRADE ────────────────────────── */
#pages {
  background: #f5f5f7 !important;
}
#page-catalog {
  background: #f5f5f7;
}
#page-home {
  background: #f5f5f7;
}

/* ── 15. CATALOG SECTION BACKGROUND ─────────────────────── */
#catalog-view,
.cat-search-wrap,
.cat-quicks,
.type-filter-wrap,
.cat-bar,
.size-filter-wrap,
#price-filter-wrap,
.cat-active-filters,
.cat-meta {
  background: #f5f5f7;
}

/* ── 16. ACTIVE FILTER CHIPS ────────────────────────────── */
.cat-af-chip {
  background: #0d0d0d !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  height: 30px !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
}
.cat-af-clear {
  color: #2742d6 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}

/* ── 17. CARD ANIMATION REFINEMENT ─────────────────────── */
@keyframes cardEnterDark {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.prods-grid .product-card { animation: cardEnterDark .4s cubic-bezier(.16,1,.3,1) both; }

/* ── 18. GENDER BAR IN CATALOG (dark text, light bg) ─────── */
.cat-bar .g-chip {
  border: 1.5px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.5);
  font-weight: 700;
  height: 34px;
  border-radius: 10px;
  font-size: 12.5px;
}
.cat-bar .g-chip.active {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}

/* ── 19. SEARCH BAR UPGRADE ─────────────────────────────── */
.cat-search {
  font-weight: 600 !important;
  font-size: 14px !important;
}
.cat-search-inner {
  background: #ffffff !important;
  border: 1.5px solid rgba(0,0,0,0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
.cat-search-inner:focus-within {
  border-color: rgba(39,66,214,0.35) !important;
  box-shadow: 0 0 0 3px rgba(39,66,214,0.08) !important;
}

/* ── 20. STYLE CHIPS ON HOME (dark bg aware) ─────────────── */
.style-chip {
  background: rgba(255,255,255,0.09) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.6) !important;
}
.style-chip.active,
.style-chip:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: rgba(255,255,255,0.9) !important;
}

/* ── 21. ADD REVIEW BUTTON UPGRADE ──────────────────────── */
.add-review-btn {
  background: #ffffff !important;
  border: 1.5px solid rgba(0,0,0,0.08) !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* ── 22. PRODS GRID SLIGHT DARK TINT ────────────────────── */
.prods-grid {
  gap: 8px !important;
}


/* ╔══════════════════════════════════════════════════════════╗
   ║   DESIGN SYSTEM v2 — WOW MAGENTA × DOPAMINE             ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── GLOBAL DARK BACKGROUND ────────────────────────────── */
body, #pages, #page-home, #page-catalog, #page-match, #page-contacts,
#catalog-view, .cat-search-wrap, .cat-quicks, .type-filter-wrap,
.cat-bar, .size-filter-wrap, #price-filter-wrap, .cat-active-filters, .cat-meta {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* ── HEADER ─────────────────────────────────────────────── */
#header {
  background: rgba(11,6,16,0.97) !important;
  border-bottom: 1px solid var(--line) !important;
}
.header-logo { color: var(--text) !important; }
.header-logo .dot { color: var(--wow-magenta) !important; }
.header-logo small { color: var(--text-muted) !important; }
.hdr-btn {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text-muted) !important;
}

/* ── BOTTOM NAV ─────────────────────────────────────────── */
#bottom-nav {
  background: rgba(11,6,16,0.97) !important;
  border-top: 1px solid var(--line) !important;
}
.nav-item { color: var(--text-muted) !important; }
.nav-item.active { color: var(--wow-magenta) !important; }
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 8px rgba(255,46,147,0.7)) !important;
}
.nav-item.active::before {
  background: var(--wow-grad) !important;
  box-shadow: 0 0 12px rgba(255,46,147,0.6) !important;
  width: 36px !important;
  height: 3px !important;
}

/* ── HERO SECTION ───────────────────────────────────────── */
.home-hero {
  background: linear-gradient(180deg, #0B0610 0%, #120A16 60%, #1C1022 100%) !important;
}
.home-hero::before {
  background: radial-gradient(circle at 75% 20%, rgba(255,46,147,0.22) 0%, transparent 60%) !important;
}
.home-hero::after {
  background: radial-gradient(circle at 15% 85%, rgba(124,58,237,0.15) 0%, transparent 55%) !important;
}
.home-greeting {
  color: var(--wow-magenta) !important;
  letter-spacing: 6px !important;
}
.home-title { color: var(--text) !important; }
.home-title > span {
  background: var(--wow-grad) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.home-counter-chip {
  background: rgba(255,46,147,0.12) !important;
  border-color: rgba(255,46,147,0.30) !important;
  color: var(--wow-magenta) !important;
}
.hero-trust-item { color: var(--text-muted) !important; }
.hero-trust-item svg { color: var(--pop-cyan) !important; }
.hero-trust-sep { background: rgba(255,255,255,0.15) !important; }

/* ── HERO MARQUEE (magenta dots) ────────────────────────── */
.hero-marquee-wrap { background: #0B0610 !important; }
.hero-marquee-inner { color: var(--text-soft) !important; }
.hero-marquee-dot { background: var(--wow-magenta) !important; }

/* ── GENDER TOGGLE ──────────────────────────────────────── */
#gender-toggle {
  background: var(--surface) !important;
}
.g-btn { color: var(--text-muted) !important; }
.g-btn.active {
  background: var(--wow-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(255,46,147,0.35) !important;
}

/* ── STYLE CHIPS ────────────────────────────────────────── */
.style-chip {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text-muted) !important;
}
.style-chip.active, .style-chip:hover {
  background: rgba(255,46,147,0.15) !important;
  border-color: rgba(255,46,147,0.40) !important;
  color: var(--wow-magenta) !important;
}

/* ── SECTION HEADERS ────────────────────────────────────── */
.sec-title {
  color: var(--text) !important;
  font-family: 'Archivo', sans-serif !important;
  font-weight: 900 !important;
}
.sec-title::after {
  background: var(--wow-grad) !important;
}
.sec-link { color: var(--wow-magenta) !important; }

/* ── PRODUCT CARDS ──────────────────────────────────────── */
.product-card {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(255,46,147,0.40) !important;
    box-shadow: 0 8px 32px rgba(255,46,147,0.20), 0 0 0 1px rgba(255,46,147,0.25) !important;
  }
}
.card-img-wrap { background: var(--surface-2) !important; }
.card-body { background: var(--surface) !important; }
.card-brand { color: var(--wow-magenta) !important; }
.card-name { color: var(--text-soft) !important; }
.card-price { color: var(--text) !important; }
.card-old-price { color: var(--text-muted) !important; }
.card-disc { background: var(--wow-grad) !important; }
.card-cod-chip {
  background: rgba(41,231,203,0.10) !important;
  color: var(--pop-cyan) !important;
  border-color: rgba(41,231,203,0.22) !important;
}

/* ── SIZE CHIPS ON CARD ─────────────────────────────────── */
.sz-quick-btn, .card-sizes-preview span, .card-sizes-preview button {
  background: rgba(255,255,255,0.07) !important;
  color: var(--text-muted) !important;
  border-color: var(--line) !important;
}
.sz-quick-btn:hover {
  background: var(--wow-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.sz-quick-btn.sel {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ── CATALOG FILTER CHIPS ───────────────────────────────── */
.cat-quick {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  height: 34px !important;
  border-radius: 10px !important;
}
.cat-quick.on {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}
.cat-sort {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-soft) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

/* ── TYPE CHIPS ─────────────────────────────────────────── */
.type-chip {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  height: 34px !important;
  border-radius: 10px !important;
}
.type-chip.on {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}

/* ── SIZE FILTER ────────────────────────────────────────── */
.sz-chip {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  height: 34px !important;
  border-radius: 10px !important;
}
.sz-chip.on {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}

/* ── GENDER CHIPS IN CATALOG ────────────────────────────── */
.cat-bar .g-chip {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
}
.cat-bar .g-chip.active {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}

/* ── SEARCH BAR ─────────────────────────────────────────── */
.cat-search-inner {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 14px !important;
}
.cat-search-inner:focus-within {
  border-color: rgba(255,46,147,0.50) !important;
  box-shadow: 0 0 0 3px rgba(255,46,147,0.12) !important;
}
.cat-search { color: var(--text) !important; }
.cat-search::placeholder { color: var(--text-muted) !important; }
.cat-search-icon { color: var(--text-muted) !important; }

/* ── ACTIVE FILTER CHIPS ────────────────────────────────── */
.cat-af-chip {
  background: rgba(255,46,147,0.15) !important;
  color: var(--wow-magenta) !important;
  border: 1px solid rgba(255,46,147,0.30) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}
.cat-af-clear { color: var(--pop-cyan) !important; font-weight: 700 !important; }

/* ── CTA BUTTONS ────────────────────────────────────────── */
.checkout-submit, .sp-confirm-btn, .btn-primary, [class*="order-btn"], .cart-cta-btn {
  background: var(--wow-grad) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: var(--shadow-glow) !important;
}
.checkout-submit:active, .sp-confirm-btn:active {
  transform: scale(0.97) !important;
  box-shadow: 0 6px 20px rgba(255,46,147,0.30) !important;
}

/* ── BADGES / NEÓN POPS ─────────────────────────────────── */
.chip-new, .dd-new {
  background: var(--wow-grad) !important;
  color: #fff !important;
  border: none !important;
}
.chip-scarcity, .dd-hot, [class*="badge-hot"] {
  background: rgba(215,255,62,0.15) !important;
  color: var(--pop-lime) !important;
  border: 1px solid rgba(215,255,62,0.30) !important;
}
.chip-cod, .dd-cod {
  background: rgba(41,231,203,0.12) !important;
  color: var(--pop-cyan) !important;
  border: 1px solid rgba(41,231,203,0.22) !important;
}

/* ── MATCH PAGE ─────────────────────────────────────────── */
.match-page-title { color: var(--text) !important; }
.match-card { background: var(--surface) !important; border-color: var(--line) !important; }
.match-like-btn {
  background: var(--wow-grad) !important;
  box-shadow: var(--shadow-glow) !important;
}
.match-skip-btn {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--text-muted) !important;
}

/* ── CONTACTS PAGE ──────────────────────────────────────── */
#page-contacts { background: var(--bg) !important; color: var(--text) !important; }
.contacts-wrap { background: var(--surface) !important; }
.contact-item { border-color: var(--line) !important; color: var(--text-soft) !important; }
.cab-icon { color: var(--wow-magenta) !important; }

/* ── STORY CIRCLES ──────────────────────────────────────── */
.cat-story-inner {
  background: var(--surface-2) !important;
  border-color: rgba(255,46,147,0.25) !important;
}
.cat-story-abbr { color: var(--text) !important; }

/* ── REVIEWS ────────────────────────────────────────────── */
.review-card { background: var(--surface) !important; border-color: var(--line) !important; }
.review-author { color: var(--text) !important; }
.review-text { color: var(--text-soft) !important; }
.review-loc { color: var(--text-muted) !important; }

/* ── PRODUCT MODAL ──────────────────────────────────────── */
.pd-sheet, .modal-sheet {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}
.pd-name { color: var(--text) !important; }
.pd-price { color: var(--text) !important; }
.pd-brand { color: var(--wow-magenta) !important; }
.pd-material {
  background: rgba(41,231,203,0.10) !important;
  color: var(--pop-cyan) !important;
  border: 1px solid rgba(41,231,203,0.18) !important;
}
.pd-sz-chip {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--text-muted) !important;
}
.pd-sz-chip.active {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.pd-buy-btn {
  background: var(--wow-grad) !important;
  box-shadow: var(--shadow-glow) !important;
  color: #fff !important;
  border: none !important;
}
.overlay-backdrop, .modal-backdrop { background: rgba(11,6,16,0.85) !important; }

/* ── SCROLLBAR DARK ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,46,147,0.40); }

/* ── SPLASH / PWA ────────────────────────────────────────── */
#splash { background: var(--bg) !important; }
.splash-logo { color: var(--text) !important; }
.splash-dot { background: var(--wow-magenta) !important; }
.pwa-banner {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.pwa-install-btn {
  background: var(--wow-grad) !important;
  color: #fff !important;
  border: none !important;
}

/* ── PRICE FILTER ───────────────────────────────────────── */
#price-filter-wrap input[type=range]::-webkit-slider-thumb {
  background: var(--wow-magenta) !important;
  box-shadow: 0 0 8px rgba(255,46,147,0.5) !important;
}
#price-filter-wrap input[type=range]::-webkit-slider-runnable-track {
  background: var(--surface-2) !important;
}
.price-range-label { color: var(--text-muted) !important; }

/* ── META / COUNTS ──────────────────────────────────────── */
.cat-meta, .cat-count { color: var(--text-muted) !important; }


/* ╔══════════════════════════════════════════════════════════╗
   ║   ІНФО-СТОРІНКА: СТУДІЯ + RESPONSIVE                    ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── STUDIO PROMO CARD ───────────────────────────────────── */
.studio-promo-row {
  padding: 0 16px 16px;
}
.studio-promo-card {
  background: linear-gradient(135deg, rgba(255,46,147,0.12) 0%, rgba(124,58,237,0.12) 100%);
  border: 1px solid rgba(255,46,147,0.25);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.studio-promo-tag {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wow-magenta);
  margin-bottom: 4px;
}
.studio-promo-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  font-family: 'Archivo', sans-serif;
  line-height: 1.1;
  margin-bottom: 3px;
}
.studio-promo-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}
.studio-promo-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .15s;
}
.studio-btn:active { opacity: 0.75; }
.studio-btn-tg {
  background: var(--wow-grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,46,147,0.30);
}
.studio-btn-web {
  background: rgba(255,255,255,0.07);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ── CAB BUTTONS: SVG ICONS ───────────────────────────────── */
.cab-icon svg { display: block; }

/* ── BOTTOM NAV REFINEMENT ───────────────────────────────── */
#bottom-nav {
  height: 60px !important;
}
.nav-item {
  gap: 2px !important;
  padding: 6px 4px !important;
}
.nav-label {
  font-size: 9px !important;
  letter-spacing: 0.04em !important;
}
.nav-icon svg {
  width: 20px !important;
  height: 20px !important;
}

/* ── TABLET RESPONSIVE (600–1024px) ─────────────────────── */
@media (min-width: 600px) and (max-width: 1023px) {
  :root { --max-w: 700px; }

  .prods-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  .home-title {
    font-size: 44px !important;
  }

  .contacts-action-row {
    gap: 16px !important;
  }
  .cab {
    padding: 18px 20px !important;
  }

  .studio-promo-card {
    padding: 20px 24px;
  }
  .studio-promo-title { font-size: 18px; }
  .studio-promo-btns { flex-direction: row; }

  .cat-quicks { gap: 8px !important; }
  .type-chips-row { gap: 8px !important; }
}

/* ── DESKTOP (1024px+) ───────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --max-w: 1200px; }

  /* Grid: 4 колонки */
  .prods-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 !important;
  }

  /* Cards: не тягнуть ліворуч/праворуч — ширина фіксована */
  .product-card.grid-card {
    min-width: 0 !important;
  }

  .home-hero {
    padding: 48px 32px 40px !important;
    min-height: 300px !important;
  }
  .home-title {
    font-size: clamp(40px, 5vw, 64px) !important;
  }

  .section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hide mobile-only bottom nav on large screens */
  #bottom-nav { display: none !important; }

  /* Desktop top nav is visible */
  #header .dsk-nav { display: flex !important; }

  .cat-search-wrap { padding: 12px 0 !important; }
  .cat-quicks { gap: 10px !important; }
  .type-filter-wrap { padding: 8px 0 !important; }

  /* 3-column hero stats */
  .hero-trust {
    gap: 20px !important;
  }

  /* Wider contacts layout */
  .contacts-action-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .studio-promo-btns { flex-direction: row; }

  /* Match: wider card */
  .card-stage { max-width: 440px; margin: 0 auto; }
}

/* ── LARGE DESKTOP (1440px+) ────────────────────────────── */
@media (min-width: 1440px) {
  .prods-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* ── CATALOG CATEGORIES VIEW ─────────────────────────────── */
.cat-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 8px 0 16px;
}
.cat-cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  aspect-ratio: 1/1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
}
.cat-cat-card:active {
  border-color: rgba(255,46,147,0.40) !important;
}
.cat-cat-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.cat-cat-name {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: #fff;
  text-align: center;
  padding: 0 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.cat-cat-count {
  position: relative;
  z-index: 1;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-top: 2px;
}
.cat-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
}

/* Category back button */
.cat-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background .15s;
}
.cat-back-btn:active { background: var(--surface-2); }
.cat-back-btn svg { flex-shrink: 0; }

/* ── MATCH PAGE IMPROVEMENTS ─────────────────────────────── */
#page-match.active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h) - var(--header-h));
  padding-bottom: calc(var(--nav-h) + 20px);
}
.card-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
#current-match-card {
  width: calc(100% - 32px);
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.match-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 12px 0 6px;
}
.m-action {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.m-action:active { transform: scale(0.90); }
.m-nope {
  background: var(--surface-2);
  border: 2px solid rgba(255,255,255,0.10);
  color: var(--text-muted);
  font-size: 22px;
}
.m-like {
  background: var(--wow-grad);
  box-shadow: 0 6px 24px rgba(255,46,147,0.45);
  color: #fff;
  width: 72px; height: 72px;
  font-size: 28px;
}
.m-like:active {
  box-shadow: 0 2px 10px rgba(255,46,147,0.30);
}
.match-kb-hint {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.match-top {
  padding: 12px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.match-page-title {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Archivo', sans-serif;
  color: var(--text);
}
.match-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 16px 6px;
  font-weight: 500;
}
.g-compact { padding: 0 16px 8px; display: flex; gap: 8px; }


/* ── FAQ SIZE TABLE ─────────────────────────────────────── */
.faq-size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 8px;
  font-size: 13px;
}
.faq-size-table th {
  background: rgba(255,46,147,0.12);
  color: var(--wow-magenta);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,46,147,0.20);
}
.faq-size-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 600;
}
.faq-size-table td:first-child {
  font-weight: 900;
  font-family: 'Archivo', sans-serif;
  color: var(--text);
  font-size: 14px;
}
.faq-size-table tr:last-child td { border-bottom: none; }
.faq-size-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.faq-size-note {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 4px 2px 2px;
}
.faq-a { white-space: pre-line; }

/* ── FAQ OVERALL DARK STYLE ────────────────────────────── */
.faq-block {
  background: var(--surface) !important;
  border-radius: 18px !important;
  border: 1px solid var(--line) !important;
  overflow: hidden;
}
.faq-block-hdr {
  background: rgba(255,46,147,0.08) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 14px 18px !important;
}
.faq-block-ttl { color: var(--text) !important; font-weight: 800 !important; }
.faq-block-ico { color: var(--wow-magenta) !important; }
.faq-item {
  border-bottom: 1px solid var(--line) !important;
}
.faq-item:last-child { border-bottom: none !important; }
.faq-q {
  color: var(--text-soft) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.faq-toggle {
  color: var(--wow-magenta) !important;
  font-size: 20px !important;
  font-weight: 300 !important;
}
.faq-a {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* ── SIZE BUTTONS — підвищена видимість у темній темі ── */
.sz-btn {
  background: var(--bg4) !important;
  border: 1.5px solid rgba(255,255,255,0.22) !important;
  color: var(--text) !important;
}
.sz-btn.sel {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(255,46,147,0.40) !important;
}
.sz-btn.sel .sz-qty { color: rgba(255,255,255,0.65) !important; }
.sz-btn-last {
  border-color: rgba(255,46,147,0.45) !important;
  color: var(--red) !important;
  background: rgba(255,46,147,0.10) !important;
}

/* ── SIZE QUICK CHIPS ON CARDS — більш помітні ── */
.sz-quick-btn,
.card-sizes-preview span,
.card-sizes-preview button {
  background: rgba(255,255,255,0.12) !important;
  color: var(--text-soft) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
}

/* ── SIZE FILTER CHIPS — помітніша рамка ── */
.sz-chip {
  background: var(--surface-2) !important;
  border: 1.5px solid rgba(255,255,255,0.22) !important;
  color: var(--text-soft) !important;
}
.sz-chip.on {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}

/* ── PRODUCT DETAIL SIZE CHIPS ── */
.pd-sz-chip {
  background: var(--bg4) !important;
  border: 1.5px solid rgba(255,255,255,0.22) !important;
  color: var(--text-soft) !important;
}
.pd-sz-chip.active {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}

/* ── TYPE FILTER CHIPS — краще читаються ── */
.type-chip {
  background: var(--surface-2) !important;
  border: 1.5px solid rgba(255,255,255,0.18) !important;
  color: var(--text-soft) !important;
}

/* ── CART CTA + STICKY BAR → wow-grad ───────────────────── */
.cart-checkout-btn {
  background: var(--wow-grad) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: var(--shadow-glow) !important;
}
.cart-checkout-btn:hover {
  box-shadow: 0 8px 32px rgba(255,46,147,0.50) !important;
}
#cart-sticky-bar {
  background: var(--wow-grad) !important;
  color: #fff !important;
  box-shadow: 0 -4px 24px rgba(255,46,147,0.25), 0 8px 32px rgba(0,0,0,0.4) !important;
}
.csb-badge { background: rgba(0,0,0,0.18) !important; }

/* ── LIGHT THEME OVERRIDES ───────────────────────────────── */
[data-theme="light"] #header {
  background: rgba(255,246,251,0.96) !important;
  border-bottom: 1px solid rgba(255,46,147,0.12) !important;
}
[data-theme="light"] .header-logo { color: var(--text) !important; }
[data-theme="light"] .hdr-btn {
  background: rgba(255,46,147,0.06) !important;
  border-color: rgba(255,46,147,0.14) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] #bottom-nav {
  background: rgba(255,246,251,0.97) !important;
  border-top: 1px solid rgba(255,46,147,0.10) !important;
}
[data-theme="light"] .nav-item { color: var(--text-muted) !important; }
[data-theme="light"] .nav-item.active { color: var(--wow-magenta) !important; }
[data-theme="light"] .home-hero {
  background: linear-gradient(160deg, #fff0f8 0%, #ffeaf6 50%, #fff6fb 100%) !important;
}
[data-theme="light"] .home-hero::before {
  background: radial-gradient(circle at 75% 20%, rgba(255,46,147,0.14) 0%, transparent 60%) !important;
}
[data-theme="light"] .home-hero::after {
  background: radial-gradient(circle at 15% 85%, rgba(124,58,237,0.08) 0%, transparent 55%) !important;
}
[data-theme="light"] .home-title { color: var(--text) !important; }
[data-theme="light"] .hero-marquee-wrap { background: #fff0f6 !important; }
[data-theme="light"] .hero-marquee-inner { color: var(--text) !important; }
[data-theme="light"] #gender-toggle { background: rgba(255,46,147,0.06) !important; }
[data-theme="light"] .g-btn { color: var(--text-muted) !important; }
[data-theme="light"] .product-card {
  background: #fff !important;
  border-color: rgba(255,46,147,0.10) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .card-img-wrap { background: #fff6fb !important; }
[data-theme="light"] .card-body { background: #fff !important; }
[data-theme="light"] .cat-quick {
  background: #fff !important;
  border-color: rgba(255,46,147,0.14) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] .type-chip,
[data-theme="light"] .sz-chip {
  background: #fff !important;
  border-color: rgba(255,46,147,0.14) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] #page-catalog,
[data-theme="light"] #page-home,
[data-theme="light"] #pages,
[data-theme="light"] #catalog-view,
[data-theme="light"] .cat-search-wrap,
[data-theme="light"] .cat-quicks,
[data-theme="light"] .type-filter-wrap,
[data-theme="light"] .cat-bar,
[data-theme="light"] .size-filter-wrap,
[data-theme="light"] #price-filter-wrap,
[data-theme="light"] .cat-active-filters,
[data-theme="light"] .cat-meta {
  background: var(--bg) !important;
}
[data-theme="light"] .sheet { background: #fff !important; }
[data-theme="light"] .cat-search { background: #fff !important; color: var(--text) !important; }
[data-theme="light"] .cat-search-inner { background: #fff !important; border-color: rgba(255,46,147,0.14) !important; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  WOW.WEAR DARK CORRECTIONS — перекриваємо залишки білого ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── SHEETS: кошик, лайки, розмір, оформлення ─────────────── */
.sheet {
  background: var(--surface) !important;
  border-top: 1px solid var(--line) !important;
  box-shadow: 0 -12px 60px rgba(0,0,0,0.70) !important;
  border-radius: 24px 24px 0 0 !important;
}
.sh-handle { background: rgba(255,255,255,0.12) !important; }
.sh-title { color: var(--text) !important; }
.sh-empty { color: var(--text-muted) !important; }
.sh-empty p { color: var(--text-muted) !important; }

/* ── FORM INPUTS: форма замовлення ──────────────────────────── */
.form-inp, .checkout-input {
  background: var(--bg3) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text) !important;
  font-family: 'Inter', sans-serif !important;
}
.form-inp::placeholder, .checkout-input::placeholder { color: var(--text-muted) !important; }
.form-inp:focus, .checkout-input:focus {
  border-color: rgba(255,46,147,0.50) !important;
  box-shadow: 0 0 0 3px rgba(255,46,147,0.12) !important;
}
.form-lbl { color: var(--text-soft) !important; }
.form-err-msg { color: rgba(255,80,100,0.90) !important; }
.deliv-tab { background: var(--bg3) !important; border-color: var(--line) !important; color: var(--text-muted) !important; }
.deliv-tab.on { background: var(--wow-grad) !important; border-color: transparent !important; color: #fff !important; }
.cod-banner { background: rgba(41,231,203,0.08) !important; border-color: rgba(41,231,203,0.20) !important; }
.cod-title { color: var(--pop-cyan) !important; }
.cod-sub { color: var(--text-muted) !important; }

/* ── CART SUMMARY ────────────────────────────────────────────── */
.cart-summary { border-color: var(--line) !important; }
.cart-sum-row { color: var(--text-soft) !important; border-color: var(--line) !important; }
.cart-sum-total { color: var(--text) !important; border-color: rgba(255,46,147,0.25) !important; }
#cart-list .sh-empty-ico { font-size: 48px; }

/* ── FAVORITES / ЛАЙКИ ──────────────────────────────────────── */
#sheet-fav .sh-title { color: var(--wow-magenta) !important; }
.fav-item, .cart-item { background: var(--surface-2) !important; border-color: var(--line) !important; }
.fav-item-name, .cart-item-name { color: var(--text) !important; }
.fav-item-price, .cart-item-price { color: var(--wow-magenta) !important; }
.fav-item-brand, .cart-item-brand { color: var(--text-muted) !important; }
.fav-remove, .cart-remove { color: var(--text-muted) !important; background: var(--bg3) !important; }

/* ── SIZE PICKER SHEET ──────────────────────────────────────── */
.sp-product { color: var(--text) !important; }
.sp-sublabel { color: var(--text-muted) !important; }
.sp-size-btn, .sp-grid button {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--text-soft) !important;
}
.sp-size-btn.active, .sp-size-btn.sel, .sp-grid button.active {
  background: var(--wow-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.35) !important;
}
.sp-urgency { color: var(--pop-lime) !important; }
.sp-photo-btn {
  background: var(--surface-2) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text-soft) !important;
}

/* ── MATCH NUDGE ────────────────────────────────────────────── */
#match-nudge, #partner-nudge {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.60) !important;
}
.mn-title { color: var(--text) !important; }
.mn-sub { color: var(--text-muted) !important; }
.mn-btn { background: var(--wow-grad) !important; color: #fff !important; }
.mn-close { background: var(--surface-2) !important; color: var(--text-muted) !important; }

/* ── DESKTOP: тіло та хедер в тілі ─────────────────────────── */
@media (min-width: 900px) {
  body { background: var(--ink) !important; }
  #header {
    background: rgba(11,6,16,0.97) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    box-shadow: 0 1px 0 rgba(255,46,147,0.08) !important;
  }
  .header-logo { color: var(--text) !important; }
  .dsk-nav-btn { color: var(--text-muted) !important; }
  .dsk-nav-btn:hover { background: rgba(255,46,147,0.07) !important; color: var(--text) !important; opacity: 1 !important; }
  .dsk-nav-btn.active {
    color: var(--wow-magenta) !important;
    background: rgba(255,46,147,0.10) !important;
  }
}

/* ── PRICE FILTER: fill → magenta ───────────────────────────── */
.price-track-fill { background: var(--wow-grad) !important; }
.price-track-bg   { background: rgba(255,255,255,0.08) !important; }
#price-filter-wrap input[type=range]::-webkit-slider-thumb {
  background: var(--wow-magenta) !important;
  border: 3px solid var(--bg) !important;
  box-shadow: 0 0 10px rgba(255,46,147,0.55) !important;
  width: 22px !important; height: 22px !important;
}
#price-filter-wrap input[type=range]::-moz-range-thumb {
  background: var(--wow-magenta) !important;
  border: 3px solid var(--bg) !important;
  box-shadow: 0 0 10px rgba(255,46,147,0.55) !important;
}
.price-slider-lbl  { color: var(--text-muted) !important; }
.price-slider-vals { color: var(--wow-magenta) !important; font-weight: 800 !important; }

/* ── PWA INSTALL BANNER ─────────────────────────────────────── */
#pwa-android {
  position: fixed; bottom: calc(var(--nav-h) + 12px + var(--safe-bottom, 0px));
  left: max(12px, calc(50% - var(--half-inset)));
  right: max(12px, calc(50% - var(--half-inset)));
  z-index: 290;
  background: linear-gradient(135deg, #1C1022 0%, #271533 100%) !important;
  border: 1px solid rgba(255,46,147,0.25) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.70), 0 0 0 1px rgba(255,46,147,0.10) !important;
  padding: 14px 16px !important;
  display: flex !important; align-items: center !important; gap: 12px !important;
  transform: translateY(120%);
  transition: transform .38s cubic-bezier(.16,1,.3,1) !important;
}
#pwa-android.on { transform: translateY(0) !important; }
.pwa-ico { font-size: 32px !important; flex-shrink: 0 !important; line-height: 1 !important; }
.pwa-text { flex: 1 !important; min-width: 0 !important; }
.pwa-title { font-size: 14px !important; font-weight: 900 !important; color: var(--text) !important; font-family: 'Archivo',sans-serif !important; letter-spacing: .04em !important; }
.pwa-sub   { font-size: 11px !important; color: var(--text-muted) !important; margin-top: 2px !important; }
.pwa-install-btn {
  flex-shrink: 0 !important;
  background: var(--wow-grad) !important;
  color: #fff !important; border: none !important;
  padding: 9px 16px !important; border-radius: 10px !important;
  font-size: 13px !important; font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255,46,147,0.40) !important;
  white-space: nowrap !important;
}
.pwa-close {
  position: absolute !important; top: 10px !important; right: 12px !important;
  background: rgba(255,255,255,0.07) !important;
  border: none !important; border-radius: 50% !important;
  width: 26px !important; height: 26px !important;
  color: var(--text-muted) !important; font-size: 13px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important;
}

/* iOS PWA sheet */
#pwa-ios {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important; right: 0 !important;
  z-index: 290;
  background: linear-gradient(160deg, #1C1022 0%, #271533 100%) !important;
  border-top: 1px solid rgba(255,46,147,0.20) !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: 0 -12px 48px rgba(0,0,0,0.70) !important;
  padding: 20px 20px calc(20px + var(--safe-bottom, 0px)) !important;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.16,1,.3,1) !important;
}
#pwa-ios.on { transform: translateY(0) !important; }
.pwa-ios-title {
  font-family: 'Archivo', sans-serif !important;
  font-size: 17px !important; font-weight: 900 !important;
  color: var(--text) !important; margin-bottom: 14px !important;
  letter-spacing: .03em !important;
}
.pwa-ios-steps {
  font-size: 14px !important; line-height: 1.9 !important;
  color: var(--text-soft) !important; margin-bottom: 18px !important;
}
.pwa-ios-steps strong { color: var(--text) !important; font-weight: 700 !important; }
.pwa-ios-ok {
  width: 100% !important;
  background: var(--wow-grad) !important; color: #fff !important; border: none !important;
  padding: 14px 0 !important; border-radius: 14px !important;
  font-size: 15px !important; font-weight: 800 !important;
  box-shadow: var(--shadow-glow) !important;
  font-family: 'Archivo', sans-serif !important;
}

/* ── STACKING: nudge вище PWA коли обидва видимі ───────────── */
#match-nudge, #partner-nudge {
  z-index: 310 !important;
}
/* коли PWA android показано — піднімаємо нюдж вище нього */
body:has(#pwa-android.on) #match-nudge,
body:has(#pwa-android.on) #partner-nudge {
  bottom: calc(var(--nav-h, 64px) + var(--safe-bottom, 0px) + 86px) !important;
}

/* ── SEARCH SUGGESTIONS ─────────────────────────────────────── */
.search-sugg { background: var(--surface) !important; border-color: var(--line) !important; }
.sugg-item { color: var(--text-soft) !important; border-color: var(--line) !important; }
.sugg-item:hover, .sugg-item:active { background: rgba(255,46,147,0.10) !important; color: var(--wow-magenta) !important; }
.sugg-brand { color: var(--wow-magenta) !important; }

/* ── REF / SHARE SHEET ──────────────────────────────────────── */
.ref-url-box { background: var(--bg3) !important; border-color: var(--line) !important; color: var(--text) !important; }
.ref-copy-btn { background: var(--wow-grad) !important; color: #fff !important; border: none !important; }

