/* ── Puter.Parts — Stylesheet ────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --bg:         #0b0e14;
  --bg2:        #131720;
  --bg3:        #1a2030;
  --border:     #252d3d;
  --text:       #e4e8f0;
  --muted:      #8892a4;
  --blue:       #3b82f6;
  --blue-dark:  #2563eb;
  --green:      #22c55e;
  --green-dark: #16a34a;
  --red:        #ef4444;
  --yellow:     #f59e0b;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,.45);
  --font:       'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-w:      1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 58px;
  flex-wrap: nowrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}
.nav-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--bg3);
  color: var(--text);
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-search-form { position: relative; }
.nav-search-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px 6px 34px;
  border-radius: 20px;
  font-size: .8rem;
  width: 180px;
  transition: border-color .2s, width .2s;
}
.nav-search-input:focus { outline: none; border-color: var(--blue); width: 220px; }
.nav-search-input::placeholder { color: var(--muted); }
.nav-search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* ── Language Switcher ───────────────────────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--blue); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: var(--shadow);
  z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: .85rem;
  transition: background .12s, color .12s;
}
.lang-dropdown a:hover { background: var(--bg3); color: var(--text); text-decoration: none; }
.lang-dropdown a.current { color: var(--blue); font-weight: 600; }

/* ── Hamburger (mobile) ─────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .nav-hamburger { display: flex; align-items: center; }
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 20px 10px;
    gap: 8px;
  }
  .nav-logo { flex: 1; }
  .nav-right { flex-shrink: 0; order: 1; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-search-form {
    order: 10;
    width: 100%;
    flex: none;
    max-width: none;
  }
  .nav-search-input { width: 100%; min-width: 0; box-sizing: border-box; }
  .nav-search-input:focus { width: 100%; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 20px;
  text-align: center;
  background: linear-gradient(160deg, #0d1219 0%, #0b1829 50%, #0b1520 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,.07) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(34,197,94,.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,.12);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.1); text-decoration: none; color: var(--text); }

/* ── Stats Bar ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.stat-item { padding: 10px 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-val.blue { color: var(--blue); }
.stat-val.green { color: var(--green); }
.stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ── Section Headers ─────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
  margin-bottom: 6px;
}
.section-tag.green { color: var(--green); }
.section-h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.section-desc { color: var(--muted); font-size: .9rem; }

/* ── Cards Grid ─────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.card-icon { font-size: 2rem; line-height: 1; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.card-badge {
  background: rgba(59,130,246,.15);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.card-badge.green { background: rgba(34,197,94,.12); color: var(--green); }
.card-badge.yellow { background: rgba(245,158,11,.12); color: var(--yellow); }
.card-title { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.card-desc { font-size: .875rem; color: var(--muted); line-height: 1.5; flex: 1; }
.card-meta {
  display: flex;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
  transition: gap .15s;
}
.card-link:hover { gap: 8px; text-decoration: none; }

/* ── Make / Brand Cards ──────────────────────────────────────────────────── */
.make-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .15s;
}
.make-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.make-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,0.40);
  display: block;
}
.make-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.make-country {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.make-desc { font-size: .85rem; color: var(--muted); line-height: 1.5; flex: 1; }
.make-models-count {
  font-size: .78rem;
  color: var(--muted);
  background: var(--bg3);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

/* ── Spec Table ───────────────────────────────────────────────────────────── */
.spec-section { margin: 40px 0; }
.retailer-section { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.retailer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.retailer-heading h2 { margin: 6px 0 0; }
.retailer-note { max-width: 430px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.retailer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.retailer-country { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.retailer-country h3 { margin: 0 0 12px; font-size: .98rem; }
.retailer-links { display: grid; gap: 8px; }
.retailer-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 7px; background: var(--bg2); color: var(--text); font-size: .84rem; text-decoration: none; }
.retailer-link:hover { background: var(--blue); color: #fff; text-decoration: none; }
.retailer-link span:last-child { opacity: .65; }
.spec-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 11px 14px;
  font-size: .9rem;
  vertical-align: top;
}
.spec-table td:first-child {
  color: var(--muted);
  font-weight: 500;
  width: 220px;
  white-space: nowrap;
}
.spec-table td:last-child { color: var(--text); font-weight: 600; }
.spec-table tr:hover td { background: rgba(255,255,255,.02); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); text-decoration: none; }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ── Page Hero ───────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
}
.page-hero-brand .brand-logo {
  width: 72px;
  height: 72px;
  padding: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.50);
}
.page-hero-brand h1 { margin: 0; }
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,.1);
  color: var(--blue);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.page-hero-tag.green { background: rgba(34,197,94,.1); color: var(--green); }
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.page-hero p { color: var(--muted); max-width: 640px; font-size: .95rem; }

