@charset "UTF-8";
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f5f7;
  --color-bg-subtle: #f7f8fa;
  --color-dark: #ffffff;
  --color-surface: #f4f5f7;
  --color-card: #ffffff;
  --color-border: #dde1e6;
  --color-border-light: #e8ebef;
  --color-text: #050608;
  --color-muted: #7d848c;
  --color-primary: #c43406;
  --color-primary-light:#e04a18;
  --color-primary-soft: #fceee9;
  --color-primary-faint:#fef6f3;
  --color-accent: #c43406;
  --color-link: #c43406;
  --color-success: #34c759;
  --color-danger: #ff3b30;
  --color-hero-text: #050608;
  --color-hero-muted: #7d848c;
  --color-black: #050608;
  --color-white: #ffffff;
  --color-brand-muted: #aeb4bc;
  --color-brand-dark: #050608;
  --color-primary-deep: #8f2604;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-pill: 980px;
  --shadow-card: none;
  --shadow-hover:none;
  --shadow-nav: none;
  --font-ar: Cairo, Tahoma, Arial, sans-serif;
  --font-en: Inter, Arial, sans-serif;
  --container: 1380px;
  --container-wide: 1380px;
  --gap: 2rem;
  --header-h: 82px;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: var(--font-ar);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-ar);
  letter-spacing: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
  font-family: inherit;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  width: min(100% - 48px, var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 0;
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
}
.site-main {
  flex: 1;
  padding-block: 0;
}

/* ── Top scroll progress ─────────────────────────────────────────── */
.top-progress {
  height: 3px;
  background: linear-gradient(90deg, #c43406, #e04a18);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  transform-origin: right;
  transform: scaleX(0);
  pointer-events: none;
}

/* ── Header — frosted glass sticky nav ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 231, 238, 0.85);
}

/* Breathing room under sticky header → catalog heroes (cars / compare / stats / news).
   Heroes are full-bleed grey bands; without this they sit flush on the header border. */
.cars-tg-hero,
.cmp-tg-hero,
.stats-tg-hero,
.news-tg-hero {
  margin-block-end: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: var(--header-h);
}

.site-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-text);
}

.site-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list,
.nav-list > ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-list li {
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 1.65rem 0 1.4rem;
  border-radius: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color var(--transition-fast);
}

.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  color: var(--color-primary);
  background: transparent;
  text-decoration: none;
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.icon-btn svg {
  display: block;
}

.btn {
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.btn-outline {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.btn-small {
  min-height: 42px;
  padding-inline: 1.15rem;
  font-size: 0.8125rem;
}

.btn.full-width {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 42px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded=true] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded=true] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded=true] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 18, 0.48);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: start center;
  padding-top: 120px;
}

.search-overlay[hidden] {
  display: none;
}

.search-dialog {
  width: min(680px, 100% - 32px);
  background: var(--color-card);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: none;
  position: relative;
}

.search-dialog h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.search-dialog input {
  width: 100%;
  min-height: 58px;
}

.close-search {
  position: absolute;
  inset-inline-end: 15px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
}

.toast {
  position: fixed;
  z-index: 220;
  inset-inline-start: 24px;
  bottom: 24px;
  background: #111218;
  color: #fff;
  padding: 12px 17px;
  border-radius: 10px;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.3s;
  box-shadow: none;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Footer — TURBOGT multi-column ───────────────────────────────── */
.site-footer {
  margin-top: auto;
  padding: 3rem 0 1.125rem;
  border-top: 1px solid var(--color-border);
  background: #f7f8fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-brand .site-logo img {
  max-height: 36px;
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.75rem;
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 28ch;
}

.footer-col h3 {
  font-size: 0.9375rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.footer-col > a,
.footer-link-list a {
  display: block;
  color: var(--color-muted);
  font-size: 0.75rem;
  margin: 0.45rem 0;
  font-weight: 500;
}

.footer-col > a:hover,
.footer-link-list a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-link-list,
.footer-link-list > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  list-style: none;
}

.footer-app p {
  color: var(--color-muted);
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

.store-badge {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 145px;
  background: #09090c;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin: 0.55rem 0;
  cursor: default;
}

.store-badge span {
  font-size: 1.5rem;
  line-height: 1;
}

.store-badge b {
  font-family: Arial, sans-serif;
  font-size: 0.625rem;
  line-height: 1.15;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid var(--color-border);
  margin-top: 1.875rem;
  padding-top: 1.05rem;
}

.copyright p {
  color: var(--color-muted);
  font-size: 0.6875rem;
  margin: 0;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
  .footer-app {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 2.125rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
/* ── Scroll reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive (early) ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .car-hero-inner {
    grid-template-columns: 1fr;
  }
  .car-body {
    grid-template-columns: 1fr;
  }
  .quick-specs-card {
    position: static;
  }
  .comparison-header {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .vs-badge {
    display: none;
  }
}
/* ── Mobile navigation ───────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    inset-inline: 14px;
    top: calc(100% + 6px);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-nav);
    padding: 0.875rem;
    z-index: 120;
  }
  .primary-nav.is-open {
    display: block;
  }
  .nav-list,
  .nav-list > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.75rem 0.625rem;
    font-size: 0.875rem;
  }
  .nav-list a::after {
    display: none;
  }
  .header-inner {
    position: relative;
  }
  .header-actions {
    margin-inline-start: auto;
  }
}
@media (max-width: 640px) {
  .site-logo img {
    max-height: 32px;
  }
  .header-inner {
    min-height: 70px;
  }
}
/* ── Lang Switcher ─────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-switcher-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lang-switcher-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}

.lang-switcher-icon {
  display: block;
  flex-shrink: 0;
}

.tg-car-search label > span,
.cars-sidebar-title,
.cars-filter-group h3,
.cmp-filter-title,
.cmp-filter-section h3,
.stats-side-card h3,
.inq-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

input:where([type=text],
[type=email],
[type=search],
[type=tel],
[type=number],
[type=url],
[type=password],
:not([type])),
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-card);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
input:where([type=text],
[type=email],
[type=search],
[type=tel],
[type=number],
[type=url],
[type=password],
:not([type])):hover,
textarea:hover {
  border-color: var(--color-border);
  background-color: var(--color-bg-subtle);
}
input:where([type=text],
[type=email],
[type=search],
[type=tel],
[type=number],
[type=url],
[type=password],
:not([type])):focus, input:where([type=text],
[type=email],
[type=search],
[type=tel],
[type=number],
[type=url],
[type=password],
:not([type])):focus-visible,
textarea:focus,
textarea:focus-visible {
  border-color: var(--color-primary);
  background-color: var(--color-card);
  box-shadow: var(--shadow-hover);
}
input:where([type=text],
[type=email],
[type=search],
[type=tel],
[type=number],
[type=url],
[type=password],
:not([type]))::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
  font-weight: 500;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-card);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
select:hover {
  border-color: var(--color-border);
  background-color: var(--color-bg-subtle);
}
select:focus, select:focus-visible {
  border-color: var(--color-primary);
  background-color: var(--color-card);
  box-shadow: var(--shadow-hover);
}
select::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
  font-weight: 500;
}
select {
  cursor: pointer;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d848c' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px;
}
[dir=rtl] select {
  background-position: left 0.875rem center;
}

textarea {
  min-height: 6rem;
  padding-block: 0.85rem;
  line-height: 1.6;
  resize: vertical;
  font-weight: 500;
}

.tg-car-search select,
.tg-car-search input[type=search],
.tg-car-search .tg-price-range input {
  border: 0;
  border-radius: 0;
  min-height: 0;
  padding: 0.2rem 0;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  font-weight: 600;
}
.tg-car-search select:hover, .tg-car-search select:focus, .tg-car-search select:focus-visible,
.tg-car-search input[type=search]:hover,
.tg-car-search input[type=search]:focus,
.tg-car-search input[type=search]:focus-visible,
.tg-car-search .tg-price-range input:hover,
.tg-car-search .tg-price-range input:focus,
.tg-car-search .tg-price-range input:focus-visible {
  border-color: transparent;
  background-color: transparent;
  box-shadow: none;
}

/* ── Quick Specs Card ──────────────────────────────────────────── */
.quick-specs-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 70px;
}

.quick-specs-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.quick-specs-list {
  list-style: none;
}

.quick-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.quick-specs-list li:last-child {
  border-bottom: none;
}

.qs-icon {
  width: 1.5rem;
  text-align: center;
}

.qs-label {
  flex: 1;
  color: var(--color-muted);
}

.qs-val {
  font-weight: 600;
}

/* ── Car Filters + archive side-filter controls ─────────────────── */
.car-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-block-end: 1.5rem;
}

.filter-select {
  width: 100%;
  min-height: 48px;
  padding: 0 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-card);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.filter-select:hover {
  border-color: var(--color-border);
  background-color: var(--color-bg-subtle);
}
.filter-select:focus, .filter-select:focus-visible {
  border-color: var(--color-primary);
  background-color: var(--color-card);
  box-shadow: var(--shadow-hover);
}
.filter-select::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
  font-weight: 500;
}
.filter-select {
  cursor: pointer;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d848c' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px;
}
[dir=rtl] .filter-select {
  background-position: left 0.875rem center;
}
.filter-select {
  width: auto;
  min-width: clamp(148px, 18vw, 196px);
}

.cars-filter-sidebar select,
.cmp-filters select {
  width: 100%;
}

.cars-sort-select,
.cmp-sort-select,
.stats-sort-select {
  width: auto;
  min-width: 10rem;
}

.cars-small-chip,
.cmp-filter-chip {
  position: relative;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.cars-small-chip input,
.cmp-filter-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 0;
  opacity: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.cars-small-chip:hover,
.cmp-filter-chip:hover {
  background-color: var(--color-bg-subtle);
  border-color: var(--color-border);
}
.cars-small-chip.is-active,
.cmp-filter-chip.is-active {
  color: #fff;
  border-color: var(--color-text);
  background: var(--color-text);
  font-weight: 700;
}

.cars-filter-sidebar,
.cmp-filters {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.cars-sidebar-title,
.cmp-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cars-sidebar-title > span:first-child,
.cmp-filter-title > span:first-child {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.cars-filter-group h3,
.cmp-filter-section h3 {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cars-clear-filters,
.cmp-reset-btn {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
}
.cars-clear-filters:hover,
.cmp-reset-btn:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.cars-sidebar-title .cars-clear-filters,
.cmp-filter-title .cmp-reset-btn {
  margin-inline-start: auto;
}

/* ── Pagination ────────────────────────────────────────────────── */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-block-start: 2.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 0.8125rem;
  background: var(--color-card);
  transition: all var(--transition-fast);
}

.page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-link);
  text-decoration: none;
}

.page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════════════════ */
.newsletter {
  margin-block: 1.75rem;
  min-height: 112px;
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.875rem;
  display: grid;
  grid-template-columns: auto 1fr 1.2fr;
  align-items: center;
  gap: 1.375rem;
  background: radial-gradient(ellipse 70% 100% at 100% 0%, rgba(174, 180, 188, 0.14), transparent 55%), linear-gradient(125deg, #f7f8fa 0%, #f4f5f7 55%, #e8ebef 100%);
  border: 1px solid #dde1e6;
  color: #050608;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c43406;
  background: #f4f5f7;
  flex: none;
}
.newsletter-icon svg {
  display: block;
}

.newsletter-copy {
  min-width: 0;
}
.newsletter-copy h2 {
  margin: 0 0 2px;
  font-size: 1.3rem;
  color: #050608;
}
.newsletter-copy p {
  margin: 0;
  color: #7d848c;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.625rem;
  min-width: 0;
}
.newsletter-form input:not(.inq-honeypot) {
  min-width: 0;
  width: 100%;
}
.newsletter-form .btn {
  white-space: nowrap;
}

@media (max-width: 920px) {
  .newsletter {
    grid-template-columns: auto 1fr;
  }
  .newsletter .newsletter-form {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .newsletter {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newsletter .newsletter-icon {
    margin-inline: auto;
  }
  .newsletter .newsletter-form {
    grid-template-columns: 1fr;
  }
}
.trust-strip {
  margin-top: 2.375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-card);
}

.trust-item {
  padding: 1.375rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  border-inline-end: 1px solid var(--color-border);
}
.trust-item:last-child {
  border-inline-end: 0;
}
.trust-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
}
.trust-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  flex: none;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(2) {
    border-inline-end: 0;
  }
  .trust-item:nth-child(n+3) {
    border-top: 1px solid var(--color-border);
  }
}
@media (max-width: 640px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-inline-end: 0;
    border-top: 1px solid var(--color-border);
  }
  .trust-item:first-child {
    border-top: 0;
  }
}
/* ── Specs Table Block ─────────────────────────────────────────── */
.autowp-specs-table {
  margin-block: 2rem;
}

.specs-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: start;
}

.specs-table th {
  color: var(--color-muted);
  font-weight: 500;
  width: 40%;
}

.specs-table td {
  font-weight: 600;
}

