:root {
  --primary: #012e96;
  --secondary: #00a8fc;
  --accent: #00a8fc;
  --dark: #061733;
  --light: #f5f8fd;
  --muted: #718096;
  --border: #e2e9f4;
  --shadow: 0 18px 46px rgba(1, 46, 150, .11);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  direction: rtl;
  text-align: right;
  font-family: "Cairo", sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}
a,
a:hover { text-decoration: none; }
img { max-width: 100%; }
button,
input,
select,
textarea { font-family: "Cairo", sans-serif; }

.section-pad { padding: 92px 0; }
.container-wide { max-width: 1320px; }
.main-header .container {
  max-width: 1440px;
}
.section-soft { background: var(--light); }
.section-head { margin-bottom: 34px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-title {
  color: var(--dark);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 900;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 0;
}

.btn {
  border-radius: 12px;
  font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease, border-color .24s ease;
}
.btn-brand {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(1, 46, 150, .18);
}
.btn-brand:hover {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
}
.btn-accent {
  color: #fff;
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 12px 24px rgba(0, 168, 252, .18);
}
.btn-accent:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-soft {
  color: var(--primary);
  background: rgba(0, 168, 252, .10);
  border-color: rgba(0, 168, 252, .20);
}
.btn-soft:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.btn-compare i {
  font-size: 13px;
}
.btn-compare {
  position: relative;
  gap: 6px;
}
.header-compare-count {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 0 7px;
}
.header-compare-count.is-empty {
  display: none;
}
.login-icon-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Top Header */
.top-header {
  background: linear-gradient(90deg, var(--dark), var(--primary));
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}
.top-header-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-contact a {
  color: rgba(255, 255, 255, .88);
  margin-left: 20px;
  transition: color .22s ease;
}
.top-contact a:hover { color: #fff; }
.top-contact i {
  color: var(--secondary);
  margin-left: 6px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-links a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: .24s ease;
}
.social-links a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* Navbar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(226, 233, 244, .9);
  box-shadow: 0 12px 30px rgba(6, 23, 51, .055);
  backdrop-filter: blur(14px);
}
.navbar { padding: 14px 0; }
.navbar-brand img {
  width: 166px;
  height: auto;
}
.navbar-nav .nav-link {
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 13px;
  transition: color .22s ease;
}
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link:hover { color: var(--primary); }
.nav-link .dropdown-arrow {
  color: var(--secondary);
  font-size: 11px;
  margin-right: 6px;
  transition: transform .25s ease;
}
.dropdown.show .dropdown-arrow,
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-toggle::after { display: none; }
.dropdown-menu {
  text-align: right;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  min-width: 220px;
  box-shadow: var(--shadow);
  animation: menuFade .18s ease both;
}
@keyframes menuFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  color: var(--dark);
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
}
.dropdown-item:hover {
  color: var(--primary);
  background: var(--light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-actions .btn {
  white-space: nowrap;
  padding-left: 14px;
  padding-right: 14px;
}
.icon-action {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  transition: .24s ease;
}
.icon-action:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-2px);
}
.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--primary);
}

/* Hero Slider */
.hero-slider {
  background: var(--dark);
  overflow: hidden;
}
.hero-slide {
  min-height: 760px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.carousel-indicators {
  bottom: 122px;
  margin-bottom: 0;
  z-index: 3;
}
.carousel-indicators li {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
}
.carousel-indicators .active { background: var(--secondary); }
.carousel-control-prev,
.carousel-control-next {
  width: 7%;
  opacity: .9;
}
.hero-control,
.slider-arrow {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(1, 46, 150, .78);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 14px 28px rgba(6, 23, 51, .16);
  transition: .24s ease;
}
.hero-control:hover,
.slider-arrow:hover {
  color: #fff;
  background: var(--secondary);
  transform: translateY(-2px);
}

/* Advanced Filter */
.advanced-filter {
  position: relative;
  z-index: 5;
  margin-top: -86px;
}
.filter-shell {
  background: #fff;
  border: 1px solid rgba(226, 233, 244, .95);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
  z-index: 20;
}
.filter-tabs {
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.filter-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--light));
}
.filter-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--dark);
  padding: 17px 16px;
  font-weight: 800;
  transition: .22s ease;
}
.filter-tab.active {
  color: #fff;
  background: var(--primary);
}
.filter-tab:not(.active):hover {
  color: var(--primary);
  background: rgba(0, 168, 252, .08);
}
.filter-body { padding: 26px; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 190px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: visible;
  position: relative;
  background: #fff;
}
.filter-field {
  position: relative;
  background: #fff;
  border-left: 1px solid var(--border);
  padding: 13px 18px;
  transition: background .22s ease;
}
.filter-field.is-open,
.filter-field:has(.custom-select-ui.is-open) {
  z-index: 50;
}
.filter-field:hover,
.filter-field:focus-within { background: var(--light); }
.filter-field label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 700;
}
.filter-field select {
  display: none;
}
.custom-select-ui {
  position: relative;
  z-index: 2;
}
.select-trigger {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--dark);
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  padding: 0 0 0 24px;
  cursor: pointer;
}
.select-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -18px;
  left: -18px;
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  border-radius: 16px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.custom-select-ui.is-open .select-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.select-option {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 11px;
  padding: 9px 11px;
  color: var(--dark);
  background: transparent;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: .18s ease;
}
.select-option:hover,
.select-option.is-selected {
  color: var(--primary);
  background: var(--light);
}
.filter-field::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 18px;
  bottom: 19px;
  color: var(--secondary);
  pointer-events: none;
}
.filter-submit {
  border: 0;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  font-size: 15px;
  transition: .22s ease;
}
.filter-submit:hover { background: var(--dark); }

/* Quick Actions */
.quick-action {
  height: 100%;
  min-height: 235px;
  padding: 32px 24px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(1, 46, 150, .065);
  transition: .28s ease;
}
.quick-action:hover {
  color: var(--dark);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 168, 252, .42);
}
.quick-action-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 20px;
  font-size: 27px;
  transition: .28s ease;
}
.quick-action:hover .quick-action-icon { transform: translateY(-4px) scale(1.04); }
.quick-action h3 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}
.quick-action p {
  color: var(--muted);
  max-width: 290px;
  margin: 0 auto;
}

/* Slider Controls */
.slider-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}
.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.slider-arrow {
  color: var(--primary);
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 12px 26px rgba(1, 46, 150, .09);
}
.slider-arrow:hover {
  color: #fff;
  background: var(--primary);
}
.slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  direction: ltr;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-viewport::-webkit-scrollbar {
  display: none;
}
.brand-track,
.cards-track {
  display: grid;
  gap: 18px;
  transform: none !important;
  direction: ltr;
  touch-action: pan-y;
}

/* Brands */
.brand-track {
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 132px);
  grid-auto-columns: calc((100% - 90px) / 6);
}
.brand-card {
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: rtl;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(1, 46, 150, .055);
  transition: .24s ease;
}
.brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 252, .52);
  box-shadow: 0 20px 38px rgba(0, 168, 252, .13);
}
.brand-card img {
  width: min(128px, 76%);
  height: 76px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .82;
  transition: .24s ease;
}
.brand-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.brand-card span {
  color: var(--primary);
  font-weight: 900;
}
.more-wrap { text-align: center; margin-top: 30px; }
.section-more {
  text-align: center;
  margin-top: 34px;
}
.section-more .btn {
  min-width: 168px;
  padding: 12px 24px;
}

