/* ============================================================
   DubaiWheels — Component Styles (main.css)
   Brand page, model page, trim page, shared sections
   ============================================================ */

/* ─── STICKY TOP BAR (Model/Trim pages) ──────────────────────────────────── */
.car-top-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.car-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 24px;
}
.car-top-bar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-top-bar-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.car-top-bar-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.car-top-bar-nav a:hover { color: var(--color-primary); background: #f0f7fd; }

/* ─── CAR INFO BOX ───────────────────────────────────────────────────────── */
.car-info-box { padding: 32px 0 40px; background: var(--color-surface); }
.car-info-box-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
/* Gallery */
.car-info-box-gallery { }
.car-info-box-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
}
.car-gallery-main-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.car-info-box-gallery-tabs {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.car-gallery-tab {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,.85);
  color: var(--color-text);
  backdrop-filter: blur(4px);
  transition: background .15s, color .15s;
}
.car-gallery-tab.active { background: var(--color-primary); color: #fff; }
.car-info-box-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.car-thumb {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .6;
  border: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
  flex-shrink: 0;
}
.car-thumb.active, .car-thumb:hover { opacity: 1; border-color: var(--color-primary); }
/* Header */
.car-info-box-header { padding-top: 8px; }
.car-info-box-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.car-info-box-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* ─── MODEL SPECIFICATION ICONS ──────────────────────────────────────────── */
.model-specification { padding: 32px 0; background: var(--color-bg); }
.model-specification-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.model-specification-col {
  flex: 1;
  min-width: 120px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.model-specification-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4fb;
  border-radius: 50%;
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.model-specification-icon img { width: 22px; height: 22px; object-fit: contain; }
.model-specification-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.model-specification-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

/* ─── MODEL TRIMS GRID ───────────────────────────────────────────────────── */
.model-trims { padding: 40px 0; }
.model-trims-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.model-trims-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.model-trims-col:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.model-trims-image { aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg); }
.model-trims-image img { width: 100%; height: 100%; object-fit: cover; }
.model-trims-name {
  padding: 10px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.model-trims-price {
  padding: 0 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}

/* ─── MODEL OVERVIEW TABLE ───────────────────────────────────────────────── */
.model-overview { padding: 40px 0; background: var(--color-bg); }
.model-overview-table {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 700px;
}
.model-overview-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}
.model-overview-row:last-child { border-bottom: none; }
.model-overview-label {
  width: 40%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
}
.model-overview-value {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--color-text);
}

/* ─── PROS & CONS ────────────────────────────────────────────────────────── */
.model-pros-cons { padding: 40px 0; }
.model-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.model-pros-cons-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.model-pros-cons-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}
.pros .model-pros-cons-heading { color: #16a34a; border-color: #16a34a; }
.cons .model-pros-cons-heading { color: var(--color-primary); border-color: var(--color-primary); }
.model-pros-cons-list li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.model-pros-cons-list li:last-child { border-bottom: none; }
.pros .model-pros-cons-list li .ti { color: #16a34a; }
.cons .model-pros-cons-list li .ti { color: var(--color-primary); }

/* ─── MODEL DESCRIPTION ──────────────────────────────────────────────────── */
.model-description { padding: 40px 0; }
.model-description-text { font-size: 14px; line-height: 1.8; color: var(--color-text-muted); }
.model-desc-toggle {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.model-desc-toggle:hover { text-decoration: underline; }

/* ─── TRIM PAGE — SPEC TABLE ─────────────────────────────────────────────── */
.trim-spec-section { padding: 40px 0; }
.trim-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trim-spec-table tr:nth-child(even) td { background: var(--color-bg); }
.trim-spec-table td {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}
.trim-spec-table td:first-child { font-weight: 600; color: var(--color-text-muted); width: 40%; }
.trim-spec-table tr:last-child td { border-bottom: none; }

/* ─── TRIM PAGE — DETAIL ACCORDION (specs / features) ───────────────────── */
.trim-detail-section { padding: 40px 0; }
.trim-detail-group {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--color-surface);
}
.trim-detail-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  background: var(--color-surface);
  transition: background 0.15s;
}
.trim-detail-group-heading:hover { background: var(--color-bg); }
.trim-detail-group-heading .ti-chevron-down {
  transition: transform 0.25s;
  font-size: 18px;
  color: var(--color-text-muted);
}
.trim-detail-group.open .trim-detail-group-heading .ti-chevron-down { transform: rotate(180deg); }
.trim-detail-group-body { display: none; border-top: 1px solid var(--color-border); }
.trim-detail-group.open .trim-detail-group-body { display: block; }

/* Specs rows — label / value */
.trim-detail-row {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  gap: 10px;
}
.trim-detail-row:last-child { border-bottom: none; }
.trim-detail-label { width: 45%; font-weight: 500; color: var(--color-text-muted); }
.trim-detail-value { flex: 1; }

/* Features list */
.trim-feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.trim-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}
.trim-feat-item:last-child { border-bottom: none; }
.trim-feat-item .ti-circle-check { font-size: 16px; }

.text-green { color: #22c55e; }
.text-red   { color: #ef4444; }

/* ─── TRIM PAGE — COLOR SWATCHES ─────────────────────────────────────────── */
.trim-colors { padding: 40px 0; }
.trim-colors-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.trim-color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.trim-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  transition: border-color .15s, transform .15s;
}
.trim-color-item:hover .trim-color-swatch,
.trim-color-item.active .trim-color-swatch { border-color: var(--color-primary); transform: scale(1.1); }
.trim-color-name { font-size: 11px; color: var(--color-text-muted); text-align: center; max-width: 60px; }

/* ─── RESPONSIVE — MODEL / TRIM ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .car-info-box-inner { grid-template-columns: 1fr; gap: 24px; }
  .car-info-box-title { font-size: 20px; }
  .car-info-box-price { font-size: 22px; }
  .model-specification-grid { gap: 10px; }
  .model-specification-col { min-width: 100px; padding: 14px 10px; }
  .model-trims-grid { grid-template-columns: repeat(2, 1fr); }
  .model-pros-cons-grid { grid-template-columns: 1fr; }
  .car-top-bar-title { display: none; }
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.d-block       { display: block; }
.text-left     { text-align: left !important; }
.margin-bottom { margin-bottom: 48px; }

/* ─── BREADCRUMBS ────────────────────────────────────────────────────────── */
.bread-crumbs {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.bread-crumbs-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-text-muted);
}
.bread-crumbs-inner a { color: var(--color-text-muted); }
.bread-crumbs-inner a:hover { color: var(--color-primary); }
.bread-crumbs-inner .separator { opacity: .5; font-size: 12px; }
.bread-crumbs-inner .current   { color: var(--color-text); font-weight: 500; }