.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td, .specs-table tr:hover th {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Price Trims Block ─────────────────────────────────────────── */
.autowp-price-trims {
  margin-block: 2rem;
}

.trims-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.trims-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.trim-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

/* Legacy card-trim styles — scoped away from the table */
.trim-card .trim-name {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.trim-card .trim-price {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent);
}

.trim-card .trim-old-price {
  display: block;
  font-size: 0.85rem;
  color: var(--color-danger);
  margin-top: 0.25rem;
}

/* ── Comparison Block ──────────────────────────────────────────── */
.autowp-comparison {
  margin-block: 2rem;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.comparison-car {
  text-align: center;
}

.comparison-car img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.comparison-car h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.comparison-price {
  color: var(--color-accent);
  font-weight: 700;
}

.vs-badge {
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table td, .comparison-table th {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.comparison-table .spec-label {
  text-align: center;
  color: var(--color-muted);
  font-weight: 500;
}

.comparison-table .val-a {
  text-align: end;
  font-weight: 600;
}

.comparison-table .val-b {
  text-align: start;
  font-weight: 600;
}

/* ── Market Chart Block ────────────────────────────────────────── */
.autowp-market-chart {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: none;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  margin-block: 2rem;
  padding: 1.5rem;
}

.chart-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #050608;
}

.chart-period {
  color: #7d848c;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.chart-source {
  font-size: 0.75rem;
  color: #7d848c;
  margin-top: 1rem;
}

/* ── Car Card — brand title → model line → price → specs → CTA ─ */
.car-card {
  position: relative;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.car-card:hover {
  border-color: rgba(196, 52, 6, 0.22);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.car-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}

.car-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.car-image {
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #eceef2 0%, #f5f5f7 100%);
  overflow: hidden;
  line-height: 0;
}

.car-image img,
.car-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.car-card:hover .car-card-img {
  transform: scale(1.02);
}

.car-card .img-placeholder {
  object-fit: cover;
  padding: 0;
  background: var(--color-bg-alt);
  transform: none;
}

.car-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 0.95rem 1rem;
  text-align: start;
  gap: 0;
}

.car-card .car-content > *:not(.car-card-cta) {
  margin-block: 0;
}

.car-brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.05;
}

.car-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-price {
  margin: 0;
  padding-block-end: 0.45rem;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.7rem;
  margin: 0;
  padding-block: 0.7rem 0;
  border-block-start: 1px solid var(--color-border-light);
}

.car-spec {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.car-spec-icon {
  flex: 0 0 auto;
  width: 0.875rem;
  height: 0.875rem;
  margin-block-start: 0.12rem;
  color: var(--color-muted);
}
.car-spec-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.car-spec-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.car-spec-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1.2;
}

.car-spec-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-card-cta {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.car-card-cta:hover, .car-card-cta:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}
.car-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-block: 1.5rem 0;
  min-height: 2.35rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.car-card-image-link {
  display: block;
}

.car-card-body {
  padding: 0;
}

.car-card-title {
  font-size: inherit;
  margin: 0;
}

.price-amount {
  color: var(--color-primary);
}

.price-from {
  display: none;
}

.card-action {
  display: none;
}

/* ── Comparison Card (archive list: image + title only) ───────── */
.comparison-card {
  background: var(--color-card);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.comparison-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.comparison-card-link:hover {
  text-decoration: none;
}

.comparison-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.comparison-card:hover .comparison-card-img:not(.img-placeholder) {
  transform: scale(1.04);
}

.comparison-card .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.comparison-card-cars {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding: 0;
}

.cc-car {
  flex: 1;
  min-width: 0;
  max-width: 50%;
  height: 100%;
  overflow: hidden;
}

.cc-car-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
}

.cc-vs {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-muted);
  flex-shrink: 0;
  letter-spacing: 0.08em;
  background: var(--color-card);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.comparison-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.4;
  padding: 1.25rem 1.5rem 1.5rem;
  margin: 0;
}

/* ── News card (TURBOGT) ────────────────────────────────────────── */
.news-card {
  background: #ffffff;
  border: 1px solid #dde1e6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.news-card-image-link {
  display: block;
  height: 11.875rem;
  overflow: hidden;
  position: relative;
  background: #f4f5f7;
  line-height: 0;
}

.news-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-img:not(.img-placeholder) {
  transform: scale(1.04);
}

.news-card .img-placeholder {
  object-fit: cover;
  padding: 0;
  background: #f4f5f7;
}

.news-card-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body .news-tag {
  margin-bottom: 0.35rem;
}

.news-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0.35rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.news-card-title a {
  color: #050608;
}

.news-card-title a:hover {
  color: #c43406;
  text-decoration: none;
}

.news-card-excerpt {
  font-size: 0.8125rem;
  color: #7d848c;
  line-height: 1.8;
  margin: 0 0 auto;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.news-card-meta {
  font-size: 0.75rem;
  color: #7d848c;
}

.news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #c43406;
  transition: gap 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-card-cta svg {
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-card-cta:hover {
  color: #e04a18;
  text-decoration: none;
  gap: 0.55rem;
}
.news-card-cta:hover svg {
  transform: translateX(3px);
}

[dir=rtl] .news-card-cta svg {
  transform: scaleX(-1);
}

[dir=rtl] .news-card-cta:hover svg {
  transform: scaleX(-1) translateX(4px);
}

@media (max-width: 600px) {
  .news-card-image-link {
    height: 13.125rem;
  }
}
/* ══════════════════════════════════════════════════════════════════
   ARCHIVE LIST PAGES
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--color-bg);
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
  border-block-end: 1px solid var(--color-border-light);
}

.page-hero-inner {
  max-width: 680px;
  margin-inline: auto;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-block-end: 0.75rem;
  color: var(--color-text);
}

.page-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-muted);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.page-hero .car-filters {
  justify-content: center;
  margin-block-start: 2rem;
  margin-block-end: 0;
}

.archive-content {
  background: var(--color-bg-alt);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.archive-page .no-results {
  color: var(--color-muted);
  text-align: center;
  padding: 4rem 0;
  font-size: 1.125rem;
}

.list-grid {
  display: grid;
  gap: 1.5rem;
  margin-block-end: 2.5rem;
}

.cars-grid.list-grid,
.comparisons-grid.list-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.news-grid.list-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ── TURBOGT homepage ────────────────────────────────────────────── */
.home-turbogt {
  padding-bottom: 2rem;
  background: var(--color-bg-alt);
}

.tg-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem) clamp(4.25rem, 7vw, 5.5rem);
  min-height: clamp(220px, 26vw, 340px);
  background: #f4f5f7;
}

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

.tg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
}

.tg-hero--ar .tg-hero-bg img {
  object-position: left 42%;
}

.tg-hero--en .tg-hero-bg img {
  object-position: right 42%;
}

.tg-hero--ar .tg-hero-bg {
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 86%);
  mask-image: linear-gradient(to right, #000 40%, transparent 86%);
}

.tg-hero--en .tg-hero-bg {
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 86%);
  mask-image: linear-gradient(to left, #000 40%, transparent 86%);
}

@media (min-width: 2001px) {
  .tg-hero-bg img {
    object-fit: cover;
  }
}
.tg-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

[dir=ltr] .tg-hero-fade {
  background: linear-gradient(to right, #f4f5f7 0%, #f4f5f7 22%, rgba(244, 245, 247, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(244, 245, 247, 0.28) 62%, transparent 78%);
}

[dir=rtl] .tg-hero-fade {
  background: linear-gradient(to left, #f4f5f7 0%, #f4f5f7 22%, rgba(244, 245, 247, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(244, 245, 247, 0.28) 62%, transparent 78%);
}

.tg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(140px, 16vw, 220px);
}

.tg-hero-copy {
  max-width: 36rem;
  animation: tg-hero-fade 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tg-hero h1 {
  margin: 0 0 0.875rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text);
  unicode-bidi: isolate;
}

.tg-hero--en h1 {
  font-family: var(--font-en), Cairo, sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.tg-hero-line {
  display: block;
}

.tg-hero-line--accent {
  color: #c43406;
}

.tg-hero-copy p {
  color: var(--color-muted);
  max-width: 28rem;
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.5;
}

.tg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.tg-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding-inline: 1.35rem;
  font-weight: 700;
}

.tg-cta-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir=rtl] .tg-cta-arrow {
  transform: scaleX(-1);
}

[dir=rtl] .tg-hero-actions .btn-primary:hover .tg-cta-arrow {
  transform: scaleX(-1) translateX(4px);
}

[dir=ltr] .tg-hero-actions .btn-primary:hover .tg-cta-arrow {
  transform: translateX(4px);
}

.tg-hero-actions .tg-btn-compare {
  background: var(--color-card);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-hover);
}

.tg-hero-actions .tg-btn-compare:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text);
}

@keyframes tg-hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tg-search-wrap {
  position: relative;
  z-index: 6;
  margin-block: 1.5rem 0;
}

.tg-search-wrap--overlap {
  margin-top: -3.75rem;
}

.tg-search-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 0.85rem 1rem;
  animation: tg-hero-fade 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.tg-car-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(9.5rem, 1.15fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
}

.tg-car-search--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(9.5rem, 1.15fr);
}

.tg-car-search--stats,
.tg-car-search--news {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(9.5rem, 1.15fr);
}

.tg-car-search label {
  padding: 0.35rem 1.125rem;
  border-inline-end: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.tg-car-search label > span {
  display: block;
  margin-bottom: 0.15rem;
}

.tg-car-search select,
.tg-car-search input[type=search],
.tg-car-search .tg-price-range input {
  border: 0;
  width: 100%;
  outline: none;
  padding: 0.2rem 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  min-width: 0;
}

.tg-car-search input[type=search] {
  appearance: none;
}

.tg-car-search input[type=search]::-webkit-search-decoration,
.tg-car-search input[type=search]::-webkit-search-cancel-button {
  appearance: none;
}

.tg-car-search .tg-price-range {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.tg-car-search .tg-price-range i {
  flex: 0 0 12px;
  height: 1px;
  background: var(--color-border);
}

.tg-car-search .tg-price-range input {
  appearance: textfield;
  text-align: start;
}

.tg-car-search .tg-price-range input::-webkit-outer-spin-button,
.tg-car-search .tg-price-range input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.tg-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: stretch;
  min-height: 52px;
  margin: 0.15rem;
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-weight: 800;
}

.tg-search-submit svg {
  width: 20px;
  height: 20px;
}

.tg-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.tg-dashboard,
.tg-content {
  margin-top: 1.75rem;
  padding: 1.5rem;
}

.tg-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.375rem;
}

.tg-section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--color-text);
}

.tg-section-heading a {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}

.tg-section-heading a:hover {
  text-decoration: none;
  color: var(--color-primary-light);
}

.tg-kicker {
  display: block;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.tg-inline-heading {
  align-items: center;
}

.tg-compact {
  margin-bottom: 0.95rem;
}

.tg-compact h2 {
  font-size: 1.125rem;
  font-weight: 800;
}

.tg-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tg-stat-card {
  min-height: 112px;
  padding: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-inline-end: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-card), var(--color-bg-alt));
}

.tg-stat-card:last-child {
  border-inline-end: 0;
}

.tg-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  display: grid;
  place-items: center;
  flex: none;
}

.tg-stat-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tg-stat-card small,
.tg-stat-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.6875rem;
}

.tg-stat-card strong {
  display: block;
  font-size: 1.25rem;
  margin: 2px 0;
}

.tg-mini-chart {
  flex-direction: row-reverse;
}

.tg-sparkline {
  width: 70px;
  height: 42px;
  position: relative;
  background: linear-gradient(180deg, rgba(125, 132, 140, 0.18), transparent);
  clip-path: polygon(0 80%, 15% 58%, 27% 68%, 43% 35%, 56% 52%, 72% 20%, 88% 28%, 100% 0, 100% 100%, 0 100%);
}

.tg-sparkline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--color-primary);
  transform: skewY(-18deg);
}

/* Brands + Featured Cars — mock-style twin panels */
.tg-catalog-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.35fr);
  gap: 1.125rem;
  margin-top: 1.75rem;
  align-items: stretch;
}

.tg-catalog-row > .tg-panel:only-child {
  grid-column: 1/-1;
}

.tg-brands-panel,
.tg-featured-panel {
  padding: 1.25rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Dense 2×4 brand cells — never stretch to panel height */
.tg-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  align-content: start;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.tg-brand-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 0;
  height: auto;
  padding: 0.7rem 0.4rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-card);
  color: inherit;
  transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tg-brand-cell:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
  text-decoration: none;
  color: inherit;
}

.tg-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #c5c9cf;
  display: grid;
  place-items: center;
  font-family: var(--font-en), Cairo, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text);
  background: var(--color-bg-subtle);
  flex: none;
  overflow: hidden;
}

.tg-brand-logo--image {
  background: var(--color-card);
  padding: 5px;
}

.tg-brand-logo--image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tg-brand-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-cars-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.tg-cars-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  padding-block-end: 2px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.tg-cars-track::-webkit-scrollbar {
  display: none;
}

