/* ============================================================
   WOW.ZNAHIDKA — LAYOUT
   Splash · Header · Nav · Gender · Pages · Sheets · Overlay
   ============================================================ */

/* ── APP CONTAINER — centered at 480px on all viewports ── */
/*
   Fixed elements can't be constrained by a parent, so we use
   max(0px, calc(50% - 240px)) as both left and right. This computes to:
     • 0px  when viewport ≤ 480px  → element fills the full screen (mobile)
     • >0px when viewport  > 480px → element auto-centers at 480px (desktop)
   No transform needed, so no conflict with translateY animations on sheets.
*/
:root {
  --half-max: 240px; --half-inset: 228px;
}
@media (min-width: 640px)  { :root { --half-max: 270px;  --half-inset: 258px; } }
@media (min-width: 1024px) { :root { --half-max: 300px;  --half-inset: 288px; } }
@media (min-width: 1280px) { :root { --half-max: 330px;  --half-inset: 318px; } }

body { background: #f0eded; }

@keyframes auroraA {
  0%,100% { transform: translate(0,0)      scale(1);    opacity: .7; }
  33%      { transform: translate(6%,-8%)   scale(1.12); opacity: .9; }
  66%      { transform: translate(-5%,6%)   scale(.92);  opacity: .55; }
}
@keyframes auroraB {
  0%,100% { transform: translate(0,0)      scale(1);    opacity: .5; }
  40%      { transform: translate(-8%,10%)  scale(.88);  opacity: .75; }
  75%      { transform: translate(7%,-7%)   scale(1.1);  opacity: .38; }
}
@keyframes auroraC {
  0%,100% { transform: translate(0,0)      scale(1);    opacity: .4; }
  50%      { transform: translate(10%,5%)   scale(1.15); opacity: .65; }
}

@media (min-width: 481px) {
  body {
    display: flex; align-items: flex-start; justify-content: center; min-height: 100vh;
  }

  body::before {
    content: ''; position: fixed; inset: 0; z-index: -2;
    background: #f5f0f0;
  }

  body::after {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background:
      radial-gradient(ellipse 45vw 55vh at 8%  30%, rgba(255,62,62,.22) 0%, transparent 60%),
      radial-gradient(ellipse 40vw 50vh at 92% 70%, rgba(255,120,26,.18) 0%, transparent 60%),
      radial-gradient(ellipse 30vw 40vh at 50% 10%, rgba(255,62,62,.12) 0%, transparent 55%),
      radial-gradient(ellipse 35vw 45vh at 15% 85%, rgba(255,160,60,.16) 0%, transparent 55%),
      radial-gradient(ellipse 28vw 35vh at 88% 15%, rgba(255,62,62,.18) 0%, transparent 50%);
    animation: auroraA 14s ease-in-out infinite;
  }

  #app-root {
    position: relative;
    max-width: var(--max-w); width: 100%; min-height: 100vh;
    background: var(--bg);
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.06),
      0 20px 60px rgba(0,0,0,0.12),
      0 60px 120px rgba(0,0,0,0.08);
  }
}

@media (min-width: 1024px) {
  body::after {
    background:
      radial-gradient(ellipse 38vw 60vh at 6%  25%, rgba(255,62,62,.26) 0%, transparent 60%),
      radial-gradient(ellipse 32vw 55vh at 94% 75%, rgba(255,120,26,.22) 0%, transparent 60%),
      radial-gradient(ellipse 25vw 45vh at 50% 5%,  rgba(255,62,62,.14) 0%, transparent 55%),
      radial-gradient(ellipse 28vw 50vh at 10% 90%, rgba(255,160,60,.18) 0%, transparent 55%),
      radial-gradient(ellipse 22vw 38vh at 90% 12%, rgba(255,62,62,.20) 0%, transparent 50%);
    animation: auroraA 18s ease-in-out infinite, auroraC 25s ease-in-out infinite reverse;
  }
}
#app-root { position: relative; overflow: hidden; }

/* ── HEADER ────────────────────────────────────── */
#header {
  position: fixed; top: 0; z-index: 200;
  left: max(0px, calc(50% - var(--half-max)));
  right: max(0px, calc(50% - var(--half-max)));
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: var(--bg-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center;
  padding-left: 16px; padding-right: 12px;
  border-bottom: 1px solid var(--border);
}
.header-logo {
  font-size: 20px; font-weight: 900; letter-spacing: .5px; flex: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: opacity .15s ease, transform .15s ease;
}
.header-logo:hover  { opacity: .85; }
.header-logo:active { opacity: .7; transform: scale(.98); }
.header-logo:focus-visible { outline: 2px solid var(--accent, #ff3e3e); outline-offset: 3px; border-radius: 4px; }
.header-logo .dot { color: var(--red); }
.header-logo small {
  font-size: 9px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-top: 2px;
}
.header-actions { display: flex; gap: 6px; align-items: center; }
.hdr-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; position: relative;
  transition: all var(--t-fast);
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.06);
}
.hdr-btn:active { background: rgba(0,0,0,0.10); transform: scale(.92); }
.hdr-lang { font-size: 11px; font-weight: 900; letter-spacing: .5px; color: var(--text-dim); width: 38px; }
.hdr-btn .badge {
  border: 2px solid #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  min-width: 18px; height: 18px;
  font-size: 10px;
  top: -4px; right: -4px;
}