/* Car Cards */
.cards-track {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
}
.car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--dark);
  direction: rtl;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(1, 46, 150, .075);
  transition: .28s ease;
  scroll-snap-align: start;
}
.car-card:hover {
  color: var(--dark);
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 168, 252, .38);
}
.car-media {
  position: relative;
  overflow: hidden;
  background: var(--light);
}
.car-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: .35s ease;
}
.car-card:hover .car-media img { transform: scale(1.045); }
.wishlist {
  position: absolute;
  top: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 18px rgba(6, 23, 51, .12);
  transition: .22s ease;
  z-index: 3;
}
.wishlist { left: 14px; }
.wishlist.is-active,
.wishlist:hover {
  color: #fff;
  background: var(--primary);
}
.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
  font-size: 12px;
}
.car-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.car-title {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  margin-bottom: 8px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 700;
}
.new-price {
  color: var(--primary);
  font-size: 21px;
  font-weight: 900;
}
.tax-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 15px 0;
}
.spec-item {
  text-align: center;
  border-radius: 12px;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 8px 4px;
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
}
.spec-item i {
  display: block;
  color: var(--secondary);
  margin-bottom: 4px;
}
.details-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--primary);
  border-radius: 13px;
  padding: 10px 16px;
  font-weight: 900;
  transition: .24s ease;
}
.car-card:hover .details-pill { background: var(--dark); }
.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 9px;
  margin-top: auto;
}
.compare-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0,168,252,.24);
  border-radius: 13px;
  color: var(--primary);
  background: rgba(0,168,252,.10);
  font-size: 12px;
  font-weight: 900;
  transition: .22s ease;
}
.compare-pill:hover,
.compare-pill.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.car-card:has(.old-price),
.car-card.offer-card {
  border-color: rgba(0,168,252,.34);
  box-shadow: 0 18px 42px rgba(1,46,150,.105);
}
.car-card:has(.old-price) .car-media::after,
.car-card.offer-card .car-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(1,46,150,.06), rgba(0,168,252,.12));
}
.car-card:has(.old-price) .car-media img,
.car-card.offer-card .car-media img {
  filter: contrast(1.05) saturate(1.03);
}
.car-card:has(.old-price) .discount-badge,
.car-card.offer-card .discount-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 22px rgba(1,46,150,.20);
}
.car-card.is-extra {
  display: block;
}

/* Recently Banner */
.arrival-banner {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--dark);
  box-shadow: var(--shadow);
  margin-bottom: 38px;
}
.arrival-banner-slider,
.arrival-banner-slide {
  position: absolute;
  inset: 0;
}
.arrival-banner-slider {
  z-index: 0;
  background: var(--dark);
}
.arrival-banner-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.05s ease, transform 5.8s ease;
}
.arrival-banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.arrival-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 23, 51, .20), rgba(6, 23, 51, .08), rgba(221, 243, 255, .02));
  pointer-events: none;
}
.arrival-banner-content {
  color: #fff;
  max-width: 480px;
  padding: 44px;
  margin-right: 4%;
  position: relative;
  z-index: 2;
}
.arrival-banner h2 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Finance */
.finance-card {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(1, 46, 150, .055);
  transition: .24s ease;
}
.finance-grid {
  justify-content: center;
}
.finance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 168, 252, .42);
}
.finance-card img {
  max-width: 158px;
  max-height: 66px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: .24s ease;
}
.finance-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.finance-card span {
  color: var(--primary);
  font-weight: 900;
  font-size: 17px;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, .80);
  background: linear-gradient(180deg, var(--primary), var(--dark));
  padding-top: 66px;
}
.footer-logo {
  width: 190px;
  margin-bottom: 18px;
}
.site-footer h5 {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 18px;
}
.site-footer p { color: rgba(255, 255, 255, .74); }
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin-bottom: 10px; }
.footer-list a,
.footer-contact a {
  color: rgba(255, 255, 255, .76);
  transition: .22s ease;
      display: flex;
    align-items: center;
}
.footer-list a:hover,
.footer-contact a:hover {
  color: #fff;
  padding-right: 5px;
}
.footer-contact i {
  color: var(--secondary);
  margin-left: 8px;
}
.footer-social {
  display: flex;
  gap: 9px;
  margin-bottom: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: .22s ease;
}
.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.high-solve {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}
.high-solve:hover {
  color: #fff;
  opacity: .9;
}
.high-solve img {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1030;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(0, 168, 252, .35);
  font-size: 25px;
  transition: .24s ease;
}
.whatsapp-float:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-3px);
}

/* Shared inner-page compatibility */
.footer { color: rgba(255,255,255,.80); background: linear-gradient(180deg, var(--primary), var(--dark)); padding: 60px 0 24px; }
.footer h5 { color: #fff; font-weight: 900; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 88%, transparent), color-mix(in srgb, var(--primary) 65%, transparent), rgba(0,168,252,.12));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 34px; font-weight: 900; }
.page-hero p { color: rgba(255,255,255,.84); max-width: 640px; }
.breadcrumb { background: transparent; padding: 0; }

/* Compare Page */
.compare-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 58%, var(--primary) 100%);
}
.compare-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,23,51,.18), rgba(255,255,255,.05)),
    radial-gradient(circle at 15% 20%, rgba(0,168,252,.28), transparent 34%);
}
.compare-hero .container {
  position: relative;
  z-index: 2;
}
.compare-hero .breadcrumb {
  margin-bottom: 18px;
}
.compare-hero .breadcrumb-item,
.compare-hero .breadcrumb-item a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.compare-hero .breadcrumb-item.active {
  color: #fff;
}
.compare-hero h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
}
.compare-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255,255,255,.84);
  font-size: 17px;
}
.compare-selected-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.compare-car-card,
.compare-intro-card,
.compare-empty-slot,
.compare-add-card,
.compare-section-card {
  border: 1px solid rgba(226,233,244,.92);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1,46,150,.10);
}
.compare-intro-card {
  padding: 24px;
  min-height: 100%;
}
.compare-intro-card img {
  width: 148px;
  max-height: 58px;
  object-fit: contain;
  margin-bottom: 22px;
}
.compare-intro-card h2 {
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 24px;
  font-weight: 900;
}
.compare-intro-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}
.compare-share-box {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.compare-share-box h3 {
  color: var(--primary);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
}
.compare-share-box p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.compare-share-box .form-control {
  min-height: 46px;
  border-radius: 14px;
  border-color: var(--border);
  color: var(--dark);
  font-weight: 700;
}
.compare-empty-slot {
  min-height: 100%;
  padding: 22px;
  border-style: dashed;
  border-color: rgba(1,46,150,.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}
.compare-empty-slot:hover {
  border-color: rgba(0,168,252,.48);
  box-shadow: 0 24px 56px rgba(1,46,150,.13);
}
.compare-empty-slot h3 {
  color: var(--dark);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 14px;
}
.compare-empty-slot .custom-select {
  min-height: 46px;
  border-radius: 14px;
  border-color: var(--border);
  color: var(--dark);
  font-weight: 700;
}
.compare-empty-slot p {
  min-height: 48px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.compare-car-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.compare-car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(1,46,150,.15);
}
.compare-remove {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(6,23,51,.78);
  transition: var(--transition);
}
.compare-remove:hover {
  background: var(--primary);
}
.compare-car-card > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.compare-car-body {
  padding: 18px;
}
.compare-car-body h3 {
  min-height: 54px;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 900;
}
.compare-price {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}
.currency-symbol {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 0.9em;
}
.new-price .currency-symbol,
.old-price .currency-symbol,
.compare-price .currency-symbol {
  font-size: 1em;
}
.compare-meta {
  display: block;
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.compare-add-card {
  min-height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  border-style: dashed;
  cursor: pointer;
  transition: var(--transition);
}
.compare-add-card i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: var(--primary);
}
.compare-add-card strong {
  text-align: center;
  font-weight: 900;
}
.compare-add-card:hover {
  color: var(--dark);
  border-color: rgba(0,168,252,.45);
  box-shadow: 0 24px 56px rgba(1,46,150,.15);
  transform: translateY(-4px);
}
.compare-tables-section {
  margin-top: 44px;
}
.compare-tables-section[hidden] {
  display: none !important;
}
.compare-section-card {
  margin-bottom: 22px;
  padding: 22px;
}
.compare-section-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}
.compare-section-card h3 i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
}
.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(1,46,150,.28) transparent;
}
.compare-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table th,
.compare-table td {
  min-width: 170px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  vertical-align: middle;
  text-align: center;
  font-weight: 700;
}
.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 190px;
  color: var(--primary);
  background: #fff;
  text-align: right;
  font-weight: 900;
  box-shadow: -10px 0 22px rgba(6,23,51,.04);
}
.compare-table thead th {
  color: var(--primary);
  background: var(--light);
  font-weight: 900;
}
.compare-table thead th:first-child {
  background: var(--light);
}
.compare-table tr:last-child td {
  border-bottom: 0;
}
.compare-check,
.compare-x {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}
.compare-check {
  color: var(--primary);
  background: rgba(0,168,252,.14);
}
.compare-x {
  color: var(--danger, #dc3545);
  background: rgba(220,53,69,.1);
}
.compare-table-cell--status {
  text-align: center;
}
.compare-sample-list {
  display: grid;
  gap: 12px;
}
.compare-sample-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.compare-sample-item img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}
.compare-sample-info {
  flex: 1;
}
.compare-sample-info strong {
  display: block;
  color: var(--dark);
  font-weight: 900;
}
.compare-sample-info span {
  color: var(--muted);
  font-size: 13px;
}
.compare-add-modal .modal-content {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(6,23,51,.20);
}
.compare-add-modal .modal-header {
  border-bottom-color: var(--border);
}
.request-card,
.filter-card,
.info-card,
.contact-card,
.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(1,46,150,.07);
}
.request-card,
.info-card,
.contact-card,
.filter-card { padding: 24px; }
.filter-title { color: var(--primary); font-weight: 900; margin-bottom: 16px; }
.mobile-filter-btn { display: none; }
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(1,46,150,.055);
}
.result-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.toolbar-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(0,168,252,.10);
  border: 1px solid rgba(0,168,252,.18);
  flex: 0 0 auto;
}
.view-mode-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.view-mode-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--muted);
  background: #fff;
  transition: .22s ease;
}
.view-mode-btn.active,
.view-mode-btn:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.toolbar-select-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--dark);
  font-weight: 800;
  white-space: nowrap;
}
.toolbar-select-label > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sort-select,
.per-page-select {
  width: auto;
  min-width: 190px;
  border-color: var(--border);
  border-radius: 13px;
  color: var(--dark);
  font-weight: 700;
}
.per-page-select {
  min-width: 130px;
}
.listing-filter-card {
  position: sticky;
  top: 106px;
  z-index: 10;
  overflow: visible;
}
.listing-filter-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.listing-filter-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.filter-section {
  padding: 14px 0;
  border-bottom: 1px solid rgba(226,233,244,.68);
}
.filter-section:first-of-type {
  padding-top: 0;
}
.filter-section-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--dark);
  padding: 0;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}