/* ─── SECTION HEADING ────────────────────────────────────────────────────── */
.site-brands-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  text-align: center;
}

/* ─── MAKE INFO ─────────────────────────────────────────────────────────── */
.make-info {
  background: #fff;
  padding: 32px 0 0;
}
.make-info-inner { }
.make-info-main {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}
.make-info-logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
}
.make-info-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.make-info-content { flex: 1; }
.make-info-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.make-info-description { margin-top: 8px; }
.make-info-description-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  transition: max-height .3s ease;
}
.make-info-read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.make-info-read-more:hover { text-decoration: underline; }

/* Model thumbnails inside make-info */
.make-info-models {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}
.make-info-models-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.make-info-model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
  cursor: pointer;
}
.make-info-model-item img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: border-color .15s;
}
.make-info-model-item:hover img { border-color: var(--color-primary); }
.make-info-model-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
}
.make-info-model-item:hover span { color: var(--color-primary); }

/* ─── SITE CARS (model grid cards) ──────────────────────────────────────── */
.site-cars {
  padding: 40px 0;
}
.site-cars-inner { }
.site-cars-main  { }
.site-cars-grid  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.site-cars-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.site-cars-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.site-cars-col > a { display: block; }
.site-cars-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg);
}
.site-cars-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.site-cars-col:hover .site-cars-image img { transform: scale(1.04); }
.site-cars-name {
  padding: 12px 14px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}
.site-cars-price {
  padding: 0 14px 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
}

/* Star rating */
.site-car-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 12px;
}
.site-car-rating-stars {
  display: flex;
  gap: 2px;
}
.site-car-rating-stars .ti-star {
  color: var(--color-accent);
  font-size: 13px;
}
.site-car-rating-stars .ti-star::before { content: '★'; }
.site-car-rating-stars .ti-star.unfilled {
  color: var(--color-border);
}
.site-car-rating-text {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ─── SITE COMPARE CAR ───────────────────────────────────────────────────── */
.site-compare-car { padding: 40px 0; background: var(--color-bg); }
.site-compare-car-inner { }
.site-compare-car-main  { }
.site-compare-car-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.site-compare-car-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow .2s;
}
.site-compare-car-col:hover { box-shadow: var(--shadow-md); }
.site-compare-car-col-images {
  display: flex;
  gap: 8px;
  width: 100%;
}
.site-compare-car-col-images img {
  flex: 1;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.site-compare-car-col-names {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  flex-wrap: wrap;
  justify-content: center;
}
.site-compare-car-col-names .vs {
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}
.compare-car-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background .15s;
  align-self: stretch;
  text-align: center;
}
.compare-car-cta:hover { background: var(--color-primary-dk); }

/* ─── SITE BRANDS (other brands grid) ───────────────────────────────────── */
.site-brands { padding: 40px 0; }
.site-brands-inner { }
.site-brands-main  { }
.site-brands-grid  {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.site-brands-grid-col { }
.site-brands-grid-col > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .15s, box-shadow .15s;
}
.site-brands-grid-col > a:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.site-brands-image {
  width: 64px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-brands-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-brands-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}
.brand-name-fallback {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ─── SITE FAQs ─────────────────────────────────────────────────────────── */
.site-faqs { padding: 40px 0; }
.site-faqs-inner { }
.site-faqs-main  { max-width: 860px; }
.site-faqs-content { }
.site-faqs-tab {
  border-bottom: 1px solid var(--color-border);
}
.site-faqsheading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  gap: 12px;
}
.site-faqsheading:hover .site-faqs-heading-text { color: var(--color-primary); }
.site-faqsheading.open { }
.site-faqs-heading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  transition: color .15s;
}
.site-faqsheading .ti {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--color-primary);
  transition: transform .2s;
}
.site-faqsheading.open .ti { transform: rotate(45deg); }
.site-faqs-answer {
  padding: 0 4px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.site-faqs-answer p:last-child { margin-bottom: 0; }

/* ─── SITE NEWS ─────────────────────────────────────────────────────────── */
.site-news { padding: 40px 0; }

/* ════════════════════════════════════════════════════════════════════════════
   BRAND PAGE v17 — PREMIUM DESIGN
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── SECTION UTILITIES ──────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.section-count {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  transition: color .15s;
}
.section-link:hover { color: var(--color-primary-dk); }

/* ─── BRAND HERO ─────────────────────────────────────────────────────────── */
.brand-hero {
  background: linear-gradient(135deg, #0a0a18 0%, #0e1b30 55%, #0d2545 100%);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(0,144,215,.18) 0%, transparent 65%);
  pointer-events: none;
}
.brand-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,144,215,.4), transparent);
}
.brand-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand-hero-logo-wrap {
  flex-shrink: 0;
  width: 148px;
  height: 148px;
  background: #ffffff;          /* solid white — any logo colour is visible */
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 40px rgba(0,0,0,.45);
  position: relative;
}
/* subtle inner glow ring */
.brand-hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(0,144,215,.35), transparent 60%);
  z-index: -1;
}
.brand-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-hero-initial {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.brand-hero-info { flex: 1; min-width: 0; }
.brand-hero-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.brand-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.brand-hero-tag-category {
  background: rgba(0,144,215,.25);
  border-color: rgba(0,144,215,.4);
  color: #7ec8f0;
}
.brand-hero-name {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.brand-hero-year {
  color: var(--color-primary);
  font-weight: 800;
}
.brand-hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.brand-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.brand-hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.brand-hero-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.brand-hero-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.brand-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.brand-action-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,144,215,.4);
}
.brand-action-primary:hover { background: var(--color-primary-dk); transform: translateY(-1px); }
.brand-action-outline {
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
}
.brand-action-outline:hover { border-color: var(--color-primary); background: rgba(0,144,215,.15); }
.brand-action-outline-light {
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
}
.brand-action-outline-light:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.1);
}
.brand-action-ghost {
  color: rgba(255,255,255,.45);
  font-size: 13px;
}
.brand-action-ghost:hover { color: rgba(255,255,255,.8); }