/* ── Main Content ────────────────────────────────────────────────────────── */
.main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px;
}

/* ── Model Header ────────────────────────────────────────────────────────── */
.model-header {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.model-header-info { flex: 1; }
.model-year-badge {
  background: var(--bg3);
  color: var(--muted);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}
.model-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.model-desc { color: var(--muted); font-size: .95rem; max-width: 580px; }
.model-category-badge {
  background: rgba(59,130,246,.12);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.model-category-badge.green { background: rgba(34,197,94,.1); color: var(--green); border-color: rgba(34,197,94,.2); }

/* ── Section Blocks ──────────────────────────────────────────────────────── */
.section-block {
  padding: 60px 20px;
  border-bottom: 1px solid var(--border);
}
.section-block:last-child { border-bottom: none; }
.section-block.alt { background: var(--bg2); }

/* ── Editorial Content ───────────────────────────────────────────────────── */
.editorial-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.editorial-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.editorial-body p {
  color: var(--muted);
  font-size: .925rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ── Part Cards ──────────────────────────────────────────────────────────── */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.part-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s, transform .18s, box-shadow .18s;
  text-align: center;
}
.part-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,130,246,.15);
  color: var(--blue);
}
.part-card-icon { font-size: 1.75rem; line-height: 1; }
.part-card-name { font-weight: 600; font-size: .85rem; }
.part-card-hint {
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.part-index-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
@media (max-width: 600px) {
  .retailer-section { padding: 20px; }
  .retailer-heading { display: block; }
  .retailer-note { margin-top: 12px; }
  .retailer-grid { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ── Used By Section ─────────────────────────────────────────────────────── */
.used-by-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.used-by-group-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 8px;
}
.used-by-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.used-by-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s, background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.used-by-chip:hover {
  border-color: var(--blue);
  background: rgba(59,130,246,.1);
  color: var(--blue);
  text-decoration: none;
}
.used-by-chip--model {
  font-weight: 500;
  border-style: dashed;
}
.used-by-chip--more {
  font-weight: 500;
  opacity: .75;
  border-style: dotted;
  font-size: .75rem;
}

/* ── Guide Card ──────────────────────────────────────────────────────────── */
.guide-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .15s;
}
.guide-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.guide-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
}
.guide-category.green { color: var(--green); }
.guide-title { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.35; }
.guide-desc { font-size: .875rem; color: var(--muted); line-height: 1.5; flex: 1; }
.guide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
}
.guide-read-link {
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.faq-q {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.faq-a { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ── Trust Pillars ───────────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.trust-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.trust-icon { font-size: 1.8rem; margin-bottom: 10px; }
.trust-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.trust-desc { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ── Categories Page ─────────────────────────────────────────────────────── */
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.category-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  transition: border-color .2s, transform .15s;
}
.category-item:hover { border-color: var(--blue); transform: translateY(-2px); text-decoration: none; }
.category-icon { font-size: 2rem; margin-bottom: 8px; }
.category-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.category-count { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ── Compare Page ────────────────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  background: var(--bg2);
  color: var(--text);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  font-size: .85rem;
  border-bottom: 2px solid var(--border);
}
.compare-table td {
  padding: 11px 18px;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table tr:hover td { background: rgba(255,255,255,.02); }
.compare-table .spec-label { color: var(--muted); font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 48px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 36px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--blue); }
.footer-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col a .brand-logo {
  width: 24px;
  height: 24px;
  padding: 2px;
  flex-shrink: 0;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); font-size: .875rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Search Results ──────────────────────────────────────────────────────── */
#search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 280px;
  max-width: calc(100vw - 32px);
  max-height: 320px;
  overflow-y: auto;
  box-shadow: var(--shadow);
  z-index: 300;
}
#search-results.visible { display: block; }
.search-result-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg3); }
.sr-title { font-size: .875rem; color: var(--text); font-weight: 600; }
.sr-section { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ── RTL Support ─────────────────────────────────────────────────────────── */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .section-header { flex-direction: row-reverse; }
[dir="rtl"] .spec-table td:first-child { text-align: right; }
[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
[dir="rtl"] .card-head { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.font-bold { font-weight: 700; }
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
}
.view-all-link:hover { text-decoration: none; gap: 9px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg3);
  color: var(--muted);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .78rem;
}

/* ── Model Listing within Brand page ────────────────────────────────────── */
.model-list { display: flex; flex-direction: column; gap: 12px; }
.model-row {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: border-color .2s;
}
.model-row:hover { border-color: var(--blue); }
.model-row-info { flex: 1; }
.model-row-name { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.model-row-desc { font-size: .85rem; color: var(--muted); }
.model-row-specs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.model-row-spec { text-align: center; }
.model-row-spec-val { font-size: .85rem; font-weight: 700; color: var(--text); }
.model-row-spec-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