.filter-section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-section-title i {
  color: var(--secondary);
  transition: transform .22s ease;
}
.filter-section-title.is-collapsed > i:last-child {
  transform: rotate(90deg);
}
.filter-tree,
.check-list,
.color-filter-grid,
.price-slider-box {
  display: none;
  margin-top: 13px;
}
.filter-tree.is-open,
.check-list.is-open,
.color-filter-grid.is-open,
.price-slider-box.is-open {
  display: block;
}
.brand-tree-item {
  margin-bottom: 12px;
}
.brand-row-shell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tree-children {
  margin: 5px 34px 0 0;
  padding-right: 10px;
  border-right: 1px solid rgba(226,233,244,.72);
  transition: opacity .22s ease, transform .22s ease;
}
.tree-children-level {
  margin-right: 20px;
}
.tree-branch-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tree-branch-row .tree-check {
  flex: 1;
}
.branch-mini-toggle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--primary);
  background: #fff;
  font-size: 11px;
  transition: .22s ease;
}
.branch-mini-toggle.is-collapsed i {
  transform: rotate(90deg);
}
.branch-mini-toggle i {
  transition: transform .22s ease;
}
.tree-check {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--dark);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.tree-check input,
.color-choice input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.tree-check span {
  flex: 1;
}
.tree-check em {
  min-width: 25px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0,168,252,.075);
  border: 1px solid rgba(0,168,252,.14);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}
