/* catalog.css — wspólne style dla Katalog / Produkt / Kategoria / Marka */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV (skrót — pełną wersję ma Home.html) ─── */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #2A2A2A;
}
/* Logo — jednolity branding (nav + footer): prefix/suffix = biały, accent = czerwony.
   Wymaga 3-spanowego markupu: <span class="logo-prefix">…</span><span class="logo-accent">…</span><span class="logo-suffix">…</span>.
   Render: catalog.js (nav__logo + site-footer__logo) i statyczny markup w Home/Strona/Menu. */
.nav__logo { font-size: 17px; font-weight: 900; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.nav__logo .logo-prefix,
.nav__logo .logo-suffix,
.site-footer__logo .logo-prefix,
.site-footer__logo .logo-suffix,
.footer__logo .logo-prefix,
.footer__logo .logo-suffix { color: #fff; }
.nav__logo .logo-accent,
.site-footer__logo .logo-accent,
.footer__logo .logo-accent { color: #E8272A; }
.nav__links { display: flex; gap: 36px; list-style: none; }
.nav__links a { font-size: 15px; color: #fff; transition: color 0.2s; white-space: nowrap; }
.nav__links a:hover { color: #ccc; }
.nav__cta {
  background: #fff; color: #000; border: none;
  padding: 10px 22px; border-radius: 6px;
  font: 500 14px 'Barlow',sans-serif;
  cursor: pointer; transition: background 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav__cta:hover { background: #e8e8e8; }

/* ─── PAGE LAYOUT ─── */
.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 48px 80px;
}

.breadcrumb {
  display: flex; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #555;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #888; transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { color: #333; }
.breadcrumb__current { color: #fff; }

.page-header {
  margin-bottom: 48px;
  border-bottom: 1px solid #2A2A2A;
  padding-bottom: 32px;
}
.page-header__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #555; margin-bottom: 16px;
}
.page-header__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1; color: #fff;
  margin-bottom: 16px;
}
.page-header__sub {
  font-size: 16px; color: #999;
  max-width: 640px; line-height: 1.6;
}

/* ─── CATALOG GRID ─── */
.catalog {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar filters */
.filters {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 32px;
}
.filter-group__title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #555;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1A1A1A;
}
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.filter-item {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 14px; color: #ccc;
  user-select: none;
  transition: color 0.15s;
}
.filter-item:hover { color: #fff; }
.filter-item input { accent-color: #fff; cursor: pointer; }
.filter-item__count {
  margin-left: auto;
  font-size: 11px;
  color: #444;
  font-variant-numeric: tabular-nums;
}
.filter-clear {
  background: none; border: 1px solid #2A2A2A;
  color: #888; padding: 8px 16px;
  border-radius: 100px;
  font: 500 12px 'Barlow',sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.filter-clear:hover { color: #fff; border-color: #555; }

/* Category tree (nested) */
.cat-tree { padding-left: 0; }
.cat-tree--nested { padding-left: 18px; margin-top: 8px; border-left: 1px solid #1A1A1A; }

/* Sort & toolbar */
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1A1A1A;
}
.toolbar__count {
  font-size: 13px; color: #888;
  font-variant-numeric: tabular-nums;
}
.toolbar__count strong { color: #fff; font-weight: 600; }
.sort-select {
  background: #0A0A0A; border: 1px solid #2A2A2A;
  color: #fff; font: 400 13px 'Barlow',sans-serif;
  padding: 8px 32px 8px 14px;
  border-radius: 6px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Product grid — split card layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 1200px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: #0A0A0A;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 240px;
  transition: background 0.25s ease;
  position: relative;
}
.product-card:hover { background: #111; }
.product-card.is-featured::before {
  content: "★ Wyróżnione";
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: #E8272A; background: rgba(232, 39, 42, 0.08);
  border: 1px solid rgba(232, 39, 42, 0.25);
  padding: 3px 8px; border-radius: 100px;
  z-index: 2;
}

.product-card__media {
  background: #050505;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border-right: 1px solid #1A1A1A;
  padding: 24px;
  overflow: hidden;
}
.product-card__media img {
  max-width: 100%; max-height: 200px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: #2A2A2A; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__body {
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 0;
}
.product-card__brand {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #555; margin-bottom: 10px;
}
.product-card__name {
  font-size: 18px; font-weight: 900;
  letter-spacing: -0.02em; color: #fff;
  margin-bottom: 6px;
  text-wrap: balance;
}
.product-card__model {
  font-size: 11px; font-weight: 500;
  color: #666; letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: 'Barlow', monospace;
}
.product-card__desc {
  font-size: 13px; line-height: 1.55;
  color: #888;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__specs {
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 18px;
  border-top: 1px solid #1A1A1A;
  padding-top: 14px;
}
.product-card__specs li {
  display: flex; justify-content: space-between;
  font-size: 12px;
  gap: 8px;
}
.product-card__specs .spec-key { color: #555; letter-spacing: 0.04em; }
.product-card__specs .spec-val { color: #ccc; font-weight: 500; text-align: right; }

.product-card__cta {
  align-self: flex-start;
  font-size: 13px; font-weight: 500;
  color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #fff;
  transition: gap 0.2s, color 0.2s;
}
.product-card__cta:hover { gap: 10px; color: #E8272A; border-color: #E8272A; }

/* Empty / loading / error states */
.state {
  padding: 80px 32px;
  text-align: center;
  border: 1px dashed #2A2A2A;
  border-radius: 12px;
}
.state__title {
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.02em; color: #fff;
  margin-bottom: 10px;
}
.state__msg { font-size: 14px; color: #888; max-width: 480px; margin: 0 auto; }
.spinner {
  width: 32px; height: 32px;
  border: 2px solid #1A1A1A;
  border-top-color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PRODUCT DETAIL ─── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
/* min-width:0 — bez tego element siatki ma min-width:auto i nie skurczy się
   poniżej swojej zawartości; rząd wielu miniatur (overflow-x:auto) rozpychał
   wtedy lewą kolumnę, główny obrazek puchł, a prawa kolumna lądowała poza ekranem */
.product-detail > * { min-width: 0; }

.gallery__main {
  background: #0A0A0A;
  border: 1px solid #1A1A1A;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  cursor: zoom-in;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.gallery__main img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.gallery__thumbs {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery__thumb {
  width: 80px; height: 80px;
  background: #0A0A0A;
  border: 1px solid #1A1A1A;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  transition: border-color 0.2s;
}
.gallery__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery__thumb.active { border-color: #fff; }
.gallery__thumb:hover { border-color: #555; }

.detail-info { padding-top: 8px; }
.detail-info__brand {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.detail-info__name {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 1; color: #fff;
  margin-bottom: 10px;
  text-wrap: balance;
}
.detail-info__model {
  font-size: 13px; color: #666;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.detail-info__short {
  font-size: 16px; line-height: 1.65;
  color: #999;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.detail-info__cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-pill {
  font-size: 11px; font-weight: 500;
  color: #888;
  border: 1px solid #2A2A2A;
  padding: 6px 12px;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}
.cat-pill:hover { color: #fff; border-color: #555; }

.btn-primary {
  background: #fff; color: #000;
  border: none; padding: 14px 32px;
  border-radius: 6px;
  font: 500 15px 'Barlow',sans-serif;
  cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: #e8e8e8; }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid #2A2A2A;
  padding: 14px 32px; border-radius: 6px;
  font: 400 15px 'Barlow',sans-serif;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.04); }

/* Sections under detail */
.detail-section {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid #2A2A2A;
}
.detail-section__title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #555;
  margin-bottom: 32px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid #1A1A1A; }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 14px 0;
  font-size: 14px;
  vertical-align: top;
}
.specs-table td:first-child {
  color: #666;
  width: 40%;
  font-weight: 500;
}
.specs-table td:last-child {
  color: #fff;
  font-weight: 500;
  text-align: right;
}

.long-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #ccc;
  max-width: 760px;
}
.long-desc p { margin-bottom: 16px; }
.long-desc h2, .long-desc h3 { color: #fff; font-weight: 900; letter-spacing: -0.02em; margin: 24px 0 12px; }
.long-desc h2 { font-size: 22px; }
.long-desc h3 { font-size: 18px; }
.long-desc ul, .long-desc ol { margin: 12px 0 16px 20px; }
.long-desc li { margin-bottom: 6px; }
.long-desc strong { color: #fff; }
.long-desc a { color: #E8272A; border-bottom: 1px solid #E8272A; }

/* Inquiry form — wrapped as a card to stand out from page background */
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  background: #0F0F0F;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px -30px rgba(0,0,0,0.8);
  position: relative;
}
.inquiry-form::before {
  /* Subtle red accent strip on the left edge */
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, #E8272A, rgba(232,39,42,0.1));
  border-radius: 2px;
}
.inquiry-form__field--full { grid-column: 1 / -1; }
.inquiry-form label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #888; margin-bottom: 10px;
}
.inquiry-form label .req { color: #E8272A; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  background: #1A1A1A;
  border: 1px solid #333;
  color: #fff;
  font: 400 14px 'Barlow',sans-serif;
  padding: 13px 14px;
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inquiry-form input:hover, .inquiry-form textarea:hover {
  border-color: #555;
}
.inquiry-form input:focus, .inquiry-form textarea:focus {
  outline: none;
  border-color: #fff;
  background: #1F1F1F;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.inquiry-form .field-error {
  font-size: 12px; color: #E8272A;
  margin-top: 6px;
  display: none;
}
.inquiry-form .has-error input,
.inquiry-form .has-error textarea { border-color: #E8272A; }
.inquiry-form .has-error .field-error { display: block; }
.inquiry-form__actions { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.inquiry-msg { font-size: 13px; }
.inquiry-msg--success { color: #4CD964; }
.inquiry-msg--error { color: #E8272A; }

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}
.brand-tile {
  background: #0A0A0A;
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
.brand-tile:hover { background: #111; }
.brand-tile__name { font-weight: 900; font-size: 15px; letter-spacing: -0.01em; }
.brand-tile__count {
  font-size: 11px; color: #555;
  font-variant-numeric: tabular-nums;
}

/* ─── PRODUCT — EXTENDED SECTIONS ─── */
.detail-section + .detail-section { margin-top: 64px; }

/* Key features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
}
.feature-card {
  background: #0A0A0A;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.feature-card:hover { background: #111; }
.feature-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #E8272A;
}
.feature-card__icon svg { width: 32px; height: 32px; }
.feature-card__title {
  font-size: 18px; font-weight: 900;
  letter-spacing: -0.02em; color: #fff;
}
.feature-card__desc { font-size: 14px; line-height: 1.6; color: #888; }

/* Grouped specs — card grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .specs-grid { grid-template-columns: 1fr; } }

.specs-group {
  background: #0A0A0A;
  border: 1px solid #1A1A1A;
  border-radius: 12px;
  padding: 28px 28px 20px;
  transition: border-color 0.25s, background 0.25s;
}
.specs-group:hover { border-color: #2A2A2A; background: #0E0E0E; }
.specs-group__title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #E8272A;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1A1A1A;
}
.specs-group .specs-table td { padding: 10px 0; font-size: 13px; }
.specs-group .specs-table td:first-child { width: 55%; color: #888; }

/* In the box */
.box-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  max-width: 760px;
}
.box-list li {
  font-size: 14px; color: #ccc;
  padding-left: 24px;
  position: relative;
}
.box-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #E8272A;
  font-weight: 900;
}

/* Accessories grid */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
}
.acc-card {
  background: #0A0A0A;
  padding: 20px 22px;
  display: flex; flex-direction: column;
  gap: 6px;
}
.acc-card__cat {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #555;
}
.acc-card__name {
  font-size: 14px; font-weight: 500;
  color: #fff; line-height: 1.4;
}
.acc-card__code {
  font-size: 12px; color: #666;
  font-family: 'Barlow', monospace;
}

/* Downloads */
.dl-list {
  list-style: none;
  display: flex; flex-direction: column;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
}
.dl-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
  background: #0A0A0A;
  border-bottom: 1px solid #1A1A1A;
  text-decoration: none;
  transition: background 0.15s;
}
.dl-item:last-child { border-bottom: none; }
.dl-item:hover { background: #111; }
.dl-item__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #1A0000;
  border: 1px solid #3D0000;
  border-radius: 4px;
  flex-shrink: 0;
}
.dl-item__icon svg { width: 16px; height: 16px; color: #E8272A; }
.dl-item__body { flex: 1; min-width: 0; }
.dl-item__title {
  font-size: 14px; font-weight: 500; color: #fff;
  margin-bottom: 2px;
}
.dl-item__meta {
  font-size: 12px; color: #666;
  display: flex; gap: 8px;
}
.dl-item__meta span:not(:first-child)::before { content: '·'; margin-right: 8px; color: #333; }
.dl-item__arrow { color: #555; transition: color 0.15s, transform 0.2s; }
.dl-item:hover .dl-item__arrow { color: #fff; transform: translateX(4px); }

/* FAQ */
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid #1A1A1A;
}
.faq-item {
  border-bottom: 1px solid #1A1A1A;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  width: 100%;
  background: none; border: none;
  padding: 20px 0;
  text-align: left;
  font: 500 16px 'Barlow', sans-serif;
  color: #fff;
  cursor: pointer;
}
.faq-q__icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid #2A2A2A;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #888;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-item.open .faq-q__icon {
  background: #E8272A; border-color: #E8272A;
  color: #fff; transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a__inner {
  font-size: 14px; line-height: 1.7;
  color: #999;
  padding: 0 0 20px;
  max-width: 760px;
}

/* Series comparison table */
.cmp-wrap { overflow-x: auto; scrollbar-width: thin; }
.cmp-table {
  width: 100%; min-width: 600px;
  border-collapse: collapse;
}
.cmp-table th, .cmp-table td {
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid #1A1A1A;
}
.cmp-table th:first-child, .cmp-table td:first-child {
  text-align: left;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cmp-table thead th { color: #fff; font-size: 14px; padding-bottom: 16px; }
.cmp-table thead th.is-current { color: #E8272A; }
.cmp-table tbody td { color: #ccc; }

/* Related products */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
}
.rel-card {
  background: #0A0A0A;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.rel-card:hover { background: #111; }
.rel-card__brand {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #555;
}
.rel-card__name {
  font-size: 16px; font-weight: 900;
  color: #fff; letter-spacing: -0.02em;
}
.rel-card__desc {
  font-size: 13px; color: #888; line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-card__cta {
  font-size: 12px; color: #fff;
  margin-top: auto; padding-top: 14px;
  display: flex; gap: 6px; align-items: center;
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #2A2A2A;
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-cta__label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #666; }
.sticky-cta__name { font-size: 15px; font-weight: 700; color: #fff; }
.sticky-cta__actions { display: flex; gap: 12px; flex-shrink: 0; }
.sticky-cta__btn {
  background: #fff; color: #000;
  border: none; padding: 12px 24px;
  border-radius: 6px;
  font: 500 14px 'Barlow', sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.sticky-cta__btn:hover { background: #e8e8e8; }
.sticky-cta__btn--ghost {
  background: transparent; color: #fff;
  border: 1px solid #2A2A2A;
}
.sticky-cta__btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: #555; }

@media (max-width: 768px) {
  .sticky-cta { padding: 12px 16px; }
  .sticky-cta__info { display: none; }
  .sticky-cta__actions { width: 100%; }
  .sticky-cta__btn { flex: 1; text-align: center; }
  .box-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .filter-group { flex: 1; min-width: 200px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .page { padding: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 4/3; border-right: none; border-bottom: 1px solid #1A1A1A; }
  .inquiry-form { grid-template-columns: 1fr; }
}