.tg-cars-track.is-pointer-down {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.tg-cars-track.is-dragging {
  cursor: grabbing;
}

.tg-cars-track.is-dragging a {
  pointer-events: none;
}

.tg-cars-track a,
.tg-cars-track img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Featured carousel cards — same chrome as global .car-card */
.tg-car-card {
  flex: 0 0 calc((100% - 1.5rem) / 3);
  min-width: 156px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-card);
  box-shadow: none;
  scroll-snap-align: start;
  transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tg-car-card:hover {
  border-color: var(--color-border);
}

.tg-car-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.tg-car-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.tg-car-card-media {
  background: linear-gradient(180deg, #eceef2 0%, #f5f5f7 100%);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.tg-car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tg-car-card:hover .tg-car-card-media img {
  transform: scale(1.02);
}

.tg-car-card-body {
  padding: 0.85rem 0.9rem 1rem;
  text-align: start;
}

.tg-car-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tg-car-card-sub {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tg-car-card-price {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tg-cars-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 10px;
  margin-block-start: auto;
  padding-block-start: 0.15rem;
}

.tg-cars-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 980px;
  background: #d5d8de;
  cursor: pointer;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-cars-dot.is-active {
  width: 24px;
  background: var(--color-primary);
}

.tg-split,
.tg-catalog-split {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 1.125rem;
  margin-top: 1.75rem;
}

.tg-market-chart,
.tg-compare-panel {
  padding: 1.35rem;
}

.tg-market-number {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  margin-bottom: 0.3rem;
}

.tg-market-number strong {
  color: var(--color-primary);
  font-size: 2rem;
}

.tg-market-number span {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.tg-chart-svg {
  width: 100%;
  height: 210px;
  overflow: visible;
}

.tg-chart-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
}

.tg-chart-labels {
  fill: var(--color-muted);
  font-size: 12px;
}

.tg-compare-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tg-compare-carousel {
  flex: 1;
  min-width: 0;
  margin-block-end: 0.85rem;
}

.tg-comparison-row {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  color: inherit;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tg-comparison-row:hover {
  text-decoration: none;
  color: inherit;
  border-color: rgba(196, 52, 6, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.tg-comparison-matchup {
  --tg-comparison-media-h: 5.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
  min-width: 0;
}
.tg-comparison-matchup::after {
  content: "";
  position: absolute;
  left: 50%;
  inset-block: 0;
  z-index: 1;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
  pointer-events: none;
}

.tg-comparison-car {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  min-width: 0;
}

.tg-comparison-car-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--tg-comparison-media-h);
  margin: 0;
  padding: 0;
  background: #f4f5f7;
  overflow: hidden;
}
.tg-comparison-car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-comparison-car-media .img-placeholder {
  object-fit: contain;
  padding: 0;
}

.tg-comparison-car-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.55rem 0.8rem;
  min-width: 0;
}

.tg-comparison-car-title {
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tg-comparison-car-price {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.tg-compare-panel .btn {
  margin-top: auto;
}

.tg-empty {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 1rem 0;
}

.tg-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.tg-news-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-card);
}

.tg-news-image {
  position: relative;
  display: block;
}

.tg-news-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tg-news-image span {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  font-size: 0.6875rem;
  font-weight: 800;
}

.tg-news-body {
  padding: 1rem;
}

.tg-news-body small {
  color: var(--color-muted);
  font-size: 0.6875rem;
}

.tg-news-body h3 {
  font-size: 1.125rem;
  margin: 0.45rem 0;
  line-height: 1.45;
  font-weight: 700;
}

.tg-news-body h3 a {
  color: var(--color-text);
}

.tg-news-body h3 a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.tg-news-body p {
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
}

.tg-read-more {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tg-read-more:hover {
  text-decoration: none;
  color: var(--color-primary-light);
}

.tg-read-more-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir=ltr] .tg-read-more:hover .tg-read-more-arrow {
  transform: translateX(3px);
}

[dir=rtl] .tg-read-more-arrow {
  transform: scaleX(-1);
}

[dir=rtl] .tg-read-more:hover .tg-read-more-arrow {
  transform: scaleX(-1) translateX(4px);
}

@media (max-width: 1180px) {
  .tg-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tg-stat-card:nth-child(3) {
    border-inline-end: 0;
  }
  .tg-stat-card:nth-child(n+4) {
    border-top: 1px solid var(--color-border);
  }
  .tg-catalog-row {
    grid-template-columns: 1fr;
  }
  .tg-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tg-car-card {
    flex-basis: calc((100% - 0.85rem) / 2);
  }
  .tg-car-search--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .tg-car-search--catalog label {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
  }
  .tg-car-search--catalog .tg-search-submit {
    grid-column: 1/-1;
  }
  .tg-car-search--stats,
  .tg-car-search--news {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0.5rem;
  }
  .tg-car-search--stats label,
  .tg-car-search--news label {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
  }
  .tg-car-search--stats .tg-search-submit,
  .tg-car-search--news .tg-search-submit {
    grid-column: 1/-1;
  }
}
@media (max-width: 920px) {
  .tg-hero {
    padding-block: 1.75rem 4.75rem;
    min-height: 260px;
  }
  .tg-hero-inner {
    min-height: 160px;
  }
  .tg-hero-copy {
    max-width: min(100%, 28rem);
    text-align: start;
  }
  .tg-hero--ar .tg-hero-bg img {
    object-position: 15% 42%;
  }
  .tg-hero--en .tg-hero-bg img {
    object-position: 85% 42%;
  }
  [dir=ltr] .tg-hero-fade {
    background: linear-gradient(to right, #f4f5f7 0%, #f4f5f7 32%, rgba(244, 245, 247, 0.9) 48%, rgba(244, 245, 247, 0.35) 68%, transparent 88%);
  }
  [dir=rtl] .tg-hero-fade {
    background: linear-gradient(to left, #f4f5f7 0%, #f4f5f7 32%, rgba(244, 245, 247, 0.9) 48%, rgba(244, 245, 247, 0.35) 68%, transparent 88%);
  }
  .tg-search-wrap--overlap {
    margin-top: -2.85rem;
  }
  .tg-car-search {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .tg-car-search label {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    border-inline-end: 1px solid var(--color-border);
  }
  .tg-search-submit {
    grid-column: 1/-1;
  }
  .tg-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-stat-card {
    border: 1px solid var(--color-border) !important;
  }
  .tg-split,
  .tg-catalog-split {
    grid-template-columns: 1fr;
  }
  .tg-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tg-car-card {
    flex-basis: calc((100% - 0.85rem) / 2);
  }
  .tg-news-grid {
    grid-template-columns: 1fr;
  }
  .tg-news-card {
    display: grid;
    grid-template-columns: 240px 1fr;
  }
  .tg-news-image img {
    height: 100%;
  }
}
@media (max-width: 768px) {
  .tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .tg-hero-fade {
    display: none;
  }
  .tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .tg-hero-copy {
    max-width: none;
  }
  .tg-search-wrap--overlap {
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  .tg-hero h1 {
    font-size: 1.85rem;
    letter-spacing: -0.03em;
  }
  .tg-hero-copy p {
    font-size: 0.875rem;
    margin-bottom: 1.1rem;
  }
  .tg-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tg-hero-actions .btn {
    justify-content: center;
  }
  .tg-car-search {
    grid-template-columns: 1fr;
  }
  .tg-car-search label,
  .tg-search-submit {
    grid-column: auto;
  }
  .tg-dashboard,
  .tg-content,
  .tg-brands-panel,
  .tg-featured-panel,
  .tg-market-chart,
  .tg-compare-panel {
    padding: 1.05rem;
  }
  .tg-stats-grid {
    grid-template-columns: 1fr;
  }
  .tg-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tg-car-card {
    flex-basis: 78%;
    min-width: 220px;
  }
  .tg-section-heading {
    align-items: center;
  }
  .tg-section-heading h2 {
    font-size: 1.05rem;
  }
  .tg-news-card {
    grid-template-columns: 1fr;
  }
  .tg-news-image img {
    height: 190px;
  }
}
/* ── ① Hero Slider — full-bleed image + overlay copy ──────────── */
.hero-slider {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-apple);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.hero-slide-bg--placeholder {
  background: linear-gradient(180deg, #e8e8ed 0%, #f5f5f7 100%);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
}

.hero-slide-bg--placeholder .hero-slide-img {
  object-fit: cover;
  object-position: center center;
  padding: 0;
  transform: none;
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

.hero-slide.is-active .hero-slide-bg--placeholder .hero-slide-img {
  transform: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 28%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.04) 100%);
  pointer-events: none;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-block-end: clamp(4.5rem, 11vh, 7rem);
  padding-inline: 1.375rem;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-hero-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-tagline {
  margin: 0 0 0.5rem;
  max-width: 16ch;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.06;
  color: var(--color-hero-text);
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 0 0 1.35rem;
  color: var(--color-hero-muted);
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 500;
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.hero-cta svg {
  transform: scaleX(-1);
  transition: transform var(--transition-fast);
}
.hero-cta:hover {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  gap: 0.65rem;
}
.hero-cta:hover svg {
  transform: scaleX(-1) translateX(3px);
}

.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow--prev {
  inset-inline-start: 1.25rem;
}

.hero-arrow--next {
  inset-inline-end: 1.25rem;
}

@media (max-width: 600px) {
  .hero-slider {
    min-height: 520px;
    max-height: none;
  }
  .hero-tagline {
    font-size: 1.75rem;
    max-width: 100%;
  }
  .hero-slide-content {
    padding-block-end: clamp(4rem, 12vh, 5.5rem);
  }
  .hero-arrow {
    display: none;
  }
}
/* ── ② Showcase Slider — product spotlight ─────────────────────── */
.showcase-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-bg);
}

.showcase-header {
  margin-block-end: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.showcase-slider-wrap {
  position: relative;
  width: 100%;
  padding-inline: clamp(4rem, 8vw, 6.5rem);
}

.showcase-slides {
  position: relative;
  width: 100%;
}

.showcase-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.showcase-slide.is-active {
  display: grid;
}

@media (min-width: 901px) {
  .showcase-info {
    order: 1;
  }
  .showcase-img-wrap {
    order: 2;
  }
}
.showcase-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.showcase-img-wrap {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  min-height: clamp(220px, 32vw, 320px);
  line-height: 0;
}

.showcase-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

.showcase-img-wrap img.img-placeholder {
  object-fit: cover;
  padding: 0;
}

.showcase-specs-chips {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-block-end: 1.5rem;
}

.spec-chip {
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  text-align: center;
  min-width: 76px;
  box-shadow: var(--shadow-card);
}

.spec-chip-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-block-end: 0.2rem;
  font-weight: 500;
}

.spec-chip-val {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.showcase-car-name {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-block-end: 0.75rem;
  line-height: 1.1;
}

.showcase-price {
  margin-block-end: 1.35rem;
  line-height: 1.3;
}

.showcase-price-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-block-end: 0.25rem;
}

.showcase-price-val {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background var(--transition-fast);
}

.showcase-btn:hover {
  background: var(--color-primary-light);
  text-decoration: none;
  color: #fff;
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  z-index: 5;
}

.showcase-arrow:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-hover);
}

.showcase-arrow--prev {
  inset-inline-start: clamp(1.25rem, 3vw, 2.5rem);
}

.showcase-arrow--next {
  inset-inline-end: clamp(1.25rem, 3vw, 2.5rem);
}

.showcase-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-block-start: clamp(1.75rem, 3vw, 2.25rem);
  padding-block: 0.35rem;
  scrollbar-width: none;
  flex-wrap: nowrap;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.showcase-thumbs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 901px) {
  .showcase-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}
.showcase-thumb {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  cursor: pointer;
  text-align: center;
  scroll-snap-align: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  max-width: min(100%, 168px);
}

.showcase-thumb.is-active {
  border-color: var(--color-text);
  background: var(--color-bg-alt);
}

.thumb-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-price {
  display: block;
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-block-start: 0.15rem;
  white-space: nowrap;
}

/* ── ③ Browse by Brand ─────────────────────────────────────────── */
.brands-section {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--color-bg-alt);
  text-align: center;
}

.brands-section .section-title {
  margin-block-end: 0.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-block-start: 2rem;
  max-width: 800px;
  margin-inline: auto;
}

.brand-tile {
  background: var(--color-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.brand-tile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.brand-tile-count {
  font-size: 0.72rem;
  color: var(--color-muted);
}

/* ── ④ Values / Storytelling tabs ──────────────────────────────── */
.values-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-bg);
}

.values-header {
  text-align: center;
  margin-block-end: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-block-end: 0.5rem;
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-end: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.see-all-link {
  color: var(--color-link);
  font-weight: 500;
  border: none;
  padding: 0;
  font-size: 0.9375rem;
}

.see-all-link:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

.values-tabs {
  max-width: 720px;
  margin-inline: auto;
}

.values-tab-btns {
  display: flex;
  gap: 0;
  margin-block-end: 2.5rem;
  border-bottom: 1px solid var(--color-border-light);
  justify-content: center;
}

.values-tab-btn {
  background: none;
  border: none;
  color: var(--color-muted);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-family: var(--font-ar);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.values-tab-btn.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.values-tab-panel {
  display: none;
  text-align: center;
}

.values-tab-panel.is-active {
  display: block;
}

.values-panel-content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-block-end: 0.75rem;
}

.values-panel-content p {
  color: var(--color-muted);
  line-height: 1.6;
  margin-block-end: 1.25rem;
  font-size: 1.0625rem;
  max-width: 52ch;
  margin-inline: auto;
}

.values-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-link);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: none;
}

.values-link:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

/* ── ⑤ CTA Bar — light storytelling grid ───────────────────────── */
.cta-bar {
  background: var(--color-bg-alt);
  padding-block: clamp(4rem, 8vw, 6rem);
}

.cta-bar-header {
  text-align: center;
  margin-block-end: 3rem;
}

.cta-bar-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin-block-end: 0.5rem;
  letter-spacing: -0.03em;
}

.cta-bar-sub {
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.cta-bar-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.cta-action {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-action::after {
  display: none;
}

.cta-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.cta-action-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.cta-action:hover .cta-action-icon-wrap {
  background: var(--color-bg-alt);
  color: var(--color-link);
}

.cta-action-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.cta-action-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-action-label {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cta-action-desc {
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cta-action-arrow {
  display: none;
}

/* ── ⑥ Latest News — editorial grid ────────────────────────────── */
.news-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-bg);
}

.news-home-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
}

.news-home-card {
  background: var(--color-card);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-home-card--featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.news-home-card--featured .news-home-img-link {
  flex-shrink: 0;
}

.news-home-img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
}

.news-home-card--featured .news-home-img-link {
  aspect-ratio: auto;
  flex: 1;
  min-height: 280px;
}

.news-home-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.news-home-img.img-placeholder {
  object-fit: cover;
  padding: 0;
}

.news-home-card:hover .news-home-img:not(.img-placeholder) {
  transform: scale(1.03);
}

.news-home-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.news-home-cat {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-home-title {
  font-size: 1rem;
  font-weight: 600;
  margin-block: 0.35rem 0.4rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.news-home-card--featured .news-home-title {
  font-size: 1.25rem;
}

.news-home-title a {
  color: var(--color-text);
}

.news-home-title a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.news-home-date {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ── Shared section helpers ────────────────────────────────────── */
@media (max-width: 900px) {
  .showcase-slide.is-active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .showcase-img-wrap {
    order: 1;
  }
  .showcase-info {
    order: 2;
  }
  .cta-bar-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-home-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-home-card--featured {
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .hero-tagline {
    font-size: 1.75rem;
  }
  .cta-bar-actions {
    grid-template-columns: 1fr;
  }
  .news-home-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-slide.is-active {
    padding: 0;
  }
  .showcase-slider-wrap {
    padding-inline: 1.375rem;
  }
  .showcase-arrow {
    display: none;
  }
  .showcase-thumbs {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }
}
/* ── Car Hero ──────────────────────────────────────────────────── */
.car-hero {
  background: linear-gradient(135deg, #050608 0%, #8f2604 100%);
  padding-block: 3rem;
}

.car-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.car-hero-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.car-brand-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.car-hero .car-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.car-year {
  color: var(--color-muted);
  font-size: 1rem;
}

.car-price-range {
  margin-top: 1.5rem;
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

/* ── Car Body Layout ───────────────────────────────────────────── */
.car-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding-block: 2rem;
  align-items: start;
}

.car-body .car-content {
  min-width: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CAR SINGLE PAGE
   ══════════════════════════════════════════════════════════════════ */
/* ── Hero ───────────────────────────────────────────────────────── */
.car-hero {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.car-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.car-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-card);
}

.car-brand-badge {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-block-end: 0.75rem;
}

.car-brand-badge:hover {
  color: var(--color-link);
  border-color: var(--color-primary);
  text-decoration: none;
}

.car-hero .car-title {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-block-end: 0.5rem;
}

.car-year-badge {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-muted);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.6rem;
  font-size: 0.85rem;
  margin-block-end: 1.25rem;
}

/* Quick stat chips */
.car-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 1.5rem;
}

.car-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.65rem 1rem;
  min-width: 72px;
}

.car-stat-chip .chip-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.car-stat-chip .chip-lbl {
  font-size: 0.68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Price range */
.car-price-range {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.car-price-range .price-label {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.car-price-range .price-value {
  color: var(--color-accent);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.car-price-range .price-sep {
  color: var(--color-muted);
}

.price-value--max {
  font-size: 1.3rem;
  opacity: 0.75;
}

/* ── Section title ──────────────────────────────────────────────── */
.car-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-block-end: 1.5rem;
  padding-block-end: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* ── Price Trims Table ──────────────────────────────────────────── */
.car-trims-section {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.trims-table-wrap {
  overflow-x: auto;
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.trims-table {
  width: 100%;
  border-collapse: collapse;
}

.trims-table th,
.trims-table td {
  padding: 0.85rem 1.25rem;
  text-align: start;
  border-bottom: 1px solid var(--color-border-light);
}

.trims-table th {
  background: var(--color-bg-alt);
  color: var(--color-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.trims-table tbody tr:last-child td {
  border-bottom: none;
}

.trims-table tbody tr:hover {
  background: var(--color-bg-subtle);
}

.trim-name {
  font-weight: 600;
}

.price-current {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.05rem;
}

.price-old {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-decoration: line-through;
  margin-inline-start: 0.5rem;
}

/* ── Spec Tabs ──────────────────────────────────────────────────── */
.car-specs-section {
  padding-block: 0 clamp(2.5rem, 5vw, 3.5rem);
}

.specs-tab-nav-wrap {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: var(--header-offset);
  z-index: 20;
  padding-block: 0;
  box-shadow: var(--shadow-nav);
}

.specs-tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  padding-block-end: 0;
}

.specs-tab-nav::-webkit-scrollbar {
  display: none;
}

.specs-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.specs-tab-btn:hover {
  color: var(--color-text);
}

.specs-tab-btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Panels */
.specs-panels {
  padding-block-start: 2rem;
}

.specs-panel {
  display: none;
}

.specs-panel.is-active {
  display: block;
}

/* Trim header row */
.specs-trim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 0.6rem 1.25rem;
  margin-block-end: 0;
}

.specs-trim-label {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specs-trim-names {
  display: flex;
  gap: 1rem;
}

.specs-trim-names span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 2.5rem;
  text-align: center;
}

/* DL spec rows */
.specs-dl {
  list-style: none;
  margin: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.specs-trim-header + .specs-dl {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-block-start: none;
}

.specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition-fast);
}

.specs-row:nth-child(even) {
  background: var(--color-bg-subtle);
}

.specs-row:hover {
  background: var(--color-bg-alt);
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-dl dt {
  color: var(--color-text);
  font-size: 0.95rem;
}

.specs-dl dd {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
}

.specs-dl--features .specs-row {
  justify-content: space-between;
}

/* Single value (dimensions / engine) */
.specs-dl:not(.specs-dl--features) dd span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Feature values */
.feat-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.feat-val--yes {
  color: var(--color-success);
}

.feat-val--no {
  color: var(--color-muted);
}

/* ── Info bar (warranty / origin) ───────────────────────────────── */
.car-info-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 2rem;
  margin-block: 2rem;
}

.info-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.info-bar-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.info-bar-lbl {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Post content ───────────────────────────────────────────────── */
.car-body {
  padding-block: 2rem clamp(2.5rem, 5vw, 3.5rem);
}

.car-body .car-content {
  max-width: 72ch;
}

.car-body .car-content > * + * {
  margin-block-start: 1em;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .car-hero-inner {
    grid-template-columns: 1fr;
  }
  .car-trims-section {
    padding-block: 2rem;
  }
}
@media (max-width: 600px) {
  .car-hero .car-title {
    font-size: 1.6rem;
  }
  .specs-tab-btn {
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
  }
  .specs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
/* ── Cars catalogue — TurboGT light hero + overlapping filter shelf */
.cars-catalog {
  padding-bottom: 2rem;
}

.cars-tg-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.1rem, 4.2vw, 3.3rem) clamp(5.1rem, 8.4vw, 6.6rem);
  min-height: clamp(264px, 31vw, 408px);
  background: #ececef;
}

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

.cars-tg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
}

.cars-tg-hero--ar .cars-tg-hero-bg img {
  object-position: left 42%;
}

.cars-tg-hero--en .cars-tg-hero-bg img {
  object-position: right 42%;
}

.cars-tg-hero--ar .cars-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 86%);
  mask-image: linear-gradient(to right, #000 40%, transparent 86%);
}

.cars-tg-hero--en .cars-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 86%);
  mask-image: linear-gradient(to left, #000 40%, transparent 86%);
}

@media (min-width: 2001px) {
  .cars-tg-hero-bg img {
    object-fit: cover;
  }
}
.cars-tg-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

[dir=ltr] .cars-tg-hero-fade {
  background: linear-gradient(to right, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

[dir=rtl] .cars-tg-hero-fade {
  background: linear-gradient(to left, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

.cars-tg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(168px, 19vw, 264px);
}

.cars-tg-hero-copy {
  max-width: 36rem;
  text-align: start;
  animation: cars-tg-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cars-eyebrow {
  display: inline-flex;
  margin-block-end: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: #c43406;
  font-weight: 800;
  font-size: 0.75rem;
}

.cars-tg-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text);
  text-align: start;
  unicode-bidi: isolate;
  text-wrap: balance;
}

.cars-tg-hero--en .cars-tg-hero-copy h1 {
  font-family: var(--font-en), Cairo, sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.cars-hero-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  text-align: start;
}

.cars-tg-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-block: 0 0.65rem;
  flex-wrap: wrap;
}

.cars-tg-hero .breadcrumbs a {
  color: var(--color-muted);
}

.cars-tg-hero .breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

@keyframes cars-tg-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cars-tg-hero-copy {
    animation: none;
  }
}
.cars-catalog-shell {
  padding-block: 2.125rem 3.375rem;
}

.cars-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cars-category-chip {
  min-width: 7rem;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.cars-category-chip:hover,
.cars-category-chip.is-active {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
  text-decoration: none;
}

.cars-catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}

.cars-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.125rem;
  flex-wrap: wrap;
}

.cars-toolbar-left,
.cars-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cars-results-count {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.cars-view-switch {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.cars-view-switch button {
  width: 44px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
}

.cars-view-switch button.is-active {
  color: #fff;
  background: var(--color-primary);
}

.cars-sort-select {
  min-width: 160px;
}

.cars-mobile-filter {
  display: none;
}

.cars-catalog .cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
  margin-bottom: 1.75rem;
}

.cars-catalog .cars-grid.is-list {
  grid-template-columns: 1fr;
}

.cars-catalog .cars-grid.is-list .car-card-link {
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: stretch;
}

.cars-catalog .cars-grid.is-list .car-image {
  aspect-ratio: auto;
  min-height: 215px;
  height: 100%;
}

.cars-catalog .cars-grid.is-list .car-content {
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0.95rem 1.1rem;
}

.cars-catalog .cars-grid.is-list .car-title {
  font-size: 1.625rem;
}

.cars-catalog .cars-grid.is-list .car-price {
  font-size: 1rem;
}

.cars-catalog .cars-grid.is-list .car-specs {
  margin-bottom: 0;
}

.cars-catalog .cars-grid.is-list .car-card-cta {
  width: auto;
  align-self: flex-start;
  min-width: 10rem;
  margin-block-start: 1.5rem;
}

.cars-filter-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  padding: 0;
  overflow: hidden;
}

.cars-sidebar-title {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--color-border-light);
}

.cars-close-filters {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--color-muted);
  line-height: 1;
}

.cars-filter-sidebar > form {
  padding: 0 1.15rem 1.15rem;
}

.cars-filter-group {
  border-top: 1px solid var(--color-border-light);
  padding-block: 1rem;
}

.cars-filter-group:first-of-type {
  border-top: 0;
}

.cars-price-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cars-price-range i {
  flex: 0 0 12px;
  height: 1px;
  background: var(--color-border);
}

.cars-price-range input {
  min-width: 0;
  appearance: textfield;
}

.cars-price-range input::-webkit-outer-spin-button,
.cars-price-range input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.cars-chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cars-chip-grid--segmented {
  grid-template-columns: repeat(auto-fit, minmax(3.75rem, 1fr));
}

/* Screenshot-style price range: histogram + dual slider + From/To */
.cars-price-range-block {
  display: grid;
  gap: 0.85rem;
}

.cars-price-histogram {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 3.25rem;
  padding-inline: 0.15rem;
}

.cars-price-histogram span {
  flex: 1 1 0;
  min-width: 0;
  height: var(--h, 20%);
  border-radius: 2px 2px 0 0;
  background: #cfd3d8;
}

.cars-price-slider {
  position: relative;
  height: 1.75rem;
  display: grid;
  align-items: center;
}

.cars-price-slider-track {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: #e4e7eb;
  pointer-events: none;
  transform: translateY(-50%);
}

.cars-price-slider-track::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: var(--from, 0%);
  width: calc(var(--to, 100%) - var(--from, 0%));
  border-radius: inherit;
  background: var(--color-text);
}

.cars-price-slider input[type=range] {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 100%;
}

.cars-price-slider input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--color-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  cursor: pointer;
}

.cars-price-slider input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  cursor: pointer;
}