/* ── BOTTOM NAV ────────────────────────────────── */
#bottom-nav {
  position: fixed;
  bottom: var(--safe-bottom);
  left: max(0px, calc(50% - var(--half-max)));
  right: max(0px, calc(50% - var(--half-max)));
  z-index: 200;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  padding: 8px 4px; color: var(--text-muted);
  font-size: 10px; font-weight: 700; letter-spacing: .2px;
  transition: color var(--t-base); position: relative;
}
.nav-icon { font-size: 22px; line-height: 1; }
.nav-item.active { color: var(--text); }
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 7px rgba(255,62,62,.55));
}
.nav-item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 2.5px; background: var(--red);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 8px rgba(255,62,62,.5);
}

/* ── GENDER TOGGLE — inline block under hero ────────── */
#gender-toggle {
  display: flex; align-items: center;
  gap: 6px; padding: 6px 12px 14px;
}
.g-btn {
  flex: 1; height: 32px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  background: transparent; border: 1.5px solid transparent;
  color: var(--text-muted); transition: all .18s ease;
  white-space: nowrap;
}
.g-btn:active { transform: scale(.93); }
.g-btn.active {
  background: var(--text); color: var(--accent-inv);
  border-color: var(--text);
}
.g-lbl { font-size: 12px; font-weight: 700; }
.g-cnt { font-size: 10px; font-weight: 600; opacity: .7; }
.g-cnt.vis { opacity: 1; }

/* ── PAGES ─────────────────────────────────────── */
#pages {
  padding-top: calc(var(--header-h) + var(--safe-top));
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 8px);
  -webkit-overflow-scrolling: touch;
  background: var(--bg2);
}
.page { display: none; }
.page.active { display: block; animation: pgSlideIn .28s cubic-bezier(.16,1,.3,1) both; }

/* ── OVERLAY & SHEETS ──────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.75);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.overlay.on { opacity: 1; pointer-events: all; }

.sheet {
  position: fixed; bottom: 0; z-index: 301;
  left: max(0px, calc(50% - var(--half-max)));
  right: max(0px, calc(50% - var(--half-max)));
  background: var(--bg2);
  border-radius: 26px 26px 0 0;
  transform: translateY(100%);
  transition: transform .36s cubic-bezier(.32,1,.46,1);
  max-height: 92vh; overflow-y: auto;
  padding-bottom: calc(20px + var(--safe-bottom));
  scrollbar-width: none; border-top: 1px solid var(--border);
}
.sheet::-webkit-scrollbar { display: none; }
.sheet.on { transform: translateY(0); }

.sh-handle {
  width: 36px; height: 4px; background: rgba(255,255,255,0.10);
  border-radius: 2px; margin: 12px auto 4px;
}
.sh-title { font-size: 19px; font-weight: 900; padding: 8px 20px 16px; }

/* ── HOME HERO ──────────────────────────────────── */
.home-hero {
  padding: 22px 16px 16px;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg2) 0%, transparent 100%);
}
/* Ambient colour orbs — give the hero a living, breathing feel */
.home-hero::before {
  content: '';
  position: absolute; top: -80px; left: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,62,62,.07) 0%, transparent 70%);
  animation: heroOrbA 10s ease-in-out infinite;
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute; top: 0; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.055) 0%, transparent 70%);
  animation: heroOrbB 14s ease-in-out infinite;
  pointer-events: none;
}
.home-greeting { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; position: relative; z-index: 1; }
.home-title {
  font-size: clamp(26px, 8vw, 36px); font-weight: 900; line-height: 1.12; letter-spacing: -.4px;
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #1d1d1f 0%, #1d1d1f 50%, #d42840 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-counter-chip { position: relative; z-index: 1; }
.home-counter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-hover);
  border-radius: var(--r-full); padding: 8px 16px; margin-top: 14px;
  font-size: 13px; font-weight: 800; color: var(--text-dim);
}
.home-counter-chip .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: blink 1.6s ease infinite;
}

/* ── SECTION ────────────────────────────────────── */
.section { padding: 14px 16px 6px; }
.section + .section { padding-top: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-head-l { display: flex; align-items: baseline; gap: 6px; }
.sec-title { font-size: 19px; font-weight: 900; letter-spacing: -.2px; }
.sec-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  color: rgba(0,0,0,0.4);
}
.rv-clear {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.rv-clear:hover {
  background: rgba(255,62,62,0.08);
  border-color: rgba(255,62,62,0.22);
  color: var(--accent, #ff3e3e);
}
.rv-clear::after { display: none !important; }
.sec-link  {
  font-size: 13px; color: var(--text-dim); font-weight: 700;
  transition: color var(--t-fast);
  display: inline-flex; align-items: center; gap: 5px;
}
.sec-link:active { color: var(--text); }
.sec-link::after {
  content: ''; display: inline-block; flex-shrink: 0;
  width: 6px; height: 6px;
  border-right: 1.8px solid currentColor;
  border-top:   1.8px solid currentColor;
  border-radius: 1.5px;
  transform: rotate(45deg) translate(-1px, 1px);
  transition: transform var(--t-fast);
}
.sec-link:active::after { transform: rotate(45deg) translate(1px, -1px); }

/* ── H-SCROLL ROW ───────────────────────────────── */
.h-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 0 16px 10px; margin: 0 -16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; contain: content;
}
.h-scroll::-webkit-scrollbar { display: none; }

/* ── HOME BRAND CARDS ──────────────────────────── */
.brands-grid {
  display: flex; gap: 10px;
  padding: 0 16px 14px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.brands-grid::-webkit-scrollbar { display: none; }

.hb-card {
  flex-shrink: 0;
  width: 156px; height: 94px;
  border-radius: 22px; overflow: hidden;
  position: relative; cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 4px 18px var(--hb-glow, rgba(0,0,0,.28)), 0 1px 4px rgba(0,0,0,.12);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease);
}
/* First brand (biggest by count) gets wider hero card on mobile scroll */
.hb-card:nth-child(1) { width: 196px; }
.hb-card:active { transform: scale(.91); }
@media (hover: hover) {
  .hb-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px var(--hb-glow, rgba(0,0,0,.36)), 0 3px 8px rgba(0,0,0,.14);
  }
}