/* ─── MODELS THUMBNAIL STRIP ─────────────────────────────────────────────── */
.brand-models-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 68px;
  z-index: 80;
}
.brand-models-strip-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.brand-models-strip-scroll::-webkit-scrollbar { display: none; }
.brand-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  transition: background .15s;
  min-width: 110px;
  text-align: center;
}
.brand-strip-item:hover { background: #eef6fc; }
.brand-strip-img {
  width: 80px;
  height: 52px;
  overflow: hidden;
  border-radius: 6px;
}
.brand-strip-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-strip-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.brand-strip-price {
  font-size: 10px;
  color: var(--color-accent);
  font-weight: 600;
}

/* ─── BRAND DESCRIPTION ──────────────────────────────────────────────────── */
.brand-about {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}
.brand-about-inner { max-width: 900px; }
.brand-about-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-height: 72px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.brand-about-text.brand-desc-open { max-height: 2000px; }
.brand-about-text p { margin-bottom: .8em; }
.brand-about-text p:last-child { margin-bottom: 0; }
.brand-about-toggle {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  transition: color .15s;
}
.brand-about-toggle:hover { color: var(--color-primary-dk); }
.brand-toggle-icon { font-size: 14px; }

/* ─── MODEL CARDS GRID ───────────────────────────────────────────────────── */
.brand-models-section { padding: 52px 0; background: var(--color-bg); }
.brand-cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bcar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  box-shadow: var(--shadow-sm);
}
.bcar-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-3px);
  border-color: rgba(0,144,215,.2);
}
.bcar-card-link { display: block; }
.bcar-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f4f8;
}
.bcar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.bcar-card:hover .bcar-card-img { transform: scale(1.05); }
.bcar-card-year-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .03em;
}
.bcar-card-hover-cta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,144,215,.9), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 20px 14px 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.bcar-card:hover .bcar-card-hover-cta { opacity: 1; transform: translateY(0); }
.bcar-card-body { padding: 14px 16px 16px; }
.bcar-card-make {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.bcar-card-model {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 6px;
}
.bcar-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.bcar-price-na { color: var(--color-text-muted); font-weight: 500; font-size: 13px; }
.bcar-card-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.bcar-spec {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 3px 8px;
  border-radius: 100px;
}
.bcar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  margin-top: 2px;
}
.bcar-rating { display: flex; align-items: center; gap: 5px; }
.bcar-stars { color: var(--color-accent); font-size: 12px; letter-spacing: 1px; }
.bcar-rating-num { font-size: 12px; font-weight: 700; color: var(--color-text-muted); }
.bcar-seats { font-size: 11px; color: var(--color-text-muted); font-weight: 500; }