.cars-price-slider input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}

.cars-price-slider input[type=range]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.cars-price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cars-price-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.cars-price-field-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cars-price-field-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.cars-price-currency {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-muted);
}

.cars-price-field-control input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  min-height: 0;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  appearance: textfield;
}

.cars-price-field-control input:focus {
  outline: none;
}

.cars-price-field-control input::-webkit-outer-spin-button,
.cars-price-field-control input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

/* Square checkbox / radio filter controls */
.cars-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
}

.cars-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  min-width: 0;
}

.cars-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.cars-check-box {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid #b7c0c7;
  border-radius: 3px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: visible;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cars-check-box::after {
  content: "";
  width: 0.28rem;
  height: 0.5rem;
  margin-block-start: -0.1rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

.cars-check input:checked + .cars-check-box {
  background: var(--color-text);
  border-color: var(--color-text);
}

.cars-check input:checked + .cars-check-box::after {
  transform: rotate(45deg) scale(1);
}

.cars-check input:focus-visible + .cars-check-box {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.cars-check-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  min-width: 0;
}

a.cars-check {
  text-decoration: none;
  color: inherit;
}

a.cars-check.is-active .cars-check-box {
  background: var(--color-text);
  border-color: var(--color-text);
}

a.cars-check.is-active .cars-check-box::after {
  transform: rotate(45deg) scale(1);
}

.cars-sidebar-apply {
  width: 100%;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cars-sidebar-apply:hover, .cars-sidebar-apply:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.cars-clear-filters.is-header {
  margin: 0;
}

.cars-catalog .no-results {
  color: var(--color-muted);
  text-align: center;
  padding: 3rem 0;
}

@media (max-width: 1180px) {
  .cars-tg-hero {
    padding-block: 2.1rem 5.4rem;
    min-height: 288px;
  }
  .cars-tg-hero-inner {
    min-height: 192px;
  }
  .cars-tg-hero-copy {
    max-width: 22rem;
  }
  .cars-tg-hero--ar .cars-tg-hero-bg img {
    object-position: 15% 42%;
  }
  .cars-tg-hero--en .cars-tg-hero-bg img {
    object-position: 85% 42%;
  }
  [dir=ltr] .cars-tg-hero-fade {
    background: linear-gradient(to right, #ececef 0%, #ececef 34%, rgba(236, 236, 239, 0.82) 52%, transparent 72%);
  }
  [dir=rtl] .cars-tg-hero-fade {
    background: linear-gradient(to left, #ececef 0%, #ececef 34%, rgba(236, 236, 239, 0.82) 52%, transparent 72%);
  }
  .cars-catalog .cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .cars-tg-hero-copy h1 {
    font-size: 2.125rem;
  }
  .cars-catalog-layout {
    grid-template-columns: 1fr;
  }
  .cars-mobile-filter {
    display: inline-flex;
  }
  .cars-filter-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 92vw);
    z-index: 180;
    border-radius: 0;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    overflow: auto;
  }
  [dir=rtl] .cars-filter-sidebar {
    inset: 0 0 0 auto;
    transform: translateX(110%);
  }
  .cars-filter-sidebar.is-open {
    transform: translateX(0);
  }
  .cars-close-filters {
    display: block;
  }
}
@media (max-width: 640px) {
  .cars-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .cars-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .cars-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .cars-tg-hero-fade {
    display: none;
  }
  .cars-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .cars-tg-hero-copy {
    max-width: none;
  }
  .cars-tg-hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
  .cars-hero-lead {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .cars-catalog .cars-grid {
    grid-template-columns: 1fr;
  }
  .cars-catalog .cars-grid.is-list .car-card-link {
    grid-template-columns: 1fr;
  }
  .cars-catalog .cars-grid.is-list .car-image {
    min-height: 0;
    aspect-ratio: 16/10;
  }
}
@media (max-width: 768px) {
  .cars-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .cars-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .cars-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .cars-tg-hero-fade {
    display: none;
  }
  .cars-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .cars-tg-hero-copy {
    max-width: none;
  }
}
/* ── Car detail — trim-first (Option A) ──────────────────────────── */
.cd-page {
  padding-bottom: 2rem;
  background: #ffffff;
}

.cd-section-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.cd-section-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cd-muted {
  color: var(--color-muted);
}

.cd-check {
  color: var(--color-primary);
  font-weight: 800;
  margin-inline-end: 0.4rem;
}

.cd-hero {
  background: linear-gradient(180deg, #fff 0%, #f4f5f7 100%);
  border-bottom: 1px solid var(--color-border);
}

.cd-breadcrumbs {
  padding-block-start: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.cd-breadcrumbs a {
  color: var(--color-muted);
}
.cd-breadcrumbs a:hover {
  color: var(--color-primary);
}

.cd-hero-inner {
  padding-block: 1.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.cd-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fff, #f4f5f7);
  min-height: 320px;
  display: grid;
  place-items: center;
}
.cd-hero-media:not(.cd-hero-media--has-360) > img, .cd-hero-media:not(.cd-hero-media--has-360) .cd-hero-panel img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.cd-hero-media img.img-placeholder {
  object-fit: contain;
}
.cd-hero-media--has-360 {
  overflow: visible;
  background: transparent;
  place-items: stretch;
}

.cd-brand {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  text-decoration: none;
}
.cd-brand:hover {
  text-decoration: none;
  color: var(--color-primary-deep);
}

.cd-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block: 0.85rem 1rem;
}

.cd-tag {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-md);
  background: #f7f8fa;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.cd-from-price {
  margin-bottom: 1.1rem;
}

.cd-from-label {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.cd-from-value {
  color: var(--color-primary);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 900;
}

.cd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.cd-chip {
  min-width: 4.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
}
.cd-chip strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text);
}
.cd-chip span {
  font-size: 0.7rem;
  color: var(--color-muted);
  font-weight: 600;
}

.cd-summary {
  color: var(--color-muted);
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.cd-hero-actions .btn {
  min-height: 46px;
  padding: 0 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: none;
  transform: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.cd-hero-actions .btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.cd-hero-actions .btn:active {
  transform: translateY(0);
}
.cd-hero-actions .btn-primary {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cd-hero-actions .btn-primary:hover, .cd-hero-actions .btn-primary:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}
.cd-hero-actions .btn-primary {
  padding-inline: 1.5rem;
  box-shadow: 0 8px 20px rgba(143, 38, 4, 0.18);
}
.cd-hero-actions .btn-primary:hover, .cd-hero-actions .btn-primary:focus-visible {
  box-shadow: 0 12px 28px rgba(143, 38, 4, 0.26);
  color: #ffffff;
}
.cd-hero-actions .btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.cd-hero-actions .btn-outline:hover, .cd-hero-actions .btn-outline:focus-visible {
  background: #ffffff;
  border-color: var(--color-text);
  color: var(--color-text);
}

.cd-subnav {
  position: sticky;
  top: var(--header-h, 82px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.cd-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.cd-subnav-inner::-webkit-scrollbar {
  display: none;
}
.cd-subnav-inner a {
  white-space: nowrap;
  padding: 1rem 0.15rem;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.875rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.cd-subnav-inner a:hover, .cd-subnav-inner a.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}
.cd-subnav-inner a.cd-subnav-cta {
  margin-inline-start: auto;
  align-self: center;
  padding: 0.4rem 1.05rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: #fceee9;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.cd-subnav-inner a.cd-subnav-cta:hover, .cd-subnav-inner a.cd-subnav-cta.is-active {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cd-subnav-inner a.cd-subnav-cta:hover:hover, .cd-subnav-inner a.cd-subnav-cta:hover:focus-visible, .cd-subnav-inner a.cd-subnav-cta.is-active:hover, .cd-subnav-inner a.cd-subnav-cta.is-active:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}
.cd-subnav-inner a.cd-subnav-cta:hover, .cd-subnav-inner a.cd-subnav-cta.is-active {
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

.cd-subnav-brochure {
  color: var(--color-text) !important;
}

.cd-trims {
  padding-block: 2.75rem 2rem;
  background: #ffffff;
  scroll-margin-top: calc(var(--header-h, 82px) + 3.5rem);
}

.cd-trims-head {
  margin-bottom: 1.25rem;
}

.cd-trim-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.cd-trim-pill {
  appearance: none;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 0.7rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 7.5rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.cd-trim-pill:hover {
  border-color: var(--color-primary);
}
.cd-trim-pill.is-active {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cd-trim-pill.is-active:hover, .cd-trim-pill.is-active:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}
.cd-trim-pill.is-active {
  border-color: transparent;
}
.cd-trim-pill.is-active .cd-trim-pill-price {
  color: rgba(255, 255, 255, 0.85);
}

.cd-trim-pill-name {
  font-weight: 800;
  font-size: 0.9rem;
}

.cd-trim-pill-price {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.cd-trim-panel {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.cd-trim-price-block,
.cd-trim-included {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.25rem 1.35rem;
}

.cd-trim-price-label {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.cd-trim-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.cd-trim-price-current {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-primary);
}

.cd-trim-price-old {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.cd-trim-active-name {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.cd-trim-cta {
  width: 100%;
  justify-content: center;
}

.cd-trim-included-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}

.cd-trim-included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
}
.cd-trim-included-list li {
  font-size: 0.875rem;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
}

.cd-trim-included-empty,
.cd-trim-included-more {
  grid-column: 1/-1;
  color: var(--color-muted);
}

.cd-matrix {
  --cd-trim-count: 1;
  padding-block: 1.5rem 2.75rem;
  background: #f4f5f7;
  scroll-margin-top: calc(var(--header-h, 82px) + 3.5rem);
}

.cd-matrix[data-trim-count="1"] {
  --cd-trim-count: 1;
}

.cd-matrix[data-trim-count="2"] {
  --cd-trim-count: 2;
}

.cd-matrix[data-trim-count="3"] {
  --cd-trim-count: 3;
}

.cd-matrix[data-trim-count="4"] {
  --cd-trim-count: 4;
}

.cd-matrix[data-trim-count="5"] {
  --cd-trim-count: 5;
}

.cd-matrix[data-trim-count="6"] {
  --cd-trim-count: 6;
}

.cd-matrix-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.15rem;
}

.cd-matrix-modes {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  overflow: hidden;
}

.cd-matrix-mode {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.cd-matrix-mode.is-active {
  background: var(--color-text);
  color: #ffffff;
}

.cd-matrix-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.cd-matrix-tab {
  appearance: none;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.cd-matrix-tab:hover {
  color: var(--color-text);
}
.cd-matrix-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.cd-matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.cd-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.cd-matrix-table th, .cd-matrix-table td {
  padding: 0.75rem 0.9rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.875rem;
}
.cd-matrix-table thead th {
  background: #f7f8fa;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
}
.cd-matrix-table tbody tr:last-child th,
.cd-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.cd-matrix-feature-col {
  text-align: start !important;
  position: sticky;
  inset-inline-start: 0;
  background: #fff;
  z-index: 1;
  min-width: 11rem;
  font-weight: 600;
  color: var(--color-text);
  overflow: visible;
}

.cd-matrix-trim-col,
.cd-matrix-cell {
  overflow: visible;
}

thead .cd-matrix-feature-col {
  background: #f7f8fa;
  z-index: 2;
}

.cd-matrix-trim-col.is-active-col,
.cd-matrix-cell.is-active-col {
  background: #fef6f3;
}

.cd-feat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  font-weight: 800;
}

.cd-feat--yes {
  color: var(--color-primary);
}

.cd-feat--no {
  color: var(--color-muted);
}

.cd-specs {
  padding-block: 2.5rem;
  scroll-margin-top: calc(var(--header-h, 82px) + 3.5rem);
}

.cd-accordion {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.cd-acc-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.cd-acc-item[open] .cd-acc-icon::before, .cd-acc-item[open] .cd-acc-icon::after {
  background: var(--color-primary);
}
.cd-acc-item[open] .cd-acc-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.cd-acc-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 800;
  color: var(--color-text);
}
.cd-acc-summary::-webkit-details-marker {
  display: none;
}

.cd-acc-icon {
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  flex: none;
}
.cd-acc-icon::before, .cd-acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  background: var(--color-muted);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.cd-acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cd-acc-body {
  padding: 0 1.15rem 1.1rem;
}

.cd-spec-dl {
  margin: 0;
  display: grid;
}

.cd-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}
.cd-spec-row dt {
  color: var(--color-muted);
  font-weight: 600;
  margin: 0;
}
.cd-spec-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  text-align: end;
}

.cd-overview {
  padding-block: 1rem 2.5rem;
  scroll-margin-top: calc(var(--header-h, 82px) + 3.5rem);
}

.cd-overview-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.5rem;
}

.cd-overview-body {
  color: var(--color-muted);
  line-height: 1.75;
}

.cd-related {
  margin-block: 1rem 3rem;
}

.cd-related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.cd-related-all {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.cd-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.cd-related-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.cd-related-card:hover {
  color: inherit;
  text-decoration: none;
}
.cd-related-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #f4f5f7;
  display: block;
}

.cd-related-card-body {
  padding: 0.85rem;
}
.cd-related-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 800;
}
.cd-related-card-body p {
  margin: 0 0 0.45rem;
  color: var(--color-muted);
  font-size: 0.75rem;
}
.cd-related-card-body strong {
  color: var(--color-primary);
  font-size: 0.875rem;
}

.cd-inquiry-trim {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.95;
}

.cd-page .car-gallery-section {
  padding-block: 2rem 2.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: var(--header-h, 82px);
}

@media (max-width: 1100px) {
  .cd-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .cd-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cd-trim-panel {
    grid-template-columns: 1fr;
  }
  .cd-trim-included-list {
    grid-template-columns: 1fr;
  }
  .cd-subnav-cta {
    margin-inline-start: 0;
  }
}
@media (max-width: 640px) {
  .cd-hero-actions {
    flex-direction: column;
  }
  .cd-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cd-related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cd-spec-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .cd-spec-row dd {
    text-align: start;
  }
  .cd-trim-pill {
    flex: 1 1 calc(50% - 0.55rem);
  }
  .cd-matrix-table {
    table-layout: fixed;
    width: 100%;
    min-width: max(100%, 9rem + var(--cd-trim-count) * 7.5rem);
  }
  .cd-matrix-table th, .cd-matrix-table td {
    overflow: visible;
  }
  .cd-matrix-table thead th.cd-matrix-feature-col {
    white-space: normal;
  }
  .cd-matrix[data-trim-count="1"] .cd-matrix-table {
    min-width: 100%;
  }
  .cd-matrix-feature-col {
    width: 9rem;
    min-width: 8rem;
    max-width: 9rem;
    white-space: normal;
    line-height: 1.35;
    overflow-wrap: anywhere;
    box-shadow: -6px 0 10px -8px rgba(0, 0, 0, 0.12);
  }
  .cd-matrix-trim-col,
  .cd-matrix-cell {
    width: 7.5rem;
    min-width: 7.5rem;
  }
}
/* Car 360° viewer — front + shared admin look */
.cd-hero-media--has-360 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  min-height: 320px;
}

.cd-hero-mode-toggle {
  display: inline-flex;
  align-self: flex-start;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.cd-hero-mode-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.cd-hero-mode-btn:hover {
  color: var(--color-text);
}
.cd-hero-mode-btn.is-active {
  background: #c43406;
  color: #ffffff;
}
.cd-hero-mode-btn:focus-visible {
  outline: 2px solid #c43406;
  outline-offset: 2px;
}

.cd-hero-panel {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fff, #f4f5f7);
  min-height: 280px;
  display: grid;
  place-items: center;
}
.cd-hero-panel:not(.is-active) {
  display: none;
}
.cd-hero-panel img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.car-360 {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3/2;
  user-select: none;
  touch-action: none;
  cursor: grab;
  border-radius: inherit;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fff, #f4f5f7);
}
.car-360.is-dragging {
  cursor: grabbing;
}

.car-360-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
  visibility: hidden;
}
.car-360-img.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.car-360-hint {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 0.85rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, 0.72);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.car-360.is-dragging .car-360-hint {
  opacity: 0;
}

.car-360-badge {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 640px) {
  .cd-hero-mode-toggle {
    align-self: stretch;
    justify-content: center;
  }
  .cd-hero-mode-btn {
    flex: 1;
    text-align: center;
  }
}
/* ── Register Interest Form ──────────────────────────────────────────────── */
.inquiry-section {
  position: relative;
  padding: 0;
  background: var(--color-bg-alt);
  border-block-start: 1px solid var(--color-border-light);
  scroll-margin-top: calc(var(--header-offset, 57px) + var(--showcase-nav-h, 52px));
}

.inquiry-card {
  width: 100%;
  max-width: none;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: var(--shadow-nav);
  overflow: hidden;
}

.inquiry-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.1fr);
  min-height: 0;
}

/* Info panel (inline-start side — dark photo bg) */
.inquiry-text {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  background-color: #0a0a0c;
  /* Path relative to compiled assets/css/app.css (Sass does not rewrite this url). */
  background-image: url("../images/car-form-sidebg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
}

.inquiry-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.85rem;
  margin-block-end: 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inquiry-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.15;
  margin-block-end: 0.85rem;
  letter-spacing: -0.03em;
}

.inquiry-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 38ch;
  margin-block-end: 2rem;
}

.inquiry-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.inquiry-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.inquiry-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.22);
  color: #6ee7a0;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Form panel */
.inquiry-form-wrap {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  background: var(--color-card);
}

.inquiry-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 560px;
}

.inq-honeypot {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  max-width: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.inq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inq-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inq-required {
  color: var(--color-primary);
}

.inq-optional {
  font-weight: 500;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.inq-field input,
.inq-field select,
.inq-field textarea {
  width: 100%;
}

.inq-field select option {
  background: var(--color-card);
  color: var(--color-text);
}

/* Custom checkbox */
.inq-field--checkbox {
  margin-block-start: 0.15rem;
}

.inq-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.inq-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.inq-checkbox-box {
  width: 1.25rem;
  height: 1.25rem;
  margin-block-start: 0.15rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.inq-checkbox-box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: var(--color-primary);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.inq-checkbox input:checked + .inq-checkbox-box {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.inq-checkbox input:checked + .inq-checkbox-box::after {
  transform: scale(1);
}

.inq-checkbox input:focus-visible + .inq-checkbox-box {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.inq-checkbox-text {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--color-muted);
}

/* Submit */
.inq-submit-row {
  margin-block-start: 0.35rem;
}

.inq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.inq-btn:hover, .inq-btn:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.inq-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.inq-btn:active:not(:disabled) {
  transform: translateY(0);
}

.inq-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.inq-btn--loading .inq-btn-arrow {
  display: none;
}

.inq-btn-spinner svg {
  animation: inq-spin 0.7s linear infinite;
}

.inq-btn-arrow {
  transition: transform 0.25s ease;
}

[dir=rtl] .inq-btn-arrow {
  transform: scaleX(-1);
}

@keyframes inq-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Inquiry result modal */
body.inq-modal-open {
  overflow: hidden;
}

.inq-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.inq-modal[hidden] {
  display: none;
}

.inq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.inq-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.inq-modal-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.inq-modal--success .inq-modal-icon {
  background: rgba(52, 199, 89, 0.12);
  color: var(--color-success);
}

.inq-modal--success .inq-modal-icon::before {
  content: "✓";
}

.inq-modal--error .inq-modal-icon {
  background: rgba(255, 59, 48, 0.1);
  color: var(--color-danger);
}

.inq-modal--error .inq-modal-icon::before {
  content: "!";
}

.inq-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-block-end: 0.5rem;
}

.inq-modal-message {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-block-end: 1.5rem;
}

.inq-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.inq-modal-close:hover, .inq-modal-close:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.inq-modal-close:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .inquiry-inner {
    grid-template-columns: 1fr;
  }
  .inquiry-text {
    border-inline-end: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.12);
  }
  .inquiry-perks {
    display: none;
  }
  .inquiry-form {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .inq-row {
    grid-template-columns: 1fr;
  }
  .inquiry-text,
  .inquiry-form-wrap {
    padding: 2rem 1.25rem;
  }
}
/* ── Comparison catalogue — TurboGT light hero ───────────────────── */
.cmp-catalog {
  padding-bottom: 0;
}

.cmp-tg-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.1rem, 4.2vw, 3.3rem) clamp(5.1rem, 8.4vw, 6.6rem);
  min-height: clamp(264px, 31vw, 408px);
  background: #ececef;
}

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

.cmp-tg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
}

.cmp-tg-hero--ar .cmp-tg-hero-bg img {
  object-position: left 42%;
}

.cmp-tg-hero--en .cmp-tg-hero-bg img {
  object-position: right 42%;
}

.cmp-tg-hero--ar .cmp-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 86%);
  mask-image: linear-gradient(to right, #000 40%, transparent 86%);
}