.brand-row {
  flex: 1;
  padding: 7px 9px;
  border-radius: 14px;
  background: var(--light);
  border: 1px solid rgba(226,233,244,.86);
}
.brand-collapse {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary);
  background: #fff;
  transition: .22s ease;
}
.brand-collapse.is-collapsed i {
  transform: rotate(90deg);
}
.brand-collapse i {
  transition: transform .22s ease;
}
.brand-logo-mini {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  flex: 0 0 auto !important;
}
.brand-logo-mini img {
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}
.filter-more {
  border: 0;
  color: var(--primary);
  background: transparent;
  padding: 4px 0 0;
  font-size: 13px;
  font-weight: 900;
}
.color-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.color-filter-grid.is-open {
  display: grid;
}
.color-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: .22s ease;
}
.color-choice:hover {
  border-color: rgba(0,168,252,.36);
  background: var(--light);
}
.color-choice b {
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
}
.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 2px #fff;
}
.swatch-white { background: #fff; }
.swatch-black { background: #061733; }
.swatch-silver { background: #dbe3ee; }
.swatch-gray { background: #718096; }
.swatch-blue { background: #012e96; }
.swatch-brand-deep { background: linear-gradient(135deg, var(--primary), var(--dark)); }
.swatch-soft { background: var(--light); }
.price-slider-box {
  padding-top: 2px;
}
.price-range-labels,
.price-range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-range-labels {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}
.price-range-scale {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.price-range {
  height: 26px;
  padding: 0;
}
.price-range::-webkit-slider-thumb {
  background: var(--primary);
}
.price-range::-moz-range-thumb {
  background: var(--primary);
}
.listing-filter-group {
  position: relative;
  margin-bottom: 16px;
}
.listing-filter-group label {
  display: block;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}
.listing-filter-group select {
  display: none;
}
.listing-filter-group .select-trigger {
  min-height: 46px;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
}
.listing-filter-group .select-trigger:hover,
.listing-filter-group .custom-select-ui.is-open .select-trigger {
  border-color: rgba(0, 168, 252, .36);
  box-shadow: 0 10px 22px rgba(1, 46, 150, .07);
}
.listing-filter-group.has-select::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  bottom: 13px;
  color: var(--secondary);
  pointer-events: none;
  transition: transform .22s ease;
}
.listing-filter-group.has-select:has(.custom-select-ui.is-open)::after {
  transform: rotate(180deg);
}
.listing-filter-group .custom-select-ui {
  z-index: 3;
}
.listing-filter-group .custom-select-ui.is-open {
  z-index: 60;
}
.listing-filter-group .select-menu {
  right: 0;
  left: 0;
  top: calc(100% + 8px);
}
.select-search-wrap {
  position: sticky;
  top: -8px;
  z-index: 2;
  padding-bottom: 8px;
  background: #fff;
}
.select-search {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--dark);
  background: var(--light);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  outline: 0;
}
.select-search:focus {
  border-color: var(--secondary);
  background: #fff;
}
.price-range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.price-range-inputs .form-control {
  min-height: 46px;
  border-color: var(--border);
  border-radius: 14px;
  font-weight: 600;
}
.listing-car-card {
  min-height: 100%;
}
.cars-grid.is-list-view .car-grid-col {
  flex: 0 0 100%;
  max-width: 100%;
}
.cars-grid.is-list-view .listing-car-card {
  min-height: 0;
  flex-direction: row;
}
.cars-grid.is-list-view .listing-car-card .car-media {
  width: 34%;
  min-width: 260px;
}
.cars-grid.is-list-view .listing-car-card .car-media img {
  height: 100%;
  min-height: 240px;
}
.cars-grid.is-list-view .listing-car-card .car-body {
  display: grid;
  grid-template-columns: 1fr 230px;
  grid-template-areas:
    "title price"
    "note price"
    "specs action";
  gap: 8px 18px;
  width: 100%;
  align-items: center;
}
.cars-grid.is-list-view .listing-car-card .car-title { grid-area: title; }
.cars-grid.is-list-view .listing-car-card .price-row {
  grid-area: price;
  align-self: end;
  justify-content: flex-start;
}
.cars-grid.is-list-view .listing-car-card .tax-note { grid-area: note; }
.cars-grid.is-list-view .listing-car-card .spec-row {
  grid-area: specs;
  margin: 8px 0 0;
}
.cars-grid.is-list-view .listing-car-card .details-pill {
  grid-area: auto;
}
.cars-grid.is-list-view .listing-car-card .card-actions {
  grid-area: action;
  align-self: end;
}
.brand-page-card {
  height: 142px;
}
.spec-card { padding: 18px; height: 100%; }
.spec-card span { display: block; color: var(--muted); font-size: 13px; }
.spec-card strong { color: var(--primary); font-size: 18px; }
.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
}
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { border: 2px solid transparent; border-radius: 14px; overflow: hidden; padding: 0; background: transparent; }
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--secondary); }
.gallery-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sticky-purchase { position: sticky; top: 104px; }
.badge-soft {
  display: inline-flex;
  color: var(--primary);
  background: rgba(0,168,252,.10);
  border: 1px solid rgba(0,168,252,.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 13px;
}
.accordion .card { border-color: var(--border); border-radius: 16px !important; overflow: hidden; margin-bottom: 10px; }
.accordion .card-header { background: #fff; border-bottom: 1px solid var(--border); }
.accordion button { color: var(--primary); font-weight: 900; }
.calc-result { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 22px; padding: 28px; }
.result-number { font-size: 34px; font-weight: 900; }
.toggle-box { display: flex; gap: 10px; flex-wrap: wrap; }
.toggle-box .custom-control { background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 9px 42px 9px 16px; }

/* Finance Calculator Page */
.finance-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 62%, var(--primary) 100%);
  overflow: hidden;
}
.finance-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,168,252,.26), transparent 34%),
    linear-gradient(90deg, rgba(6,23,51,.24), rgba(255,255,255,.04));
}
.finance-hero .container {
  position: relative;
  z-index: 2;
}
.finance-hero .breadcrumb-item,
.finance-hero .breadcrumb-item a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.finance-hero .breadcrumb-item.active {
  color: #fff;
}
.finance-hero h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.finance-hero h1 i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
}
.finance-hero p {
  max-width: 820px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  margin: 0;
}
.finance-calc-card,
.finance-result-card {
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(226,233,244,.92);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1,46,150,.10);
}
.finance-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}
.finance-card-head > span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: var(--primary);
}
.finance-card-head h2 {
  margin: 0;
  color: var(--dark);
  font-size: 23px;
  font-weight: 900;
}
.finance-card-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.finance-calc-card label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
}
.finance-calc-card .form-control {
  min-height: 52px;
  border-color: var(--border);
  border-radius: 16px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
}
.finance-calc-card .form-control:focus {
  border-color: rgba(0,168,252,.42);
  box-shadow: 0 0 0 .2rem rgba(0,168,252,.10);
}
.finance-duration-block {
  margin: 12px 0 22px;
}
.finance-duration-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.finance-duration-card {
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--dark);
  background: #fff;
  font-weight: 900;
  transition: var(--transition);
}
.finance-duration-card:hover,
.finance-duration-card.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 16px 32px rgba(1,46,150,.16);
  transform: translateY(-2px);
}
.deferred-payment-box {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(0,168,252,.18);
  border-radius: 22px;
  background: rgba(0,168,252,.08);
}
.deferred-payment-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.deferred-payment-box span {
  color: var(--dark);
  font-weight: 900;
}
.deferred-payment-box strong {
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
}
.deferred-payment-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.monthly-payment-box {
  padding: 28px 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  text-align: center;
  box-shadow: 0 18px 40px rgba(1,46,150,.18);
}
.monthly-payment-box span,
.monthly-payment-box small {
  display: block;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.monthly-payment-box strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 900;
}
.finance-result-rows {
  margin-top: 22px;
}
.finance-result-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.finance-result-rows div:last-child {
  border-bottom: 0;
}
.finance-result-rows span {
  color: var(--muted);
  font-weight: 800;
}
.finance-result-rows strong {
  color: var(--dark);
  font-weight: 900;
}
.finance-note {
  margin: 18px 0 0;
  padding: 15px;
  border-radius: 18px;
  color: var(--muted);
  background: var(--light);
  font-size: 13px;
  font-weight: 700;
}

/* Profile Area */
.profile-hero {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 64%, var(--primary) 100%);
  overflow: hidden;
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,168,252,.28), transparent 34%),
    linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.05) 75%, transparent 75%);
  background-size: auto, 38px 38px;
  opacity: .75;
}
.profile-hero .container {
  position: relative;
  z-index: 2;
}
.profile-hero .breadcrumb-item,
.profile-hero .breadcrumb-item a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.profile-hero .breadcrumb-item.active { color: #fff; }
.profile-hero h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}
.profile-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.84);
}
.profile-layout {
  margin-top: -78px;
  position: relative;
  z-index: 4;
  padding-bottom: 110px;
}
.profile-sidebar {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border: 1px solid rgba(226,233,244,.92);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1,46,150,.10);
}
.profile-account-card {
  padding: 26px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(1,46,150,.18);
}
.profile-account-card h2 {
  margin: 0;
  color: var(--dark);
  font-size: 21px;
  font-weight: 900;
}
.profile-account-card p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0,168,252,.12);
  font-size: 12px;
  font-weight: 900;
}
.profile-progress {
  margin-top: 18px;
  text-align: right;
}
.profile-progress div {
  display: flex;
  justify-content: space-between;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
}
.profile-progress .progress {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--light);
}
.profile-progress .progress-bar {
  background: var(--primary);
}
.profile-menu {
  padding: 14px;
}
.profile-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 15px;
  color: var(--dark);
  font-weight: 800;
  transition: var(--transition);
}
.profile-menu a i {
  width: 22px;
  color: var(--primary);
  text-align: center;
}
.profile-menu a:hover,
.profile-menu a.active {
  color: #fff;
  background: var(--primary);
  transform: translateY(-1px);
}
.profile-menu a:hover i,
.profile-menu a.active i {
  color: #fff;
}
.profile-menu a.logout-link {
  color: var(--muted);
}
.profile-content-card,
.profile-card {
  border: 1px solid rgba(226,233,244,.92);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1,46,150,.10);
}
.profile-content-card {
  padding: 28px;
}
.profile-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.profile-page-title h2 {
  margin: 0;
  color: var(--dark);
  font-size: 25px;
  font-weight: 900;
}
.profile-welcome {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--dark));
}
.profile-welcome i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  font-size: 24px;
}
.profile-welcome h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.profile-welcome p {
  margin: 0;
  color: rgba(255,255,255,.82);
}
.profile-stat-card,
.profile-action-card,
.profile-info-card,
.profile-empty-card,
.profile-order-card,
.profile-doc-card,
.security-status-card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(1,46,150,.07);
}
.profile-stat-card i,
.profile-action-card i,
.profile-doc-card i,
.security-status-card i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 16px;
  color: var(--primary);
  background: rgba(0,168,252,.10);
}
.profile-stat-card strong {
  display: block;
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
}
.profile-stat-card span,
.profile-action-card span,
.profile-doc-card span {
  color: var(--muted);
  font-weight: 800;
}
.profile-action-card {
  display: block;
  color: var(--dark);
  transition: var(--transition);
}
.profile-action-card:hover {
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.profile-info-list {
  display: grid;
  gap: 12px;
}
.profile-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.profile-info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-info-list span { color: var(--muted); font-weight: 800; }
.profile-info-list strong { color: var(--dark); font-weight: 900; }
.profile-empty-card {
  display: grid;
  min-height: 190px;
  place-items: center;
  text-align: center;
  color: var(--muted);
}
.profile-empty-card i {
  display: block;
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 12px;
}
.profile-empty-card strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
}
.profile-form-card label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
}
.profile-form-card .form-control,
.profile-form-card .custom-select {
  min-height: 48px;
  border-color: var(--border);
  border-radius: 14px;
  font-weight: 700;
}
.profile-image-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px dashed rgba(1,46,150,.25);
  border-radius: 22px;
  background: var(--light);
}
.profile-image-upload .profile-avatar { width: 76px; height: 76px; margin: 0; font-size: 26px; }
.profile-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.profile-status {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0,168,252,.12);
  font-size: 12px;
  font-weight: 900;
}
.profile-favorites-grid .car-card {
  height: 100%;
}
.profile-doc-card {
  position: relative;
}
.profile-doc-status {
  display: inline-flex;
  margin: 8px 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0,168,252,.12);
  font-size: 12px;
  font-weight: 900;
}
.security-status-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.security-status-card i { margin-bottom: 0; }
.profile-security-content {
  margin-bottom: 16px;
}
.profile-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 20px;
  align-items: stretch;
}
.profile-security-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(1,46,150,.07);
}
.profile-security-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.profile-security-card-head > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border-radius: 17px;
  color: #fff;
  background: var(--primary);
}
.profile-security-card-head h3 {
  margin: 0;
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
}
.profile-security-card-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.security-verification-grid {
  display: grid;
  gap: 14px;
}
.security-verification-grid .security-status-card {
  min-height: 112px;
}