/* ─── PRICE TABLE ────────────────────────────────────────────────────────── */
.brand-price-table-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.brand-price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  min-width: 600px;
}
.brand-price-table thead th {
  background: #0a0a18;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 20px;
  text-align: left;
}
.brand-price-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background .15s;
}
.brand-price-table tbody tr:last-child { border-bottom: none; }
.brand-price-table tbody tr:hover { background: #f0f7fd; }
.brand-price-table td { padding: 14px 20px; font-size: 14px; }
.brand-table-model-link { font-weight: 600; color: var(--color-text); transition: color .15s; }
.brand-table-model-link:hover { color: var(--color-primary); }
.brand-table-price { font-weight: 700; color: var(--color-accent); }
.price-na { color: var(--color-text-muted); font-weight: 400; font-size: 13px; }
.brand-table-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.brand-table-cta:hover { background: var(--color-primary-dk); }

/* ─── COMPARE SECTION ────────────────────────────────────────────────────── */
.brand-compare-section { padding: 52px 0; background: var(--color-bg); }

/* ─── OTHER BRANDS ───────────────────────────────────────────────────────── */
.brand-others-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.brand-others-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.brand-other-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, transform .2s;
}
.brand-other-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0,144,215,.12);
  transform: translateY(-2px);
}
.brand-other-logo {
  width: 52px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-other-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-other-initial {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}
.brand-other-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────── */
.brand-faq-section { padding: 52px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.brand-faq-inner { max-width: 860px; }
.brand-faq-list { margin-top: 4px; }
.brand-faq-item {
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.brand-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color .15s;
}
.brand-faq-q:hover { color: var(--color-primary); }
.brand-faq-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform .25s ease;
}
.brand-faq-item.open .brand-faq-icon { transform: rotate(180deg); }
.brand-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.brand-faq-a-inner {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.brand-faq-a-inner strong { color: var(--color-text); }
.brand-faq-a-inner p:last-child { margin-bottom: 0; }

/* ─── NEWS SECTION ───────────────────────────────────────────────────────── */
.brand-news-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.brand-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.brand-news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.brand-news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-news-img { aspect-ratio: 16/9; overflow: hidden; }
.brand-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.brand-news-card:hover .brand-news-img img { transform: scale(1.04); }
.brand-news-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.brand-news-date { font-size: 11px; color: var(--color-text-muted); font-weight: 500; }
.brand-news-title { font-size: 14px; font-weight: 600; color: var(--color-text); line-height: 1.45; flex: 1; }
.brand-news-read { font-size: 12px; font-weight: 600; color: var(--color-primary); margin-top: 4px; }

/* ─── COMPARE PAGE — RESULT VIEW ─────────────────────────────────────────── */
.dw-compare-result { padding: 40px 0 60px; }
.dw-compare-header {
  display: grid;
  grid-template-columns: 180px 1fr 64px 1fr;
  gap: 0;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.dw-compare-label-col { background: var(--color-bg); height: 100%; }
.dw-compare-car-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  gap: 8px;
  text-align: center;
}
.dw-compare-car-header img {
  width: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 4px;
}
.dw-compare-car-name { font-size: 17px; font-weight: 700; color: var(--color-text); }
.dw-compare-car-price { font-size: 15px; font-weight: 700; color: var(--color-accent); }
.dw-compare-trim-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #eef4fb;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
}
.dw-compare-view-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
}
.dw-compare-view-btn:hover { background: var(--color-primary-dk); }
.dw-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin: 0 auto;
}
.dw-compare-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.dw-compare-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  background: #0a0a18;
  padding: 12px 20px;
}
.dw-compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
  transition: background .12s;
}
.dw-compare-row:last-child { border-bottom: none; }
.dw-compare-row:hover { background: #f7fafd; }
.dw-compare-label {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
}
.dw-compare-val {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--color-text);
  border-right: 1px solid var(--color-border);
  font-weight: 500;
}
.dw-compare-val:last-child { border-right: none; }
.dw-cmp-win { color: #16a34a; font-weight: 700; }
.dw-compare-features-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}
.dw-compare-features-row:last-child { border-bottom: none; }
.dw-compare-features-col {
  padding: 12px 20px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dw-compare-features-col:last-child { border-right: none; }
.dw-feature-item { font-size: 12px; color: var(--color-text); padding: 2px 0; }
.dw-feature-yes { color: #16a34a; }
.dw-feature-na  { color: var(--color-text-muted); }
.dw-compare-back-cta { text-align: center; margin-top: 40px; }

/* ─── COMPARE PAGE — LIST SELECTORS ─────────────────────────────────────── */
.car-comparision-start { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.car-comparision-main  { max-width: 760px; margin: 0 auto; padding: 40px 0 24px; }
.car-comparision-heading { font-size: 26px; font-weight: 700; color: var(--color-text); margin-bottom: 12px; }
.car-comparision-description { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }
.site-search-car-inner { padding: 24px 0 32px; }
.site-search-car-grid  { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.site-search-car-col-inner { display: flex; flex-direction: column; gap: 8px; }
.site-search-car-col-heading { font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
.dw-make-select, .dw-model-select, .dw-trim-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  transition: border-color .15s;
  cursor: pointer;
  appearance: auto;
}
.dw-make-select:focus, .dw-model-select:focus, .dw-trim-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,144,215,.1);
}
.dw-make-select:disabled, .dw-model-select:disabled, .dw-trim-select:disabled {
  opacity: .5; cursor: not-allowed;
}
.site-search-car-col-cta button, #dw-compare-btn {
  width: 100%;
  padding: 12px 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background .15s, opacity .15s;
  cursor: pointer;
  border: none;
}
.site-search-car-col-cta button:disabled, #dw-compare-btn:disabled {
  opacity: .45; cursor: not-allowed;
}
.site-search-car-col-cta button:not(:disabled):hover, #dw-compare-btn:not(:disabled):hover {
  background: var(--color-primary-dk);
}
.car-comparision-body-type { padding: 40px 0; }
.car-comparision-body-type-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.car-comparision-body-type-single {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  transition: all .15s;
  cursor: pointer;
  text-decoration: none;
}
.car-comparision-body-type-single:hover, .car-comparision-body-type-single.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ─── RESPONSIVE — BRAND v17 ─────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .brand-cars-grid   { grid-template-columns: repeat(3, 1fr); }
  .brand-others-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 1024px) {
  .brand-cars-grid   { grid-template-columns: repeat(3, 1fr); }
  .brand-others-grid { grid-template-columns: repeat(5, 1fr); }
  .brand-news-grid   { grid-template-columns: repeat(2, 1fr); }
  .dw-compare-header { grid-template-columns: 120px 1fr 48px 1fr; }
  .dw-compare-row    { grid-template-columns: 120px 1fr 1fr; }
  .dw-compare-label  { }
  .dw-compare-features-row { grid-template-columns: 120px 1fr 1fr; }
}
@media (max-width: 768px) {
  .brand-hero-inner        { flex-direction: column; text-align: center; align-items: center; gap: 24px; }
  .brand-hero-name         { font-size: 24px; }
  .brand-hero-stats        { justify-content: center; }
  .brand-hero-actions      { justify-content: center; }
  .brand-cars-grid         { grid-template-columns: repeat(2, 1fr); }
  .brand-others-grid       { grid-template-columns: repeat(4, 1fr); }
  .brand-news-grid         { grid-template-columns: 1fr; }
  .site-search-car-grid    { grid-template-columns: 1fr; }
  .dw-compare-header       { grid-template-columns: 1fr; }
  .dw-compare-label-col    { display: none; }
  .dw-compare-row          { grid-template-columns: 140px 1fr 1fr; }
  .dw-compare-features-row { grid-template-columns: 140px 1fr 1fr; }
}
@media (max-width: 480px) {
  .brand-cars-grid   { grid-template-columns: 1fr; }
  .brand-others-grid { grid-template-columns: repeat(3, 1fr); }
  .dw-compare-row    { grid-template-columns: 100px 1fr 1fr; }
  .dw-compare-features-row { grid-template-columns: 100px 1fr 1fr; }
}

