/* =========================================================
   BULSILA — редизайн прототип
   Дизайн система: тъмна атлетична тема + неоново зелено
   ========================================================= */

:root {
  --bg: #060504;
  --bg-2: #0c0a08;
  --surface: #14110d;
  --surface-2: #1b1712;
  --surface-3: #262019;
  --line: #2b2419;
  --line-2: #463820;
  --text: #f7f3ea;
  --text-2: #d2cabb;
  --muted: #9c9280;
  --accent: #f5c542;
  --accent-2: #d99e1c;
  --accent-ink: #1a1100;
  --accent-glow: rgba(245, 190, 50, .35);
  --red: #e5383b;
  --bg-white: #ffffff;
  --bg-green: #00966e;
  --bg-red: #d62612;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 72px;
  --topbar-h: 38px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "locl" 0;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

#main { min-height: 70vh; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Типография ---------- */
.display, h1, h2, h3, .h {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0;
  font-weight: 700;
}
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(28px, 3.4vw, 44px); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skew { display: inline-block; transform: skewX(-9deg); }

/* ---------- Бутони ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { background: #ffd766; box-shadow: 0 8px 30px -6px var(--accent-glow); }
.btn-ghost { border: 1.5px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--surface-3); color: var(--text); }
.btn-dark:hover { background: var(--line-2); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.icon-btn {
  position: relative;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--accent); }
.badge-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s var(--ease);
}
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); color: var(--text-2);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 13.5px; font-weight: 500;
  transition: all .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px;
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
}
.tag-dark { background: rgba(0,0,0,.7); color: var(--text); }

/* ---------- Topbar ---------- */
.topbar {
  height: var(--topbar-h); background: var(--bg-2); border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--text-2);
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-usps { display: flex; gap: 28px; }
.topbar-usps span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.topbar-usps .icon { width: 16px; height: 16px; color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(9, 11, 9, .97);
  border-bottom: 1px solid var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .02em; line-height: 1;
  display: inline-flex; align-items: center; flex: none;
}
.logo .i { position: relative; color: var(--text); display: inline-block; }
.logo .i::after {
  content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 12px var(--accent);
}
.logo .s { color: var(--accent); }

.nav { display: flex; align-items: stretch; height: 100%; gap: 2px; margin-right: auto; }
.nav > .nav-item { position: static; display: flex; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 12px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 14.5px; font-weight: 500;
  color: var(--text-2); position: relative; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--text); }
.nav-item:hover > .nav-link::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover > .nav-link .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.burger { display: none; }

/* Мега меню */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #0c0a08; border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.nav-item.closed .mega { display: none; }
.mega .container { display: grid; grid-template-columns: 1fr 220px 300px; gap: 40px; padding-top: 32px; padding-bottom: 36px; }
.mega-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.mega-sports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega-sport {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); transition: all .2s;
}
.mega-sport:hover { border-color: var(--accent); background: var(--surface-2); }
.mega-sport .sport-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-3); display: grid; place-items: center; color: var(--accent); flex: none; }
.mega-sport b { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; font-size: 15px; display: block; }
.mega-sport small { color: var(--muted); font-size: 12px; }
.mega-links { display: flex; flex-direction: column; gap: 2px; }
.mega-links a { padding: 8px 0; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 14px; }
.mega-links a:hover { color: var(--accent); }
.mega-promo {
  border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 100%, rgba(245, 190, 50,.28), transparent 60%), var(--surface-2);
  border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px;
}
.mega-promo h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; margin: 0 0 8px; line-height: 1.05; }
.mega-promo p { margin: 0 0 16px; color: var(--text-2); font-size: 13.5px; }
.mega-promo .bg-word { position: absolute; top: 10px; right: -10px; font-family: var(--font-display); font-weight: 700; font-size: 90px; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); text-transform: uppercase; }