/* Product image — full-bleed cover */
.hb-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 1;
  -webkit-mask-image: none; mask-image: none;
  pointer-events: none;
}
/* Dark gradient overlay — bottom to top */
.hb-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.40) 42%,
    rgba(0,0,0,0.06) 100%);
  z-index: 1; pointer-events: none;
}

/* Brand name + count — bottom-left */
.hb-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 14px 12px;
  z-index: 2;
}
.hb-name {
  font-size: 14px; font-weight: 900;
  color: #fff; line-height: 1.1;
  letter-spacing: -.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.hb-cnt {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.70);
  margin-top: 3px; letter-spacing: .1px;
}

/* ── REVIEW BUBBLES (chat-style) ────────────────── */
.rev-bubble {
  min-width: 210px; max-width: 250px;
  flex-shrink: 0; scroll-snap-align: start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px 20px 20px 5px;
  padding: 14px 15px 12px;
  contain: content;
}
.rev-bubble.rev-alt {
  border-radius: 20px 20px 5px 20px;
  background: rgba(0,113,227,0.07);
  border-color: rgba(0,113,227,0.14);
  margin-top: 18px;
  align-self: flex-end;
}
.rev-bub-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.rev-bub-emoji { font-size: 24px; line-height: 1; flex-shrink: 0; }
.rev-bub-name  { font-size: 12px; font-weight: 800; color: var(--text); line-height: 1.2; }
.rev-bub-loc   { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.rev-bub-stars { font-size: 12px; color: var(--gold); letter-spacing: 1px; margin-bottom: 6px; }
.rev-bub-text  { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.add-review-btn {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 16px 16px; padding: 13px 16px;
  background: var(--bg-card); border: 1.5px dashed rgba(255,255,255,0.10);
  border-radius: var(--r); font-size: 14px; font-weight: 600;
  color: var(--text-dim); width: calc(100% - 32px); transition: all var(--t-base);
}
.add-review-btn:active { background: var(--bg3); border-color: var(--border-hover); color: var(--text); }

/* ── CATALOG PAGE ───────────────────────────────── */
.cat-stories-hdr {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px 4px; flex-wrap: nowrap;
}
.cat-vibe-line {
  font-size: 18px; font-weight: 900; color: var(--text); letter-spacing: -.2px;
}
.cat-vibe-fire { font-size: 20px; }
.cat-story-reset {
  margin-left: auto; flex-shrink: 0;
  font-size: 11px; font-weight: 700; color: var(--text);
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--r-full); padding: 5px 12px; cursor: pointer;
  white-space: nowrap; transition: opacity var(--t-fast);
}
.cat-story-reset:active { opacity: .6; }

.cat-stories-row {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 6px 16px 12px; -webkit-overflow-scrolling: touch;
}
.cat-stories-row::-webkit-scrollbar { display: none; }
.cat-story {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; gap: 4px; cursor: pointer; min-width: 58px;
  -webkit-tap-highlight-color: transparent;
}
.cat-story-ring {
  width: 58px; height: 58px; border-radius: 50%; padding: 2.5px;
  background: linear-gradient(135deg, var(--sc1, #2a2a2a), var(--sc2, #404040));
  transition: transform .15s ease;
}
.cat-story-ring.active {
  background: linear-gradient(135deg, #ff3c3c 0%, #ff8c00 50%, #ffd500 100%);
}
.cat-story:active .cat-story-ring { transform: scale(0.86); }
.cat-story-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, var(--sc1, #1e1e1e), var(--sc2, #2e2e2e));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  border: 2.5px solid var(--bg);
}
.cat-story-abbr {
  font-size: 17px; font-weight: 900; color: #fff;
  letter-spacing: 1px; line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.cat-story-ph { font-size: 22px; line-height: 1; }
.cat-story-lbl {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-align: center; max-width: 64px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .15s ease;
}
.cat-story.active .cat-story-lbl { color: var(--text); font-weight: 800; }
.cat-main-grid { padding: 0 16px 80px !important; }

.cat-search-wrap {
  padding: 4px 16px 8px;
  position: sticky; top: calc(var(--header-h) + var(--safe-top)); z-index: 50;
  background: var(--bg);
}
.cat-search-inner { position: relative; }
.cat-search-ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--text-muted); pointer-events: none;
}
.cat-search {
  width: 100%; background: var(--bg3);
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 12px 40px 12px 42px; font-size: 15px; color: var(--text); outline: none;
  transition: border-color var(--t-base);
}
.cat-search:focus { border-color: var(--text); outline: none; }
.cat-search-inner:focus-within {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
  border-radius: var(--r);
}
.cat-search::placeholder { color: var(--text-muted); }
.cat-search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--text-muted); display: none;
}
.cat-search-clear.vis { display: block; }

.size-filter-wrap { padding: 0 16px 8px; }
.size-filter-label {
  font-size: 10px; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 7px;
}
.size-chips-row {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.size-chips-row::-webkit-scrollbar { display: none; }
.sz-chip {
  min-width: 46px; height: 36px;
  border-radius: var(--r-full);
  background: var(--bg3); border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 0 12px;
  transition: all var(--t-base) var(--ease); cursor: pointer;
}
.sz-chip:active { transform: scale(.92); }
.sz-chip.on {
  background: var(--text); border-color: var(--text); color: var(--accent-inv);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.sz-clear {
  min-width: 36px; height: 36px; border-radius: var(--r-sm); flex-shrink: 0;
  background: var(--red-dim); border: 1.5px solid var(--red-glow);
  font-size: 12px; font-weight: 800; color: var(--red);
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
.sz-clear.vis { display: flex; }

.update-ts { padding: 0 16px 12px; font-size: 11px; color: var(--text-muted); }

/* ============================================================
   CATALOG 2026 — Quick toggles, Sort, Active filters, Counter
   ============================================================ */

/* Quick filter chips row */
.cat-quicks {
  display: flex; gap: 6px;
  padding: 8px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-quicks::-webkit-scrollbar { display: none; }
.cat-quick {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 100px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.08);
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all .18s cubic-bezier(.16,1,.3,1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  line-height: 1;
}
.cat-quick:active { transform: scale(.94); }
.cat-quick.on {
  background: #0d0d0d; color: #fff;
  border-color: #0d0d0d;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}

/* Cat bar — gender + sort */
.cat-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px 8px;
}
.cat-bar .g-compact { flex: 1; margin: 0; padding: 3px; }
.cat-sort {
  flex-shrink: 0;
  padding: 0 28px 0 12px;
  height: 34px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%230d0d0d' stroke-width='1.5' fill='none'/></svg>") right 12px center no-repeat,
    #f4f4f6;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #0d0d0d;
  cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}

/* Active filters chips (Чоловіки × | 42 ×) */
.cat-active-filters {
  display: none;
  flex-wrap: wrap; gap: 6px;
  padding: 4px 16px 6px;
}
.cat-active-filters.vis { display: flex; }
.cat-af-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(255,62,62,0.08);
  border: 1px solid rgba(255,62,62,0.22);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; font-weight: 700;
  color: var(--accent, #ff3e3e);
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
}
.cat-af-chip:hover { background: rgba(255,62,62,0.14); }
.cat-af-chip span { font-weight: 900; font-size: 13px; opacity: .7; }
.cat-af-clear {
  padding: 5px 11px;
  background: transparent;
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 100px;
  font-size: 11.5px; font-weight: 700;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
  line-height: 1;
}
.cat-af-clear:hover { color: #0d0d0d; border-color: rgba(0,0,0,0.32); }

/* Counter + timestamp meta row */
.cat-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 16px 10px;
  font-size: 11.5px;
}
.cat-count {
  font-family: 'Inter', sans-serif;
  color: rgba(0,0,0,0.6);
  font-weight: 600;
}
.cat-count b {
  font-family: 'Sora', sans-serif;
  color: #0d0d0d; font-weight: 800;
  font-size: 14px;
  margin-right: 4px;
}
.cat-meta .update-ts {
  padding: 0; font-size: 11px;
  color: rgba(0,0,0,0.35);
}
#catalog-view { min-height: 300px; transition: opacity var(--t-fast) ease; }
#catalog-view.filtering { opacity: .45; pointer-events: none; }

.brand-list { padding: 0 16px; }
.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: opacity var(--t-fast); contain: layout style;
}
.brand-row:active { opacity: .6; }
.brand-row-name { font-size: 16px; font-weight: 800; }
.brand-row-cnt  { font-size: 12px; color: var(--text-muted); }
.brand-row-arr  { font-size: 18px; color: var(--text-muted); }


.cat-empty { text-align: center; padding: 48px 24px; }
.cat-empty-ico { font-size: 52px; margin-bottom: 12px; }
.cat-empty p   { font-size: 15px; color: var(--text-dim); margin-bottom: 18px; line-height: 1.6; }
.tg-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  border-radius: var(--r-full); padding: 12px 24px;
  font-size: 14px; font-weight: 800;
}

/* ── CONTACTS PAGE — Premium Hero Banner v2 ─────────── */
.contacts-banner {
  margin: 16px; border-radius: 28px;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(255,62,62,0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 82% 75%, rgba(255,122,26,0.07) 0%, transparent 45%),
    linear-gradient(180deg, #fff 0%, #fafafb 100%);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 18px 20px 22px;
  text-align: center;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.03),
    0 12px 36px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}
.contacts-banner::before {
  /* subtle inner sheen */
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

/* PREMIUM SNEAKER STORE tag */
.contacts-banner-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 9px; font-weight: 900;
  letter-spacing: .24em;
  color: var(--accent, #ff3e3e);
  background: rgba(255,62,62,0.08);
  border: 1px solid rgba(255,62,62,0.18);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.contacts-banner-ico { font-size: 48px; margin-bottom: 8px; }

/* Реальний кросівок з каталогу */
.contacts-hero-shoe {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 12px;
  padding: 24px 16px 8px;
}
.ch-shoe-shape {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 40%, #fafafa 0%, #ededed 75%, #d4d4d4 100%);
  overflow: visible;
}
.ch-shoe-orb-1, .ch-shoe-orb-2, .ch-shoe-orb-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ch-shoe-orb-1 {
  top: -10px; left: -20px;
  width: 90px; height: 90px;
  background: rgba(255,62,62,0.18);
  animation: chShoeOrb 5s ease-in-out infinite;
}
.ch-shoe-orb-2 {
  bottom: -10px; right: -16px;
  width: 110px; height: 110px;
  background: rgba(255,122,26,0.16);
  animation: chShoeOrb 6.5s ease-in-out infinite reverse;
}
.ch-shoe-orb-3 {
  top: 40%; right: 30%;
  width: 36px; height: 36px;
  background: rgba(255,62,62,0.12);
  animation: chShoeOrb 4s ease-in-out infinite;
}
@keyframes chShoeOrb {
  0%,100% { transform: scale(1) translate(0,0); opacity: 0.7; }
  50%      { transform: scale(1.15) translate(8px,-8px); opacity: 1; }
}
.ch-shoe-img {
  position: relative;
  z-index: 2;
  width: 80%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.28));
  opacity: 0;
  transform: rotate(-6deg) scale(0.92);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1);
  animation: chShoeFloat 4.5s ease-in-out infinite 0.6s;
}
.ch-shoe-img.loaded {
  opacity: 1;
  transform: rotate(-6deg) scale(1);
}
@keyframes chShoeFloat {
  0%,100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-8px); }
}
.ch-shoe-shadow {
  position: absolute;
  bottom: 8%; left: 18%; right: 18%;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.22) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 1;
}
.ch-shoe-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
}
.ch-shoe-meta-brand {
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 900;
  color: var(--accent, #ff3e3e);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ch-shoe-meta-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 700;
  color: rgba(0,0,0,0.4);
  letter-spacing: .2em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .ch-shoe-orb-1, .ch-shoe-orb-2, .ch-shoe-orb-3,
  .ch-shoe-img { animation: none !important; }
}

.contacts-banner-art {
  width: 100%; max-width: 420px;
  margin: 0 auto 4px;
  display: none; /* hidden by default — JS показує лише як fallback */
}
.contacts-banner-art.show { display: block; }
.contacts-banner-art svg {
  width: 100%; height: auto; display: block;
  animation: heroFloat 5s ease-in-out infinite;
}
.contacts-banner-art .hero-orb-1,
.contacts-banner-art .hero-orb-2,
.contacts-banner-art .hero-orb-3 {
  transform-origin: center;
  animation: heroOrb 7s ease-in-out infinite;
}
.contacts-banner-art .hero-orb-2 { animation-delay: -2.5s; }
.contacts-banner-art .hero-orb-3 { animation-delay: -4.5s; }
.contacts-banner-art .hero-speed-1,
.contacts-banner-art .hero-speed-2,
.contacts-banner-art .hero-speed-3 {
  animation: heroSpeed 2.2s ease-in-out infinite;
}
.contacts-banner-art .hero-speed-2 { animation-delay: .15s; }
.contacts-banner-art .hero-speed-3 { animation-delay: .3s; }

.contacts-banner-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-top: 8px;
  background: linear-gradient(135deg, #0d0d0d 30%, #ff3e3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
}
.contacts-banner-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(13,13,13,0.55);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 320px;
  margin-left: auto; margin-right: auto;
}