/* ─── TABLER ICONS FALLBACK (if icon font not loaded) ───────────────────── */
.ti-chevron-right::before { content: '/'; font-style: normal; }
.ti-plus::before          { content: '+'; }
.ti-minus::before         { content: '−'; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .site-cars-grid  { grid-template-columns: repeat(3, 1fr); }
  .site-brands-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1024px) {
  .site-cars-grid  { grid-template-columns: repeat(3, 1fr); }
  .site-compare-car-grid { grid-template-columns: repeat(2, 1fr); }
  .site-brands-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .make-info-main  { flex-direction: column; gap: 16px; }
  .make-info-logo  { width: 80px; height: 80px; }
  .make-info-name  { font-size: 24px; }
  .site-cars-grid  { grid-template-columns: repeat(2, 1fr); }
  .site-compare-car-grid { grid-template-columns: 1fr; }
  .site-brands-grid { grid-template-columns: repeat(3, 1fr); }
  .make-info-models-grid { gap: 8px; }
  .make-info-model-item { width: 72px; }
  .make-info-model-item img { width: 72px; height: 48px; }
}
@media (max-width: 480px) {
  .site-cars-grid  { grid-template-columns: 1fr; }
  .site-brands-grid { grid-template-columns: repeat(2, 1fr); }
  .site-compare-car-col-images { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════════════════════════
   MODEL PAGE v17 — PREMIUM DESIGN
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── STICKY TOP BAR ─────────────────────────────────────────────────────── */
.mdl-topbar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: none;
  transition: box-shadow .2s;
}
.mdl-topbar-stuck { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.mdl-topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  height: 52px;
}
.mdl-topbar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mdl-topbar-brand {
  color: var(--color-primary);
  font-weight: 700;
}
.mdl-topbar-sep { color: var(--color-text-muted); font-size: 12px; }
.mdl-topbar-nav {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.mdl-topbar-nav::-webkit-scrollbar { display: none; }
.mdl-topbar-link {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 52px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.mdl-topbar-link:hover,
.mdl-topbar-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.mdl-topbar-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.mdl-hero {
  background: var(--color-bg);
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--color-border);
}
.mdl-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

/* Gallery */
.mdl-hero-gallery { display: flex; flex-direction: column; gap: 12px; }
.mdl-hero-main-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e8edf2;
  aspect-ratio: 16/10;
}
.mdl-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .25s;
}
.mdl-gallery-tabs {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.mdl-gtab {
  padding: 5px 14px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mdl-gtab.active,
.mdl-gtab:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.mdl-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  backdrop-filter: blur(4px);
}
.mdl-gallery-arrow:hover { background: var(--color-primary); }
.mdl-gallery-prev { left: 12px; }
.mdl-gallery-next { right: 12px; }
.mdl-gallery-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.mdl-hero-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mdl-hero-thumbs::-webkit-scrollbar { display: none; }
.mdl-thumb-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
  background: #dde3ea;
}
.mdl-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mdl-thumb-wrap.active { border-color: var(--color-primary); }
.mdl-thumb-wrap:hover { border-color: rgba(0,144,215,.4); }

/* Hero Info Panel */
.mdl-hero-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 126px;  /* below both WP admin bar + mdl-topbar */
}
.mdl-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.mdl-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mdl-badge-body { background: #eef4fb; color: var(--color-primary); border: 1px solid rgba(0,144,215,.2); }
.mdl-badge-year { background: #0a0a18; color: #fff; }
.mdl-badge-fuel { background: #fef3f2; color: #b91c1c; border: 1px solid rgba(185,28,28,.15); }

.mdl-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.mdl-hero-title-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.mdl-hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mdl-stars { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.mdl-rating-val { font-size: 14px; font-weight: 700; color: var(--color-text); }
.mdl-rating-cnt { font-size: 12px; color: var(--color-text-muted); }

.mdl-hero-price-block {
  background: linear-gradient(135deg, #f0f7fd, #e8f3fc);
  border: 1px solid rgba(0,144,215,.15);
  border-radius: 12px;
  padding: 16px 20px;
}
.mdl-hero-price-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); margin-bottom: 4px; }
.mdl-hero-price { font-size: 30px; font-weight: 800; color: var(--color-accent); line-height: 1.1; }
.mdl-hero-price-range { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; font-weight: 500; }

.mdl-hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mdl-hero-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-align: center;
}
.mdl-hero-spec-icon { font-size: 18px; line-height: 1; }
.mdl-hero-spec-val { font-size: 12px; font-weight: 700; color: var(--color-text); line-height: 1.2; }
.mdl-hero-spec-lbl { font-size: 10px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .05em; }

.mdl-hero-ctas { display: flex; gap: 10px; }
.mdl-cta-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(0,144,215,.35);
}
.mdl-cta-primary:hover { background: var(--color-primary-dk); transform: translateY(-1px); }
.mdl-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  transition: border-color .15s, color .15s;
}
.mdl-cta-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.mdl-hero-brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}
.mdl-hero-brand-link:hover { color: var(--color-primary-dk); }
.mdl-brand-mini-logo {
  width: 32px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

/* ─── TRIMS SECTION ──────────────────────────────────────────────────────── */
.mdl-trims-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }

/* Table layout */
.mdl-trims-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 12px rgba(0,0,0,.07); }
.mdl-trims-table thead tr { background: #111827; }
.mdl-trims-table thead th {
  padding: 14px 20px; text-align: left;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff;
}
.mdl-trims-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  transition: background .15s;
}
.mdl-trims-table tbody tr:last-child { border-bottom: none; }
.mdl-trims-table tbody tr:hover { background: #f0f7fd; }
.mdl-trims-table tbody tr.mdl-trim-row-pop { background: #EBF5FD; }
.mdl-trim-td { padding: 16px 20px; vertical-align: middle; }
.mdl-trim-td-name { font-size: .92rem; font-weight: 700; color: var(--color-text); display: flex; align-items: center; gap: 10px; }
.mdl-trim-row-pop-badge {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; background: var(--color-primary); color: #fff;
  border-radius: 20px; padding: 2px 9px; white-space: nowrap;
}
.mdl-trim-td-price { font-size: 1rem; font-weight: 800; color: var(--color-secondary); white-space: nowrap; }
.mdl-trim-td-price-na { font-size: .82rem; font-weight: 500; color: var(--color-text-muted); }
.mdl-trim-td-spec { font-size: .85rem; color: var(--color-text-muted); }
.mdl-trim-td-action { text-align: right; }
.mdl-trim-td-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px; border-radius: 8px;
  background: var(--color-primary); color: #fff;
  font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.mdl-trim-td-btn:hover { background: var(--color-primary-dk); color: #fff; }

/* Keep old card classes for reference but hide grid */
.mdl-trims-grid { display: none; }
.mdl-trim-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.mdl-trim-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
  border-color: rgba(0,144,215,.25);
}
.mdl-trim-popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md);
}
.mdl-trim-popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 1;
}
.mdl-trim-img-wrap { aspect-ratio: 16/9; overflow: hidden; background: #f0f4f8; }
.mdl-trim-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mdl-trim-card:hover .mdl-trim-img-wrap img { transform: scale(1.04); }
.mdl-trim-body { padding: 14px 14px 10px; flex: 1; }
.mdl-trim-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.mdl-trim-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.mdl-trim-price-na { color: var(--color-text-muted); font-size: 13px; font-weight: 500; }
.mdl-trim-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mdl-trim-spec {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 3px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.mdl-trim-footer {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}
.mdl-trim-cta {
  display: block;
  text-align: center;
  padding: 9px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  transition: background .15s;
}
.mdl-trim-cta:hover { background: var(--color-primary-dk); }

/* ─── SPEC TABLE ─────────────────────────────────────────────────────────── */
.mdl-specs-section { padding: 52px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.mdl-spec-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.mdl-spec-group-hd {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  transition: background .15s;
}
.mdl-spec-group-hd:hover { background: #f7fafd; }
.mdl-spec-chevron { color: var(--color-primary); transition: transform .25s ease; flex-shrink: 0; }
.mdl-spec-group-body { display: none; }
.mdl-spec-group-body.open { display: block; }
.mdl-spec-table { width: 100%; border-collapse: collapse; }
.mdl-spec-table tr { border-top: 1px solid var(--color-border); transition: background .12s; }
.mdl-spec-table tr:hover { background: #f7fafd; }
.mdl-spec-label {
  width: 45%;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #fafbfc;
  border-right: 1px solid var(--color-border);
}
.mdl-spec-value {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

/* ─── PROS & CONS ────────────────────────────────────────────────────────── */
.mdl-pros-cons-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.mdl-pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mdl-pros-card,
.mdl-cons-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.mdl-pc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.mdl-pc-header-pros { background: #16a34a; }
.mdl-pc-header-cons { background: #dc2626; }
.mdl-pc-list {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}
.mdl-pc-list li {
  padding: 9px 20px;
  font-size: 13px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
  position: relative;
  padding-left: 36px;
}
.mdl-pc-list li:last-child { border-bottom: none; }
.mdl-pros-card .mdl-pc-list li::before { content: '✓'; position: absolute; left: 16px; color: #16a34a; font-weight: 700; }
.mdl-cons-card .mdl-pc-list li::before { content: '✕'; position: absolute; left: 16px; color: #dc2626; font-weight: 700; }

/* ─── ABOUT / DESCRIPTION ────────────────────────────────────────────────── */
.mdl-about-section { padding: 52px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.mdl-about-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  max-height: 96px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mdl-about-text.mdl-about-open { max-height: 2000px; }
.mdl-about-text p { margin-bottom: .8em; }
.mdl-about-text p:last-child { margin-bottom: 0; }
.mdl-about-toggle {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  transition: color .15s;
}
.mdl-about-toggle:hover { color: var(--color-primary-dk); }
.mdl-about-chevron { font-size: 14px; }

/* ─── FAQ / RELATED / SECTIONS ───────────────────────────────────────────── */
.mdl-faq-section { padding: 52px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.mdl-faq-inner { max-width: 860px; }
.mdl-related-section { padding: 52px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }

/* ─── RESPONSIVE — MODEL v17 ─────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .mdl-hero-inner      { grid-template-columns: 1fr 380px; gap: 28px; }
  .mdl-trims-table .mdl-trim-td-spec:nth-child(3) { display: none; }
}
@media (max-width: 1024px) {
  .mdl-hero-inner      { grid-template-columns: 1fr; }
  .mdl-hero-info       { position: static; }
  .mdl-trims-grid      { grid-template-columns: repeat(2, 1fr); }
  .mdl-pros-cons-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mdl-hero            { padding: 20px 0 28px; }
  .mdl-hero-title      { font-size: 20px; }
  .mdl-hero-specs      { grid-template-columns: repeat(2, 1fr); }
  .mdl-trims-grid      { grid-template-columns: 1fr 1fr; }
  .mdl-topbar-title    { display: none; }
  .mdl-topbar-inner    { gap: 0; }
  /* Trims table — scroll horizontally on mobile */
  .mdl-trims-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Gallery thumbs — smaller on mobile */
  .mdl-thumb-wrap      { width: 64px; height: 46px; }
}
@media (max-width: 480px) {
  .mdl-trims-grid      { grid-template-columns: 1fr; }
  .mdl-hero-specs      { grid-template-columns: repeat(3, 1fr); }
  .mdl-hero-ctas       { flex-direction: column; }
  /* Sticky nav — clip overflow so "News" doesn't bleed into price */
  .mdl-topbar-nav      { overflow: hidden; }
  .mdl-topbar-link     { padding: 0 10px; font-size: 12px; }
  .mdl-topbar-price    { font-size: 12px; padding-left: 6px; }
  /* Gallery thumbs — even smaller on very small screens */
  .mdl-thumb-wrap      { width: 54px; height: 40px; border-radius: 6px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TRIM PAGE v17  (.trm-*)
═══════════════════════════════════════════════════════════════════════ */

/* ─── TOPBAR ─────────────────────────────────────────────────────────
   JS sets position:fixed when scrolled — CSS keeps base styles only   */
.trm-topbar {
  position: relative;
  z-index: 999;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 52px;
  display: flex;
  align-items: center;
  transition: box-shadow .2s;
  left: 0;
}
.trm-topbar-stuck { box-shadow: 0 2px 20px rgba(0,0,0,.12); }
.trm-topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.trm-topbar-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trm-topbar-brand,
.trm-topbar-model { color: var(--color-primary); font-weight: 700; }
.trm-topbar-brand:hover,
.trm-topbar-model:hover { text-decoration: underline; }
.trm-topbar-trim { color: var(--color-text); font-weight: 700; }
.trm-topbar-sep { color: var(--color-text-muted); opacity: .5; margin: 0 1px; }
.trm-topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.trm-topbar-nav::-webkit-scrollbar { display: none; }
.trm-topbar-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 100px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.trm-topbar-link:hover { color: var(--color-primary); background: rgba(0,144,215,.06); }
.trm-topbar-link.active { color: var(--color-primary); background: rgba(0,144,215,.1); }
.trm-topbar-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── HERO ──────────────────────────────────────────────────────────── */
.trm-hero {
  padding: 32px 0 40px;
  background: linear-gradient(165deg, #f8fbff 0%, #eef5fb 100%);
  border-bottom: 1px solid var(--color-border);
}
.trm-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

/* Gallery */
.trm-hero-gallery { display: flex; flex-direction: column; gap: 12px; }
.trm-hero-main-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eef5;
  aspect-ratio: 16/10;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.trm-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.trm-hero-main-wrap:hover .trm-hero-main-img { transform: scale(1.02); }
.trm-hero-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); font-size: 13px;
}
.trm-gallery-tabs {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.trm-gtab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.trm-gtab.active { background: var(--color-primary); color: #fff; }
.trm-gtab:hover:not(.active) { background: rgba(0,0,0,.7); color: #fff; }
.trm-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .15s;
}
.trm-gallery-arrow:hover { background: var(--color-primary); }
.trm-gallery-prev { left: 12px; }
.trm-gallery-next { right: 12px; }
.trm-gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 2;
}
.trm-hero-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.trm-hero-thumbs::-webkit-scrollbar { display: none; }
.trm-thumb-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.trm-thumb-wrap.active { border-color: var(--color-primary); }
.trm-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Info panel */
.trm-hero-info {
  position: sticky;
  top: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trm-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.trm-badge {
  display: inline-block;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-radius: 100px;
}
.trm-badge-body { background: rgba(0,144,215,.1); color: var(--color-primary); }
.trm-badge-year { background: rgba(223,20,84,.1); color: var(--color-accent); }
.trm-badge-fuel { background: rgba(22,163,74,.1); color: #16a34a; }
.trm-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  margin: 0;
}
.trm-hero-trim-chip {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: .04em;
}
.trm-hero-title-sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.trm-hero-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.trm-stars { color: #f59e0b; font-size: 15px; letter-spacing: -1px; }
.trm-rating-val { font-weight: 800; color: var(--color-text); }
.trm-rating-cnt { color: var(--color-text-muted); font-size: 12px; }
.trm-hero-price-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.trm-hero-price-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); margin-bottom: 4px; }
.trm-hero-price { font-size: 30px; font-weight: 900; color: var(--color-accent); line-height: 1.1; }
.trm-hero-price-note { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }
.trm-hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.trm-hero-spec {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
.trm-hero-spec-icon { font-size: 16px; line-height: 1; }
.trm-hero-spec-val { font-size: 11px; font-weight: 700; color: var(--color-text); line-height: 1.25; }
.trm-hero-spec-lbl { font-size: 10px; color: var(--color-text-muted); font-weight: 500; }
.trm-hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.trm-cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px; font-weight: 700;
  border-radius: 10px;
  transition: background .15s;
}
.trm-cta-primary:hover { background: var(--color-primary-dk); }
.trm-cta-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  font-size: 13px; font-weight: 700;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.trm-cta-outline:hover { background: var(--color-primary); color: #fff; }
.trm-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px;
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  font-size: 13px; font-weight: 600;
  border-radius: 10px;
  transition: border-color .15s, color .15s;
}
.trm-cta-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.trm-hero-nav-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trm-hero-parent-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  color: var(--color-text-muted);
  transition: color .15s;
}
.trm-hero-parent-link:hover { color: var(--color-primary); }
.trm-hero-brand-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--color-text-muted);
  transition: color .15s;
}
.trm-hero-brand-link:hover { color: var(--color-primary); }
.trm-brand-mini-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; }

/* ─── COLOR SWATCHES  (pills only, no image preview) ──────────────── */
.trm-colors-section {
  padding: 40px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.trm-color-swatches-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.trm-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 100px;
  transition: border-color .15s, box-shadow .15s;
}
.trm-color-pill.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,144,215,.12);
}
.trm-pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.trm-pill-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* ─── SPECS SECTION ────────────────────────────────────────────────── */
.trm-detail-section {
  padding: 52px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.trm-detail-section .section-header { margin-bottom: 28px; }

/* ─── FEATURES SECTION ─────────────────────────────────────────────── */
.trm-features-section {
  padding: 52px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.trm-features-section .section-header { margin-bottom: 28px; }

/* Spec accordion */
.trm-spec-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.trm-spec-group-hd {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  transition: background .15s;
  gap: 10px;
  text-align: left;
}
.trm-spec-group-hd:hover { background: #f7fafd; }
.trm-spec-group-name { font-size: 14px; font-weight: 700; color: var(--color-text); flex: 1; }
.trm-spec-group-count { font-size: 11px; font-weight: 600; color: var(--color-text-muted); background: var(--color-bg); border: 1px solid var(--color-border); padding: 2px 8px; border-radius: 100px; }
.trm-spec-chevron { color: var(--color-primary); transition: transform .25s ease; flex-shrink: 0; }
.trm-spec-group-body { display: none; }
.trm-spec-group-body.open { display: block; }
.trm-spec-table { width: 100%; border-collapse: collapse; }
.trm-spec-table tr { border-top: 1px solid var(--color-border); transition: background .12s; }
.trm-spec-table tr:hover { background: #f7fafd; }
.trm-spec-label {
  width: 42%;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #fafbfc;
  border-right: 1px solid var(--color-border);
}
.trm-spec-value {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* Feature accordion */
.trm-feat-group {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.trm-feat-group-hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-align: left;
}
.trm-feat-group-hd:hover { background: #f7fafd; }
.trm-feat-icon-svg { display: inline-flex; align-items: center; color: var(--color-primary); flex-shrink: 0; }
.trm-feat-group-name { font-size: 14px; font-weight: 700; color: var(--color-text); flex: 1; letter-spacing: .01em; }
.trm-feat-group-count {
  font-size: 11px; font-weight: 700; color: var(--color-primary);
  background: rgba(0,144,215,.08); border: 1px solid rgba(0,144,215,.2);
  padding: 2px 8px; border-radius: 100px;
}
.trm-feat-chevron { color: var(--color-text-muted); transition: transform .25s ease; flex-shrink: 0; }
.trm-feat-group-body { display: none; border-top: 1px solid var(--color-border); }
.trm-feat-group-body.open { display: block; }

/* 2-column name | value table */
.trm-feat-table { display: table; width: 100%; border-collapse: collapse; }
.trm-feat-row {
  display: table-row;
  border-bottom: 1px solid var(--color-border);
}
.trm-feat-row:last-child { border-bottom: none; }
.trm-feat-row-even { background: rgba(0,0,0,.015); }
.trm-feat-cell-name,
.trm-feat-cell-val {
  display: table-cell;
  padding: 11px 20px;
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.4;
}
.trm-feat-cell-name {
  color: var(--color-text);
  font-weight: 500;
  width: 65%;
  border-right: 1px solid var(--color-border);
}
.trm-feat-cell-val {
  width: 35%;
  font-weight: 700;
  text-align: center;
}
/* Value states */
.trm-feat-no  { color: var(--color-secondary); }  /* red × */
.trm-feat-yes { color: #16a34a; }                  /* green ✓ */
.trm-feat-custom { color: var(--color-text); }     /* specific value */

/* value-only rows (no label — old import data, values only) */
.trm-feat-cell-name .trm-feat-value-only {
  font-weight: 600;
  color: var(--color-text);
}
.trm-feat-cell-vo {
  display: table-cell;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}
.trm-feat-row-vo .trm-feat-cell-vo { text-align: left; }
.trm-feat-cell-vo .trm-feat-value-only { color: var(--color-text); }

.trm-no-features {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ─── SIBLING TRIMS ─────────────────────────────────────────────────── */
.trm-siblings-section {
  padding: 52px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.trm-sibling-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.trm-sibling-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.trm-sibling-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trm-sibling-current {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0,144,215,.2);
}
.trm-sibling-current-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 8px;
  border-radius: 100px;
  z-index: 1;
}
.trm-sibling-img-wrap { aspect-ratio: 16/9; overflow: hidden; background: #f0f4f8; }
.trm-sibling-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.trm-sibling-card:hover .trm-sibling-img-wrap img { transform: scale(1.04); }
.trm-sibling-body { padding: 14px; flex: 1; }
.trm-sibling-name { font-size: 13px; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.trm-sibling-price { font-size: 16px; font-weight: 800; color: var(--color-accent); }
.trm-price-na { color: var(--color-text-muted); font-size: 12px; font-weight: 500; }
.trm-sibling-diff {
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
}
.trm-diff-up { background: rgba(220,38,38,.08); color: #dc2626; }
.trm-diff-dn { background: rgba(22,163,74,.08); color: #16a34a; }
.trm-sibling-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.trm-sib-spec {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.trm-sibling-footer {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
}
.trm-sibling-footer-current { justify-content: center; }
.trm-sib-current-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}
.trm-sib-view {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.trm-sib-view:hover { background: var(--color-primary); color: #fff; }
.trm-sib-cmp {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  transition: background .15s;
}
.trm-sib-cmp:hover { background: var(--color-primary-dk); }

/* ─── FAQ ───────────────────────────────────────────────────────────── */
.trm-faq-section { padding: 52px 0; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.trm-faq-inner { max-width: 860px; }

/* ─── RESPONSIVE — TRIM v17 ──────────────────────────────────────────*/
@media (max-width: 1280px) {
  .trm-hero-inner      { grid-template-columns: 1fr 380px; }
  .trm-sibling-grid    { grid-template-columns: repeat(3, 1fr); }
  .trm-colors-inner    { grid-template-columns: 1fr 300px; }
}
@media (max-width: 1024px) {
  .trm-hero-inner      { grid-template-columns: 1fr; }
  .trm-hero-info       { position: static; }
  .trm-sibling-grid    { grid-template-columns: repeat(2, 1fr); }
  .trm-feat-cell-name  { width: 60%; }
  .trm-feat-cell-val   { width: 40%; }
}
@media (max-width: 768px) {
  .trm-hero            { padding: 20px 0 28px; }
  .trm-hero-title      { font-size: 19px; }
  .trm-hero-specs      { grid-template-columns: repeat(3, 1fr); }
  .trm-topbar-title    { display: none; }
  .trm-topbar-inner    { gap: 0; }
  .trm-detail-header   { flex-direction: column; align-items: flex-start; }
  /* Gallery thumbs — smaller on mobile */
  .trm-thumb-wrap      { width: 64px; height: 46px; }
}
@media (max-width: 600px) {
  .trm-sibling-grid    { grid-template-columns: 1fr 1fr; }
  .trm-feat-cell-name  { width: auto; font-size: 12px; padding: 10px 14px; }
  .trm-feat-cell-val   { width: auto; font-size: 12px; padding: 10px 12px; }
  .trm-hero-ctas       { flex-direction: column; }
}
@media (max-width: 480px) {
  .trm-sibling-grid    { grid-template-columns: 1fr; }
  .trm-hero-specs      { grid-template-columns: repeat(2, 1fr); }
  /* Sticky nav — clip overflow so nav links don't bleed into price */
  .trm-topbar-nav      { overflow: hidden; }
  .trm-topbar-link     { padding: 0 10px; font-size: 12px; }
  .trm-topbar-price    { font-size: 12px; padding-left: 6px; }
  /* Gallery thumbs — even smaller on very small screens */
  .trm-thumb-wrap      { width: 54px; height: 40px; border-radius: 6px; }
}