.cmp-tg-hero--en .cmp-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 86%);
  mask-image: linear-gradient(to left, #000 40%, transparent 86%);
}

@media (min-width: 2001px) {
  .cmp-tg-hero-bg img {
    object-fit: cover;
  }
}
.cmp-tg-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

[dir=ltr] .cmp-tg-hero-fade {
  background: linear-gradient(to right, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

[dir=rtl] .cmp-tg-hero-fade {
  background: linear-gradient(to left, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

.cmp-tg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(168px, 19vw, 264px);
}

.cmp-tg-hero-copy {
  max-width: 36rem;
  text-align: start;
  animation: cmp-tg-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cmp-eyebrow {
  display: inline-flex;
  margin-block-end: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: #c43406;
  font-weight: 800;
  font-size: 0.75rem;
}

.cmp-tg-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text);
  text-align: start;
  unicode-bidi: isolate;
  text-wrap: balance;
}

.cmp-tg-hero--en .cmp-tg-hero-copy h1 {
  font-family: var(--font-en), Cairo, sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.cmp-hero-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  text-align: start;
}

.cmp-tg-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-block: 0 0.65rem;
  flex-wrap: wrap;
}

.cmp-tg-hero .breadcrumbs a {
  color: var(--color-muted);
}

.cmp-tg-hero .breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

@keyframes cmp-tg-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-tg-hero-copy {
    animation: none;
  }
}
.cmp-catalog-main {
  padding-block: 2rem 0;
}