/* Stats row in banner */
.contacts-banner-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.cb-stat { text-align: center; }
.cb-stat-val {
  font-family: 'Sora', sans-serif;
  font-size: 19px; font-weight: 800;
  color: #0d0d0d;
  line-height: 1;
  letter-spacing: -.02em;
}
.cb-stat-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  color: rgba(0,0,0,0.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.cb-stat-sep {
  width: 1px; height: 28px;
  background: rgba(0,0,0,0.08);
}

/* ── REFERRAL SECTION (Contacts) ─────────── */
.ref-section {
  padding: 8px 16px 20px;
}
.ref-section-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,62,62,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, #fff9f9 100%);
  border: 1px solid rgba(255,62,62,0.16);
  border-radius: 24px;
  padding: 24px 22px;
  text-align: center;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 10px 32px rgba(255,62,62,0.08);
  position: relative;
  overflow: hidden;
}
.ref-section-card::before {
  /* sheen overlay */
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}
.ref-section-head { margin-bottom: 18px; }
.ref-section-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 9.5px; font-weight: 900;
  letter-spacing: .2em;
  color: var(--accent, #ff3e3e);
  background: rgba(255,62,62,0.08);
  border: 1px solid rgba(255,62,62,0.22);
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.ref-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -.02em;
  line-height: 1.15;
  padding-top: 0.04em;
}
.ref-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(13,13,13,0.6);
  margin-top: 8px;
  line-height: 1.55;
  max-width: 340px;
  margin-left: auto; margin-right: auto;
}
.ref-section-sub b { color: var(--accent, #ff3e3e); font-weight: 800; }

.ref-section-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin: 18px 0;
  padding: 14px 8px;
  background: rgba(0,0,0,0.03);
  border-radius: 16px;
}
.ref-stat { text-align: center; flex: 1; }
.ref-stat-val {
  font-family: 'Sora', sans-serif;
  font-size: 17px; font-weight: 800;
  color: var(--accent, #ff3e3e);
  letter-spacing: -.02em;
  line-height: 1;
}
.ref-stat-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  color: rgba(0,0,0,0.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

.ref-section-btn {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ff3e3e 0%, #cc1a1a 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Sora', sans-serif;
  font-size: 15px; font-weight: 800;
  letter-spacing: -.005em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 22px rgba(255,62,62,0.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ref-section-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,62,62,0.42);
}
.ref-section-btn:active { transform: scale(.98); }

.ref-section-hint {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: rgba(0,0,0,0.45);
  margin-top: 12px;
}

/* ── TG CHANNEL CTA — Main UBT funnel ─────────── */
.tg-channel-cta {
  display: flex; align-items: center;
  gap: 14px;
  margin: 4px 16px 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #fff;
  border-radius: 18px;
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(0,136,204,0.28),
    0 1px 3px rgba(0,0,0,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.tg-channel-cta::after {
  /* sheen highlight */
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: tgCtaSheen 4s ease-in-out infinite;
}
@keyframes tgCtaSheen {
  0%,80%,100% { transform: translateX(0); opacity: 0; }
  90% { transform: translateX(420%); opacity: 1; }
}
.tg-channel-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(0,136,204,0.38),
    0 2px 6px rgba(0,0,0,0.10);
}
.tg-channel-cta:active { transform: scale(.97); }

.tg-cta-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tg-cta-icon svg { width: 26px; height: 26px; }

.tg-cta-body { flex: 1; min-width: 0; }
.tg-cta-eyebrow {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.tg-cta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6dffa3;
  box-shadow: 0 0 0 0 rgba(109,255,163,.6);
  animation: tgDotPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes tgDotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(109,255,163,.55); }
  50%      { box-shadow: 0 0 0 5px rgba(109,255,163,0); }
}
.tg-cta-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px; font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.tg-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
  margin-top: 3px;
}
.tg-cta-arrow {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  transition: transform .18s ease;
}
.tg-channel-cta:hover .tg-cta-arrow { transform: translateX(4px); }

@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes heroOrb {
  0%,100% { transform: scale(1) translate(0,0); opacity: 0.55; }
  50%      { transform: scale(1.18) translate(8px,-8px); opacity: 1; }
}
@keyframes heroSpeed {
  0%,100% { opacity: .15; transform: translateX(0); }
  50%      { opacity: .45; transform: translateX(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-banner-art svg,
  .contacts-banner-art .hero-orb-1,
  .contacts-banner-art .hero-orb-2,
  .contacts-banner-art .hero-orb-3,
  .contacts-banner-art .hero-speed-1,
  .contacts-banner-art .hero-speed-2,
  .contacts-banner-art .hero-speed-3 { animation: none !important; }
}

.contacts-list { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border-radius: var(--r);
  padding: 16px; border: 1px solid var(--border);
  cursor: pointer; transition: background var(--t-fast);
}
.contact-item:active { background: var(--bg3); }
.ci-ico  { font-size: 24px; width: 42px; text-align: center; }
.ci-body { flex: 1; }
.ci-title { font-size: 15px; font-weight: 800; }
.ci-sub   { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.ci-arr   { font-size: 18px; color: var(--text-muted); }

.faq-wrap  { padding: 0 16px 24px; }
.faq-block {
  background: var(--bg-card); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-block-hdr {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
}
.faq-block-ico { font-size: 18px; line-height: 1; }
.faq-block-ttl { font-size: 15px; font-weight: 900; color: var(--text); }
.faq-item  { overflow: hidden; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q     { padding: 14px 16px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 12px; }
.faq-toggle { font-size: 16px; color: var(--text-muted); transition: transform var(--t-base); flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--bg3); border-radius: 50%; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--red-dim); color: var(--red); }

/* ── SUCCESS VIEW ───────────────────────────────── */
#view-success {
  position: fixed; inset: 0; z-index: 600;
  background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; text-align: center; gap: 14px;
}
#view-success.on { display: flex; animation: pgFade .4s ease; }
.success-ico   { font-size: 80px; animation: bounceY 1s ease infinite alternate; }
.success-title { font-size: 28px; font-weight: 900; }
.success-sub   { font-size: 15px; color: var(--text-dim); line-height: 1.6; max-width: 300px; }
.success-order {
  background: var(--bg2); border-radius: var(--r); border: 1px solid var(--border);
  padding: 14px 20px; font-size: 14px; color: var(--text-dim); width: 100%; text-align: left;
}
.success-tg-btn {
  background: var(--blue); color: #fff;
  padding: 16px 32px; border-radius: var(--r-lg);
  font-size: 16px; font-weight: 900; width: 100%; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.success-home-btn {
  background: var(--bg3); color: var(--text);
  padding: 14px 28px; border-radius: var(--r-lg);
  font-size: 15px; font-weight: 700; width: 100%; text-align: center; border: 1px solid var(--border);
}

/* ── PWA BANNERS ────────────────────────────────── */
#pwa-android, #pwa-ios {
  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: 400;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-lg); animation: slideUp .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
#pwa-android { display: none; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; }
#pwa-android.on { display: flex; }
#pwa-ios { display: none; flex-direction: column; gap: 8px; padding: 16px; }
#pwa-ios.on { display: flex; }
.pwa-ico   { font-size: 38px; flex-shrink: 0; }
.pwa-text  { flex: 1; }
.pwa-title { font-size: 14px; font-weight: 900; }
.pwa-sub   { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pwa-install-btn {
  background: var(--text); color: var(--accent-inv);
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 900; flex-shrink: 0; white-space: nowrap;
}
.pwa-close {
  position: absolute; top: 8px; right: 10px;
  font-size: 18px; color: var(--text-muted); padding: 4px;
}
.pwa-ios-title { font-size: 15px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.pwa-ios-steps { font-size: 13px; color: var(--text-dim); line-height: 1.75; }
.pwa-ios-ok {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px;
  font-size: 14px; font-weight: 800; text-align: center; color: var(--text-dim);
}

/* ── STICKY CART BAR ────────────────────────────── */
#cart-sticky-bar {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 8px);
  left: max(12px, calc(50% - var(--half-inset)));
  right: max(12px, calc(50% - var(--half-inset)));
  z-index: 199;
  background: var(--text); color: var(--accent-inv);
  border-radius: var(--r-lg);
  padding: 13px 18px;
  display: none; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUp .3s var(--ease);
  cursor: pointer;
}
#cart-sticky-bar.vis { display: flex; }
.csb-left  { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.csb-badge { background: rgba(0,0,0,0.12); border-radius: var(--r-full); padding: 2px 10px; font-size: 12px; font-weight: 900; }
.csb-right {
  font-size: 13px; font-weight: 700; opacity: .7;
  display: flex; align-items: center; gap: 6px;
}
.csb-right::after {
  content: ''; display: inline-block; flex-shrink: 0;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-top:   2px solid currentColor;
  border-radius: 1.5px;
  transform: rotate(45deg) translate(-1px, 1px);
}

/* ── VISUAL BRAND GRID (2026 Catalog) ───────────── */
.brand-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding: 0 16px 16px;
}
@media (min-width: 400px) { .brand-visual-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-visual-card {
  background: var(--bg2);
  border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.brand-visual-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.brand-visual-card:active { transform: scale(.96); }

.bvc-img-wrap {
  aspect-ratio: 1; background: #f8f8fa;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.bvc-img-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.06) 100%);
}
.bvc-img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 12%;
  transition: transform var(--t-slow) var(--ease);
}
.brand-visual-card:hover .bvc-img { transform: scale(1.06); }
.bvc-img-ph { font-size: 36px; }
.bvc-body { padding: 8px 10px 10px; }
.bvc-name {
  font-size: 11px; font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-transform: uppercase; letter-spacing: .05em;
}
.bvc-count { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ── PRICE FILTER ────────────────────────────────── */
.price-filter-wrap { padding: 0 16px 8px; }
.price-chips-row {
  display: flex; gap: 6px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 2px;
}
.price-chips-row::-webkit-scrollbar { display: none; }
.price-chip {
  padding: 0 16px; height: 36px; border-radius: var(--r-full);
  background: var(--bg3); border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 700; color: var(--text-dim);
  white-space: nowrap; flex-shrink: 0;
  transition: all var(--t-base) var(--ease); cursor: pointer;
  display: flex; align-items: center; min-height: 44px;
}
.price-chip.on {
  background: var(--text); border-color: var(--text); color: var(--accent-inv);
}

/* ── FAQ SMOOTH ACCORDION ────────────────────────── */
.faq-a {
  display: block;
  overflow: hidden;
  max-height: 0;
  padding: 0 16px;
  font-size: 13px; color: var(--text-dim); line-height: 1.7;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 16px 16px;
}

/* ── CONTACTS SOCIAL BUTTONS ─────────────────────── */
.social-actions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding: 4px 16px 20px;
}
.social-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 8px; border-radius: var(--r-lg);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  border: none; cursor: pointer; min-height: 80px;
  text-decoration: none; color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative; overflow: hidden;
}
.social-btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.08); opacity: 0; transition: opacity .15s;
}
.social-btn:active { transform: scale(.94); }
.social-btn:active::after { opacity: 1; }
.social-btn-ico { display: flex; align-items: center; justify-content: center; line-height: 1; }
.social-btn.tg {
  background: linear-gradient(145deg, #0077b6, #0096c7);
  box-shadow: 0 6px 24px rgba(0,136,204,0.35);
}
.social-btn.ig {
  background: linear-gradient(145deg, #833ab4 0%, #e1306c 50%, #f77737 100%);
  box-shadow: 0 6px 24px rgba(225,48,108,0.35);
}
.social-btn.tt {
  background: linear-gradient(145deg, #010101, #1a1a2e);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  border: 1px solid rgba(105,201,208,0.3);
}

/* ── SEARCH SUGGESTIONS ──────────────────────────── */
.search-sugg {
  display: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; margin: -2px 16px 8px;
  overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  animation: slideUp var(--t-base) var(--ease);
}
.search-sugg.vis { display: block; }
.sugg-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 16px; background: none; border: none;
  font-size: 14px; font-weight: 600; color: var(--text); text-align: left;
  border-bottom: 1px solid var(--border); cursor: pointer;
  transition: background var(--t-fast);
}
.sugg-item:last-child { border-bottom: none; }
.sugg-item:active { background: var(--bg3); }
.sugg-ico { font-size: 16px; flex-shrink: 0; }
.sugg-brand { font-weight: 800; }

/* ── PRICE SLIDER ────────────────────────────────── */
.price-slider-box { padding: 6px 16px 8px; }
.price-slider-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.price-slider-lbl {
  font-size: 10px; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px;
}
.price-slider-vals { font-size: 12px; font-weight: 700; color: var(--text); }
.price-dual-track {
  position: relative; height: 36px; display: flex; align-items: center;
}
.price-track-bg {
  position: absolute; left: 0; right: 0; height: 4px;
  background: var(--border); border-radius: 4px;
}
.price-track-fill {
  position: absolute; height: 4px;
  background: var(--text); border-radius: 4px;
}
.price-range-inp {
  position: absolute; width: 100%; height: 100%;
  -webkit-appearance: none; appearance: none;
  background: transparent; pointer-events: none;
  outline: none; margin: 0; padding: 0;
}
.price-range-inp::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: all; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.price-range-inp::-webkit-slider-thumb:active {
  transform: scale(1.3);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.price-range-inp::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: all; cursor: pointer;
}

/* ── 3D BRAND CAROUSEL ───────────────────────────── */
.brd-ticker-wrap {
  overflow: hidden; padding: 6px 0 0;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.brd-ticker {
  display: inline-flex; white-space: nowrap;
  animation: brdTicker 26s linear infinite;
  will-change: transform;
}
.brd-ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 10px;
  font-size: 10px; font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.brd-ticker-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-muted); opacity: 0.4; flex-shrink: 0;
}
@keyframes brdTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brd-carousel-wrap {
  position: relative; padding-bottom: 8px;
}
.brd-carousel-wrap::before,
.brd-carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 8px; width: 44px; z-index: 2;
  pointer-events: none;
}
.brd-carousel-wrap::before {
  left: 0; background: linear-gradient(to right, var(--bg), transparent);
}
.brd-carousel-wrap::after {
  right: 0; background: linear-gradient(to left, var(--bg), transparent);
}
.brd-carousel {
  display: flex; gap: 10px;
  padding: 10px 44px 20px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; cursor: grab;
}
.brd-carousel:active { cursor: grabbing; }
.brd-carousel::-webkit-scrollbar { display: none; }
.brd-card {
  flex-shrink: 0; width: 140px; height: 200px;
  border-radius: 20px; overflow: hidden;
  cursor: pointer; position: relative;
  scroll-snap-align: center;
  will-change: transform, opacity;
  transform-origin: center center;
  transition: box-shadow .25s ease;
  background: #111;
}
.brd-card:active { transform: scale(0.97) !important; }
.brd-hot-tag {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 13px; line-height: 1;
  padding: 4px 7px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.brd-img {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: 70%;
  object-fit: contain; padding: 18px 10px 6px;
  display: block;
  opacity: 0; transition: opacity .3s ease; z-index: 1;
}
.brd-img.loaded { opacity: 1; }
.brd-img-ph {
  position: absolute; top: 0; left: 0; right: 0; height: 70%;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; z-index: 1;
}
.brd-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(to top, var(--brd-c, #111) 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.brd-foot {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px 14px; z-index: 3; pointer-events: none;
}
.brd-name {
  font-size: 15px; font-weight: 900; color: #fff;
  text-transform: uppercase; letter-spacing: 1.2px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5); line-height: 1.1;
}
.brd-count {
  font-size: 10px; color: rgba(255,255,255,0.65);
  margin-top: 3px; font-weight: 600; letter-spacing: .3px;
}

/* ── DESKTOP 600px — wider grids ─────────────────── */
@media (min-width: 640px) {
  .prods-grid { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .section { padding: 14px 20px 6px; }
  .h-scroll { padding: 0 20px 12px; margin: 0 -20px; }
  .brd-card { width: 155px; height: 220px; }
  .dd-row { padding: 0 16px 20px; gap: 12px; grid-template-columns: repeat(3, 1fr); }
}

/* ── TABLET (481-899px) — лишаємо як мобайл, тільки centered ──
   Всі речі, що ламаються між мобільним і десктопом — тут інлайн нема:
   тільки мобайл-стиль у центрі полотна.
   ≥900px desktop починається в niche.css */
@media (min-width: 481px) and (max-width: 899.98px) {
  body { padding: 20px 0; align-items: flex-start; }
  #app-root {
    border-radius: 24px;
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.06),
      0 24px 60px rgba(0,0,0,0.12),
      0 6px 18px rgba(0,0,0,0.05);
  }
}
