@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- ЦВЕТА --- */
:root {
  --bg:          #080809;
  --surface:     #0d0d10;
  --surface2:    #101013;
  --surface3:    #141418;

  --border:      #1c1c21;
  --border2:     #262630;
  --border3:     #30303c;

  --text:        #eceae4;
  --text2:       #9a9896;
  --muted:       #5a5a62;
  --hint:        #2e2e36;
  --price:       #f5f2ec;

  --blue:        #5b9cf6;
  --blue-dim:    #0d1e38;
  --blue-border: rgba(91,156,246,0.22);

  --green:       #3db87a;
  --green-dim:   #0a1f14;
  --green-border:rgba(61,184,122,0.22);

  --amber:       #e09030;
  --amber-dim:   #201408;
  --amber-border:rgba(224,144,48,0.22);

  --red:         #e05050;
  --red-dim:     #200a0a;
  --red-border:  rgba(224,80,80,0.22);

  --accent:      var(--blue);
  --accent-bg:   var(--blue-dim);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.main {
  background: var(--bg);
}

#content {
  color: var(--text);
}

#content p, #content li, #content td, #content th, #content span, #content div {
  color: inherit;
}

a { text-decoration: none; }

/* --- NAVBAR --- */
.navbar {
  background: rgba(8,8,9,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 40px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navbar-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  gap: 24px;
  flex: 1;
}

.navbar-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}

.navbar-links a:hover { color: var(--text); }

.navbar-search {
  flex: 1;
  max-width: 260px;
  position: relative;
}

.navbar-search input {
  width: 100%;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  padding: 8px 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.navbar-search input:focus {
  border-color: var(--blue);
  background: var(--surface2);
}

.navbar-search input::placeholder { color: var(--hint); }

.navbar-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

/* --- КНОПКИ --- */
.btn {
  border: none;
  border-radius: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn-accent {
  background: var(--blue);
  color: #04060e;
  font-size: 13px;
  padding: 8px 18px;
}

.btn-outline {
  background: transparent;
  color: var(--text2);
  border: 0.5px solid var(--border2);
  font-size: 13px;
  padding: 8px 18px;
}

.btn-outline:hover {
  border-color: var(--border3);
  color: var(--text);
  opacity: 1;
}

.btn-lg {
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 9px;
}

.btn-sm {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
}

/* --- HERO --- */
.hero {
  padding: 72px 40px 64px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before { display: none; }

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.028) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.028) 40px
    );
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 30%; right: 0;
  background: linear-gradient(90deg, transparent, rgba(91,156,246,0.025) 50%, transparent);
  pointer-events: none;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 0.5px solid var(--border2);
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text2);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hero-float-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-left { z-index: 1; position: relative; }

.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.hero-desc {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 52px;
}

/* Статистика — горизонтальный блок с цветными цифрами */
.hero-stats {
  display: flex;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.hero-stats > div {
  flex: 1;
  padding: 14px 20px;
  border-right: 0.5px solid var(--border);
}

.hero-stats > div:last-child { border-right: none; }

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stats > div:nth-child(1) .stat-value { color: var(--blue); }
.hero-stats > div:nth-child(2) .stat-value { color: var(--green); }
.hero-stats > div:nth-child(3) .stat-value { color: var(--amber); }

.stat-label {
  font-size: 11px;
  color: var(--muted);
}

/* Hero карточка — с цветной полосой сверху */
.hero-card {
  background: var(--surface);
  border: 0.5px solid var(--border2);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
}

.hero-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
}

.hero-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  font-weight: 600;
  color: var(--price);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-card-image {
  background: #0c0c0f;
  border: 0.5px solid var(--border);
  border-radius: 9px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--hint);
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
}

.hero-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(91,156,246,0.05) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(91,156,246,0.05) 24px);
}

.hero-card-image::after { display: none; }

.hero-card-specs {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-card-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 6px;
}

.hero-card-spec-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.hero-card-spec-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.hero-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* --- ТЕГИ --- */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 5px;
  border: 0.5px solid;
}

.tag-blue   { background: var(--blue-dim);  color: var(--blue);  border-color: var(--blue-border); }
.tag-green  { background: var(--green-dim); color: var(--green); border-color: var(--green-border); }
.tag-amber  { background: var(--amber-dim); color: var(--amber); border-color: var(--amber-border); }
.tag-red    { background: var(--red-dim);   color: var(--red);   border-color: var(--red-border); }
.tag-gray   { background: transparent;      color: var(--muted); border-color: var(--border); }

/* --- СЕКЦИИ --- */
.section {
  padding: 64px 40px;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.025em;
}

.section-link {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
  font-family: 'JetBrains Mono', monospace;
}

.section-link:hover { color: var(--blue); }
.section-link::after { content: '→'; }