.cmp-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.375rem;
  align-items: start;
}

.cmp-results {
  min-width: 0;
}

.cmp-filters {
  position: sticky;
  top: calc(var(--header-h, 48px) + 1rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cmp-filter-title {
  flex: 0 0 auto;
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--color-border-light);
  flex-wrap: nowrap;
}

.cmp-close-filters {
  display: none;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0.15rem;
}

.cmp-filter-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 1.15rem 1.15rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cmp-filter-section {
  border-bottom: 1px solid var(--color-border-light);
  padding: 1rem 0;
}

.cmp-filter-section:last-of-type {
  border-bottom: 0;
}

/* Checkbox rows — reinforce cars-check layout inside compare panel */
.cmp-filters .cars-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
}

.cmp-filters .cars-check-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.cmp-filter-actions {
  flex: 0 0 auto;
  display: grid;
  gap: 0.625rem;
  margin-block-start: auto;
  padding-block-start: 1rem;
  background: #fff;
}
.cmp-filter-actions .btn {
  width: 100%;
}

.cmp-filter-apply {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cmp-filter-apply:hover, .cmp-filter-apply:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

/* Dim page behind mobile filter drawer */
.cmp-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(29, 29, 31, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cmp-filters-backdrop.is-visible {
  display: block;
}

.cmp-reset-btn.is-header {
  margin: 0;
  height: auto;
}

.cmp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.125rem;
  flex-wrap: wrap;
}

.cmp-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cmp-results-count {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.cmp-sort-select {
  min-width: 160px;
}

.cmp-mobile-filter {
  display: none;
}

.cmp-list {
  display: grid;
  gap: 1rem;
}

.cmp-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: #f4f5f7;
  color: var(--color-muted);
}

/* Cards — matchup → highlights → CTA (inline-start → inline-end) */
.cmp-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 16rem) auto;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cmp-card:hover {
  border-color: rgba(196, 52, 6, 0.22);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.cmp-card-matchup {
  --cmp-matchup-media-h: 9rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
  padding: 0;
  min-width: 0;
}
.cmp-card-matchup::after {
  content: "";
  position: absolute;
  left: 50%;
  inset-block: 0;
  z-index: 1;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
  pointer-events: none;
}

.cmp-card-car {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
}

.cmp-card-car-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--cmp-matchup-media-h);
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #f4f5f7;
  overflow: hidden;
}
.cmp-card-car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cmp-card-car-media .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.cmp-card-car-body {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 0.9rem 1.15rem;
}

.cmp-card-car-title {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cmp-card-trim {
  margin: 0 0 0.35rem;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-muted);
}

.cmp-card-price {
  margin: 0;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.cmp-card-highlights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.25rem 1.15rem;
  border-inline-start: 1px solid var(--color-border-light);
  background: var(--color-bg-subtle);
  min-width: 0;
}
.cmp-card-highlights h3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-primary);
}
.cmp-card-highlights ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text);
}
.cmp-card-highlights ul li {
  position: relative;
  padding-inline-start: 0.9rem;
  margin-block-end: 0.35rem;
  color: var(--color-muted);
}
.cmp-card-highlights ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-border);
}
.cmp-card-highlights ul li:last-child {
  margin-block-end: 0;
}
.cmp-card-highlights p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.cmp-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.cmp-card-more:hover {
  color: var(--color-primary-light, var(--color-primary));
  text-decoration: none;
  gap: 0.5rem;
}

.cmp-card-more-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

[dir=rtl] .cmp-card-more-arrow {
  transform: scaleX(-1);
}

[dir=rtl] .cmp-card-more:hover .cmp-card-more-arrow {
  transform: scaleX(-1) translateX(4px);
}

[dir=ltr] .cmp-card-more:hover .cmp-card-more-arrow {
  transform: translateX(4px);
}

.cmp-card-meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1.15rem;
  border-inline-start: 1px solid var(--color-border-light);
  background: #fff;
  min-width: 10rem;
}
.cmp-card-meta time {
  font-size: 0.75rem;
  color: var(--color-muted);
  white-space: nowrap;
  text-align: center;
}
.cmp-card-meta .cmp-card-cta {
  background: linear-gradient(135deg, #c43406, #8f2604);
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.cmp-card-meta .cmp-card-cta:hover, .cmp-card-meta .cmp-card-cta:focus-visible {
  background: linear-gradient(135deg, #e04a18, #c43406);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}
.cmp-card-meta .cmp-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  padding-inline: 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

/* Popular */
.cmp-popular-section {
  padding: 1.5rem 0 2rem;
}

.cmp-section-heading {
  font-size: 1.75rem;
  text-align: center;
  margin: 0 0 1.25rem;
  font-weight: 800;
}

.cmp-popular-heading {
  margin-block-end: 1rem;
}
.cmp-popular-heading h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.cmp-popular-carousel {
  min-width: 0;
}

.cmp-popular-card {
  flex: 0 0 calc((100% - 1.5rem) / 3);
  min-width: 200px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cmp-popular-card:hover {
  border-color: rgba(196, 52, 6, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.cmp-popular-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cmp-popular-link:hover {
  color: inherit;
  text-decoration: none;
}

.cmp-popular-matchup {
  --cmp-popular-media-h: 6.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
  padding: 0;
  min-width: 0;
}
.cmp-popular-matchup::after {
  content: "";
  position: absolute;
  left: 50%;
  inset-block: 0;
  z-index: 1;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
  pointer-events: none;
}

.cmp-popular-car {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.cmp-popular-car-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--cmp-popular-media-h);
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #f4f5f7;
  overflow: hidden;
}
.cmp-popular-car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cmp-popular-car-media .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.cmp-popular-car-body {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.65rem 0.9rem;
}

.cmp-popular-car-title {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cmp-popular-car-price {
  margin: 0;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .cmp-tg-hero {
    padding-block: 2.1rem 5.4rem;
    min-height: 288px;
  }
  .cmp-tg-hero-inner {
    min-height: 192px;
  }
  .cmp-tg-hero-copy {
    max-width: 22rem;
  }
  .cmp-tg-hero--ar .cmp-tg-hero-bg img {
    object-position: 15% 42%;
  }
  .cmp-tg-hero--en .cmp-tg-hero-bg img {
    object-position: 85% 42%;
  }
  [dir=ltr] .cmp-tg-hero-fade {
    background: linear-gradient(to right, #ececef 0%, #ececef 34%, rgba(236, 236, 239, 0.82) 52%, transparent 72%);
  }
  [dir=rtl] .cmp-tg-hero-fade {
    background: linear-gradient(to left, #ececef 0%, #ececef 34%, rgba(236, 236, 239, 0.82) 52%, transparent 72%);
  }
  .cmp-content-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .cmp-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(11rem, 14rem) auto;
  }
  .cmp-card-meta {
    min-width: 8.5rem;
  }
}
@media (max-width: 768px) {
  .cmp-tg-hero-copy h1 {
    font-size: 2.125rem;
  }
  .cmp-content-layout {
    grid-template-columns: 1fr;
  }
  .cmp-mobile-filter {
    display: inline-flex;
  }
  .cmp-close-filters {
    display: block;
  }
  .cmp-filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 92vw);
    height: 100%;
    max-height: 100dvh;
    z-index: 180;
    border-radius: 0;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
  }
  .cmp-filters.is-open {
    transform: translateX(0);
  }
  [dir=rtl] .cmp-filters {
    inset: 0 0 0 auto;
    transform: translateX(110%);
  }
  [dir=rtl] .cmp-filters.is-open {
    transform: translateX(0);
  }
  .cmp-filters .cars-check-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .cmp-filter-body {
    padding-block-end: 0;
  }
  .cmp-filter-actions {
    position: sticky;
    bottom: 0;
    margin-inline: -1.15rem;
    padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-block-start: 1px solid var(--color-border-light);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.04);
  }
  body.cmp-filters-open {
    overflow: hidden;
  }
  .cmp-card {
    grid-template-columns: 1fr;
  }
  .cmp-card .cmp-card-matchup {
    --cmp-matchup-media-h: 8.5rem;
    padding: 0;
  }
  .cmp-card .cmp-card-highlights,
  .cmp-card .cmp-card-meta {
    border-inline-start: 0;
    border-block-start: 1px solid var(--color-border);
  }
  .cmp-card .cmp-card-highlights {
    padding: 1rem 1.15rem;
  }
  .cmp-card .cmp-card-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    padding: 1rem 1.15rem;
    background: #fff;
  }
  .cmp-popular-card {
    flex-basis: calc((100% - 0.85rem) / 2);
  }
  .cmp-popular-matchup {
    --cmp-popular-media-h: 6rem;
  }
}
@media (max-width: 600px) {
  .cmp-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .cmp-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .cmp-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .cmp-tg-hero-fade {
    display: none;
  }
  .cmp-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .cmp-tg-hero-copy {
    max-width: none;
  }
  .cmp-tg-hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
  .cmp-hero-lead {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .cmp-card-matchup {
    --cmp-matchup-media-h: 7.25rem;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .cmp-card-car {
    width: 100%;
    max-width: none;
  }
  .cmp-card-car-body {
    padding: 0.7rem 0.65rem 1rem;
  }
  .cmp-card-meta {
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
  }
  .cmp-card-cta {
    width: 100%;
    justify-content: center;
  }
  .cmp-popular-card {
    flex-basis: 78%;
    min-width: 220px;
  }
  .cmp-popular-matchup {
    --cmp-popular-media-h: 7rem;
  }
  .cmp-popular-car-body {
    padding: 0.75rem 0.75rem 1rem;
  }
}
@media (max-width: 768px) {
  .cmp-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .cmp-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .cmp-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .cmp-tg-hero-fade {
    display: none;
  }
  .cmp-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .cmp-tg-hero-copy {
    max-width: none;
  }
}
/* ── Comparison detail page (TURBOGT) ────────────────────────────── */
.cmp-detail-page {
  padding-bottom: 0;
}

.cmp-missing {
  text-align: center;
  padding: 3rem 0 4rem;
  color: var(--color-muted);
}

.cmp-detail-hero {
  background: linear-gradient(120deg, #fff, #f4f5f7);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0 0.75rem;
}

.cmp-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 7rem 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 14rem;
}

.cmp-detail-car {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  min-width: 0;
}
.cmp-detail-car img {
  height: 10.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-inline: auto;
}
.cmp-detail-car a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.cmp-detail-car a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.cmp-detail-name h1, .cmp-detail-name h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 0;
  line-height: 1.3;
}

.cmp-detail-trim {
  color: var(--color-muted);
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
}

.cmp-detail-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0.25rem 0 0.35rem;
}

.cmp-detail-actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.625rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}

.cmp-tabs {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: var(--header-h, 48px);
  z-index: 30;
}

.cmp-tabs-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cmp-tab-btn {
  border: 0;
  background: #fff;
  padding: 1rem 0.9rem;
  color: #3f4755;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}
.cmp-tab-btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 700;
}
.cmp-tab-btn:hover {
  color: var(--color-primary);
}

.cmp-detail-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.375rem;
  padding: 1.5rem 0 2.5rem;
}

.cmp-summary-card,
.cmp-dealer-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.125rem;
}
.cmp-summary-card h3,
.cmp-dealer-card h3 {
  margin: 0 0 0.75rem;
}
.cmp-summary-card p,
.cmp-dealer-card p {
  color: var(--color-muted);
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.cmp-score-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  gap: 0.625rem;
  margin: 0.75rem 0;
}

.cmp-score-bubble {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #4b5563;
  font-weight: 800;
}
.cmp-score-bubble.is-win {
  background: var(--color-primary);
  color: #fff;
}

.cmp-dealer-card {
  background: linear-gradient(145deg, #f7f8fa, #f4f5f7);
  text-align: center;
}
.cmp-dealer-card h3 {
  color: var(--color-primary);
}
.cmp-dealer-card .btn {
  width: 100%;
}

.cmp-tab-panel {
  display: none;
}

.cmp-tab-panel.is-active {
  display: block;
}

.cmp-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: auto;
  background: #fff;
}

.cmp-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 40rem;
}
.cmp-spec-table th, .cmp-spec-table td {
  border-bottom: 1px solid var(--color-border);
  border-inline-start: 1px solid var(--color-border);
  padding: 0.75rem 0.625rem;
  font-size: 0.875rem;
}
.cmp-spec-table th:first-child,
.cmp-spec-table td:first-child {
  border-inline-start: 0;
}
.cmp-spec-table thead th {
  background: #f4f5f7;
  font-size: 1rem;
}
.cmp-spec-table thead th small {
  font-weight: 500;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.cmp-metric {
  font-weight: 700;
  color: #414957;
  text-align: start;
}

.cmp-metric-icon {
  color: var(--color-primary);
  display: inline-grid;
  place-items: center;
  margin-inline-end: 0.5rem;
  vertical-align: middle;
}
.cmp-metric-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cmp-val.is-winner {
  font-weight: 800;
  color: var(--color-primary);
}

.cmp-mini-bar {
  height: 0.35rem;
  background: #f4f5f7;
  border-radius: var(--radius-pill);
  margin-top: 0.4rem;
  overflow: hidden;
}
.cmp-mini-bar span {
  display: block;
  height: 100%;
  width: var(--bar-pct, 0%);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: inherit;
}

.cmp-winner-bar {
  margin-top: 1.125rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}

.cmp-winner-note {
  padding: 1.125rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
}
.cmp-winner-note img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}
.cmp-winner-note strong {
  display: block;
}
.cmp-winner-note small {
  color: var(--color-muted);
}

