/* ===================================
   FORMATEKA MODERN — CSS
   =================================== */

:root {
  --bg:           #0a0a0d;
  --surface:      #13131a;
  --surface-2:    #1c1c26;
  --surface-3:    #252530;
  --border:       #2a2a38;
  --border-light: #363648;
  --accent:       #e8b84b;
  --accent-dim:   rgba(232, 184, 75, 0.12);
  --accent-glow:  rgba(232, 184, 75, 0.25);
  --green:        #2ecc71;
  --green-dim:    rgba(46, 204, 113, 0.15);
  --red:          #e84b3c;
  --text:         #f0f0f8;
  --text-muted:   #8888a8;
  --text-dim:     #4a4a62;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,.35);
  --shadow-card: 0 4px 28px rgba(0,0,0,.45);
  --shadow-hover:0 12px 48px rgba(0,0,0,.6);

  --ease: cubic-bezier(.25,.46,.45,.94);
  --dur: .28s;

  --font: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, monospace;

  --max-w: 1380px;
  --gutter: 24px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
/* inline SVG arrows inside flex links */
.section-more svg,
.hero-cta svg { display: inline; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 13, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 10, 13, .97);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 68px;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--dur);
}
.header-logo:hover { opacity: .8; }
.header-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}
.header-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--text);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.header-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color var(--dur), background var(--dur);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
  background: var(--surface-2);
}

/* ── Brands dropdown ──────────────────────────────────────── */
.nav-brands-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  cursor: pointer;
  transition: color var(--dur), background var(--dur);
}
.nav-brands-btn:hover,
.nav-brands-btn.open {
  color: var(--text);
  background: var(--surface-2);
}
.nav-brands-chevron {
  flex-shrink: 0;
  transition: transform var(--dur);
}
.nav-brands-btn.open .nav-brands-chevron { transform: rotate(180deg); }

.brands-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  z-index: 199;
}
.brands-drop.open { display: block; }
.brands-drop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px;
  padding: 16px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.brands-drop-grid a {
  padding: 9px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--dur), background var(--dur);
}
.brands-drop-grid a:hover,
.brands-drop-grid a.active {
  color: var(--accent);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--dur), background var(--dur);
}
.header-action:hover {
  color: var(--text);
  background: var(--surface-2);
}
.header-action svg { width: 20px; height: 20px; }

.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background var(--dur);
}
.header-burger:hover { background: var(--surface-2); }
.header-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.header-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  background-color: var(--surface);
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(10,10,13,.96) 0%,
    rgba(10,10,13,.75) 55%,
    rgba(10,10,13,.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 680px;
  margin-left: max(48px, 5vw);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 184, 75, .28);
  border-radius: 100px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-accent { color: var(--accent); }

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--accent);
  color: #0a0a0d;
  border-color: var(--accent);
}
.btn-gold:hover {
  background: #f2c85e;
  border-color: #f2c85e;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
  padding: 15px 44px;
  font-size: 14px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== SECTION BASE ===== */
.section {
  padding: 96px 0;
}
.section-dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  transition: gap var(--dur), opacity var(--dur);
  white-space: nowrap;
}
.section-more a:hover { gap: 10px; }
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* ===== STAT STRIP ===== */
.stat-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: var(--border-light);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.cat-card:hover {
  border-color: rgba(232,184,75,.45);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.cat-card:hover .cat-icon { background: var(--accent-dim); border-color: rgba(232,184,75,.3); }
.cat-card:hover .cat-name { color: var(--text); }

.cat-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all var(--dur);
}
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-icon svg { width: 32px; height: 32px; color: var(--text-dim); }

/* Brand / model box grid */
.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.brand-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.brand-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color var(--dur);
}
.cat-count {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 20px;
  align-items: start;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: border-color .25s ease;
}
/* amber stripe wipes in left-to-right on hover — the signature moment */
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.product-card:hover { border-color: rgba(232,184,75,.25); }
.product-card:hover::after { width: 100%; }

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* image area */
.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

.product-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-thumb-empty svg { width: 40px; height: 40px; color: var(--border); }