/* Purchase Request Page */
.purchase-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 62%, var(--primary) 100%);
  overflow: hidden;
}
.purchase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(0,168,252,.25), transparent 34%),
    linear-gradient(90deg, rgba(6,23,51,.24), rgba(255,255,255,.04));
}
.purchase-hero .container {
  position: relative;
  z-index: 2;
}
.purchase-hero .breadcrumb-item,
.purchase-hero .breadcrumb-item a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.purchase-hero .breadcrumb-item.active {
  color: #fff;
}
.purchase-hero h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
}
.purchase-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 17px;
}
.purchase-form-card,
.purchase-summary-card {
  background: #fff;
  border: 1px solid rgba(226,233,244,.92);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(1,46,150,.10);
}
.purchase-form-card {
  padding: 28px;
}
.purchase-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.purchase-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}
.purchase-section-head {
  margin-bottom: 18px;
}
.purchase-section-head span {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 5px;
}
.purchase-section-head h2 {
  margin: 0;
  color: var(--dark);
  font-size: 22px;
  font-weight: 900;
}
.purchase-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.purchase-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 8px;
  border-radius: 22px;
  background: var(--light);
}
.purchase-tab {
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: var(--dark);
  background: #fff;
  font-weight: 900;
  transition: var(--transition);
}
.purchase-tab i {
  margin-left: 8px;
  color: var(--secondary);
}
.purchase-tab.active,
.purchase-tab:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 16px 30px rgba(1,46,150,.16);
}
.purchase-tab.active i,
.purchase-tab:hover i {
  color: #fff;
}
.company-intro-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(0,168,252,.18);
  border-radius: 22px;
  background: rgba(0,168,252,.06);
}
.company-intro-card p {
  color: var(--dark);
  font-weight: 700;
}
.company-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.company-contact-grid a {
  padding: 14px;
  border-radius: 18px;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
}
.company-contact-grid i {
  color: var(--primary);
  margin-left: 7px;
}
.company-contact-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.company-contact-grid strong {
  display: block;
  color: var(--primary);
  font-size: 13px;
}
.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.payment-method-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--dark);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.payment-method-card input {
  position: absolute;
  opacity: 0;
}
.payment-method-card i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--primary);
  background: rgba(0,168,252,.10);
}
.payment-method-card strong {
  font-weight: 900;
}
.payment-method-card.active,
.payment-method-card:hover {
  border-color: rgba(1,46,150,.34);
  box-shadow: 0 18px 38px rgba(1,46,150,.12);
  transform: translateY(-2px);
}
.payment-method-card.active {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
}
.payment-method-card.active i {
  color: #fff;
  background: rgba(255,255,255,.14);
}
.purchase-car-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) 96px 46px;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--light);
}
.purchase-car-row label,
.purchase-form-card label {
  color: var(--dark);
  font-weight: 800;
  font-size: 13px;
}
.purchase-car-row .custom-select,
.purchase-car-row .form-control,
.purchase-form-card .custom-select,
.purchase-form-card .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: var(--border);
  color: var(--dark);
  font-weight: 700;
}
.purchase-remove-row {
  width: 46px;
  height: 48px;
  border: 1px solid rgba(1,46,150,.16);
  border-radius: 14px;
  color: var(--primary);
  background: #fff;
  transition: var(--transition);
}
.purchase-remove-row:hover {
  color: #fff;
  background: var(--primary);
}
.purchase-submit-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 12px;
  align-items: center;
}
.purchase-submit-section p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.purchase-summary-card {
  position: sticky;
  top: 112px;
  padding: 24px;
}
.purchase-summary-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.purchase-summary-head > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  color: #fff;
  background: var(--primary);
}
.purchase-summary-head h2 {
  margin: 0;
  color: var(--dark);
  font-size: 22px;
  font-weight: 900;
}
.purchase-summary-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.purchase-empty-summary {
  padding: 28px 18px;
  border: 1px dashed rgba(1,46,150,.22);
  border-radius: 20px;
  color: var(--muted);
  background: var(--light);
  text-align: center;
  font-weight: 800;
}
.purchase-summary-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.purchase-summary-item img {
  width: 82px;
  height: 64px;
  object-fit: cover;
  border-radius: 15px;
}
.purchase-summary-item h3 {
  margin: 0 0 5px;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 900;
}
.purchase-summary-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.purchase-summary-item strong {
  display: block;
  margin-top: 5px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}
.purchase-summary-remove {
  position: absolute;
  top: 10px;
  left: 0;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(0,168,252,.10);
}
.purchase-totals {
  margin-top: 18px;
  padding-top: 16px;
}
.purchase-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 800;
}
.purchase-totals strong {
  color: var(--dark);
}
.purchase-total-row {
  margin-top: 8px;
  padding: 14px !important;
  border-radius: 18px;
  color: var(--primary) !important;
  background: rgba(0,168,252,.10);
}
.purchase-total-row strong {
  color: var(--primary);
  font-size: 20px;
}
.purchase-totals small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(1,46,150,.08), rgba(0,168,252,.14));
  border: 1px solid var(--border);
  font-weight: 900;
}
.faq-category {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 0 0 8px 6px;
  font-weight: 900;
}
.faq-category.active,
.faq-category:hover { color: #fff; background: var(--primary); }

/* Car Details */
.car-details-page {
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}
.details-breadcrumb .breadcrumb-item a {
  color: var(--primary);
  font-weight: 800;
}
.premium-gallery,
.details-summary-card,
.detail-spec-card,
.premium-spec-accordion .card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 38px rgba(1,46,150,.075);
}
.premium-gallery {
  position: relative;
  border-radius: 28px;
  padding: 18px;
}
.gallery-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 16px;
  background: var(--light);
  border: 1px solid var(--border);
}
.gallery-tab {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--primary);
  background: transparent;
  padding: 8px 18px;
  font-weight: 900;
  transition: .22s ease;
}
.gallery-tab.active,
.gallery-tab:hover {
  color: #fff;
  background: var(--primary);
}
.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
}
.detail-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 440px;
  display: block;
  object-fit: cover;
  transition: opacity .22s ease, transform .35s ease;
}
.gallery-stage:hover .detail-main-image {
  transform: scale(1.018);
}
.gallery-overlay-actions {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.gallery-circle-action,
.gallery-nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--primary);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(6,23,51,.14);
  transition: .22s ease;
}
.gallery-circle-action:hover,
.gallery-circle-action.is-active,
.gallery-nav:hover {
  color: #fff;
  background: var(--primary);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}