.cmp-winner-center {
  padding: 1rem;
  text-align: center;
  border-inline: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 800;
  display: grid;
  place-content: center;
  gap: 0.25rem;
}

.cmp-editor-wrap {
  padding-block: 0 2rem;
}

.cmp-editor {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: #fff;
}

@media (max-width: 768px) {
  .cmp-detail-hero-grid {
    grid-template-columns: 1fr;
  }
  .cmp-detail-hero-grid > .cmp-vs-mark {
    margin-inline: auto;
  }
  .cmp-detail-layout {
    grid-template-columns: 1fr;
  }
  .cmp-detail-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cmp-detail-sidebar .cmp-summary-card,
  .cmp-detail-sidebar .cmp-dealer-card {
    margin: 0;
  }
  .cmp-winner-bar {
    grid-template-columns: 1fr;
  }
  .cmp-winner-center {
    border-inline: 0;
    border-block: 1px solid var(--color-border);
  }
}
@media (max-width: 600px) {
  .cmp-detail-sidebar {
    grid-template-columns: 1fr;
  }
  .cmp-detail-actions {
    justify-content: center;
  }
}
/* ── News catalogue — TurboGT light hero + overlapping search panel */
.news-catalog {
  padding-bottom: 0;
}

.news-tg-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.1rem, 4.2vw, 3.3rem) clamp(5.1rem, 8.4vw, 6.6rem);
  min-height: clamp(264px, 31vw, 408px);
  background: #ececef;
}

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

.news-tg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
}

.news-tg-hero--ar .news-tg-hero-bg img {
  object-position: left 42%;
}

.news-tg-hero--en .news-tg-hero-bg img {
  object-position: right 42%;
}

.news-tg-hero--ar .news-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 86%);
  mask-image: linear-gradient(to right, #000 40%, transparent 86%);
}

.news-tg-hero--en .news-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 86%);
  mask-image: linear-gradient(to left, #000 40%, transparent 86%);
}

@media (min-width: 2001px) {
  .news-tg-hero-bg img {
    object-fit: cover;
  }
}
.news-tg-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

[dir=ltr] .news-tg-hero-fade {
  background: linear-gradient(to right, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

[dir=rtl] .news-tg-hero-fade {
  background: linear-gradient(to left, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

.news-tg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(168px, 19vw, 264px);
}

.news-tg-hero-copy {
  max-width: 36rem;
  text-align: start;
  animation: news-tg-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.news-eyebrow {
  display: inline-flex;
  margin-block-end: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: #c43406;
  font-weight: 800;
  font-size: 0.75rem;
}

.news-tg-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text);
  text-align: start;
  unicode-bidi: isolate;
  text-wrap: balance;
}

.news-tg-hero--en .news-tg-hero-copy h1 {
  font-family: var(--font-en), Cairo, sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.news-hero-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  text-align: start;
}

.news-tg-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-block: 0 0.65rem;
  flex-wrap: wrap;
}

.news-tg-hero .breadcrumbs a {
  color: var(--color-muted);
}

.news-tg-hero .breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

@keyframes news-tg-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-tg-hero-copy {
    animation: none;
  }
}
.news-catalog-body {
  padding: 1.75rem 0 3.5rem;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.75rem;
  gap: 1.75rem;
  align-items: start;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  grid-template-areas: "copy media";
  overflow: hidden;
  border: 1px solid #dde1e6;
  border-radius: 10px;
  box-shadow: none;
  background: #fff;
  margin-block-end: 1.25rem;
}

.news-feature-media {
  grid-area: media;
  display: block;
  min-height: 18rem;
  background: #f4f5f7;
  line-height: 0;
}
.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-feature-media .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.news-feature-copy {
  grid-area: copy;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
}
.news-feature-copy h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  margin: 0.85rem 0 0.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: start;
}
.news-feature-copy h2 a {
  color: #050608;
}
.news-feature-copy h2 a:hover {
  color: #c43406;
  text-decoration: none;
}
.news-feature-copy > p {
  color: #7d848c;
  line-height: 1.85;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  text-align: start;
}

.news-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: #c43406;
  font-size: 0.75rem;
  font-weight: 800;
}
.news-tag:hover {
  text-decoration: none;
  color: #e04a18;
}

.news-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #7a8090;
  font-size: 0.75rem;
  margin-block-end: 1rem;
  text-align: start;
}
.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-meta svg {
  opacity: 0.7;
  flex-shrink: 0;
}
.news-meta--center {
  justify-content: center;
}

.news-read-link {
  color: #c43406;
  font-weight: 800;
  font-size: 0.8125rem;
}
.news-read-link span {
  display: inline-block;
  margin-inline-start: 0.25rem;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-read-link:hover {
  color: #e04a18;
  text-decoration: none;
}
.news-read-link:hover span {
  transform: translateX(3px);
}

[dir=rtl] .news-read-link span {
  transform: scaleX(-1);
}

[dir=rtl] .news-read-link:hover span {
  transform: scaleX(-1) translateX(4px);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.news-empty {
  color: #7d848c;
  text-align: center;
  padding: 3rem 1rem;
}

.news-sidebar,
.news-detail-sidebar {
  display: grid;
  gap: 1.125rem;
}

.news-side-card {
  border: 1px solid #dde1e6;
  border-radius: 10px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: none;
}
.news-side-card h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.news-popular-item {
  display: grid;
  grid-template-columns: 5.125rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #dde1e6;
  align-items: center;
}
.news-popular-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.news-popular-item:first-of-type {
  padding-top: 0;
}
.news-popular-item img {
  width: 5.125rem;
  height: 3.75rem;
  border-radius: 5px;
  object-fit: cover;
  padding: 0;
  background: #f4f5f7;
}
.news-popular-item strong {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #050608;
  font-weight: 700;
}
.news-popular-item:hover {
  text-decoration: none;
}
.news-popular-item:hover strong {
  color: #c43406;
}

.news-popular-item-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.news-popular-item-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c43406;
  line-height: 1.4;
}

.news-side-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #c43406;
}
.news-side-card-link:hover {
  color: #e04a18;
  text-decoration: none;
}

.news-side-card .news-popular-item--car:last-of-type {
  border-bottom: 1px solid #dde1e6;
  padding-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .news-feature-card {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
  }
  .news-feature-media {
    min-height: 14rem;
  }
  .news-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .news-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .news-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .news-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .news-tg-hero-fade {
    display: none;
  }
  .news-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .news-tg-hero-copy {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .news-tg-hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
  .news-feature-copy {
    padding: 1.35rem 1.25rem;
  }
  .news-feature-media {
    min-height: 12rem;
  }
  .news-card-grid,
  .news-sidebar {
    grid-template-columns: 1fr;
  }
}
/* ── Single news article (TURBOGT) ──────────────────────────────── */
.news-detail-page {
  padding: 1.5rem 0 3.5rem;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #858b99;
  margin: 0.75rem 0 1.5rem;
}
.news-breadcrumb a {
  color: #858b99;
}
.news-breadcrumb a:hover {
  color: #c43406;
  text-decoration: none;
}
.news-breadcrumb span[aria-hidden] {
  opacity: 0.7;
}

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1.875rem;
  align-items: start;
}

.news-article {
  max-width: 53.75rem;
}

.news-article-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.news-article-head .news-tag {
  margin-bottom: 0.25rem;
}
.news-article-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.35;
  margin: 0.85rem 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #050608;
}

.news-article-lead {
  margin: 0 auto 1rem;
  max-width: 40rem;
  color: #7d848c;
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-article-hero {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 1.75rem;
  background: #f4f5f7;
  line-height: 0;
  aspect-ratio: 16/10;
}
.news-article-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.news-article-hero .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.news-toc {
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.25rem 1.05rem;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  background: #ffffff;
}

.news-toc-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #050608;
  line-height: 1.4;
}

.news-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-toc-list li + li {
  margin-top: 0.45rem;
}
.news-toc-list a {
  color: #c43406;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}
.news-toc-list a:hover {
  color: #e04a18;
  text-decoration: underline;
}

.news-article-body {
  font-size: 1.0625rem;
  line-height: 2.05;
  color: #344054;
  margin-bottom: 2rem;
}
.news-article-body p {
  margin-bottom: 1.1rem;
}
.news-article-body h2,
.news-article-body h3 {
  color: #050608;
  font-weight: 800;
  margin-block: 2rem 0.75rem;
  border-inline-start: 4px solid #c43406;
  padding-inline-start: 0.75rem;
  scroll-margin-top: calc(var(--header-h, 82px) + 1rem);
}
.news-article-body a {
  color: #c43406;
}
.news-article-body a:hover {
  color: #e04a18;
}
.news-article-body strong {
  color: #050608;
}
.news-article-body ul,
.news-article-body ol {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
}
.news-article-body li {
  margin-bottom: 0.5rem;
}
.news-article-body img {
  width: 100%;
  border-radius: 10px;
  margin: 1.25rem 0;
}
.news-article-body blockquote {
  background: #f4f5f7;
  border-inline-start: 4px solid #c43406;
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-weight: 700;
  color: #050608;
}

.news-related-cars {
  margin: 0 0 2.25rem;
  padding-top: 0.5rem;
}

.news-related-cars h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #050608;
}

.news-related-carousel {
  margin: 0;
}

.news-related-carousel .tg-cars-track {
  gap: 0.75rem;
  padding-block-end: 0.15rem;
}