/* LED-dot status badge */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.product-badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge-stock {
  background: rgba(10,26,16,.88);
  border: 1px solid rgba(46,204,113,.35);
  color: #2ecc71;
}
.badge-stock::before {
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}
.badge-dev {
  background: rgba(26,10,10,.88);
  border: 1px solid rgba(232,75,60,.35);
  color: #e84b3c;
}
.badge-dev::before { background: #e84b3c; }

/* card body */
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  gap: 10px;
}
.product-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -.02em;
}
.product-price-from {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}
/* text CTA with sliding arrow */
.product-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  transition: gap .2s ease;
}
.product-btn::after {
  content: '→';
  display: inline-block;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.product-card:hover .product-btn { gap: 5px; }
.product-card:hover .product-btn::after {
  opacity: 1;
  transform: translateX(0);
}

/* ===== PRODUCT DETAIL ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 8px 0 64px;
}
.detail-gallery {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-image-wrap {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,13,.65);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s;
  z-index: 2;
}
.gallery-arrow:hover { background: rgba(232,184,75,.15); border-color: var(--accent); color: var(--accent); }
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

.detail-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
  flex-shrink: 0;
}
.detail-thumb:hover { border-color: rgba(232,184,75,.4); }
.detail-thumb.active { border-color: var(--accent); }
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}
.detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.detail-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.detail-image-empty svg { width: 64px; height: 64px; color: var(--border); }

.detail-info { display: flex; flex-direction: column; gap: 20px; }

.detail-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 10px 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-status-dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.detail-status.badge-stock {
  background: rgba(10,26,16,.88);
  border: 1px solid rgba(46,204,113,.35);
  color: #2ecc71;
}
.detail-status.badge-stock .detail-status-dot {
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}
.detail-status.badge-dev {
  background: rgba(26,10,10,.88);
  border: 1px solid rgba(232,75,60,.35);
  color: #e84b3c;
}
.detail-status.badge-dev .detail-status-dot { background: #e84b3c; }

.detail-lead {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.detail-h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0;
}
.detail-price {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
}
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-buy-btn { min-width: 180px; text-align: center; }
.detail-buy-btn--dev { opacity: .5; cursor: default; pointer-events: none; }

.detail-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.detail-desc p { margin: 0 0 12px; }
.detail-desc p:last-child { margin-bottom: 0; }

.detail-props {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 4px;
}
.detail-props tr { border-bottom: 1px solid var(--border); }
.detail-props th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 16px 10px 0;
  white-space: nowrap;
  width: 40%;
}
.detail-props td {
  color: var(--text);
  padding: 10px 0;
}

/* PhotoSwipe theme overrides */
:root {
  --pswp-bg: #000;
  --pswp-icon-color: #f0f0f8;
  --pswp-icon-color-secondary: #8888a8;
}

@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-gallery { position: static; }
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature {
  background: var(--surface);
  padding: 36px 32px;
  transition: background var(--dur);
}
.feature:hover { background: var(--surface-2); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent); }
.feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}
.feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== INFO PAGE ===== */
.info-lead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
.info-lead-text p {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 60ch;
}
.info-lead-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.info-fact {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.info-fact:last-child { border-bottom: none; }
.info-fact-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.info-fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.info-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.info-partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 32px;
  background: var(--surface);
  transition: background var(--dur);
}
.info-partner-card:hover { background: var(--surface-2); }
.info-partner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.info-partner-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.info-partner-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.footer-brand-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav ul a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--dur);
}
.footer-nav ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-sub a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--dur);
}
.footer-sub a:hover { color: var(--text-muted); }

/* ===== COOKIE NOTICE ===== */
.cookie-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.cookie-bar.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cookie-bar p {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.5;
}
.cookie-bar button {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--accent);
  color: #0a0a0d;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--dur);
}
.cookie-bar button:hover { background: #f2c85e; }

/* ===== CATALOG PAGE ===== */
.catalog-page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 2.4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .4rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .7rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--dur); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .35; }

.catalog-page-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.catalog-page-count {
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.catalog-main {
  padding: 3rem 0 5rem;
}

/* Larger brand grid on main catalog */
.cat-grid-xl {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

/* Section groups (models + products headings) */
.catalog-group { }
.catalog-group--sep { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.catalog-group-title {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Header active link */
.header-nav a.active { color: var(--accent); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 3rem;
}
.pag-num,
.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .8rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: .875rem;
  border: 1px solid var(--border);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.pag-num:hover,
.pag-btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-light); }
.pag-num.active { background: var(--accent); color: #0a0a0d; border-color: var(--accent); font-weight: 700; }
.pag-dots { color: var(--text-dim); line-height: 2.5rem; padding: 0 .25rem; }

/* ===== EMPTY STATE ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 6rem 1rem;
  text-align: center;
  color: var(--text-muted);
}
.empty-state svg { width: 56px; height: 56px; opacity: .25; }
.empty-state p { font-size: 1.05rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .info-lead { grid-template-columns: 1fr; gap: 40px; }
  .info-lead-facts { flex-direction: row; }
  .info-fact { flex: 1; border-bottom: none; border-right: 1px solid var(--border); }
  .info-fact:last-child { border-right: none; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .cat-grid-xl { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .catalog-main { padding: 2rem 0 4rem; }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,13,.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--gutter) 20px;
    gap: 4px;
    backdrop-filter: blur(16px);
  }
  .header-nav.open { display: flex; }
  .header-nav a { width: 100%; padding: 11px 12px; }
  .header-burger { display: flex; }

  .hero { background-attachment: scroll; min-height: 90svh; }
  .hero-content { margin-left: 0; padding: 60px var(--gutter); }

  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }

  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .features-grid { grid-template-columns: 1fr; gap: 2px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-partners { grid-template-columns: 1fr; }
  .nav-brands-btn { width: 100%; justify-content: space-between; padding: 11px 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-icon { width: 60px; height: 60px; }
  .cat-card { padding: 20px 8px 16px; gap: 10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
  .cookie-bar { bottom: 12px; left: 12px; right: 12px; }
}
