:root {
  --ax-bg: #f5f5f5;
  --ax-card: #ffffff;
  --ax-text: #202124;
  --ax-soft: #5f6368;
  --ax-muted: #7b8088;
  --ax-line: #e8e8e8;
  --ax-primary: #f4511e;
  --ax-primary-dark: #db3f12;
  --ax-dark: #111216;
  --ax-blue: #2563eb;
  --ax-green: #16a34a;
  --ax-radius: 10px;
  --ax-radius-lg: 14px;
  --ax-shadow: 0 2px 9px rgba(32, 33, 36, .08);
  --ax-shadow-hover: 0 8px 22px rgba(32, 33, 36, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.autonexa-theme {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ax-text);
  background: var(--ax-bg);
  font-size: 14px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.autonexa-theme.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 28px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 28px)); }
.skip-link { position: absolute; left: -999px; top: 12px; background: #fff; color: #000; padding: 8px 12px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* Light compact header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--ax-line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  backdrop-filter: blur(14px);
  transition: box-shadow .18s ease;
}
.site-header.is-scrolled { box-shadow: 0 7px 20px rgba(0,0,0,.08); }
.nav-wrap { min-height: 48px; display: flex; align-items: center; gap: 14px; }
.nav-bottom-row { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #f0f0f0; }
.brand-area { flex: 0 0 auto; }
.custom-logo-link img { max-height: 34px; width: auto; }
.text-logo { display: inline-flex; align-items: center; gap: 7px; color: #171717; font-weight: 900; font-size: 1rem; letter-spacing: -.04em; white-space: nowrap; }
.logo-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff6b3d, #f4511e); font-size: .9rem; box-shadow: 0 5px 12px rgba(244,81,30,.25); }
.header-search { flex: 1; max-width: 420px; height: 34px; border: 1px solid #d9dde3; border-radius: 7px; display: flex; align-items: center; gap: 7px; padding: 0 10px; background: #fff; }
.header-search span { color: #8a8f98; font-size: 15px; }
.header-search input { border: 0; outline: none; flex: 1; min-width: 0; color: var(--ax-text); font-size: .82rem; background: transparent; }
.header-quick { display: flex; align-items: center; gap: 13px; margin-left: auto; color: #4c515a; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.header-quick a:hover { color: var(--ax-primary); }
.main-nav { flex: 1; min-width: 0; }
.main-nav .menu { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: #31343a; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .015em; padding: 9px 0; display: block; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ax-primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.city-chip { color: #373b43; font-size: .77rem; font-weight: 700; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid #e4e7eb; background: #fff; border-radius: 10px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #1f2937; margin: 5px 0; border-radius: 99px; transition: .18s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 4px; padding: 9px 14px; font-weight: 800; line-height: 1.1; transition: .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ax-primary); color: #fff; box-shadow: 0 5px 14px rgba(244,81,30,.20); }
.btn-primary:hover { background: var(--ax-primary-dark); }
.btn-outline { background: #fff; color: var(--ax-primary); border: 1px solid #ffb39c; }
.btn-outline:hover { background: #fff6f3; border-color: var(--ax-primary); }
.btn-ghost { background: #fff; color: #393d45; border: 1px solid #e5e7eb; }
.btn-dark { background: #111827; color: #fff; }
.btn-small { min-height: 32px; padding: 8px 12px; font-size: .78rem; width: 100%; }
.text-link { color: var(--ax-primary); font-weight: 850; }

/* Home marketplace */
.home-marketplace { padding-bottom: 18px; }
.cd-hero { background: var(--ax-bg); padding: 14px 0 0; }
.hero-shell {
  display: grid;
  grid-template-columns: 306px 1fr;
  gap: 0;
  min-height: 350px;
  border: 1px solid #e6e9ee;
  border-radius: 9px;
  overflow: hidden;
  background: #050505;
  box-shadow: var(--ax-shadow);
  position: relative;
}
.finder-card {
  align-self: center;
  margin: 22px 0 22px 22px;
  background: #fff;
  border: 1px solid rgba(233,236,239,.95);
  border-radius: 8px;
  padding: 17px 17px 15px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  position: relative;
  z-index: 2;
  transform: none;
}
.finder-card h1 { margin: 0 0 14px; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1.15; }
.finder-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #edf0f3; margin: 0 -4px 12px; }
.finder-tabs button { border: 0; background: transparent; padding: 8px 0; cursor: pointer; color: #747a84; font-weight: 800; font-size: .8rem; position: relative; }
.finder-tabs .is-active { color: var(--ax-text); }
.finder-tabs .is-active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; background: var(--ax-primary); border-radius: 99px; }
.finder-form { display: grid; gap: 10px; }
.finder-form label { display: inline-flex; align-items: center; gap: 6px; color: #5f6368; font-size: .76rem; font-weight: 700; margin-right: 12px; }
.finder-form label:nth-of-type(2) { margin-left: 5px; }
.finder-form select, .finder-form input[type="search"] { width: 100%; border: 1px solid #dfe3e8; border-radius: 5px; padding: 10px 11px; outline: none; background: #fff; color: #333842; font-size: .8rem; }
.finder-form .btn { margin-top: 2px; min-height: 42px; border-radius: 5px; }
.finder-link { display: block; text-align: right; color: #6c727c; font-size: .72rem; margin-top: 11px; }
.hero-banner {
  min-height: 350px;
  color: #fff;
  overflow: hidden;
  position: relative;
  display: block;
  isolation: isolate;
  background-color: #050505;
}
.hero-banner-image {
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.28) 18%, rgba(5,5,5,0) 42%),
    url('../images/hero-nissan-tekton.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-banner-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(5,5,5,0), rgba(5,5,5,.38));
  pointer-events: none;
}
.hero-bg-link { position: absolute; inset: 0; z-index: 2; display: block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.banner-copy { max-width: 390px; position: relative; z-index: 2; }
.banner-copy span { display: inline-block; color: #cfd5dd; font-size: .72rem; letter-spacing: .22em; font-weight: 900; margin-bottom: 7px; }
.banner-copy h2 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 3.55rem); line-height: .96; letter-spacing: -.075em; text-transform: uppercase; }
.banner-copy p { color: rgba(255,255,255,.7); max-width: 320px; font-size: .83rem; margin: 12px 0 14px; }
.banner-cta { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 34px; border-radius: 3px; background: #ec3323; color: #fff; text-transform: uppercase; font-weight: 900; font-size: .76rem; letter-spacing: .03em; }
.hero-car-visual { display: none; }

.ad-break { height: 58px; display: grid; place-items: center; color: #b7bbc1; font-size: .72rem; }
.ad-break span { width: 30px; height: 20px; border: 1px solid #dfe3e8; border-radius: 4px; display: grid; place-items: center; background: #fff; }

.car-row-panel { background: #fff; border: 1px solid #e6e9ee; border-radius: 9px; box-shadow: var(--ax-shadow); padding: 14px 16px 12px; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.panel-head h2 { margin: 0; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.2; }
.panel-head a, .section-mini-link { color: var(--ax-primary); font-weight: 800; font-size: .76rem; }
.soft-tabs { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid #edf0f3; margin: -2px 0 13px; overflow-x: auto; }
.soft-tabs span { display: inline-flex; padding: 0 0 8px; color: #6b7280; font-size: .76rem; font-weight: 750; white-space: nowrap; position: relative; }
.soft-tabs .active { color: var(--ax-text); }
.soft-tabs .active::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--ax-primary); border-radius: 99px; }
.section-mini-link { display: inline-flex; margin-top: 10px; }

/* Cards */
.vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.carousel-grid { position: relative; }
.vehicle-grid.is-loading { opacity: .5; pointer-events: none; }
.vehicle-card { overflow: hidden; border-radius: 6px; background: #fff; border: 1px solid #e3e7ed; transition: .18s ease; position: relative; box-shadow: none; }
.vehicle-card:hover { box-shadow: var(--ax-shadow-hover); transform: translateY(-2px); }
.vehicle-media { position: relative; height: 143px; background: #f4f6f8; display: grid; place-items: center; overflow: hidden; }
.vehicle-img { width: 100%; height: 143px; object-fit: cover; transition: transform .22s ease; }
.vehicle-card:hover .vehicle-img { transform: scale(1.035); }
.vehicle-placeholder { width: 100%; height: 143px; display: grid; place-items: center; text-align: center; padding: 12px; color: #fff; background: linear-gradient(135deg, #dadde2, #eff1f4); position: relative; overflow: hidden; }
.vehicle-placeholder::before { content: ""; width: 74%; height: 42%; border-radius: 55px 70px 22px 20px; background: linear-gradient(135deg, #e7a51e, #1f2937); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); box-shadow: inset 0 -10px 0 rgba(0,0,0,.16); }
.vehicle-placeholder::after { content: ""; position: absolute; width: 36%; height: 20%; top: 38%; left: 32%; border-radius: 40px 40px 10px 10px; background: rgba(255,255,255,.55); }
.vehicle-placeholder span, .vehicle-placeholder small { position: relative; z-index: 1; display: none; }
.badge { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 3px; font-size: .58rem; line-height: 1; font-weight: 850; color: #4a4f57; background: #fff; border: 1px solid #e3e7ed; box-shadow: 0 2px 7px rgba(0,0,0,.08); }
.badge-hot { color: #4a4f57; background: #fff; }
.vehicle-body { padding: 9px 10px 11px; }
.vehicle-meta-top { display: none; }
.vehicle-body h3 { margin: 0 0 4px; font-size: .82rem; line-height: 1.25; letter-spacing: -.012em; color: #25282e; min-height: 32px; }
.vehicle-body h3 a:hover { color: var(--ax-primary); }
.vehicle-price { margin: 0 0 8px; font-size: .76rem; font-weight: 800; color: #30343b; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.vehicle-specs span { background: #f5f6f8; color: #68707a; padding: 3px 6px; border-radius: 20px; font-size: .65rem; font-weight: 700; }
.emi-text { margin: -2px 0 8px; color: var(--ax-blue); font-weight: 800; font-size: .68rem; }
.vehicle-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
.compare-check { display: inline-flex; align-items: center; gap: 5px; color: #737984; font-size: .68rem; font-weight: 700; }
.compare-check input { accent-color: var(--ax-primary); }
.demo-card .vehicle-actions .compare-check { display: none; }

/* Demo car art */
.vehicle-media[class*="demo-car-"] { background: linear-gradient(180deg, #e5e7eb, #f6f7f9); }
.demo-car-blue { background: linear-gradient(180deg, #dceafd, #f5f7fb) !important; }
.demo-car-yellow, .demo-car-gold { background: linear-gradient(180deg, #ece5d5, #f8f9fb) !important; }
.demo-car-red { background: linear-gradient(180deg, #f1dede, #f8f9fb) !important; }
.demo-car-green { background: linear-gradient(180deg, #dcebe0, #f8f9fb) !important; }
.demo-car-black, .demo-car-grey, .demo-car-silver { background: linear-gradient(180deg, #d7d9de, #f8f9fb) !important; }
.demo-car-purple { background: linear-gradient(180deg, #e6dff2, #f8f9fb) !important; }
.mini-car-shape { position: relative; width: 84%; height: 76px; transform: translateY(11px); }
.mini-car-shape span { position: absolute; inset: 28px 0 15px; border-radius: 24px 42px 16px 14px; background: linear-gradient(135deg, #e8a11a, #111827); box-shadow: inset 0 -11px 0 rgba(0,0,0,.13), 0 12px 16px rgba(0,0,0,.12); }
.demo-car-blue .mini-car-shape span { background: linear-gradient(135deg, #1559b7, #4da3ff); }
.demo-car-red .mini-car-shape span { background: linear-gradient(135deg, #c81d25, #ff5f59); }
.demo-car-green .mini-car-shape span { background: linear-gradient(135deg, #95c55f, #ddf1b7); }
.demo-car-black .mini-car-shape span { background: linear-gradient(135deg, #111827, #4b5563); }
.demo-car-grey .mini-car-shape span, .demo-car-silver .mini-car-shape span { background: linear-gradient(135deg, #9ca3af, #e5e7eb); }
.demo-car-purple .mini-car-shape span { background: linear-gradient(135deg, #4c1d95, #9f7aea); }
.mini-car-shape i { position: absolute; top: 8px; left: 31%; width: 38%; height: 34px; border-radius: 50px 50px 8px 8px; background: rgba(255,255,255,.58); transform: skewX(-13deg); }
.mini-car-shape b, .mini-car-shape::after { content: ""; position: absolute; bottom: 2px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, #f8fafc 0 17%, #111827 19% 57%, #000 59%); border: 4px solid #e5e7eb; }
.mini-car-shape b { left: 22%; } .mini-car-shape::after { right: 19%; }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-tile { min-height: 86px; border: 1px solid #e3e7ed; border-radius: 6px; display: grid; place-items: center; gap: 6px; background: #fff; padding: 10px; transition: .16s ease; }
.brand-tile:hover { box-shadow: var(--ax-shadow-hover); transform: translateY(-1px); }
.brand-tile span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #f5f6f8; color: #344154; font-weight: 900; font-size: 1.25rem; }
.brand-tile small { color: #3e444c; font-weight: 750; font-size: .72rem; text-align: center; }

.story-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.story-card { height: 165px; border-radius: 6px; padding: 12px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; background: linear-gradient(135deg, #0f172a, #334155); }
.story-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.32), transparent 25%); }
.story-1 { background: linear-gradient(135deg, #cddc39, #0f172a); }
.story-2 { background: linear-gradient(135deg, #ef4444, #111827); }
.story-3 { background: linear-gradient(135deg, #16a34a, #1f2937); }
.story-4 { background: linear-gradient(135deg, #2563eb, #111827); }
.story-5 { background: linear-gradient(135deg, #f59e0b, #0f172a); }
.story-card span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.86); color: #111827; font-size: .8rem; }
.story-card h3 { position: relative; margin: 0; font-size: .77rem; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

.compare-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.compare-card { border: 1px solid #e3e7ed; border-radius: 7px; padding: 12px; display: grid; gap: 10px; }
.mini-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; text-align: center; min-height: 76px; }
.mini-vs b { background: #f5f6f8; border-radius: 6px; padding: 13px 8px; font-size: .75rem; }
.mini-vs span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #202124; color: #fff; font-size: .62rem; font-weight: 900; }

.city-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #eef0f3; border-radius: 7px; overflow: hidden; }
.city-grid a { min-height: 76px; display: grid; place-items: center; text-align: center; border-right: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; background: #fff; }
.city-grid span { display: block; color: #9ca3af; font-size: .64rem; }
.city-grid strong { display: block; color: #5f6368; font-size: .72rem; margin-top: 2px; }
.city-grid a:hover strong { color: var(--ax-primary); }

.news-grid, .guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.news-card, .guide-card { border: 1px solid #e3e7ed; border-radius: 7px; overflow: hidden; background: #fff; }
.news-thumb { height: 96px; background: linear-gradient(135deg, #2563eb, #0f172a); }
.thumb-2 { background: linear-gradient(135deg, #16a34a, #1f2937); }
.thumb-3 { background: linear-gradient(135deg, #ef4444, #334155); }
.thumb-4 { background: linear-gradient(135deg, #f59e0b, #0f172a); }
.news-card h3, .guide-card h3 { margin: 9px 10px 5px; font-size: .79rem; line-height: 1.25; letter-spacing: -.01em; }
.news-card p, .guide-card p { margin: 0 10px 11px; color: #7b8088; font-size: .69rem; line-height: 1.4; }
.guide-card { min-height: 142px; padding-top: 44px; position: relative; }
.guide-card::before { content: ""; position: absolute; top: 12px; left: 10px; right: 10px; height: 22px; border-radius: 5px; background: #f5f6f8; }

/* Shared old templates / pages */
.section { padding: 24px 0; background: var(--ax-bg); position: relative; }
.light-section { background: var(--ax-bg); }
.section-head { margin-bottom: 14px; max-width: 720px; }
.section-head h2, .tool-card h2, .content-card h2 { margin: 4px 0; font-size: clamp(1.2rem, 2vw, 1.85rem); line-height: 1.08; letter-spacing: -.04em; }
.section-head p { color: var(--ax-muted); margin: 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; max-width: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ax-primary); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .65rem; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--ax-primary); }
.budget-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.budget-card, .category-card, .tool-card, .content-card, .why-card, .filter-panel, .listing-toolbar, .compare-panel, .compare-table-wrap, .dealer-card, .post-card { border: 1px solid #e3e7ed; box-shadow: var(--ax-shadow); background: #fff; border-radius: 9px; }
.budget-card, .category-card { padding: 13px; transition: .16s ease; }
.budget-card:hover, .category-card:hover, .dealer-card:hover, .post-card:hover { transform: translateY(-2px); box-shadow: var(--ax-shadow-hover); }
.budget-card span { display: block; color: #25282e; font-weight: 900; margin-bottom: 6px; }
.budget-card strong { color: var(--ax-primary); font-size: .76rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.category-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--ax-primary); }
.category-card strong { display: block; margin-top: 8px; }
.category-card small { color: var(--ax-muted); }

.archive-hero, .single-hero { color: #fff; padding: 34px 0; background: linear-gradient(135deg, #111216, #272a31); position: relative; overflow: hidden; }
.archive-hero h1, .single-summary h1 { margin: 6px 0 8px; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.06em; }
.archive-hero p, .single-summary p { max-width: 720px; color: rgba(255,255,255,.72); margin: 0; }
.listing-layout { display: grid; grid-template-columns: 245px 1fr; gap: 14px; align-items: start; }
.filter-panel { position: sticky; top: 92px; padding: 14px; }
.filter-panel h3 { margin: 0 0 12px; font-size: 1rem; }
.filter-panel form { display: grid; gap: 10px; }
.filter-panel label, .lead-form label, .compare-select label, .calc-grid label, .form-grid label { display: grid; gap: 5px; font-weight: 800; color: #4b5563; font-size: .78rem; }
.filter-panel select, .lead-form input, .sticky-enquiry input, .compare-select input, .calc-grid input, .form-grid input { width: 100%; border: 1px solid #dfe3e8; border-radius: 5px; padding: 9px 10px; outline: none; background: #fff; color: #333842; font-weight: 600; }
.filter-panel select:focus, .lead-form input:focus, .sticky-enquiry input:focus, .compare-select input:focus, .calc-grid input:focus, .form-grid input:focus { border-color: var(--ax-primary); box-shadow: 0 0 0 3px rgba(244,81,30,.1); }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 10px 12px; color: var(--ax-muted); font-size: .84rem; }
.listing-toolbar strong { color: var(--ax-text); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 24px; background: #fff; border-radius: 9px; border: 1px dashed #cfd5dd; color: var(--ax-muted); }
.empty-state h3 { color: var(--ax-text); margin: 0 0 6px; }
.pagination-wrap { margin-top: 16px; }
.pagination-wrap .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; margin: 0 3px 6px 0; border-radius: 5px; background: #fff; border: 1px solid #e3e7ed; font-weight: 800; color: #4b5563; }
.pagination-wrap .current { background: var(--ax-primary); color: #fff; border-color: var(--ax-primary); }

.single-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center; }
.single-gallery .main-image, .dealer-hero-card { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); min-height: 300px; display: grid; place-items: center; }
.single-gallery .vehicle-img { height: 340px; width: 100%; object-fit: cover; }
.single-gallery .main-image .vehicle-placeholder { width: 100%; height: 340px; }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumb-row img { height: 72px; width: 100%; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.single-price { font-size: 1.45rem; font-weight: 900; margin: 0 0 10px; color: #fff !important; }
.quick-specs { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 15px; }
.quick-specs span { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.13); padding: 7px 10px; border-radius: 4px; font-weight: 750; }
.single-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-layout { display: grid; grid-template-columns: 1fr 305px; gap: 14px; align-items: start; }
.detail-main { display: grid; gap: 12px; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #e3e7ed; border-radius: 9px; overflow: hidden; background: #fff; }
.spec-table div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #e3e7ed; font-weight: 700; }
.spec-table div:nth-child(odd) { background: #f8f9fa; }
.spec-table span { color: var(--ax-muted); font-weight: 800; }
.sticky-enquiry { position: sticky; top: 92px; background: #fff; color: var(--ax-text); border-radius: 9px; padding: 14px; box-shadow: var(--ax-shadow); display: grid; gap: 9px; border: 1px solid #e3e7ed; }
.sticky-enquiry p { color: var(--ax-muted); margin: 0; }
.sticky-enquiry h3 { margin: 0; }
.pro-con-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.success-box { background: #dcfce7; color: #166534; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-weight: 800; }
.sell-layout { display: grid; grid-template-columns: 1fr 305px; gap: 14px; align-items: start; }
.why-card ul { padding-left: 18px; margin: 0; }
.why-card li { margin: 7px 0; color: #4b5563; }
.compare-panel { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; padding: 12px; align-items: end; }
.compare-table-wrap { overflow-x: auto; margin-top: 14px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid #e3e7ed; text-align: left; }
.compare-table th { background: #202124; color: #fff; }
.dealer-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dealer-card, .post-card { padding: 14px; position: relative; overflow: hidden; transition: .16s ease; }
.dealer-card h2 { font-size: 1.05rem; margin: 10px 0 5px; }
.dealer-card p { color: var(--ax-muted); margin: 5px 0; }
.dealer-avatar { width: 46px; height: 46px; border-radius: 12px; background: var(--ax-primary); color: #fff; display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; }
.dealer-avatar.big { width: 120px; height: 120px; font-size: 3rem; }
.dealer-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.post-card { padding: 0; }
.post-media img, .post-media .vehicle-placeholder { height: 170px; width: 100%; object-fit: cover; }
.post-body { padding: 13px; }
.post-body h2 { margin: 0 0 6px; font-size: 1rem; line-height: 1.18; }
.post-body p { color: var(--ax-muted); margin: 0 0 10px; }
.tool-card, .content-card, .why-card { padding: 16px; }
.tools-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.calc-grid, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.emi-result { margin: 10px 0; padding: 11px 12px; border-radius: 7px; background: #fff6f3; color: #b43412; font-weight: 850; }
.emi-result.big { font-size: 1.08rem; }
.emi-result.muted { color: #4b5563; background: #f8f9fa; }
.ev-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: center; border-radius: 10px; padding: 22px; color: #fff; background: linear-gradient(135deg, #111216, #2a303b); box-shadow: var(--ax-shadow); overflow: hidden; position: relative; }
.ev-panel h2 { margin: 6px 0 7px; font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.05em; }
.ev-panel p { color: rgba(255,255,255,.72); margin: 0 0 12px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 14px; }
.feature-list span { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.08); border-radius: 4px; padding: 6px 8px; font-weight: 750; font-size: .8rem; }
.ev-card-stack { display: grid; gap: 9px; }
.mini-stat { padding: 14px; border-radius: 8px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); }
.mini-stat strong { display: block; font-size: 1.6rem; }
.mini-stat span { color: rgba(255,255,255,.66); font-weight: 750; }

/* Footer */
.site-footer { background: #fff; color: #3a3f46; border-top: 1px solid #e8eaee; margin-top: 24px; }
.footer-trust-strip { border-bottom: 1px solid #e8eaee; background: #fafafa; }
.footer-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.footer-trust-grid div { min-height: 74px; display: grid; place-content: center; text-align: center; border-right: 1px solid #e8eaee; }
.footer-trust-grid strong { font-size: .92rem; color: #333842; }
.footer-trust-grid span { color: #7b8088; font-size: .68rem; margin-top: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 26px; padding: 30px 0 18px; }
.footer-grid p { color: #7b8088; margin: 9px 0 13px; font-size: .78rem; }
.footer-grid h4 { margin: 0 0 9px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #343942; }
.footer-grid a { display: block; color: #6b7280; margin: 6px 0; font-weight: 650; font-size: .76rem; }
.footer-grid a:hover { color: var(--ax-primary); }
.footer-logo { color: #171717; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social-row a { margin: 0; padding: 6px 9px; border-radius: 4px; background: #f5f6f8; }
.newsletter-form { display: flex; gap: 6px; border: 1px solid #e3e7ed; border-radius: 6px; padding: 5px; }
.newsletter-form input { min-width: 0; flex: 1; background: transparent; border: 0; outline: none; padding-left: 6px; font-size: .78rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; color: #8a9099; border-top: 1px solid #eef0f3; padding: 14px 0; font-size: .72rem; }
.floating-whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 999; background: #22c55e; color: #fff; border-radius: 999px; padding: 10px 14px; font-weight: 900; box-shadow: 0 12px 26px rgba(34,197,94,.35); }
.compare-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 999; background: #202124; color: #fff; border-radius: 999px; padding: 10px 14px; box-shadow: var(--ax-shadow); font-weight: 850; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-shell { grid-template-columns: 292px 1fr; min-height: 330px; }
  .hero-banner { min-height: 330px; }
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid, .city-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout, .single-grid, .detail-layout, .sell-layout, .ev-panel, .tools-grid { grid-template-columns: 1fr; }
  .filter-panel, .sticky-enquiry { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-quick, .nav-actions, .header-search { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-bottom-row { min-height: 0; border: 0; }
  .main-nav { position: fixed; top: 58px; left: 14px; right: 14px; background: #fff; border: 1px solid #e3e7ed; border-radius: 10px; padding: 10px; box-shadow: var(--ax-shadow-hover); display: none; }
  body.admin-bar .main-nav { top: 104px; }
  .main-nav.is-open { display: block; }
  .main-nav .menu { display: grid; gap: 0; }
  .main-nav a { padding: 10px; border-bottom: 1px solid #f0f1f3; }
  .hero-shell { display: block; min-height: 0; background: #fff; }
  .finder-card { transform: none; margin: 12px; box-shadow: var(--ax-shadow); }
  .hero-banner { min-height: 260px; padding: 0; border-radius: 0; background-position: center right; }
  .hero-car-visual { display: none; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-card-grid { grid-template-columns: 1fr; }
  .footer-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) { body.autonexa-theme.admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .nav-wrap { min-height: 52px; }
  .cd-hero { padding-top: 10px; }
  .finder-card { padding: 15px; }
  .hero-banner { min-height: 205px; background-position: center right; }
  .banner-copy h2 { font-size: 1.65rem; }
  .hero-car-visual { display: none; }
  .ad-break { height: 40px; }
  .car-row-panel { padding: 12px; border-radius: 8px; margin-bottom: 10px; }
  .panel-head { align-items: flex-start; }
  .vehicle-grid.carousel-grid { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .vehicle-grid.carousel-grid .vehicle-card { min-width: 215px; scroll-snap-align: start; }
  .vehicle-grid:not(.carousel-grid), .budget-grid, .category-grid, .brand-grid, .story-grid, .news-grid, .guide-grid, .dealer-grid, .post-grid, .calc-grid, .form-grid, .spec-table, .pro-con-grid, .compare-panel, .footer-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card { height: 145px; }
  .single-gallery .main-image { min-height: 240px; }
  .single-gallery .vehicle-img, .single-gallery .main-image .vehicle-placeholder { height: 260px; }
  .thumb-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom, .vehicle-actions { align-items: flex-start; flex-direction: column; }
  .newsletter-form { display: grid; }
  .newsletter-form .btn { width: 100%; }
}
@media (max-width: 420px) {
  .vehicle-grid.carousel-grid .vehicle-card { min-width: 198px; }
  .finder-form label { margin-right: 4px; }
  .panel-head h2 { font-size: .98rem; }
  .footer-trust-grid { grid-template-columns: 1fr; }
}

/* SVG icon system + brand logo assets */
.ax-icon { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; flex: 0 0 auto; color: currentColor; }
.logo-mark .ax-icon { width: 20px; height: 20px; color: #fff; }
.header-search .search-icon { display: inline-flex; align-items: center; color: #8a8f98; }
.header-search .ax-icon { width: 14px; height: 14px; }
.header-quick a, .city-chip { display: inline-flex; align-items: center; gap: 5px; }
.header-quick .quick-icon, .city-chip .city-icon { width: 15px; height: 15px; color: #555b64; }
.nav-toggle .menu-icon { width: 21px; height: 21px; color: #1f2937; }
.nav-toggle span { display: none; }
.nav-toggle.is-active .menu-icon { transform: rotate(90deg); transition: .18s ease; }
.btn .btn-icon { width: 14px; height: 14px; }
.section-mini-link { align-items: center; gap: 4px; }
.link-arrow { width: 13px; height: 13px; stroke-width: 3; }
.filter-panel h3 { display: flex; align-items: center; gap: 7px; }
.filter-title-icon { width: 17px; height: 17px; color: var(--ax-primary); }

.demo-brand-mark { position: absolute; top: 8px; right: 8px; width: 46px; height: 28px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.92); border: 1px solid rgba(227,231,237,.92); box-shadow: 0 4px 10px rgba(0,0,0,.09); padding: 3px; z-index: 2; }
.demo-brand-logo, .brand-logo-img { width: 100%; height: 100%; object-fit: contain; }
.brand-letter { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #f5f6f8; color: #344154; font-weight: 900; font-size: 1.05rem; }
.brand-tile .brand-logo-wrap { width: 78px; height: 42px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: inherit; padding: 2px; }
.brand-tile .brand-logo-img { max-width: 78px; max-height: 42px; }
.brand-tile:hover .brand-logo-wrap { background: #fff8f5; }

.story-card .story-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #111827; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.story-card .story-play .play-icon { width: 30px; height: 30px; }
.footer-trust-grid div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.trust-icon { width: 22px; height: 22px; color: #344154; margin-bottom: 3px; }
.floating-whatsapp { display: inline-flex; align-items: center; gap: 7px; }
.floating-whatsapp .whatsapp-icon { width: 18px; height: 18px; }
.demo-car-white { background: linear-gradient(180deg, #e9eef5, #ffffff) !important; }
.demo-car-white .mini-car-shape span { background: linear-gradient(135deg, #f8fafc, #cbd5e1); }

/* Ensure demo fallback cards make empty websites look populated and premium */
.archive-page .vehicle-grid .demo-card { min-width: 0; }
.empty-state + .demo-card { margin-top: 0; }

/* v1.5.0 matched frontend/admin premium polish */
.admin-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border-radius: 999px; background: #fff6f3; color: var(--ax-primary); border: 1px solid #ffccb9; font-size: .74rem; font-weight: 900; }
.admin-chip:hover { background: var(--ax-primary); color: #fff; }
.home-trust-strip { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e6e9ee; border-radius: 9px; background: #fff; box-shadow: var(--ax-shadow); overflow: hidden; }
.home-trust-strip div { min-height: 70px; display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-content: center; padding: 12px 18px; border-right: 1px solid #edf0f3; }
.home-trust-strip div:last-child { border-right: 0; }
.home-trust-strip span { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff6f3; color: var(--ax-primary); }
.home-trust-strip .trust-strip-icon { width: 18px; height: 18px; }
.home-trust-strip strong { font-size: .86rem; color: #2d333b; line-height: 1.1; }
.home-trust-strip small { margin-top: 3px; color: #7b8088; font-size: .69rem; font-weight: 650; }
.car-row-panel, .hero-shell, .home-trust-strip { outline: 1px solid rgba(255,255,255,.62); }
.car-row-panel:hover { box-shadow: var(--ax-shadow-hover); }
.vehicle-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }
.finder-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 99px 99px; background: linear-gradient(90deg, var(--ax-primary), #ff8a65); }
.hero-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); z-index: 1; }
.hero-shell .finder-card { z-index: 3; }
.archive-hero::after, .single-hero::after { content: ""; position: absolute; right: -120px; bottom: -95px; width: 340px; height: 180px; border-radius: 80px 110px 28px 24px; background: linear-gradient(135deg, rgba(244,81,30,.45), rgba(255,255,255,.08)); opacity: .62; }
.archive-hero .container, .single-hero .container { position: relative; z-index: 1; }
.filter-panel h3::after, .sticky-enquiry h3::after, .tool-card h2::after, .content-card h2::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 7px; border-radius: 99px; background: var(--ax-primary); }
@media (max-width: 900px) {
  .home-trust-strip { grid-template-columns: repeat(2, 1fr); }
  .home-trust-strip div:nth-child(2) { border-right: 0; }
  .home-trust-strip div { border-bottom: 1px solid #edf0f3; }
  .home-trust-strip div:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .home-trust-strip { grid-template-columns: 1fr; }
  .home-trust-strip div { border-right: 0; border-bottom: 1px solid #edf0f3 !important; min-height: 62px; padding: 10px 12px; }
  .home-trust-strip div:last-child { border-bottom: 0 !important; }
}

/* v1.6.0 working functions + demo fallback polish */
.demo-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 4px 7px;
  margin-bottom: 7px;
  border-radius: 999px;
  background: #fff6f3;
  color: var(--ax-primary);
  border: 1px solid #ffccb9;
  font-size: .62rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.demo-dealer-card::before, .demo-post-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 3px;
  height: 100%;
  background: var(--ax-primary);
}
.demo-thumb-row span {
  min-height: 58px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 850;
}
.single-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  margin: 4px 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-weight: 850;
  font-size: .76rem;
}
.single-brand-logo {
  width: 28px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.compact-lead-form { display: grid; gap: 9px; }
.lead-form textarea,
.sticky-enquiry textarea,
.compare-select select {
  width: 100%;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  padding: 9px 10px;
  outline: none;
  background: #fff;
  color: #333842;
  font-weight: 600;
}
.compare-select select:focus, .lead-form textarea:focus {
  border-color: var(--ax-primary);
  box-shadow: 0 0 0 3px rgba(244,81,30,.1);
}
.finance-lead-card { position: sticky; top: 92px; }
.footer-success { padding: 7px 9px; margin: 0 0 8px; font-size: .74rem; }
.post-body .demo-label { margin-bottom: 9px; }
.compare-table td[data-compare-cell], .compare-table th[data-compare-head] { font-weight: 850; }
.compare-table td[data-compare-cell*="price"] { color: var(--ax-primary); }
.classic-editor-note {
  border: 1px dashed #ffb39c;
  background: #fff6f3;
  color: #b43412;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 850;
}
@media (max-width: 1080px) {
  .finance-lead-card { position: static; }
}

/* v1.7 complete automobile sector polish */
.archive-pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.archive-pill-row a{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px;text-decoration:none}.auto-sector-panel{background:linear-gradient(180deg,#fff,#fff7f4)}.sector-grid{display:grid;grid-template-columns:repeat(9,minmax(92px,1fr));gap:10px}.sector-tile{border:1px solid #eef0f5;background:#fff;border-radius:14px;padding:14px 10px;text-align:center;text-decoration:none;color:#18202f;box-shadow:0 8px 24px rgba(16,24,40,.04);transition:.2s ease}.sector-tile:hover{transform:translateY(-2px);border-color:#ff6b45;box-shadow:0 14px 34px rgba(255,88,55,.12)}.sector-tile span{width:42px;height:42px;margin:0 auto 8px;border-radius:13px;background:#fff3ee;color:#ff4f2f;display:flex;align-items:center;justify-content:center}.sector-icon{width:23px;height:23px}.sector-tile strong{display:block;font-size:13px;line-height:1.15}.sector-tile small{display:block;color:#6b7280;font-size:11px;margin-top:5px;line-height:1.25}.sector-stack{margin-top:12px}.demo-type-bike .mini-car-shape{border-radius:28px 28px 12px 12px;transform:scale(.85)}.demo-type-truck .mini-car-shape,.demo-type-commercial_vehicle .mini-car-shape{width:94px;border-radius:10px 22px 12px 12px}.demo-type-tractor .mini-car-shape{width:86px;border-radius:30px 10px 12px 12px}.demo-type-auto_service .mini-car-shape,.demo-type-auto_accessory .mini-car-shape{width:78px;border-radius:18px;background:linear-gradient(135deg,#fff,#ffe1d8)}.single-brand-line{display:flex;align-items:center;gap:8px;margin:8px 0}.single-brand-logo{width:34px;height:26px;object-fit:contain}.detail-layout .content-card h2,.detail-layout .content-card h3{letter-spacing:-.02em}.service-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.service-detail-grid div{border:1px solid #eef0f5;border-radius:14px;padding:14px;background:#fff}.service-detail-grid strong{display:block;color:#111827}.service-detail-grid small{color:#6b7280}.header-quick a,.nav-actions a{white-space:nowrap}.vehicle-placeholder .mini-car-shape{margin:18px auto 0}.commercial-showcase{background:#fff}.search-icon .ax-icon{width:16px}.hero-shell{overflow:hidden}.hero-banner-image{background-image:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,0)),url('../images/hero-nissan-tekton.jpg')}
@media (max-width:1180px){.sector-grid{grid-template-columns:repeat(5,1fr)}}@media (max-width:760px){.sector-grid{display:flex;overflow-x:auto;padding-bottom:6px}.sector-tile{min-width:128px}.service-detail-grid{grid-template-columns:1fr}.archive-pill-row{overflow-x:auto;flex-wrap:nowrap}.archive-pill-row a{white-space:nowrap}.sector-stack{margin-top:10px}}

/* v1.8.0 unified light marketplace detail design */
.archive-hero {
  background: var(--ax-bg);
  color: var(--ax-text);
  padding: 14px 0 0;
  overflow: visible;
}
.archive-hero::after { display: none; }
.archive-hero .container {
  border: 1px solid #e6e9ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--ax-shadow);
  padding: 18px 20px;
}
.archive-hero h1 { color: #202124; font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.045em; }
.archive-hero p { color: #6b7280; max-width: 820px; }
.archive-pill-row a {
  background: #fff6f3;
  color: var(--ax-primary);
  border-color: #ffccb9;
}

.single-vehicle-page .single-hero {
  background: var(--ax-bg);
  color: var(--ax-text);
  padding: 14px 0 0;
  overflow: visible;
}
.single-vehicle-page .single-hero::after { display: none; }
.single-vehicle-page .single-grid {
  grid-template-columns: minmax(0, 1.12fr) 370px;
  gap: 16px;
  align-items: stretch;
  border: 1px solid #e6e9ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--ax-shadow);
  padding: 14px;
}
.single-vehicle-page .single-gallery {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.single-vehicle-page .single-gallery .main-image,
.single-vehicle-page .dealer-hero-card {
  min-height: 330px;
  border-radius: 8px;
  border: 1px solid #e3e7ed;
  background: linear-gradient(180deg, #f6f7f9, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.single-vehicle-page .single-gallery .vehicle-img,
.single-vehicle-page .single-gallery .main-image .vehicle-placeholder {
  height: 330px;
  border-radius: 8px;
}
.single-vehicle-page .thumb-row {
  margin-top: 0;
  gap: 8px;
}
.single-vehicle-page .thumb-row img,
.single-vehicle-page .demo-thumb-row span {
  height: 62px;
  min-height: 62px;
  border-radius: 6px;
  border: 1px solid #e3e7ed;
  background: #f8f9fa;
  color: #69707a;
}
.single-vehicle-page .single-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 4px 8px 0;
}
.single-vehicle-page .single-summary h1 {
  margin: 6px 0 8px;
  color: #202124;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
  letter-spacing: -.055em;
}
.single-vehicle-page .single-summary p { color: var(--ax-muted); }
.single-vehicle-page .single-price {
  color: #202124 !important;
  margin: 2px 0 5px;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}
.single-subnote {
  margin: 0 0 10px !important;
  max-width: 100% !important;
  color: #6b7280 !important;
  font-size: .8rem;
}
.single-vehicle-page .single-brand-line {
  width: max-content;
  max-width: 100%;
  border: 1px solid #e6e9ee;
  background: #fff;
  color: #3a3f46;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(32,33,36,.05);
}
.single-vehicle-page .single-brand-logo { filter: none; width: 34px; height: 22px; }
.single-vehicle-page .quick-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 11px 0;
}
.single-vehicle-page .quick-specs span {
  display: grid;
  gap: 3px;
  background: #f8f9fa;
  border: 1px solid #e8ebef;
  border-radius: 7px;
  color: #25282e;
  padding: 9px 10px;
  font-weight: 850;
  min-width: 0;
}
.single-vehicle-page .quick-specs small {
  display: block;
  color: #7b8088;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.single-trust-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 12px;
}
.single-trust-mini div {
  border: 1px solid #ffe0d4;
  border-radius: 7px;
  background: #fff6f3;
  padding: 9px 10px;
}
.single-trust-mini strong { display: block; color: #b43412; font-size: .78rem; }
.single-trust-mini small { display: block; color: #7b4a3d; font-size: .68rem; margin-top: 2px; }
.single-vehicle-page .single-actions .btn { flex: 1 1 150px; min-height: 38px; }
.single-vehicle-page .section { padding: 14px 0; }
.single-vehicle-page .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.single-vehicle-page .content-card,
.single-vehicle-page .tool-card,
.single-vehicle-page .sticky-enquiry,
.single-vehicle-page .car-row-panel {
  border-radius: 9px;
  box-shadow: var(--ax-shadow);
}
.single-vehicle-page .content-card h2,
.single-vehicle-page .tool-card h2,
.single-vehicle-page .sticky-enquiry h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.single-vehicle-page .content-card h2::after,
.single-vehicle-page .tool-card h2::after,
.single-vehicle-page .sticky-enquiry h3::after { margin-top: 6px; }
.single-vehicle-page .spec-table {
  border-radius: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.single-vehicle-page .spec-table div {
  align-items: center;
  padding: 10px 11px;
}
.single-vehicle-page .pro-con-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}
.single-vehicle-page .pro-con-grid > div {
  border: 1px solid #eef0f3;
  border-radius: 8px;
  background: #fafafa;
  padding: 12px;
}
.single-vehicle-page .pro-con-grid h3 { margin: 0 0 6px; font-size: .9rem; }
.single-vehicle-page .pro-con-grid p { margin: 0; color: #6b7280; font-size: .8rem; }
.single-vehicle-page .service-detail-grid div { border-radius: 8px; background: #fafafa; }
.single-vehicle-page .sticky-enquiry { top: 96px; }
.single-vehicle-page .sticky-enquiry .btn { width: 100%; min-height: 40px; }
.related-vehicles-section { padding-top: 0 !important; }
.compact-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .single-vehicle-page .single-grid,
  .single-vehicle-page .detail-layout { grid-template-columns: 1fr; }
  .single-vehicle-page .single-summary { padding: 0; }
  .single-vehicle-page .sticky-enquiry { position: static; }
  .compact-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .single-vehicle-page .single-grid { padding: 10px; gap: 12px; }
  .single-vehicle-page .single-gallery .main-image,
  .single-vehicle-page .single-gallery .vehicle-img,
  .single-vehicle-page .single-gallery .main-image .vehicle-placeholder { min-height: 230px; height: 230px; }
  .single-vehicle-page .quick-specs,
  .single-trust-mini,
  .single-vehicle-page .spec-table,
  .single-vehicle-page .pro-con-grid,
  .compact-related-grid { grid-template-columns: 1fr; }
  .archive-hero .container { padding: 14px; }
}

/* v1.9.0 working-state polish */
.error-box {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: .84rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.compare-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1f2937;
  color: #fff;
  box-shadow: 0 16px 45px rgba(0,0,0,.25);
  font-size: .86rem;
}
.compare-toast a { color: #fff; text-decoration: underline; font-weight: 800; }
.finder-tabs { flex-wrap: wrap; }
.finder-tabs button { cursor: pointer; }
.filter-panel input[type="search"] {
  width: 100%;
  border: 1px solid var(--ax-border);
  border-radius: 8px;
  padding: 10px 11px;
  outline: none;
  background: #fff;
  font: inherit;
}
.filter-panel input[type="search"]:focus { border-color: var(--ax-primary); box-shadow: 0 0 0 3px rgba(244,91,30,.12); }
.dealer-demo-badges {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.dealer-demo-badges span {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .72rem;
  font-weight: 850;
  color: #30343b;
}
.single-dealer-page .dealer-hero-card { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff4ee, #fff, #eef6ff); }
.single-dealer-page .dealer-avatar.big { width: 96px; height: 96px; font-size: 2.3rem; box-shadow: 0 16px 40px rgba(244,91,30,.18); }
@media (max-width: 640px) {
  .compare-toast { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
}

/* AutoNexa v2.0 pro modules */
.header-search{position:relative;}
.autocomplete-panel{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #e6e9ee;border-radius:10px;box-shadow:0 14px 32px rgba(15,23,42,.16);padding:6px;display:none;z-index:2000;}
.autocomplete-panel.is-open{display:grid;gap:4px;}
.autocomplete-panel a{display:grid;gap:2px;padding:9px 10px;border-radius:8px;color:#202124;}
.autocomplete-panel a:hover{background:#fff5f1;color:#f4511e;}
.autocomplete-panel strong{font-size:.8rem;line-height:1.2;}
.autocomplete-panel span{font-size:.68rem;color:#7b8088;}
.finance-grid,.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start;}
.dashboard-wide{grid-column:1/-1;}
.pro-form-card .lead-form,.pro-add-form{gap:11px;}
.pro-add-form textarea,.review-form textarea{min-height:82px;}
.service-detail-grid a{display:block;color:inherit;}
.dealer-action-card .service-detail-grid{grid-template-columns:repeat(3,1fr);}
.dealer-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;}
.dealer-stats-row div{border:1px solid #e6e9ee;background:#fff;border-radius:9px;padding:12px;display:grid;gap:3px;}
.dealer-stats-row strong{font-size:1.1rem;}.dealer-stats-row span{font-size:.7rem;color:#7b8088;}
.onroad-tool{background:#fff;border:1px solid #e6e9ee;border-radius:9px;box-shadow:var(--ax-shadow);padding:16px;}
.onroad-breakup{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px;}
.onroad-breakup div{border:1px solid #e6e9ee;background:#fbfbfc;border-radius:8px;padding:10px;display:grid;gap:4px;}
.onroad-breakup span{font-size:.68rem;color:#7b8088;font-weight:800;text-transform:uppercase;letter-spacing:.02em;}
.onroad-breakup strong{font-size:.9rem;}.onroad-breakup .onroad-total{background:#fff4ef;border-color:#ffc7b4;}.onroad-total strong{color:#f4511e;font-size:1rem;}
.review-panel .inner-head{margin-bottom:10px;}.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px;}
.review-card{border:1px solid #e6e9ee;background:#fff;border-radius:9px;padding:11px;display:grid;gap:5px;}.review-card strong{font-size:.86rem;}.review-card span{color:#f59e0b;font-weight:900;font-size:.75rem;}.review-card p{margin:0;color:#5f6368;font-size:.78rem;}
.review-form{border-top:1px solid #eef0f3;padding-top:12px;}
.compare-table tbody tr:nth-child(odd){background:#fff;}.compare-table tbody tr:nth-child(even){background:#fbfbfc;}.compare-table td:first-child{font-weight:900;color:#202124;}
.pro-admin-note{border:1px solid #e6e9ee;background:#fff;border-radius:10px;padding:12px;box-shadow:var(--ax-shadow);}
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}.faq-grid div{border:1px solid #e6e9ee;border-radius:9px;background:#fbfbfc;padding:12px;}.faq-grid p{margin:.4rem 0 0;color:#5f6368;}
@media (max-width: 860px){.finance-grid,.dashboard-grid,.dealer-action-card .service-detail-grid,.onroad-breakup,.review-grid,.faq-grid{grid-template-columns:1fr;}.dashboard-wide{grid-column:auto;}.autocomplete-panel{position:fixed;left:14px;right:14px;top:74px;}.dealer-stats-row{grid-template-columns:1fr;}}


/* v2.1.0 mobile responsive container alignment patch */
:root { --ax-container-gutter: 14px; }
html, body.autonexa-theme { max-width: 100%; overflow-x: hidden; }
.container,
.narrow {
  width: min(1180px, calc(100% - (var(--ax-container-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
}
img, svg, video, iframe { max-width: 100%; }
.vehicle-card, .content-card, .tool-card, .car-row-panel, .hero-shell, .home-trust-strip,
.filter-panel, .listing-toolbar, .sticky-enquiry, .dealer-card, .post-card, .onroad-tool {
  max-width: 100%;
}

@media (max-width: 900px) {
  :root { --ax-container-gutter: 10px; }
  body.autonexa-theme { font-size: 13.5px; }
  .site-header .container { width: 100%; padding-left: 10px; padding-right: 10px; }
  .nav-wrap { gap: 10px; }
  .text-logo { font-size: .96rem; }
  .logo-mark { width: 27px; height: 27px; }
  .main-nav {
    left: 10px;
    right: 10px;
    top: 58px;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }
  body.admin-bar .main-nav { top: 104px; max-height: calc(100dvh - 124px); }
  .cd-hero { padding-top: 10px; }
  .hero-shell,
  .archive-hero .container,
  .single-vehicle-page .single-grid,
  .car-row-panel,
  .home-trust-strip,
  .content-card,
  .tool-card,
  .filter-panel,
  .listing-toolbar,
  .sticky-enquiry,
  .onroad-tool,
  .dealer-card,
  .post-card,
  .compare-panel,
  .compare-table-wrap {
    border-radius: 8px;
  }
  .listing-layout,
  .single-vehicle-page .detail-layout,
  .sell-layout,
  .tools-grid,
  .finance-grid,
  .dashboard-grid {
    gap: 10px;
  }
  .filter-panel { padding: 12px; }
  .listing-toolbar { padding: 9px 10px; }
}

@media (max-width: 640px) {
  :root { --ax-container-gutter: 6px; }
  body.autonexa-theme {
    background: #f5f5f5;
    width: 100%;
    min-width: 0;
  }
  .container,
  .narrow {
    width: 100%;
    max-width: 100%;
    padding-left: var(--ax-container-gutter);
    padding-right: var(--ax-container-gutter);
    margin-left: auto;
    margin-right: auto;
  }
  .site-header .container { padding-left: 8px; padding-right: 8px; }
  .home-marketplace,
  .section,
  .archive-hero,
  .single-vehicle-page .single-hero,
  .cd-hero {
    width: 100%;
    overflow-x: clip;
  }
  .nav-wrap { min-height: 50px; }
  .nav-toggle { width: 36px; height: 36px; border-radius: 8px; }
  .main-nav { left: 6px; right: 6px; border-radius: 8px; }

  .hero-shell {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column-reverse;
    background: #fff;
  }
  .finder-card {
    width: auto;
    margin: 0;
    border-radius: 0 0 8px 8px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    padding: 13px 12px 14px;
  }
  .finder-card h1 { font-size: 1.08rem; margin-bottom: 10px; }
  .finder-tabs { margin-bottom: 10px; }
  .finder-tabs button { padding: 7px 0; }
  .finder-form { gap: 8px; }
  .finder-form select,
  .finder-form input[type="search"] { min-height: 40px; padding: 9px 10px; }
  .finder-form .btn { min-height: 40px; }
  .finder-link { margin-top: 8px; }
  .hero-banner {
    min-height: 164px;
    border-radius: 8px 8px 0 0;
    background-size: cover;
    background-position: center right;
  }
  .hero-banner-image { background-position: center right; }

  .home-trust-strip,
  .car-row-panel,
  .archive-hero .container,
  .single-vehicle-page .single-grid,
  .content-card,
  .tool-card,
  .filter-panel,
  .listing-toolbar,
  .sticky-enquiry,
  .onroad-tool,
  .dealer-card,
  .post-card,
  .compare-panel,
  .compare-table-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
  }
  .car-row-panel { padding: 11px 10px; margin-bottom: 9px; }
  .panel-head { gap: 8px; margin-bottom: 8px; }
  .panel-head h2 { font-size: .96rem; line-height: 1.2; }
  .panel-head a, .section-mini-link { font-size: .72rem; white-space: nowrap; }
  .soft-tabs { gap: 15px; margin-bottom: 10px; padding-bottom: 1px; }
  .soft-tabs::-webkit-scrollbar,
  .vehicle-grid.carousel-grid::-webkit-scrollbar,
  .sector-grid::-webkit-scrollbar,
  .archive-pill-row::-webkit-scrollbar { display: none; }
  .soft-tabs,
  .vehicle-grid.carousel-grid,
  .sector-grid,
  .archive-pill-row { scrollbar-width: none; }

  .vehicle-grid.carousel-grid {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    width: calc(100% + 20px);
  }
  .vehicle-grid.carousel-grid .vehicle-card { min-width: min(78vw, 250px); }
  .vehicle-grid:not(.carousel-grid) { gap: 9px; }
  .vehicle-media,
  .vehicle-img,
  .vehicle-placeholder { height: 136px; }
  .vehicle-body { padding: 9px; }
  .vehicle-body h3 { min-height: 0; font-size: .82rem; }

  .sector-grid {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    width: calc(100% + 20px);
  }
  .sector-tile { min-width: 118px; padding: 12px 9px; border-radius: 10px; }

  .archive-hero { padding-top: 9px; }
  .archive-hero .container { padding: 13px 12px; }
  .archive-hero h1,
  .single-vehicle-page .single-summary h1 { font-size: 1.45rem; line-height: 1.05; }
  .archive-pill-row {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    width: calc(100% + 24px);
  }

  .listing-layout { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .filter-panel { padding: 11px 10px; }
  .filter-panel form { gap: 8px; }
  .listing-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }

  .single-vehicle-page .single-grid { padding: 8px; gap: 10px; }
  .single-vehicle-page .single-gallery .main-image,
  .single-vehicle-page .single-gallery .vehicle-img,
  .single-vehicle-page .single-gallery .main-image .vehicle-placeholder {
    min-height: 205px;
    height: 205px;
  }
  .single-vehicle-page .single-summary { padding: 0 2px 2px; }
  .single-vehicle-page .single-price { font-size: 1.22rem; }
  .single-vehicle-page .quick-specs,
  .single-trust-mini,
  .single-vehicle-page .spec-table,
  .single-vehicle-page .pro-con-grid,
  .compact-related-grid,
  .service-detail-grid,
  .dealer-stats-row,
  .onroad-breakup,
  .review-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .single-vehicle-page .quick-specs span { padding: 8px 9px; }
  .single-vehicle-page .single-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .single-vehicle-page .single-actions .btn { width: 100%; flex: none; min-height: 38px; padding-left: 8px; padding-right: 8px; }
  .detail-main { gap: 9px; }
  .content-card, .tool-card, .why-card { padding: 12px; }
  .sticky-enquiry { padding: 12px; }
  .spec-table div { padding: 10px; }
  .pro-con-grid { padding: 0 !important; }
  .single-vehicle-page .pro-con-grid > div { padding: 10px; }

  .budget-grid,
  .category-grid,
  .brand-grid,
  .story-grid,
  .news-grid,
  .guide-grid,
  .dealer-grid,
  .post-grid,
  .calc-grid,
  .form-grid,
  .compare-panel,
  .finance-grid,
  .dashboard-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 9px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .brand-tile { min-height: 78px; }
  .story-card { height: 132px; }
  .news-thumb { height: 86px; }

  .compare-table-wrap {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare-table { min-width: 620px; }
  .compare-toast { left: 6px; right: 6px; bottom: 8px; border-radius: 10px; }
  .floating-whatsapp { right: 8px; bottom: 74px; }

  .footer-trust-grid { grid-template-columns: 1fr; }
  .footer-bottom { gap: 8px; }
}

@media (max-width: 420px) {
  :root { --ax-container-gutter: 4px; }
  .site-header .container { padding-left: 6px; padding-right: 6px; }
  .hero-banner { min-height: 148px; }
  .finder-card { padding: 12px 10px 13px; }
  .car-row-panel { padding: 10px 8px; }
  .vehicle-grid.carousel-grid .vehicle-card { min-width: 82vw; }
  .single-vehicle-page .single-actions { grid-template-columns: 1fr; }
  .single-vehicle-page .single-gallery .main-image,
  .single-vehicle-page .single-gallery .vehicle-img,
  .single-vehicle-page .single-gallery .main-image .vehicle-placeholder {
    min-height: 190px;
    height: 190px;
  }
  .city-grid { grid-template-columns: 1fr; }
}