/* --- КАТЕГОРИИ — карточки с цветной полосой снизу при hover --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cat-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-card:hover { border-color: var(--border2); background: var(--surface2); }
.cat-card:hover::after { opacity: 1; }

.cat-card:nth-child(1)::after,
.cat-card:nth-child(2)::after { background: var(--blue); }
.cat-card:nth-child(3)::after,
.cat-card:nth-child(4)::after { background: var(--green); }
.cat-card:nth-child(5)::after,
.cat-card:nth-child(6)::after { background: var(--amber); }
.cat-card:nth-child(7)::after,
.cat-card:nth-child(8)::after { background: var(--red); }

.cat-icon {
  width: 34px;
  height: 34px;
  background: var(--surface3);
  border: 0.5px solid var(--border2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.cat-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: auto;
}

/* --- ПРЕИМУЩЕСТВА — таблица с разноцветными номерами --- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.adv-item {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.15s;
}

.adv-item:hover { background: var(--surface2); }

.adv-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  font-weight: 500;
}

.adv-item:nth-child(1) .adv-num { color: var(--blue); }
.adv-item:nth-child(2) .adv-num { color: var(--green); }
.adv-item:nth-child(3) .adv-num { color: var(--amber); }
.adv-item:nth-child(4) .adv-num { color: var(--red); }
.adv-item:nth-child(5) .adv-num { color: var(--blue); }
.adv-item:nth-child(6) .adv-num { color: var(--green); }

.adv-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.adv-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- ТОВАРЫ --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.prod-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.prod-card:hover {
  border-color: var(--border3);
  transform: translateY(-2px);
}

.prod-img {
  aspect-ratio: 4/3;
  background: var(--surface2);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--hint);
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
}

.prod-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.018) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.018) 20px);
}

.prod-body { padding: 14px; }
.prod-tags { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: wrap; }

.prod-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--hint);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.prod-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.prod-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 600;
  color: var(--price);
  letter-spacing: -0.01em;
}

.prod-price-unit {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* --- ПРОЕКТЫ --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.project-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border3);
  transform: translateY(-2px);
}

.project-img {
  height: 155px;
  background: var(--surface2);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--hint);
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
}

.project-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255,255,255,0.02) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255,255,255,0.02) 30px);
}

.project-year {
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text2);
  background: var(--surface3);
  border: 0.5px solid var(--border2);
  border-radius: 4px;
  padding: 3px 8px;
  z-index: 1;
}

.project-body { padding: 16px; }

.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.project-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* --- CTA БЛОК --- */
.cta {
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px);
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--green));
}

.cta-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cta-title em {
  font-style: normal;
  color: var(--blue);
}

.cta-sub {
  font-size: 14px;
  color: var(--text2);
  max-width: 460px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.cta-form input {
  background: var(--bg);
  border: 0.5px solid var(--border2);
  border-radius: 9px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  padding: 12px 18px;
  outline: none;
  width: 210px;
  transition: border-color 0.15s;
}

.cta-form input:focus { border-color: var(--blue); }
.cta-form input::placeholder { color: var(--hint); }

/* --- ФУТЕР --- */
.footer {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  padding: 48px 40px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 13px;
  color: var(--text2);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.footer-contact-item {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* --- LAYOUT (sidebar + content) --- */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 58px);
  align-items: start;
}

/* --- SIDEBAR --- */
.sidebar {
  background: var(--surface);
  border-right: 0.5px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 58px;
  max-height: calc(100vh - 58px);
  overflow-y: auto;
}

.sidebar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hint);
  padding: 0 20px 10px;
}

.sidebar-item {
  display: block;
  padding: 9px 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.35;
}

.sidebar-item:hover { color: var(--text); background: rgba(255,255,255,0.02); }
.sidebar-item.active { color: var(--blue); border-left-color: var(--blue); background: var(--blue-dim); }

.sidebar-subitem {
  display: block;
  padding: 7px 20px 7px 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}

.sidebar-subitem:hover { color: var(--text); }
.sidebar-subitem.active { color: var(--blue); border-left-color: var(--blue); }

.sidebar-count {
  float: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--hint);
}

.sidebar-divider {
  height: 0.5px;
  background: var(--border);
  margin: 12px 20px;
}

/* --- MAIN CONTENT AREA --- */
.main {
  padding: 28px 36px;
  min-width: 0;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--hint); margin: 0 6px; }

/* --- CATALOG GRID --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.catalog-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.catalog-card:hover {
  border-color: var(--border3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.catalog-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.2s;
}

.catalog-card:hover .catalog-card-img img { transform: scale(1.04); }

.catalog-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.catalog-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.15s;
}

.catalog-card-title:hover { color: var(--blue); }

.catalog-card-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.catalog-card-desc {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  flex: 1;
}

.catalog-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--price);
  letter-spacing: -0.02em;
}

.catalog-card-price-old {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}

.catalog-card-price-request {
  font-size: 12px;
  color: var(--amber);
  font-weight: 500;
}

.catalog-card-footer {
  padding: 10px 14px;
  border-top: 0.5px solid var(--border);
}

.catalog-card-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  transition: opacity 0.15s;
}

.catalog-card-link:hover { opacity: 0.75; }

.catalog-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
}

.badge-new  { background: var(--blue-dim);  color: var(--blue);  border: 0.5px solid var(--blue-border); }
.badge-hit  { background: var(--amber-dim); color: var(--amber); border: 0.5px solid var(--amber-border); }
.badge-sale { background: var(--red-dim);   color: var(--red);   border: 0.5px solid var(--red-border); }

/* --- CATALOG FILTER --- */
.catalog-filter {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.catalog-filter-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.catalog-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.catalog-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.catalog-filter-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.catalog-filter-select,
.catalog-filter-input {
  background: var(--surface2);
  border: 0.5px solid var(--border2);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  padding: 7px 10px;
  outline: none;
  transition: border-color 0.15s;
  min-width: 140px;
}

.catalog-filter-select:focus,
.catalog-filter-input:focus { border-color: var(--blue); }

.catalog-filter-range { display: flex; align-items: center; gap: 6px; }
.catalog-filter-range-sep { font-size: 11px; color: var(--muted); }
.catalog-filter-input.sm { min-width: 72px; width: 72px; }