.gallery-prev { right: 18px; }
.gallery-next { left: 18px; }
.gallery-counter-group {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-counter {
  min-width: 64px;
  text-align: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(6,23,51,.74);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 12px;
  font-weight: 900;
}
.gallery-expand-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 24px rgba(6,23,51,.14);
  transition: .22s ease;
}
.gallery-expand-btn:hover {
  color: #fff;
  background: var(--primary);
}
.detail-thumbs {
  display: none;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.detail-thumbs.active {
  display: grid;
}
.detail-thumb {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0;
  background: var(--light);
  transition: .22s ease;
}
.detail-thumb.active,
.detail-thumb:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 20px rgba(0,168,252,.14);
}
.detail-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}
.details-summary-card {
  position: sticky;
  top: 112px;
  border-radius: 28px;
  padding: 26px;
}
.details-summary-card h1 {
  color: var(--dark);
  font-size: 26px;
  line-height: 1.45;
  font-weight: 900;
  margin-bottom: 14px;
}
.summary-price {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(1,46,150,.055);
  margin-bottom: 18px;
}
.price-break-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.price-break-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.price-break-row strong {
  color: var(--dark);
  font-size: 15px;
  font-weight: 900;
}
.price-break-row.total {
  border-bottom: 0;
  padding-bottom: 6px;
}
.price-break-row.total span,
.price-break-row.total strong {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}
.summary-price small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}
.vehicle-hierarchy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.vehicle-hierarchy div {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 11px 12px;
}
.vehicle-hierarchy span,
.summary-colors h3 {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 3px;
}
.vehicle-hierarchy strong {
  color: var(--dark);
  font-size: 15px;
  font-weight: 900;
}
.summary-colors {
  margin-bottom: 17px;
}
.summary-swatches {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.summary-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: inset 0 0 0 3px #fff;
  transition: .22s ease;
}
.summary-swatch.active,
.summary-swatch:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(6,23,51,.94);
}
.gallery-lightbox.is-open {
  display: flex;
}
body.details-lightbox-open {
  overflow: hidden;
}
.gallery-lightbox img {
  max-width: min(1180px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: rgba(1,46,150,.82);
  transition: .22s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--secondary);
}
.lightbox-close {
  top: 24px;
  left: 24px;
}
.lightbox-prev {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  right: 50%;
  transform: translateX(50%);
  border-radius: 999px;
  color: #fff;
  background: rgba(1,46,150,.82);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px;
  font-weight: 900;
}
.details-toast {
  position: fixed;
  right: 50%;
  bottom: 32px;
  z-index: 2050;
  transform: translate(50%, 20px);
  visibility: hidden;
  opacity: 0;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: .24s ease;
}
.details-toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(50%, 0);
}
.mobile-detail-cta {
  display: none;
}
.summary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  margin-top: 20px;
}
.summary-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.summary-actions .btn-block {
  grid-column: 1 / -1;
}
.quick-specs-section,
.details-accordion-section {
  margin-top: 54px;
}
.detail-spec-card {
  height: 100%;
  min-height: 136px;
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  transition: .22s ease;
}
.detail-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.detail-spec-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 10px;
}
.detail-spec-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.detail-spec-card strong {
  display: block;
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
}
.premium-spec-accordion .card {
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 16px 38px rgba(1,46,150,.075);
}
.premium-spec-accordion .card-header {
  background: #fff;
  border-bottom: 0;
  padding: 0;
}
.premium-spec-accordion .card-header:has(+ .collapse.show) {
  border-bottom: 1px solid var(--border);
}
.premium-spec-accordion .btn-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  padding: 16px 20px;
  box-shadow: none;
}
.premium-spec-accordion .btn-link:hover,
.premium-spec-accordion .btn-link:focus {
  color: var(--primary);
  text-decoration: none;
  box-shadow: none;
}
.premium-spec-accordion .btn-link i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: transform .22s ease, color .22s ease;
}
.premium-spec-accordion .btn-link:not(.collapsed) i {
  color: var(--primary);
  transform: rotate(0deg);
}
.premium-spec-accordion .btn-link.collapsed i {
  transform: rotate(-90deg);
}
.premium-spec-accordion .card-body {
  padding: 6px 20px 18px;
}
.spec-table-list {
  display: block;
}
.spec-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.spec-table-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.spec-table-row span {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.spec-table-row strong {
  flex-shrink: 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 900;
  text-align: left;
}
.details-summary-card .car-booking-form {
  margin: 0;
}
.details-summary-card .car-booking-form .btn-brand,
.details-summary-card .booking-submit-btn {
  width: 100%;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content, Auth, FAQ, and Terms Pages */
.content-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, var(--dark) 0%, var(--primary) 62%, var(--primary) 100%),
    radial-gradient(circle at 18% 22%, rgba(0,168,252,.22), transparent 34%);
}
.content-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .28;
}
.content-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--dark) 94%, transparent), color-mix(in srgb, var(--primary) 88%, transparent)),
    url("assets/img/sliders/hero-banner-02.webp") center/cover;
  z-index: 0;
}
.content-hero .container {
  position: relative;
  z-index: 2;
}
.content-hero .breadcrumb {
  padding: 0;
  margin-bottom: 26px;
  background: transparent;
}
.content-hero .breadcrumb-item,
.content-hero .breadcrumb-item a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.content-hero .breadcrumb-item.active { color: #fff; }
.content-hero-title {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 820px;
}
.content-hero-icon,
.auth-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 36px rgba(0,168,252,.20);
}
.content-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
}
.content-hero p {
  max-width: 740px;
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.9;
  font-weight: 600;
}
.auth-card,
.content-card,
.faq-search-card,
.faq-category-card,
.terms-toc,
.terms-section-card {
  background: #fff;
  border: 1px solid rgba(1,46,150,.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.auth-card {
  max-width: 520px;
  padding: 34px;
}
.auth-card-wide { max-width: 760px; }
.auth-card-head { margin-bottom: 26px; }
.auth-card-head h2 {
  margin: 18px 0 8px;
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
}
.auth-card-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.auth-form label {
  color: var(--dark);
  font-size: 14px;
  font-weight: 800;
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap i {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--primary);
  opacity: .78;
  z-index: 2;
}
.input-icon-wrap .form-control {
  height: 52px;
  padding-right: 48px;
  border-radius: 16px;
  border-color: rgba(1,46,150,.12);
  background: var(--light);
  font-weight: 600;
}
.input-icon-wrap .form-control:focus,
.faq-search-card .form-control:focus {
  border-color: rgba(0,168,252,.46);
  box-shadow: 0 0 0 .2rem rgba(0,168,252,.13);
  background: #fff;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 700;
}
.auth-options a,
.auth-switch a,
.terms-toc a:hover,
.faq-category-card a:hover {
  color: var(--primary);
}
.captcha-box {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px dashed rgba(1,46,150,.22);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(0,168,252,.05);
  font-weight: 800;
}
.captcha-box i { color: var(--primary); }
.auth-submit { min-height: 52px; }
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}
.about-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,46,150,.12), rgba(6,23,51,.28));
}
.lead-copy {
  color: var(--dark);
  font-size: 18px;
  line-height: 2;
  font-weight: 700;
}
.muted-copy {
  color: var(--muted);
  line-height: 2;
  font-weight: 600;
}
.about-value-card,
.branch-card {
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(1,46,150,.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6,23,51,.07);
  transition: var(--transition);
}
.about-value-card:hover,
.branch-card:hover,
.terms-section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(6,23,51,.11);
}
.about-value-card i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.about-value-card h3,
.branch-card h4 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
}
.about-value-card p,
.branch-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 600;
}
.content-card {
  padding: 34px;
}
.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  box-shadow: var(--shadow);
}
.content-cta h2 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 900;
}
.content-cta p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-weight: 600;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.faq-search-card {
  position: relative;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-search-card i {
  color: var(--primary);
}
.faq-search-card .form-control {
  height: 50px;
  border: 0;
  box-shadow: none;
  font-weight: 700;
}
.faq-category-card,
.terms-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
}
.faq-category-card h3,
.terms-toc h3 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
}
.faq-category-card a,
.terms-toc a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(1,46,150,.08);
  font-weight: 800;
  transition: var(--transition);
}
.faq-category-card a:last-child,
.terms-toc a:last-child {
  border-bottom: 0;
}
.faq-accordion .card {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(1,46,150,.08);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(6,23,51,.06);
}
.faq-accordion .card-header {
  padding: 0;
  border: 0;
  background: #fff;
}
.faq-accordion .btn-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: var(--dark);
  text-align: right;
  text-decoration: none;
  font-weight: 900;
}
.faq-accordion .btn-link i {
  color: var(--primary);
  transition: var(--transition);
}
.faq-accordion .btn-link:not(.collapsed) i {
  transform: rotate(180deg);
}
.faq-accordion .card-body {
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.95;
  font-weight: 600;
}
.terms-section-card {
  position: relative;
  margin-bottom: 18px;
  padding: 30px 34px;
}
.terms-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
}
.terms-section-card h2 {
  color: var(--dark);
  font-size: 22px;
  font-weight: 900;
}
.terms-section-card p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-weight: 600;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 1199.98px) {
  .cards-track { grid-auto-columns: calc((100% - 54px) / 4); }
  .brand-track { grid-auto-columns: calc((100% - 54px) / 4); }
}