.news-related-car {
  flex: 0 0 calc((100% - 0.75rem) / 2);
  min-width: 11.5rem;
  max-width: 16rem;
  scroll-snap-align: start;
}

.news-related-car-link {
  display: block;
  height: 100%;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  color: inherit;
  transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-related-car-link:hover {
  text-decoration: none;
  color: inherit;
  border-color: #e04a18;
  box-shadow: none;
}

.news-related-car-media {
  aspect-ratio: 16/10;
  background: #f4f5f7;
  overflow: hidden;
}
.news-related-car-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
}
.news-related-car-media.is-placeholder img,
.news-related-car-media .img-placeholder {
  object-fit: cover;
  padding: 0;
}

.news-related-car-body {
  padding: 0.7rem 0.8rem 0.85rem;
  display: grid;
  gap: 0.2rem;
}

.news-related-car-brand {
  font-size: 0.7rem;
  font-weight: 700;
  color: #7d848c;
  letter-spacing: 0.02em;
}

.news-related-car-title {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
  color: #050608;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-related-car-price {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #c43406;
}

.news-prevnext {
  margin-top: 2.25rem;
}
.news-prevnext h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.news-prevnext-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.news-prevnext-link {
  border: 1px solid #dde1e6;
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  transition: box-shadow 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-prevnext-link img {
  width: 5.625rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  background: #f4f5f7;
}
.news-prevnext-link strong {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #050608;
}
.news-prevnext-link:hover {
  text-decoration: none;
  border-color: #e04a18;
  box-shadow: none;
}
.news-prevnext-link:hover strong {
  color: #c43406;
}

.news-detail-sidebar {
  position: sticky;
  top: calc(var(--header-h, 82px) + 1rem);
  max-height: calc(100vh - var(--header-h, 82px) - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.news-share-rail {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.news-icon-btn {
  width: 3rem;
  height: 3rem;
  border: 1px solid #dde1e6;
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #050608;
  transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-icon-btn:hover {
  border-color: #c43406;
  color: #c43406;
  background: #f4f5f7;
}

/* Legacy single-hero kept for any residual markup */
.single-hero-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 16/10;
  background: #f4f5f7;
  line-height: 0;
}

.single-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.single-hero-image .img-placeholder {
  object-fit: cover;
  padding: 0;
}

@media (max-width: 900px) {
  .news-article-layout {
    grid-template-columns: 1fr;
  }
  .news-share-rail {
    display: flex;
    margin-bottom: 0.25rem;
  }
  .news-detail-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .news-share-rail {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .news-article-head h1 {
    font-size: 2rem;
  }
  .news-prevnext-row,
  .news-detail-sidebar {
    grid-template-columns: 1fr;
  }
  .news-related-car {
    flex-basis: 78%;
    max-width: none;
  }
}
/* ── Statistics catalogue — TurboGT light hero + overlapping filter shelf */
.stats-catalog {
  padding-bottom: 0;
}

.stats-tg-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.1rem, 4.2vw, 3.3rem) clamp(5.1rem, 8.4vw, 6.6rem);
  min-height: clamp(264px, 31vw, 408px);
  background: #ececef;
}

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

.stats-tg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
}

.stats-tg-hero--ar .stats-tg-hero-bg img {
  object-position: left 42%;
}

.stats-tg-hero--en .stats-tg-hero-bg img {
  object-position: right 42%;
}

.stats-tg-hero--ar .stats-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 86%);
  mask-image: linear-gradient(to right, #000 40%, transparent 86%);
}

.stats-tg-hero--en .stats-tg-hero-bg {
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 86%);
  mask-image: linear-gradient(to left, #000 40%, transparent 86%);
}

@media (min-width: 2001px) {
  .stats-tg-hero-bg img {
    object-fit: cover;
  }
}
.stats-tg-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

[dir=ltr] .stats-tg-hero-fade {
  background: linear-gradient(to right, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

[dir=rtl] .stats-tg-hero-fade {
  background: linear-gradient(to left, #ececef 0%, #ececef 22%, rgba(236, 236, 239, 0.88) 38%, rgba(174, 180, 188, 0.12) 52%, rgba(236, 236, 239, 0.28) 62%, transparent 78%);
}

.stats-tg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(168px, 19vw, 264px);
}

.stats-tg-hero-copy {
  max-width: 36rem;
  text-align: start;
  animation: stats-tg-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stats-eyebrow {
  display: inline-flex;
  margin-block-end: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: #c43406;
  font-weight: 800;
  font-size: 0.75rem;
}

.stats-tg-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-text);
  text-align: start;
  unicode-bidi: isolate;
  text-wrap: balance;
}

.stats-tg-hero--en .stats-tg-hero-copy h1 {
  font-family: var(--font-en), Cairo, sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.stats-hero-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  text-align: start;
}

.stats-tg-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-block: 0 0.65rem;
  flex-wrap: wrap;
}

.stats-tg-hero .breadcrumbs a {
  color: var(--color-muted);
}

.stats-tg-hero .breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

@keyframes stats-tg-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats-tg-hero-copy {
    animation: none;
  }
}
.stats-catalog-main {
  padding-block: 2.75rem 0;
}

.stats-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19.375rem;
  gap: 1.5rem;
  align-items: start;
}

.stats-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.125rem;
  flex-wrap: wrap;
}

.stats-count {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.stats-sort-select {
  width: auto;
  min-width: 11.875rem;
}

.stats-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stats-report-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  flex-direction: column;
}
.stats-report-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.stats-report-media {
  height: 13.125rem;
  position: relative;
  overflow: hidden;
  background: #050608;
  display: block;
}
.stats-report-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-report-badge {
  position: absolute;
  inset-block-start: 0.875rem;
  inset-inline-start: 0.875rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.4375rem 0.625rem;
  border-radius: 5px;
  max-width: calc(100% - 5.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-report-date {
  position: absolute;
  inset-block-start: 0.875rem;
  inset-inline-end: 0.875rem;
  background: #fff;
  color: var(--color-text);
  border-radius: 5px;
  padding: 0.5rem 0.625rem;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  font-size: 0.75rem;
}

.stats-report-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stats-report-title {
  font-size: 1.1875rem;
  line-height: 1.65;
  margin: 0 0 0.5rem;
}
.stats-report-title a {
  color: var(--color-text);
  text-decoration: none;
}
.stats-report-title a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.stats-report-excerpt {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 0 0 0.875rem;
  flex: 1;
}

.stats-report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border-block-start: 1px solid var(--color-border);
  padding-block-start: 0.8125rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin-block-start: auto;
}

.stats-read-more {
  color: var(--color-primary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  flex-shrink: 0;
}
.stats-read-more:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}
.stats-read-more svg {
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.stats-read-more:hover svg {
  transform: translateX(3px);
}

[dir=rtl] .stats-read-more svg {
  transform: scaleX(-1);
}

[dir=rtl] .stats-read-more:hover svg {
  transform: scaleX(-1) translateX(4px);
}

.stats-empty {
  color: var(--color-muted);
  text-align: center;
  padding: 3rem 1rem;
}

.stats-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  position: sticky;
  top: calc(var(--header-h, 82px) + 1rem);
}

.stats-side-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.125rem;
  background: var(--color-card);
}
.stats-side-card h3 {
  margin: 0 0 0.75rem;
}

.stats-category-list {
  display: grid;
  gap: 0.5rem;
}

.stats-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  color: var(--color-text);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.stats-category-item span {
  min-width: 0;
  flex: 1;
}
.stats-category-item b {
  flex-shrink: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}
.stats-category-item:hover {
  background-color: var(--color-bg-subtle);
  border-color: var(--color-border);
  color: var(--color-text);
  text-decoration: none;
}
.stats-category-item.is-active {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}
.stats-category-item.is-active b {
  color: var(--color-primary);
}
.stats-category-item.is-active:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.stats-latest-list {
  display: grid;
  gap: 0;
}

.stats-small-report {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 0;
  border-block-end: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}
.stats-small-report:first-child {
  padding-block-start: 0;
}
.stats-small-report:last-child {
  border-block-end: 0;
  padding-block-end: 0;
}
.stats-small-report .stats-small-report-thumb {
  display: block;
  width: 4.75rem;
  height: 3.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.stats-small-report img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-bg-alt);
}
.stats-small-report h4 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-text);
  transition: color var(--transition-fast);
}
.stats-small-report:hover {
  text-decoration: none;
  color: inherit;
}
.stats-small-report:hover h4 {
  color: var(--color-primary);
}

.stats-side-all {
  width: 100%;
  margin-block-start: 0.875rem;
}

.stats-about-text {
  color: var(--color-muted);
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 900px) {
  .stats-page-grid {
    grid-template-columns: 1fr;
  }
  .stats-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .stats-tg-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-block: 0;
    padding-inline: 0;
  }
  .stats-tg-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .stats-tg-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center center !important;
    opacity: 1 !important;
  }
  .stats-tg-hero-fade {
    display: none;
  }
  .stats-tg-hero-inner {
    order: 2;
    position: relative;
    z-index: 2;
    min-height: 0;
    width: min(100% - 28px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    align-items: flex-start;
    padding-block: 1.15rem 1.35rem;
  }
  .stats-tg-hero-copy {
    max-width: none;
  }
  .stats-report-grid,
  .stats-sidebar {
    grid-template-columns: 1fr;
  }
}
/* ── Market / statistics detail (TURBOGT) ────────────────────────── */
.stats-detail-page {
  padding-bottom: 0;
}

.stats-detail-hero {
  background: linear-gradient(135deg, #f4f5f7, #fff);
  border-bottom: 1px solid var(--color-border);
  padding: 2.125rem 0;
}

.stats-breadcrumb {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 1.375rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.stats-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.stats-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.stats-breadcrumb span:last-child {
  color: var(--color-text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.stats-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.stats-detail-label {
  display: inline-block;
  padding: 0.4375rem 0.75rem;
  border-radius: 980px;
  background: #f4f5f7;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.875rem;
}

.stats-detail-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.6875rem);
  line-height: 1.35;
  margin: 0.875rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stats-detail-lead {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin: 0;
}

.stats-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #646b79;
  margin: 1.125rem 0 1.375rem;
  font-size: 0.9375rem;
}

.stats-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.stats-detail-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stats-detail-visual {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #050608;
}
.stats-detail-visual img {
  width: 100%;
  height: 20.625rem;
  object-fit: cover;
  display: block;
}

.stats-detail-body {
  padding-block: 2.75rem 3.5rem;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

.stats-kpi {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: none;
}

.stats-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.stats-kpi-bubble {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  flex-shrink: 0;
}

.stats-kpi strong {
  font-size: 1.875rem;
  display: block;
  margin-top: 0.5rem;
  color: var(--color-text);
  line-height: 1.2;
}

.stats-kpi-brand {
  font-size: 1.625rem !important;
  color: var(--color-primary) !important;
}

.stats-kpi small {
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.stats-analytics-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.25rem;
  margin-top: 1.375rem;
}

.stats-panel {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  padding: 1.375rem;
}
.stats-panel h2 {
  font-size: 1.375rem;
  margin: 0 0 0.25rem;
}

.stats-panel-sub {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.stats-bars {
  display: grid;
  gap: 1.125rem;
}

.stats-bar-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 4.375rem;
  align-items: center;
  gap: 0.875rem;
}
.stats-bar-row b {
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-bar-row strong {
  text-align: end;
  font-size: 0.9375rem;
}

.stats-bar-track {
  height: 0.8125rem;
  border-radius: 980px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-deep));
  transition: width 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) var(--delay, 0ms);
}
.stats-bar-fill.is-animated {
  width: var(--pct);
}

.stats-donut-wrap {
  display: grid;
  place-items: center;
}

.stats-donut {
  width: 13.75rem;
  height: 13.75rem;
  border-radius: 50%;
  background: var(--donut-bg, var(--color-bg-alt));
  position: relative;
}
.stats-donut span {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--color-text);
}
.stats-donut span small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.stats-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.125rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.stats-legend span::before {
  content: "";
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--dot, var(--color-primary));
  margin-inline-end: 0.5rem;
  vertical-align: middle;
}

.stats-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.stats-editor {
  color: var(--color-muted);
  line-height: 2;
}
.stats-editor > * + * {
  margin-block-start: 1em;
}
.stats-editor a {
  color: var(--color-primary);
}
.stats-editor strong {
  color: var(--color-text);
}

.stats-source-line {
  margin: 1rem 0 0;
  color: var(--color-text);
}

.stats-note-list {
  margin: 0;
  padding-inline-start: 1.375rem;
  line-height: 2;
  color: var(--color-muted);
}

.stats-related {
  margin-top: 2rem;
}

.stats-related .stats-toolbar h2 {
  margin: 0;
  font-size: 1.375rem;
}

.stats-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.stats-related-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stats-related-card img {
  height: 9.375rem;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #050608;
}
.stats-related-card div {
  padding: 0.875rem;
}
.stats-related-card h3 {
  font-size: 1rem;
  margin: 0 0 0.625rem;
  line-height: 1.5;
}
.stats-related-card h3 a {
  color: var(--color-text);
  text-decoration: none;
}
.stats-related-card h3 a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Legacy selectors kept for any residual markup / admin preview */
.market-single-page {
  padding-block-end: 0;
}

.market-bar-fill.is-animated {
  width: var(--pct);
}

@media (max-width: 900px) {
  .stats-detail-hero-grid,
  .stats-analytics-grid,
  .stats-notes-grid {
    grid-template-columns: 1fr;
  }
  .stats-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-kpi-grid,
  .stats-related-grid {
    grid-template-columns: 1fr;
  }
  .stats-detail-actions {
    flex-direction: column;
  }
  .stats-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-bar-row {
    grid-template-columns: 5.3125rem 1fr 3.4375rem;
  }
  .stats-detail-visual img {
    height: 14rem;
  }
  .stats-detail-info h1 {
    font-size: 2.125rem;
  }
}

/*# sourceMappingURL=app.css.map */