/* ---------- Мобилно меню / drawers ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease);
}
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--line); width: min(360px, 88%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); background: var(--bg); }

.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); text-transform: uppercase; font-size: 17px; letter-spacing: .04em; }
.mnav-toggle .icon { transition: transform .25s; color: var(--accent); }
.mnav-group.open .mnav-toggle .icon { transform: rotate(45deg); }
.mnav-sub { display: none; padding: 0 0 14px; }
.mnav-group.open .mnav-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav-sub a { padding: 10px 12px; background: var(--surface); border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.mnav-contact { margin-top: 24px; padding: 18px; border-radius: var(--r); background: var(--surface); font-size: 14px; color: var(--text-2); }
.mnav-contact a { color: var(--accent); font-weight: 700; font-size: 18px; display: block; margin-top: 4px; }

/* Bottom nav (мобилно) */
.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #0c0a07; border-top: 1px solid var(--line);
}
.bottom-nav a, .bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 10.5px; color: var(--muted); font-weight: 600; position: relative;
}
.bottom-nav .active { color: var(--accent); }
.bottom-nav .badge-count { top: 6px; right: calc(50% - 22px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); contain: paint; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 72% 55%, rgba(245, 190, 50,.22), transparent 60%),
    radial-gradient(40% 50% at 95% 10%, rgba(245, 190, 50,.10), transparent 60%),
    linear-gradient(180deg, #0c0a07, var(--bg));
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .8;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 70% 50%, transparent 30%, var(--bg) 78%); }
.hero-slash { position: absolute; width: 140%; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: rotate(-14deg); opacity: .5; }
.hero-slash.s1 { top: 30%; left: -10%; }
.hero-slash.s2 { top: 78%; left: -30%; opacity: .25; height: 2px; }
.hero-flag { position: absolute; right: 0; top: 0; width: 8px; height: 100%; display: flex; flex-direction: column; }
.hero-flag i { flex: 1; }
.hero-flag i:nth-child(1) { background: var(--bg-white); }
.hero-flag i:nth-child(2) { background: var(--bg-green); }
.hero-flag i:nth-child(3) { background: var(--bg-red); }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: min(640px, calc(100vh - var(--header-h) - var(--topbar-h))); padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: .9; letter-spacing: -.005em; }
.hero h1 .accent { display: inline-block; transform: skewX(-9deg); text-shadow: 0 0 24px rgba(245, 190, 50,.25); }
.hero-lead { margin: 26px 0 34px; max-width: 470px; color: var(--text-2); font-size: 17px; }
.hero-lead b { color: var(--text); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; margin-top: 44px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; }
.hero-meta span { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.hero-art { position: relative; aspect-ratio: 1 / .92; }
.hero-art .ring { position: absolute; inset: 6% 6%; border-radius: 50%; border: 1px dashed rgba(245, 190, 50,.25); animation: spin 60s linear infinite; will-change: transform; }
.hero-art .ring.r2 { inset: 16%; border-style: solid; border-color: rgba(255,255,255,.05); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-art .word {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 13vw, 200px); line-height: .85; text-transform: uppercase; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(245, 190, 50,.3);
}
.hero-art .garment { position: absolute; inset: 4% 2% 2%; transition: opacity .5s, transform .6s var(--ease); }
.hero-art .garment svg { width: 100%; height: 100%; }
.float-card {
  position: absolute; z-index: 2; padding: 12px 16px; border-radius: var(--r);
  background: rgba(19,23,19,.94); border: 1px solid var(--line-2); will-change: transform;
  display: flex; align-items: center; gap: 12px; font-size: 13px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.float-card b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; font-weight: 600; }
.float-card span { color: var(--muted); font-size: 12px; }
.float-card.f1 { left: -2%; top: 18%; }
.float-card.f2 { right: 0; bottom: 14%; animation-delay: -3s; }
.float-card.f3 { right: 8%; top: 4%; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.hero-dots { position: absolute; left: var(--gutter); bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 28px; height: 4px; border-radius: 2px; background: var(--line-2); transition: all .3s; }
.hero-dots button.active { width: 52px; background: var(--accent); }
.hero-slide-anim { animation: slideIn .6s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Начало: само 8-те изображения ---------- */
body.home-only { background: #000; padding-bottom: 0; }
.home-boards { max-width: 1672px; margin: 0 auto; }
.home-board { position: relative; }
.home-board > img { width: 100%; height: auto; }
.board-logo { display: none; background-image: var(--art); background-repeat: no-repeat; }

/* Карта-бутон: въртяща се светлина отзад + снимката отпред, изрязана точно до ръба.
   Анимират се само transform и opacity, за да не натоварват браузъра. */
.board-btn { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); z-index: 1; display: block; overflow: hidden; isolation: isolate; border-radius: 3.4% / 1.95%; transition: transform .4s var(--ease), box-shadow .4s; }
.board-btn > span { display: none; }
.home-board.ready .board-btn > span { display: block; }
.edge, .face, .art { position: absolute; inset: 0; }
.edge { background: #a8781f; }
.edge::before, .edge::after { content: ""; position: absolute; top: 50%; left: 50%; width: 220%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; animation: edge-spin 4s linear var(--d, 0s) infinite paused; }
.edge::before { background: conic-gradient(transparent 0 22%, #ffc83d 38%, #fff 45%, #ffc83d 48%, transparent 50% 72%, #ffc83d 88%, #fff 95%, #ffc83d 98%, transparent 100%); }
.edge::after { opacity: 0; transition: opacity .3s; animation-duration: 1.5s; background: conic-gradient(#ffb300, #fff3c4 12%, #ff8a00 25%, #fff 37%, #ffb300 50%, #fff3c4 62%, #ff8a00 75%, #fff 87%, #ffb300); }
.board-btn.live .edge::before { animation-play-state: running; will-change: transform; }
@keyframes edge-spin { to { rotate: 360deg; } }
.face { overflow: hidden; background: #000; clip-path: inset(max(.72%, 2px) max(1.25%, 2px) round 2.6% / 1.5%); }
.face::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .3s; pointer-events: none; }
.art { background-image: var(--art); background-repeat: no-repeat; transition: transform .6s var(--ease); }
.shine { position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 240, 190, .5) 50%, transparent); transform: translateX(-160%) skewX(-16deg); pointer-events: none; }

/* Живото златно лого на началната страница (стои върху логото в снимката) */
.gold-logo-wrap { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 21%; display: grid; place-items: center; background: linear-gradient(#000 88%, transparent); }
.gold-logo { --size: calc(min(100vw, 1672px) * .074); position: relative; display: flex; margin: 0; font-family: "Russo One", var(--font-display); font-weight: 400; font-size: var(--size); line-height: 1; letter-spacing: .01em; text-transform: none; }
.gold-logo span {
  display: block; padding: .05em 0; color: transparent;
  background-image: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%), linear-gradient(180deg, #fff6cf 0%, #ffd766 28%, #e6a823 52%, #9a6612 58%, #f0b93a 72%, #ffe9a3 100%);
  background-size: 320% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: logo-letter .8s var(--ease) calc(var(--i) * 70ms) both, logo-shine 5s ease-in-out calc(1.1s + var(--i) * 90ms) infinite;
}
.gold-logo::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; padding: .05em 0; color: #ffae1a; filter: blur(calc(var(--size) * .2)); animation: logo-glow 3.4s ease-in-out infinite; will-change: opacity; pointer-events: none; }
.gold-logo::after { content: ""; position: absolute; left: -22%; right: -22%; bottom: -.08em; height: 2px; background: linear-gradient(90deg, transparent, #ffc83d 25%, #fff3c4 50%, #ffc83d 75%, transparent); animation: logo-flare 3.4s ease-in-out infinite; will-change: transform, opacity; pointer-events: none; }
@keyframes logo-letter { from { opacity: 0; transform: translateY(.28em) scale(.92); } }
@keyframes logo-shine { 0%, 30% { background-position: 130% 0, 0 0; } 62%, 100% { background-position: -30% 0, 0 0; } }
@keyframes logo-glow { 0%, 100% { opacity: .38; } 50% { opacity: .78; } }
@keyframes logo-flare { 0%, 100% { transform: scaleX(.62); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }

/* Подкатегории: банерът е в средата на екрана, картите са почти квадратни */
.sub-boards { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.sub-boards .board-btn { border-radius: 7.6% / 7.2%; }
.sub-boards .face { clip-path: inset(max(1.05%, 2px) round 6.9% / 6.5%); }

/* Посочване с мишката (и избор с клавиатура) */
.board-btn:focus-visible { outline: none; }
.board-btn:is(:focus-visible, :active) { z-index: 3; transform: translateY(-1.6%) scale(1.04); box-shadow: 0 0 26px 4px rgba(255, 179, 0, .65), 0 18px 40px rgba(0, 0, 0, .8); }
.board-btn:is(:focus-visible, :active) .edge::after { opacity: 1; animation-play-state: running; }
.board-btn:is(:focus-visible, :active) .art { transform: scale(1.07); }
.board-btn:is(:focus-visible, :active) .shine { animation: card-shine .9s var(--ease) both; }
.board-btn:active { transform: translateY(-.6%) scale(1.015); }
@media (hover: hover) {
  .board-btn:hover { z-index: 3; transform: translateY(-1.6%) scale(1.04); box-shadow: 0 0 26px 4px rgba(255, 179, 0, .65), 0 18px 40px rgba(0, 0, 0, .8); }
  .board-btn:hover .edge::after { opacity: 1; animation-play-state: running; }
  .board-btn:hover .art { transform: scale(1.07); }
  .board-btn:hover .shine { animation: card-shine .9s var(--ease) both; }
  .board-btn:hover:active { transform: translateY(-.6%) scale(1.015); }
  .home-board:has(.board-btn:hover) .board-btn:not(:hover) .face::after { opacity: .5; }
}
@keyframes card-shine { to { transform: translateX(300%) skewX(-16deg); } }

/* ---------- USP лента ---------- */
.usps { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.usps .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; align-items: center; gap: 16px; padding: 26px 20px; border-right: 1px solid var(--line); }
.usp:first-child { padding-left: 0; }
.usp:last-child { border-right: 0; }
.usp .icon { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.6; }
.usp b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 15px; font-weight: 600; }
.usp span { color: var(--muted); font-size: 13px; }

/* ---------- Секции ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--accent); font-weight: 600; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .2s; }

/* Карусел */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .2s; }
.rail-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Спортни плочки */
.sports-rail { grid-auto-columns: calc((100% - 14px * 4) / 5); }
.sport-tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  transition: border-color .3s, transform .4s var(--ease);
  isolation: isolate;
}
.sport-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 60% at 50% 100%, rgba(245, 190, 50,.20), transparent 70%);
  opacity: .5; transition: opacity .3s;
}
.sport-tile:hover { border-color: var(--accent); transform: translateY(-4px); }
.sport-tile:hover::before { opacity: 1; }
.sport-tile .st-word {
  position: absolute; z-index: -1; top: 14px; left: 14px; right: 0;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 64px; line-height: .86;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.10); white-space: nowrap;
  transition: -webkit-text-stroke-color .3s;
}
.sport-tile:hover .st-word { -webkit-text-stroke-color: rgba(245, 190, 50,.35); }
.sport-tile .st-ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); width: 46%; color: var(--text); opacity: .9; transition: transform .4s var(--ease), color .3s; }
.sport-tile:hover .st-ico { transform: translate(-50%, -66%) scale(1.05); color: var(--accent); }
.sport-tile .st-ico svg { width: 100%; height: auto; stroke-width: 1.2; }
.sport-tile h3 { font-size: 24px; }
.sport-tile .st-count { color: var(--muted); font-size: 12.5px; margin-top: 4px; display: flex; justify-content: space-between; align-items: center; }
.sport-tile .st-count .icon { color: var(--accent); transition: transform .2s; }
.sport-tile:hover .st-count .icon { transform: translateX(4px); }

/* ---------- Продуктова карта ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.products-rail { grid-auto-columns: calc((100% - 16px * 4) / 5); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .25s, transform .35s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 60%, #2f2a20 0%, #181510 72%);
}
.card-media .garment { position: absolute; inset: 9%; transition: transform .5s var(--ease); }
.card:hover .card-media .garment { transform: scale(1.05) translateY(-2%); }
.card-media .garment svg { width: 100%; height: 100%; }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.card-fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); transition: color .2s; }
.card-fav:hover { color: var(--accent); }
.card-fav.on { color: var(--accent); }
.card-fav.on .icon { fill: var(--accent); }
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.card:hover .card-quick { opacity: 1; transform: none; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.card-colors { display: flex; gap: 4px; margin: 6px 0 2px; }
.card-colors i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.card-colors small { font-size: 11px; color: var(--muted); margin-left: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.price small { font-size: 12px; color: var(--muted); font-family: var(--font-body); font-weight: 500; margin-right: 4px; }
.add-btn { width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: all .2s; }
.add-btn:hover { box-shadow: 0 6px 20px -4px var(--accent-glow); transform: translateY(-1px); }
.add-btn .icon { stroke-width: 2.2; }

/* Табове */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs::-webkit-scrollbar { display: none; }

/* ---------- Как работи / калкулатор ---------- */
.made-for-you { contain: paint; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.made-for-you::before { content: "ПО МЯРКА"; position: absolute; right: -20px; bottom: -40px; font-family: var(--font-display); font-weight: 700; font-size: 240px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.04); white-space: nowrap; pointer-events: none; }
.mfy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; position: relative; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.step { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step .n { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.step h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; letter-spacing: .03em; margin: 12px 0 6px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.calc { padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(245, 190, 50,.18); }
.calc h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; }
.calc > p { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.range-row { margin-bottom: 20px; }
.range-row label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-2); margin-bottom: 10px; font-weight: 600; }
.range-row label b { font-family: var(--font-display); font-size: 24px; color: var(--text); font-weight: 600; }
.range-row label b small { font-size: 13px; color: var(--muted); margin-left: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--surface-3) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--text); border: 5px solid var(--accent); cursor: grab; box-shadow: 0 0 0 6px rgba(245, 190, 50,.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 5px solid var(--accent); cursor: grab; }
.calc-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line-2); margin: 6px 0 18px; }
.calc-result span { color: var(--muted); font-size: 13px; }
.calc-size { font-family: var(--font-display); font-size: 46px; font-weight: 700; color: var(--accent); line-height: 1; text-shadow: 0 0 30px var(--accent-glow); }

/* ---------- Банери ---------- */
.banners { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.banner { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); isolation: isolate; }
.banner h3 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 18px; }
.banner ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.banner li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
.banner li .icon { color: var(--accent); width: 18px; height: 18px; stroke-width: 2.6; }
.banner-clubs { background: radial-gradient(80% 90% at 90% 20%, rgba(245, 190, 50,.25), transparent 60%), linear-gradient(135deg, #131009, #0c0a07); }
.banner-clubs .jerseys { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: 46%; z-index: -1; display: flex; }
.banner-clubs > :not(.jerseys) { max-width: 54%; }
.banner-clubs .jerseys > div { flex: 1; margin-left: -18%; }
.banner-clubs .jerseys > div:nth-child(2) { transform: translateY(14%) scale(1.05); z-index: 2; }
.banner-bg { background: linear-gradient(168deg, rgba(255,255,255,.07) 0%, rgba(0,150,110,.30) 26%, rgba(214,38,18,.26) 52%, transparent 78%), linear-gradient(160deg, #120f0b, #0a0806); }
.banner-bg .flag-wave { display: none; }
.banner-bg .flag-wave { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.banner-bg .flag-wave span { position: absolute; left: -20%; right: -20%; height: 26%; transform: rotate(-12deg); filter: blur(28px); opacity: .45; }
.banner-bg .flag-wave span:nth-child(1) { top: -6%; background: #fff; opacity: .16; }
.banner-bg .flag-wave span:nth-child(2) { top: 14%; background: var(--bg-green); }
.banner-bg .flag-wave span:nth-child(3) { top: 34%; background: var(--bg-red); }
.banner .big-logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: .9; }

/* Фен зона */
.fan-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fan-tile { position: relative; aspect-ratio: 1 / 1.15; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s var(--ease), border-color .3s; }
.fan-tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.fan-stripes { display: flex; height: 6px; border-radius: 3px; overflow: hidden; }
.fan-stripes i { flex: 1; }
.fan-emblem { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; border: 2px solid currentColor; margin: 0 auto; }
.fan-tile h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; margin: 0; letter-spacing: .03em; font-weight: 600; text-align: center; }
.fan-tile small { display: block; text-align: center; color: var(--muted); font-size: 12px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.acc { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; text-align: left; font-weight: 700; font-size: 16.5px; }
.acc-btn .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .25s; }
.acc.open .acc-btn .pm { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p, .acc-body .acc-in { margin: 0; padding: 0 0 22px; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr; gap: 36px; }
.footer h5 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.footer ul a:hover { color: var(--accent); }
.footer .tagline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); margin: 10px 0 20px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: all .2s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { height: 32px; padding: 0 12px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; color: var(--text-2); }
.pay-badges .courier-logo { padding: 0 10px; }
.pay-badges .courier-logo.on-white { background: #fff; border-color: #fff; }
.courier-logo img { display: block; width: auto; }

/* ---------- Категория ---------- */
.cat-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 85% 50%, rgba(245, 190, 50,.16), transparent 60%), var(--bg-2); }
.cat-hero .container > :not(.bg-word) { position: relative; z-index: 1; }
.cat-hero .container { position: relative; padding-top: 28px; padding-bottom: 40px; }
.cat-hero .bg-word { position: absolute; right: var(--gutter); bottom: -24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 15vw, 220px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 190, 50,.14); text-transform: uppercase; pointer-events: none; white-space: nowrap; }
.cat-hero h1 { font-size: clamp(44px, 6vw, 80px); margin: 18px 0 10px; }
.cat-hero p { max-width: 560px; color: var(--text-2); margin: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs .icon { width: 14px; height: 14px; }
.cat-chips { display: flex; gap: 8px; margin-top: 26px; overflow-x: auto; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }

.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.f-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.f-group:first-child { padding-top: 0; }
.f-group h6 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin: 0 0 14px; font-weight: 600; display: flex; justify-content: space-between; }
.check { display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--text-2); }
.check input { display: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .2s; flex: none; }
.check .box .icon { width: 13px; height: 13px; stroke-width: 3.2; color: var(--accent-ink); opacity: 0; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box .icon { opacity: 1; }
.check:hover { color: var(--text); }
.check .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; position: relative; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: transform .15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.swatch[disabled] { opacity: .2; cursor: not-allowed; transform: none; }
.price-range { display: flex; gap: 8px; }
.price-range button { flex: 1; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar .count b { color: var(--text); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 40px 0 16px; border-radius: var(--r-sm); background: var(--surface); border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; outline: none; }
.select select:focus { border-color: var(--accent); }
.select .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; }
.filter-btn { display: none; }
.f-actions { display: none; border: 0; }
.f-group:has(+ .f-actions) { border-bottom: 0; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters .chip { height: 32px; font-size: 12px; padding: 0 12px; }
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty h3 { color: var(--text); font-size: 26px; margin-bottom: 8px; }

/* ---------- Продукт ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 24px; padding-bottom: 72px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(70% 60% at 50% 55%, #2f2a20, #1a1712); border: 1.5px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 8px; transition: border-color .2s; }
.thumb.active, .thumb:hover { border-color: var(--accent); }
.thumb svg { width: 100%; height: 100%; }
.main-img { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(70% 60% at 50% 58%, #352e22 0%, #161310 72%); border: 1px solid var(--line); cursor: zoom-in; }
.main-img .garment { position: absolute; inset: 7%; transition: transform .5s var(--ease); }
.main-img .garment svg { width: 100%; height: 100%; }
.main-img.zoom .garment { transform: scale(1.6); }
.main-img .note { position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.main-img .card-tags { top: 16px; left: 16px; }

.pdp-info .crumbs { margin-bottom: 16px; }
.pdp-info h1 { font-size: clamp(32px, 3.4vw, 46px); margin: 6px 0 12px; }
.pdp-sub { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.pdp-sub .stock { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pdp-sub .stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.pdp-price .price { font-size: 44px; }
.pdp-price .extra { font-size: 13px; color: var(--muted); }
.opt { margin-top: 26px; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.opt-head b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 600; }
.opt-head b span { color: var(--text-2); font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.opt-head a, .opt-head button { font-size: 13px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.size { height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); font-weight: 800; font-size: 14px; transition: all .15s; position: relative; }
.size:hover { border-color: var(--text-2); }
.size.active { border-color: var(--accent); background: rgba(245, 190, 50,.1); color: var(--accent); }
.size.rec::after { content: "★"; position: absolute; top: -8px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 10px; display: grid; place-items: center; }
.size-help { margin-top: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.size-help-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; font-size: 14px; font-weight: 700; }
.size-help-toggle .icon:first-child { color: var(--accent); }
.size-help-toggle .icon:last-child { margin-left: auto; transition: transform .25s; }
.size-help.open .size-help-toggle .icon:last-child { transform: rotate(180deg); }
.size-help-body { display: none; padding: 4px 16px 16px; }
.size-help.open .size-help-body { display: block; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); cursor: pointer; transition: all .15s; font-size: 14px; font-weight: 600; }
.addon:hover { border-color: var(--text-2); }
.addon input { display: none; }
.addon .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.addon .box .icon { width: 13px; height: 13px; stroke-width: 3.2; color: var(--accent-ink); opacity: 0; }
.addon:has(input:checked) { border-color: var(--accent); background: rgba(245, 190, 50,.06); }
.addon input:checked + .box { background: var(--accent); border-color: var(--accent); }
.addon input:checked + .box .icon { opacity: 1; }
.addon .plus { margin-left: auto; font-family: var(--font-display); color: var(--text-2); }
.addon small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.buy-row { display: flex; gap: 10px; margin-top: 28px; }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); flex: none; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; }
.qty button:hover { color: var(--accent); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.qty-sm { height: 36px; }
.qty-sm button { width: 32px; }
.buy-row .btn-primary { flex: 1; --h: 54px; font-size: 16px; }
.buy-row .fav-big { width: 54px; height: 54px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .2s; }
.buy-row .fav-big:hover, .buy-row .fav-big.on { border-color: var(--accent); color: var(--accent); }
.buy-row .fav-big.on .icon { fill: var(--accent); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.perk .icon { color: var(--accent); width: 24px; height: 24px; }
.perk b { display: block; font-size: 13.5px; }
.perk span { color: var(--muted); font-size: 12px; }
.pdp-acc { margin-top: 28px; border-top: 1px solid var(--line); }


.sticky-buy { display: none; }

/* ---------- Количка (drawer) ---------- */
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-thumb { aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(70% 60% at 50% 55%, #2f2a20, #1a1712); padding: 8px; }
.cart-thumb svg { width: 100%; height: 100%; }
.cart-item h4 { margin: 0; font-size: 14.5px; line-height: 1.3; }
.cart-meta { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; line-height: 1.5; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-row .price { font-size: 19px; }
.remove { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.remove:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty .icon { width: 56px; height: 56px; color: var(--line-2); margin: 0 auto 16px; stroke-width: 1.3; }
.cart-empty h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; margin: 0 0 6px; }
.cart-empty p { color: var(--muted); margin: 0 0 22px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-2); padding: 4px 0; }
.sum-row > span:first-child { flex: none; }
.sum-row > span:last-child { text-align: right; }
.sum-row.total { font-size: 16px; color: var(--text); font-weight: 800; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); align-items: baseline; }
.sum-row.total .price { font-size: 28px; }
.made-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(245, 190, 50,.08); border: 1px solid rgba(245, 190, 50,.2); font-size: 13px; margin-bottom: 16px; }
.made-note .icon { color: var(--accent); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding-top: 28px; padding-bottom: 80px; align-items: start; }
.co-steps { display: flex; align-items: center; gap: 12px; margin: 18px 0 30px; flex-wrap: wrap; }
.co-step { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--muted); }
.co-step i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 1.5px solid var(--line-2); font-size: 13px; }
.co-step.active { color: var(--text); }
.co-step.active i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.co-step.done i { border-color: var(--accent); color: var(--accent); }
.co-line { width: 40px; height: 1.5px; background: var(--line-2); }
.panel { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.panel h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.panel h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 14px; color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px; padding: 22px 16px 6px; border-radius: var(--r-sm);
  background: var(--bg); border: 1.5px solid var(--line-2); outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 96px; resize: vertical; padding-top: 26px; }
.field select { appearance: none; -webkit-appearance: none; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .15s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245, 190, 50,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.field.err input { border-color: var(--red); }
.field .err-msg { display: none; font-size: 12px; color: var(--red); margin-top: 6px; }
.field.err .err-msg { display: block; }
.field .icon.sel { position: absolute; right: 14px; top: 20px; pointer-events: none; width: 16px; height: 16px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option { position: relative; display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); cursor: pointer; transition: all .15s; }
.option:hover { border-color: var(--text-2); }
.option input { display: none; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; }
.option .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s var(--ease); }
.option:has(input:checked) { border-color: var(--accent); background: rgba(245, 190, 50,.05); }
.option:has(input:checked) .radio { border-color: var(--accent); }
.option:has(input:checked) .radio::after { transform: scale(1); }
.option b { display: block; font-size: 14.5px; }
.option span { color: var(--muted); font-size: 12.5px; }
.option .courier { margin-left: auto; height: 26px; padding: 0 8px; border-radius: 5px; font-weight: 800; font-size: 11px; display: grid; place-items: center; letter-spacing: .04em; }
.courier.econt { background: #1c4ea8; color: #fff; }
.courier.speedy { background: #e2231a; color: #fff; }
.courier.pigeon { background: var(--accent); color: #1a1100; white-space: nowrap; }
.option.disabled { opacity: .45; cursor: not-allowed; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); margin-top: 14px; cursor: pointer; }
.consent input { display: none; }
.consent .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; margin-top: 1px; }
.consent .box .icon { width: 13px; height: 13px; stroke-width: 3.2; color: var(--accent-ink); opacity: 0; }
.consent input:checked + .box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .box .icon { opacity: 1; }
.consent a { color: var(--accent); text-decoration: underline; }
.consent.err .box { border-color: var(--red); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary .panel { margin: 0; }
.sum-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.sum-item .cart-thumb { padding: 5px; position: relative; }
.sum-item .cart-thumb em { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--text-2); color: var(--bg); font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.sum-item b { font-size: 13.5px; display: block; line-height: 1.3; }
.sum-item small { color: var(--muted); font-size: 12px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* Успешна поръчка */
.done-page { max-width: 720px; margin: 0 auto; text-align: center; padding: 72px 0 96px; }
.done-check { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 28px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(245, 190, 50,.12), 0 0 60px var(--accent-glow); animation: pop .6s var(--ease); }
.done-check .icon { width: 48px; height: 48px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done-page h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 12px; }
.done-page > p { color: var(--text-2); font-size: 17px; margin: 0 auto 32px; max-width: 520px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0; text-align: center; position: relative; }
.timeline::before { content: ""; position: absolute; top: 20px; left: 12%; right: 12%; height: 2px; background: var(--line-2); }
.tl { position: relative; }
.tl i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--surface-2); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.tl.on i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tl b { display: block; font-size: 13.5px; }
.tl span { color: var(--muted); font-size: 12px; }

/* Профил */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
.p-card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--font-display); font-size: 32px; font-weight: 700; background: linear-gradient(135deg, var(--accent), #a8781f); color: var(--accent-ink); }
.p-menu { margin-top: 16px; display: grid; gap: 4px; text-align: left; }
.p-menu button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; color: var(--text-2); width: 100%; transition: all .15s; }
.p-menu button:hover { background: var(--surface-2); color: var(--text); }
.p-menu button.active { background: var(--surface-3); color: var(--accent); }
.order-card { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.order-card .status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 700; background: rgba(245, 190, 50,.12); color: var(--accent); }
.order-thumbs { display: flex; gap: 6px; margin-top: 12px; }
.order-thumbs div { width: 52px; height: 52px; border-radius: 10px; background: radial-gradient(70% 60% at 50% 55%, #2f2a20, #1a1712); padding: 5px; }

/* Търсене */
.search-pop { position: fixed; inset: 0; z-index: 110; background: #060504; display: none; overflow-y: auto; }
.search-pop.open { display: block; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.search-top { display: flex; align-items: center; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.search-top input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-family: var(--font-display); font-size: clamp(26px, 4vw, 44px); text-transform: uppercase; }
.search-top input::placeholder { color: var(--line-2); }
.search-top > .icon { width: 30px; height: 30px; color: var(--accent); }
.search-sugg { display: flex; gap: 8px; flex-wrap: wrap; padding: 22px 0; }
.search-res { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-bottom: 60px; }

/* Модал */
.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.78); }
.modal.open { display: grid; animation: fadeIn .2s; }
.modal-box { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 30px; position: relative; animation: slideIn .35s var(--ease); }
.modal-box .x { position: absolute; top: 14px; right: 14px; }
.modal-box h3 { font-size: 30px; margin-bottom: 6px; }
.modal-box > p { color: var(--muted); margin: 0 0 22px; }

/* Toast */
.toast { position: fixed; z-index: 130; left: 50%; bottom: 28px; transform: translate(-50%, 160%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); min-width: 320px; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .mini { width: 48px; height: 48px; border-radius: 10px; background: radial-gradient(70% 60% at 50% 55%, #2f2a20, #1a1712); padding: 4px; flex: none; }
.toast b { display: block; font-size: 14px; }
.toast span { color: var(--muted); font-size: 12.5px; }
.toast .btn { margin-left: auto; }

/* Появяване при скрол */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-link { padding: 0 9px; font-size: 13.5px; }
  .sports-rail { grid-auto-columns: calc((100% - 14px * 3) / 4); }
  .products-rail { grid-auto-columns: calc((100% - 16px * 3) / 4); }
  .fan-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: span 3; }
  .search-res { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 60px; }
  .topbar { display: none; }
  .nav, .header-actions .hide-m { display: none; }
  .burger { display: grid; }
  .header .container { gap: 8px; }
  .logo { margin: 0 auto; font-size: 26px; }
  .bottom-nav { display: flex; }
  body:not(.home-only) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 60px; min-height: 0; gap: 0; }
  .hero-art { order: -1; max-width: 520px; width: 100%; margin: 0 auto -10px; }
  .hero-text { text-align: left; }
  .usps .container { grid-template-columns: 1fr 1fr; }
  .usp { border-bottom: 1px solid var(--line); padding: 18px 14px; }
  .usp:first-child { padding-left: 14px; }
  .usp:nth-child(2n) { border-right: 0; }
  .usp:nth-child(n+3) { border-bottom: 0; }
  .mfy-grid, .faq { grid-template-columns: 1fr; gap: 36px; }
  .banners { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(360px, 88%); background: var(--bg-2); padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ease); border-right: 1px solid var(--line); }
  .filters.open { transform: none; }
  .filter-btn { display: inline-flex; }
  .f-actions { display: block; }
  .filters-head { display: flex !important; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pdp > * { min-width: 0; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumb { width: 72px; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .profile { grid-template-columns: 1fr; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 55; padding: 10px 16px; gap: 12px; align-items: center; background: #0c0a08; border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .35s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy .price { font-size: 24px; }
  .sticky-buy .btn { flex: 1; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 72px); }
  .hero-lead { font-size: 15.5px; margin: 18px 0 24px; }
  .hero-meta { gap: 22px; margin-top: 32px; }
  .hero-meta b { font-size: 28px; }
  .hero-ctas .btn { flex: 1; }
  .float-card { padding: 8px 12px; gap: 8px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
  .float-card b { font-size: 13px; }
  .float-card span { display: none; }
  .float-card.f3 { display: none; }
  .usp { gap: 10px; flex-direction: column; align-items: flex-start; }
  .usp .icon { width: 28px; height: 28px; }
  .usp b { font-size: 13.5px; }
  .usp span { font-size: 12px; }
  .sports-rail { grid-auto-columns: 42%; }
  .products-rail { grid-auto-columns: 62%; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-name { font-size: 13.5px; }
  .price { font-size: 19px; }
  .add-btn { width: 36px; height: 36px; }
  .card-quick { display: none; }
  .card-fav { width: 32px; height: 32px; top: 6px; right: 6px; }
  .card-tags { top: 8px; left: 8px; }
  .rail-btns { display: none; }
  .sport-tile { padding: 14px; }
  .sport-tile h3 { font-size: 20px; }
  .sport-tile .st-word { font-size: 46px; }
  .steps { grid-template-columns: 1fr; }
  .made-for-you::before { font-size: 120px; }
  .banner { min-height: 340px; }
  .banner-clubs { padding-top: 190px; }
  .banner-clubs .jerseys { width: 78%; top: 18px; right: 11%; transform: none; }
  .banner-clubs > :not(.jerseys) { max-width: none; }
  .fan-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: span 2; }
  .sizes { grid-template-columns: repeat(4, 1fr); }
  .form-grid, .options { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .timeline::before { display: none; }
  .search-res { grid-template-columns: 1fr 1fr; }
  .co-line { width: 16px; }
  .co-step { font-size: 12px; }
  .toolbar .select select { height: 40px; }
  /* Телефон: картите са поотделно, по 3 на ред (логото се взема от първия колаж) */
  .home-boards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 6px; padding: 8px; }
  .home-board { display: contents; }
  .home-board > img { display: none; }
  .board-logo { display: block; grid-column: 1 / -1; justify-self: center; width: 78%; margin: 4px 0 2px; }
  .gold-logo-wrap { position: relative; grid-column: 1 / -1; height: auto; padding: 14px 0 18px; background: none; }
  .gold-logo { --size: 14.4vw; }
  .sub-boards { display: grid; min-height: 0; align-content: start; }
  .sub-boards .board-logo { width: 100%; }
  .sub-boards .board-btn { aspect-ratio: 400 / 420; }
  .board-btn { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 360 / 628; grid-column: span 2; background: #0c0c0c; }
  .home-board:last-child .board-btn:nth-last-child(2) { grid-column: 2 / span 2; }
  .hide-xs { display: none; }
  .toolbar .filter-btn { order: 1; }
  .toolbar .select { order: 2; margin-left: auto; }
  .toolbar .count { order: 3; width: 100%; font-size: 13px; }
  .swatches { gap: 8px; }
  .opt .swatch { width: 28px; height: 28px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .perk { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .co-steps { gap: 8px; }
  .co-step:not(.active) { font-size: 0; gap: 0; }
  .co-step i { font-size: 13px; }
  .profile { padding-top: 20px; gap: 24px; }
  .p-card { display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; text-align: left; align-items: center; padding: 16px; }
  .avatar { width: 56px; height: 56px; font-size: 22px; margin: 0; grid-row: span 2; }
  .p-menu { grid-column: 1 / -1; display: flex; overflow-x: auto; gap: 8px; margin-top: 14px; scrollbar-width: none; }
  .p-menu::-webkit-scrollbar { display: none; }
  .p-menu button { white-space: nowrap; width: auto; flex: none; background: var(--surface-2); padding: 10px 14px; font-size: 13.5px; }
  .order-card { grid-template-columns: 1fr; }
  .order-card > div:last-child { text-align: left !important; }
  .buy-row .btn-primary { min-width: 0; padding: 0 16px; }
}

/* Намалено движение (и по-слаби устройства, които го искат) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Каталог и останалите страници в цветовете на картите: черно и златно */
.btn-primary, .add-btn { background: linear-gradient(180deg, #ffdc78, #e0a21e); }
.btn-primary:hover { background: linear-gradient(180deg, #ffe89b, #edb02a); }
.cat-hero h1, .pdp-info h1, .section-title, .done-page h1 { background: linear-gradient(180deg, #ffe89b, #e0a21e 70%, #b37f17); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { border-color: rgba(245, 190, 50, .28); }
.card:hover { border-color: var(--accent); }

/* Прозорец на жълтия бутон: голяма снимка, име и артикулен номер */
.qa-img { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(70% 60% at 50% 55%, #2f2a20, #14110d); padding: 18px; margin-bottom: 18px; }
.qa-name { font-size: 28px; margin: 0 0 8px; }
.qa-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.qa-meta .price { font-size: 26px; color: var(--accent); }

/* Превключвател на езика: БГ / EN / RU */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); margin-right: 6px; }
.lang-switch button { height: 28px; min-width: 34px; padding: 0 7px; border-radius: 6px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--accent); color: #1a1100; }
.lang-float { position: fixed; z-index: 60; top: 12px; right: 12px; margin: 0; background: rgba(12, 10, 8, .85); display: none; }
body.home-only .lang-float { display: inline-flex; }
@media (max-width: 720px) { .lang-switch button { min-width: 30px; padding: 0 5px; font-size: 12px; } .header .lang-switch { margin-right: 2px; } }
@media (max-width: 720px) { body.home-only #main { padding-top: 46px; } }

/* Телефонът: голям, до „Фен зона“; на телефон – лента под менюто; на началната – горе вляво */
.header-phone { display: inline-flex; align-items: center; gap: 9px; margin-left: 18px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .04em; color: var(--accent); white-space: nowrap; transition: color .2s; }
.header-phone .icon { width: 20px; height: 20px; }
.header-phone:hover { color: #ffe08a; }
.phone-strip { display: none; }
.phone-float { position: fixed; z-index: 60; top: 12px; left: 14px; margin: 0; height: 36px; padding: 0 12px; border-radius: 9px; background: rgba(12, 10, 8, .85); border: 1px solid var(--line); font-size: 18px; display: none; }
body.home-only .phone-float { display: inline-flex; }
@media (max-width: 1024px) {
  .phone-strip { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; background: var(--surface); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .05em; color: var(--accent); }
  .phone-strip .icon { width: 19px; height: 19px; }
}
@media (max-width: 720px) { .phone-float { font-size: 15px; padding: 0 9px; gap: 6px; } .phone-float .icon { width: 16px; height: 16px; } }

/* Страница „Изработка по поръчка“ */
.made-page { max-width: 760px; padding-top: 56px; padding-bottom: 88px; }
.made-page h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; margin: 0 0 28px; background: linear-gradient(180deg, #ffe89b, #e0a21e 70%, #b37f17); -webkit-background-clip: text; background-clip: text; color: transparent; }
.made-page p { color: var(--text-2); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.made-page p.lead { color: var(--text); font-size: 20px; font-weight: 700; }
.consent a { white-space: nowrap; }

/* Прозорец „Продукти с вграден QR код“ */
.qr-box { width: min(680px, 100%); }
.qr-box h3 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; margin: 0 0 16px; padding-right: 36px; background: linear-gradient(180deg, #ffe89b, #e0a21e 70%, #b37f17); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qr-box h4 { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; color: var(--accent); margin: 26px 0 12px; }
.qr-box p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 0 0 10px; }
.qr-box p.qr-lead { color: var(--text); font-weight: 700; font-size: 16.5px; }
.qr-steps { list-style: none; counter-reset: qr; margin: 0; padding: 0; display: grid; gap: 12px; }
.qr-steps li { counter-increment: qr; position: relative; padding: 14px 16px 6px 58px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.qr-steps li::before { content: counter(qr); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1a1100; font-family: var(--font-display); font-weight: 700; }
.qr-steps b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; margin: 4px 0 6px; }
.qr-viber { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qr-viber a { color: var(--accent); font-weight: 800; font-size: 16px; }
.qr-viber .icon { color: var(--accent); }
.qr-go { margin-top: 22px; --h: 56px; }
/* Телефонът запълва празното място между „Фен зона“ и бутоните вдясно */
@media (min-width: 1025px) {
  .header .nav { flex: 1; margin-right: 0; }
  .header .nav > .nav-item:last-child { flex: 1; justify-content: center; align-items: center; container-type: inline-size; }
  .header .header-phone { margin: 0; gap: .3em; font-size: min(50px, 13cqi); letter-spacing: .05em; line-height: 1; }
  .header .header-phone .icon { width: .78em; height: .78em; }
}

/* Бутон „Прочети, за да завършиш поръчката си“ и прозорецът с текста */
.read-made { margin-top: 16px; --h: 52px; border-color: var(--accent); color: var(--accent); }
.read-made:hover { background: rgba(245, 190, 50, .1); }
.modal-box.wide { width: min(680px, 100%); }
.made-box { width: auto; }

/* Социалните мрежи стоят над логата на куриерите */
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
@media (max-width: 720px) { .footer-right { align-items: flex-start; } }

/* Социални мрежи: официалните логота в техните цветове */
.socials a { width: 44px; height: 44px; background: #fff; transition: transform .2s, box-shadow .2s; }
.socials a svg { width: 24px; height: 24px; display: block; }
.socials a:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