@media (max-width: 991.98px) {
  .section-pad { padding: 70px 0; }
  .content-hero {
    min-height: 270px;
    text-align: center;
  }
  .content-hero .breadcrumb {
    justify-content: center;
  }
  .content-hero-title {
    flex-direction: column;
    margin: 0 auto;
  }
  .content-hero h1 {
    font-size: 29px;
  }
  .content-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .faq-category-card,
  .terms-toc {
    position: static;
  }
  .faq-category-card,
  .terms-toc {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .faq-category-card::-webkit-scrollbar,
  .terms-toc::-webkit-scrollbar {
    display: none;
  }
  .faq-category-card h3,
  .terms-toc h3 {
    margin: 0 0 0 8px;
    flex: 0 0 auto;
  }
  .faq-category-card a,
  .terms-toc a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(1,46,150,.10);
    border-radius: 999px;
    background: var(--light);
  }
  .content-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
  .top-header-inner {
    justify-content: center;
    text-align: center;
  }
  .top-contact,
  .social-links {
    width: 100%;
    justify-content: center;
  }
  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-actions {
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .nav-actions .btn {
    flex: 1 1 140px;
  }
  .compare-selected-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compare-intro-card {
    grid-column: 1 / -1;
  }
  .compare-hero {
    min-height: 300px;
  }
  .hero-slide { min-height: 620px; }
  .carousel-indicators { bottom: 74px; }
  .advanced-filter { margin-top: -44px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-field { border-bottom: 1px solid var(--border); }
  .filter-submit {
    min-height: 64px;
    grid-column: 1 / -1;
  }
  .mobile-filter-btn { display: block; }
  .listing-filter-card {
    position: static;
    display: none;
    margin-bottom: 24px;
  }
  .listing-filter-card.is-open {
    display: block;
  }
  .listing-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .result-count {
    text-align: center;
  }
  .view-mode-group {
    justify-content: center;
  }
  .toolbar-select-label {
    width: 100%;
    justify-content: space-between;
  }
  .sort-select,
  .per-page-select {
    width: 100%;
    min-width: 0;
  }
  .cars-grid.is-list-view .listing-car-card {
    flex-direction: column;
  }
  .cars-grid.is-list-view .listing-car-card .car-media {
    width: 100%;
    min-width: 0;
  }
  .cars-grid.is-list-view .listing-car-card .car-media img {
    height: 225px;
    min-height: 0;
  }
  .cars-grid.is-list-view .listing-car-card .car-body {
    display: flex;
  }
  .card-actions {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
  .slider-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cards-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .purchase-summary-card {
    position: static;
    margin-top: 24px;
  }
  .finance-duration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-layout {
    margin-top: -54px;
  }
  .profile-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  .profile-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .profile-menu::-webkit-scrollbar {
    display: none;
  }
  .profile-menu a {
    white-space: nowrap;
    min-width: max-content;
  }
  .profile-order-card {
    grid-template-columns: 1fr;
  }
  .profile-security-grid {
    grid-template-columns: 1fr;
  }
  .purchase-car-row {
    grid-template-columns: 1fr 1fr;
  }
  .purchase-remove-row {
    width: 100%;
  }
  .company-contact-grid {
    grid-template-columns: 1fr;
  }
  .details-summary-card {
    position: static;
  }
  .detail-main-image {
    min-height: 360px;
  }
  .detail-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 58px 0; }
  .section-head,
  .slider-section-head {
    text-align: center;
  }
  .slider-section-head {
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
  }
  .slider-section-head > div:first-child {
    width: 100%;
  }
  .section-kicker {
    justify-content: center;
  }
  .section-title {
    font-size: 27px;
  }
  .purchase-hero {
    min-height: 270px;
    text-align: center;
  }
  .finance-hero {
    min-height: 270px;
    text-align: center;
  }
  .profile-hero {
    min-height: 260px;
    text-align: center;
  }
  .profile-hero .breadcrumb {
    justify-content: center;
  }
  .profile-hero h1 {
    font-size: 28px;
  }
  .profile-hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }
  .profile-content-card {
    padding: 18px;
    border-radius: 22px;
  }
  .profile-layout {
    padding-bottom: 72px;
  }
  .profile-page-title,
  .profile-welcome,
  .profile-image-upload {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
  .profile-welcome i,
  .profile-image-upload .profile-avatar {
    margin-left: auto;
    margin-right: auto;
  }
  .profile-info-list div {
    flex-direction: column;
    gap: 2px;
  }
  .profile-security-card {
    padding: 18px;
    border-radius: 20px;
  }
  .profile-security-card-head,
  .security-status-card {
    align-items: flex-start;
  }
  .finance-hero .breadcrumb {
    justify-content: center;
  }
  .finance-hero h1 {
    justify-content: center;
    font-size: 29px;
  }
  .finance-hero h1 i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
  .finance-hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }
  .finance-calc-card,
  .finance-result-card {
    padding: 20px;
    border-radius: 22px;
  }
  .finance-duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finance-duration-card {
    min-height: 58px;
  }
  .deferred-payment-box div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .monthly-payment-box strong {
    font-size: 30px;
  }
  .finance-result-rows div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .purchase-hero .breadcrumb {
    justify-content: center;
  }
  .purchase-hero h1 {
    font-size: 29px;
  }
  .purchase-hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }
  .purchase-form-card,
  .purchase-summary-card {
    border-radius: 22px;
    padding: 18px;
  }
  .purchase-inline-head {
    align-items: stretch;
    flex-direction: column;
  }
  .purchase-tabs,
  .payment-method-grid {
    grid-template-columns: 1fr;
  }
  .purchase-car-row {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .purchase-submit-section {
    grid-template-columns: 1fr;
  }
  .purchase-summary-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .purchase-summary-item img {
    width: 72px;
    height: 58px;
  }
  .compare-hero {
    min-height: 280px;
    text-align: center;
  }
  .compare-hero .breadcrumb {
    justify-content: center;
  }
  .compare-hero h1 {
    font-size: 28px;
  }
  .compare-hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }
  .compare-selected-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 14px;
  }
  .compare-car-card,
  .compare-intro-card,
  .compare-empty-slot,
  .compare-add-card {
    width: 100%;
    min-width: 0;
  }
  .compare-intro-card {
    text-align: center;
  }
  .compare-intro-card img {
    margin-left: auto;
    margin-right: auto;
  }
  .compare-empty-slot {
    min-height: 280px;
  }
  .compare-section-card {
    padding: 16px;
    border-radius: 20px;
  }
  .compare-section-card h3 {
    font-size: 18px;
  }
  .compare-table {
    min-width: 720px;
  }
  .compare-table th,
  .compare-table td {
    min-width: 156px;
    padding: 13px 12px;
    font-size: 13px;
  }
  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 150px;
  }
  .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .slider-controls {
    width: 100%;
    justify-content: center;
  }
  .slider-arrow,
  .hero-control {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .hero-slide {
    min-height: 500px;
    background-position: center;
  }
  .carousel-control-prev,
  .carousel-control-next {
    top: 0;
    bottom: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-control-prev { right: 8px; left: auto; }
  .carousel-control-next { left: 8px; right: auto; }
  .carousel-indicators {
    bottom: 58px;
  }
  .carousel-indicators li {
    width: 28px;
  }
  .advanced-filter {
    margin-top: -34px;
  }
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .brand-track {
    grid-template-rows: repeat(2, 124px);
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
  }
  .brand-card {
    height: 124px;
  }
  .brand-card img {
    width: min(112px, 76%);
    height: 68px;
  }
  [data-slider="offers"] .slider-viewport,
  [data-slider="arrivals"] .slider-viewport {
    width: min(360px, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
  }
  [data-slider="offers"] .cards-track,
  [data-slider="arrivals"] .cards-track {
    gap: 0;
    grid-auto-columns: min(360px, calc(100vw - 32px));
    scroll-snap-type: x mandatory;
  }
  [data-slider="offers"] .car-card,
  [data-slider="arrivals"] .car-card {
    scroll-snap-align: center;
    width: min(360px, calc(100vw - 32px));
  }
  .car-media img {
    height: 225px;
  }
  .car-body {
    padding: 15px 16px 16px;
  }
  .car-title {
    font-size: 17px;
  }
  .arrival-banner {
    min-height: 300px;
    max-height: 320px;
    border-radius: 24px;
    margin-bottom: 32px;
    justify-content: center;
  }
  .arrival-banner-content {
    max-width: 100%;
    padding: 24px;
    margin: 0;
    text-align: center;
  }
  .arrival-banner h2 {
    font-size: 25px;
    margin-bottom: 16px;
  }
  .site-footer {
    text-align: center;
    padding-top: 54px;
  }
  .premium-gallery {
    padding: 12px;
    border-radius: 22px;
  }
  .gallery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .detail-main-image {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }
  .gallery-circle-action,
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  .gallery-overlay-actions {
    top: 12px;
    left: 12px;
  }
  .gallery-prev { right: 12px; }
  .gallery-next { left: 12px; }
  .gallery-counter-group {
    right: 12px;
    bottom: 12px;
  }
  .gallery-counter,
  .gallery-expand-btn {
    min-height: 38px;
    height: 38px;
  }
  .gallery-expand-btn {
    width: 38px;
  }
  .detail-thumbs {
    grid-template-columns: none;
  }
  .detail-thumbs.active {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .detail-thumbs.active::-webkit-scrollbar {
    display: none;
  }
  .detail-thumb {
    min-width: 116px;
    scroll-snap-align: start;
  }
  .details-summary-card {
    padding: 20px;
    border-radius: 22px;
  }
  .details-summary-card h1 {
    font-size: 23px;
  }
  .vehicle-hierarchy {
    grid-template-columns: 1fr;
  }
  .summary-actions {
    grid-template-columns: 1fr;
  }
  .quick-specs-section,
  .details-accordion-section {
    margin-top: 40px;
  }
  .gallery-lightbox {
    padding: 18px;
  }
  .gallery-lightbox img {
    max-width: 94vw;
    max-height: 72vh;
    border-radius: 16px;
  }
  .lightbox-close,
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-close {
    top: 16px;
    left: 16px;
  }
  .lightbox-prev {
    right: 12px;
  }
  .lightbox-next {
    left: 12px;
  }
  .lightbox-counter {
    bottom: 18px;
  }
  body.has-mobile-detail-cta {
    padding-bottom: 82px;
  }
  .mobile-detail-cta {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 1040;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(1,46,150,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(6,23,51,.16);
    opacity: 0;
    transform: translateY(120%);
    transition: var(--transition);
    pointer-events: none;
  }
  .mobile-detail-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-detail-cta .btn {
    min-height: 48px;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-contact i {
    margin-left: 6px;
  }
  .footer-list a:hover,
  .footer-contact a:hover {
    padding-right: 0;
  }
  .footer-bottom .d-flex {
    justify-content: center !important;
    text-align: center;
  }
  .high-solve {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 52px 0; }
  .section-title { font-size: 25px; }
  .content-hero {
    min-height: 250px;
  }
  .content-hero-icon,
  .auth-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }
  .content-hero h1 {
    font-size: 26px;
  }
  .content-hero p {
    font-size: 14px;
    line-height: 1.8;
  }
  .auth-card,
  .content-card,
  .terms-section-card {
    padding: 22px;
    border-radius: 22px;
  }
  .auth-card-head h2 {
    font-size: 23px;
  }
  .auth-options {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-visual,
  .about-visual img {
    min-height: 300px;
  }
  .about-value-card,
  .branch-card {
    padding: 22px;
    border-radius: 22px;
  }
  .content-cta {
    padding: 24px;
    border-radius: 24px;
  }
  .content-cta h2 {
    font-size: 22px;
  }
  .content-cta .btn {
    width: 100%;
  }
  .cta-actions {
    width: 100%;
  }
  .faq-accordion .btn-link {
    padding: 18px;
    gap: 12px;
    font-size: 14px;
  }
  .faq-accordion .card-body {
    padding: 0 18px 18px;
    font-size: 14px;
  }
  .hero-slide { min-height: 450px; }
  .carousel-indicators { bottom: 54px; }
  .carousel-control-prev,
  .carousel-control-next {
    width: 54px;
  }
  .filter-shell { border-radius: 22px; }
  .filter-tabs { flex-direction: column; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-field { border-left: 0; }
  .quick-action { padding: 26px 18px; }
  .brand-track { grid-template-rows: repeat(2, 118px); }
  .brand-card { height: 118px; }
  .car-media img { height: 220px; }
  .spec-row { grid-template-columns: repeat(2, 1fr); }
  .arrival-banner {
    min-height: 280px;
    max-height: 310px;
    border-radius: 24px;
  }
  .arrival-banner-content {
    padding: 22px;
  }
  .arrival-banner h2 { font-size: 24px; }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    left: 16px;
    bottom: 16px;
  }
}
