/*
Theme Name: UCP Motors
Theme URI: https://usedcarspune.com/
Author: Rank Ace Digital
Description: Fast, SEO-first used car dealership theme. Car inventory with filters, area/brand/budget hubs, EMI, compare, shortlist, valuation and lead capture.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: ucp
*/

:root {
	--ink: #0f1b2d;
	--ink-2: #1c2a40;
	--ink-3: #2c3b54;
	--paper: #f6f4ef;
	--card: #ffffff;
	--line: #e5e1d8;
	--line-2: #d6d1c5;
	--muted: #5c6677;
	--accent: #e8611a;
	--accent-2: #c94f10;
	--accent-soft: #fdeee4;
	--ok: #1d7a4c;
	--ok-soft: #e4f3ea;
	--warn: #b7791f;
	--bad: #b42318;
	--wa: #1fa855;
	--r: 14px;
	--r-sm: 9px;
	--shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 6px 22px -8px rgba(15, 27, 45, .14);
	--shadow-lg: 0 20px 50px -18px rgba(15, 27, 45, .35);
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
	--w: 1240px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:where(body) { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
:where(p) { margin: 0 0 1em; }
:where(ul, ol) { margin: 0; padding: 0; }
:where(a) { color: inherit; text-decoration: none; }
:where(img, svg) { max-width: 100%; display: block; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(dl, dd, figure) { margin: 0; }
[hidden] { display: none !important; }
body.lock { overflow: hidden; }
body.loading .listing__main { opacity: .5; pointer-events: none; transition: opacity .2s; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.ic { width: 18px; height: 18px; flex: none; }
.hide-sm { }
.show-md { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(232, 97, 26, .6); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); background: var(--card); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
.ibtn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; position: relative; color: var(--ink); }
.ibtn:hover { background: rgba(15, 27, 45, .06); }
.ibtn .ic { width: 22px; height: 22px; }
.ibtn--wa { background: var(--wa); color: #fff; }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }

/* Pills, tags, chips */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--card); white-space: nowrap; }
.pill:hover { border-color: var(--accent); color: var(--accent-2); }
.pill--lg { padding: 9px 16px; font-size: 14.5px; }
.pill small { color: var(--muted); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ink); }
.tag .ic { width: 13px; height: 13px; }
.tag--ok { background: var(--ok); color: #fff; }
.tag--warn { background: var(--warn); color: #fff; }
.tag--dark { background: var(--ink); color: #fff; }
.tag--ghost { background: rgba(255, 255, 255, .85); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: #fff; padding: 6px 8px 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip .ic { width: 14px; height: 14px; opacity: .7; }
.chip--clear { background: transparent; color: var(--accent-2); text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--ink); color: #c9d2df; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__r { display: flex; gap: 18px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .ic { width: 14px; height: 14px; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.logo__mark { width: 34px; height: 34px; color: var(--ink); }
.logo__txt { font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.logo__txt b { color: var(--accent); font-weight: 800; }
.logo--light .logo__txt { color: #fff; }
.custom-logo { max-height: 44px; width: auto; }
.hsearch { position: relative; flex: 1; max-width: 380px; }
.hsearch > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hsearch input { width: 100%; height: 44px; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 0 14px 0 40px; background: #fff; font-size: 15px; }
.hsearch input:focus { outline: none; border-color: var(--ink); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 50; }
.suggest a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.suggest a:hover { background: var(--paper); }
.suggest small { color: var(--muted); font-size: 12.5px; }
.suggest__all { color: var(--accent-2); font-weight: 700; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a { display: block; padding: 8px 11px; font-weight: 650; font-size: 15px; border-radius: 8px; }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--paper); color: var(--accent-2); }
.hdr__act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.drawer { position: fixed; inset: 0; background: rgba(15, 27, 45, .5); z-index: 80; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 64px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.drawer__x { position: absolute; top: 12px; right: 12px; }
.drawer__nav, .drawer__panel .nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.drawer__panel a:not(.btn) { display: block; padding: 12px 8px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }

.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 0; } }

/* About page */
.ab-hero { background: var(--ink); color: #fff; padding-bottom: 56px; }
.ab-hero .crumbs ol { color: #9fb0c6; }
.ab-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ab-hero h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; }
.ab-hero h1 em { font-style: normal; color: var(--accent); }
.ab-hero p { color: #c9d2df; font-size: 18px; max-width: 560px; }
.ab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 22px; }
.ab-stat b { display: block; font-size: 34px; letter-spacing: -.03em; color: #fff; }
.ab-stat span { color: #9fb0c6; font-size: 14px; }
.ab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ab-card .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 14px; }
.ab-card h3 { font-size: 19px; margin-bottom: 6px; }
.ab-card p { color: var(--muted); margin: 0; }
.ab-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ab-split .prose { font-size: 17px; }
.ab-list { list-style: none; display: grid; gap: 12px; }
.ab-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.ab-list .ic { color: var(--ok); margin-top: 2px; }
@media (max-width: 1000px) { .ab-hero__in, .ab-split { grid-template-columns: 1fr; } .ab-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ab-grid { grid-template-columns: 1fr; } }

/* Breadcrumbs + page head */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 13px; color: var(--muted); padding: 14px 0 10px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--accent-2); text-decoration: underline; }
.phead { background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.phead h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 4px 0 6px; }
.phead__sub { color: var(--muted); margin: 0; font-size: 16px; }
.phead__sub strong { color: var(--ink); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #263a5c 0%, transparent 60%), var(--ink); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb48a; margin-bottom: 14px; }
.eyebrow .ic { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: 18px; color: #c9d2df; max-width: 560px; margin-bottom: 26px; }
.finder { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.finder label { display: flex; flex-direction: column; padding: 6px 12px; border-right: 1px solid var(--line); color: var(--ink); }
.finder label span { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.finder select { border: 0; padding: 2px 0; font-weight: 700; background: transparent; font-size: 15px; width: 100%; cursor: pointer; }
.finder select:focus { outline: none; }
.hero__stats { display: flex; gap: 34px; list-style: none; margin-top: 28px; }
.hero__stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.hero__stats span { color: #9fb0c6; font-size: 14px; }
.hero__art { position: relative; aspect-ratio: 1 / .82; }
.hero__car { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__car--a { width: 82%; right: 0; top: 0; transform: rotate(1.5deg); }
.hero__car--b { width: 66%; left: 0; bottom: 0; transform: rotate(-2deg); border: 5px solid var(--ink); }
.hero__car svg { aspect-ratio: 16 / 10; width: 100%; height: auto; }
.hero__badge { position: absolute; right: 6%; bottom: 14%; background: #fff; color: var(--ink); display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.hero__badge .ic { width: 28px; height: 28px; color: var(--ok); }
.hero__badge b { display: block; font-size: 15px; }
.hero__badge span { font-size: 13px; color: var(--muted); }

/* Sections */
.band { margin-top: -22px; position: relative; z-index: 2; }
.band .pills { background: #fff; padding: 12px; border-radius: 16px; box-shadow: var(--shadow); }
.sec { padding-top: 54px; }
.sec__head, .rail__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.sec__head h2, .rail__head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.sec__head a, .rail__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.rail__head p { margin: 4px 0 0; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: -4px; scrollbar-width: thin; }
.rail__track > * { scroll-snap-align: start; }
.rail { padding-bottom: 6px; }
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.type:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.type__img svg { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.type b { padding: 12px 14px 0; font-size: 16px; }
.type small { padding: 0 14px 14px; color: var(--muted); }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s; }
.brand:hover { border-color: var(--accent); }
.brand b { font-size: 16px; }
.brand small { color: var(--muted); }
.how { background: #fff; border-block: 1px solid var(--line); margin-top: 60px; padding: 54px 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 4px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px; font-weight: 650; }
.areas a:hover { border-color: var(--accent); color: var(--accent-2); }
.areas small { color: var(--muted); font-weight: 600; }
.areas .ic { width: 15px; height: 15px; color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split__card { border-radius: 20px; padding: 34px; }
.split__card h2 { font-size: 26px; }
.split__card p { max-width: 420px; }
.split__card--dark { background: var(--ink); color: #fff; }
.split__card--dark p { color: #c9d2df; }
.split__card--accent { background: var(--accent); color: #fff; }

/* Cards */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #e9ecf0; overflow: hidden; }
.card__img .car-img { width: 100%; height: 100%; object-fit: cover; }
.card__tags, .gal__main .card__tags { position: absolute; left: 10px; right: 56px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__wish { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.card__wish .ic { width: 19px; height: 19px; }
.card__wish.is-on, [data-wish].is-on { color: #e0245e; }
.card__wish.is-on .ic, [data-wish].is-on .ic { fill: #e0245e; }
.card__body { padding: 14px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 17px; margin: 0; letter-spacing: -.01em; font-weight: 750; }
.card__title a:hover { color: var(--accent-2); }
.card__var { color: var(--muted); font-size: 13.5px; margin: 2px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.card__specs li { font-size: 12.5px; font-weight: 650; background: var(--paper); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; color: var(--ink-3); }
.card__specs--lg li { font-size: 14px; padding: 5px 10px; }
.card__foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.card__price { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.card__emi { font-size: 12.5px; color: var(--muted); }
.card__cmp { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650; color: var(--muted); cursor: pointer; }
.card__cmp input { accent-color: var(--accent); width: 15px; height: 15px; }
.card__loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.card__loc .ic { width: 14px; height: 14px; color: var(--accent); }
.card--sold { opacity: .7; }

/* Listing */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-top: 24px; align-items: start; }
.listing__side { position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; border-radius: var(--r); }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.filters__head strong { display: flex; align-items: center; gap: 6px; }
.filters__reset { font-size: 13.5px; color: var(--accent-2); font-weight: 700; }
.filters__x { display: none; }
.filters__go { display: none; margin: 12px 16px 16px; width: calc(100% - 32px); }
.fg { border-bottom: 1px solid var(--line); }
.fg summary { list-style: none; padding: 13px 16px; font-weight: 750; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.fg summary::-webkit-details-marker { display: none; }
.fg summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.fg[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.fg summary em { font-style: normal; background: var(--accent); color: #fff; font-size: 11px; border-radius: 9px; padding: 1px 7px; margin-left: auto; margin-right: 10px; }
.fg__body { padding: 0 16px 14px; }
.fg__body--scroll { max-height: 270px; overflow: auto; }
.fg__find { width: 100%; height: 36px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; margin-bottom: 8px; position: sticky; top: 0; }
.fg select, .range2 select { width: 100%; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 8px; background: #fff; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.range2 span { font-size: 12px; color: var(--muted); font-weight: 700; }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.chk input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.chk span { flex: 1; }
.chk small { color: var(--muted); font-size: 12.5px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid var(--line-2); }
.sw input:checked + i { outline: 3px solid var(--accent); outline-offset: 2px; }
.sw input:focus-visible + i { outline: 3px solid var(--ink); }
.toggle { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; cursor: pointer; }
.toggle input { accent-color: var(--ok); width: 18px; height: 18px; }
.toggle span { display: inline-flex; align-items: center; gap: 6px; }
.toggle .ic { color: var(--ok); }
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar__count { font-weight: 700; color: var(--muted); margin-right: auto; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; }
.toolbar__sort label { font-size: 14px; color: var(--muted); }
.toolbar__sort select { height: 40px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 10px; background: #fff; font-weight: 650; }
.toolbar__view { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 2px; }
.toolbar__view .ibtn { width: 36px; height: 36px; color: var(--muted); }
.toolbar__view .ibtn.is-on { background: var(--ink); color: #fff; }
.toolbar__view .ic { width: 16px; height: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--list { grid-template-columns: 1fr; }
.grid--list .card { flex-direction: row; }
.grid--list .card__img { width: 300px; flex: none; aspect-ratio: auto; }
.grid--list .card__body { padding: 18px 20px; }
.grid--list .icta { flex-direction: row; align-items: center; }
.icta { background: linear-gradient(140deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.icta__ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; margin-bottom: 10px; color: var(--accent); }
.icta h3 { font-size: 21px; }
.icta p { color: #c9d2df; }
.icta .btn { align-self: flex-start; }
.pager ul { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 34px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--accent); }
.empty { text-align: center; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 40px 24px; }
.empty .lform { max-width: 420px; margin: 20px auto 0; text-align: left; }

/* Hub SEO block */
.hub { background: #fff; border-top: 1px solid var(--line); margin-top: 60px; padding: 50px 0 20px; }
.hub__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-bottom: 30px; }
.hub__text h2 { font-size: 26px; }
.hub__text p { color: var(--ink-3); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th, .ptable td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--paper); }
.ptable a { font-weight: 700; color: var(--accent-2); }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { font-size: 26px; margin-bottom: 16px; }
.faq__i { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq__i summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq__i[open] summary::after { content: "\2212"; }
.faq__i div { padding: 0 18px 6px; color: var(--ink-3); }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.pdp__media { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gal__main { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #e9ecf0; }
.gal__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.gal__slide.is-on { opacity: 1; }
.gal__slide .car-img { width: 100%; height: 100%; object-fit: cover; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); font-size: 28px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow); }
.gal__nav--p { left: 14px; }
.gal__nav--n { right: 14px; }
.gal__count { position: absolute; right: 14px; bottom: 14px; background: rgba(15, 27, 45, .75); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.gal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gal__th { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; border: 2px solid transparent; opacity: .7; }
.gal__th.is-on { border-color: var(--accent); opacity: 1; }
.gal__th .car-img { width: 100%; height: 100%; object-fit: cover; }
.gal__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.box h2 { font-size: 21px; margin-bottom: 14px; }
.box__head { display: flex; justify-content: space-between; align-items: center; }
.score { font-size: 15px; color: var(--muted); background: var(--ok-soft); padding: 6px 12px; border-radius: 10px; }
.score b { color: var(--ok); font-size: 22px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { background: #fff; padding: 12px 14px; }
.specs dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 650; }
.specs dt .ic { width: 15px; height: 15px; color: var(--accent); }
.specs dd { font-weight: 750; margin-top: 2px; }
.insp { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.insp li { display: grid; grid-template-columns: 190px 1fr 120px; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }
.bar { height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; }
.bar--ok { background: var(--ok); }
.bar--mid { background: var(--warn); }
.bar--low { background: var(--bad); }
.st { font-style: normal; font-size: 12.5px; font-weight: 750; }
.st--ok { color: var(--ok); }
.st--mid { color: var(--warn); }
.st--low { color: var(--bad); }
.checks, .feats, .ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks li, .feats li, .ticks li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.checks .ic, .feats .ic, .ticks .ic { color: var(--ok); width: 17px; height: 17px; }
.feats { grid-template-columns: repeat(3, 1fr); }
.prose { font-size: 16.5px; color: var(--ink-3); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-2); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.emi { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.emi__in { display: flex; flex-direction: column; gap: 18px; }
.emi__in label { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-weight: 650; font-size: 14.5px; }
.emi__in output { font-weight: 800; }
.emi__in input { grid-column: 1 / -1; accent-color: var(--accent); width: 100%; }
.emi__out { background: var(--paper); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.emi__out > span { color: var(--muted); font-size: 14px; font-weight: 650; }
.emi__out > strong { font-size: 30px; letter-spacing: -.02em; }
.emi__out dl { margin: 10px 0 14px; display: grid; gap: 6px; }
.emi__out dl div { display: flex; justify-content: space-between; font-size: 14px; }
.emi__out dt { color: var(--muted); }
.emi__out dd { font-weight: 700; }
.pdp__side { position: sticky; top: 86px; }
.buy { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.buy__t { font-size: 24px; margin-bottom: 10px; letter-spacing: -.02em; }
.buy__t span { display: block; font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: 0; }
.buy__loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.buy__loc a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-2); }
.buy__loc .ic { width: 15px; height: 15px; color: var(--accent); }
.buy__price { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy__price strong { font-size: 32px; letter-spacing: -.03em; }
.buy__price a { font-size: 14px; font-weight: 700; color: var(--accent-2); text-decoration: underline; }
.meter { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; background: var(--paper); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.meter__top b { font-size: 15px; }
.meter--great b { color: var(--ok); }
.meter--fair b { color: var(--ink-2); }
.meter--high b { color: var(--warn); }
.meter__bar { position: relative; height: 8px; border-radius: 4px; margin: 10px 0 6px; background: linear-gradient(90deg, var(--ok), #c9cfd6 50%, var(--warn)); }
.meter__bar i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); transform: translate(-50%, -50%); }
.meter__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }
.buy__cta { display: flex; flex-direction: column; gap: 10px; }
.buy__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.buy__row .btn { padding: 0 10px; font-size: 14px; }
.buy__tools { display: flex; justify-content: space-between; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.buy__tools button, .buy__tools label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; cursor: pointer; color: var(--ink-3); }
.buy__tools input { accent-color: var(--accent); }
.buy__trust { list-style: none; display: grid; gap: 8px; margin-top: 16px; padding: 14px; background: var(--ok-soft); border-radius: 12px; }
.buy__trust li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; }
.buy__trust .ic { color: var(--ok); width: 17px; height: 17px; }
.rail.wrap { padding-top: 48px; }
.mbar { display: none; }

/* Forms */
.lform { display: flex; flex-direction: column; gap: 12px; }
.lform__t { font-size: 20px; margin: 0 0 4px; }
.lform__row { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 700; }
.lform__row small { color: var(--muted); font-weight: 500; }
.lform input:not([type=checkbox]):not([type=radio]), .lform select, .lform textarea, .valuer select, .valuer input { width: 100%; height: 46px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 15.5px; font-weight: 500; }
.lform textarea { height: auto; padding: 10px 12px; resize: vertical; }
.lform input:focus, .lform select:focus, .lform textarea:focus, .valuer select:focus, .valuer input:focus { outline: none; border-color: var(--ink); }
.lform__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tel { display: flex; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.tel:focus-within { border-color: var(--ink); }
.tel span { display: grid; place-items: center; padding: 0 12px; background: var(--paper); font-weight: 700; border-right: 1px solid var(--line); }
.lform .tel input { border: 0 !important; border-radius: 0; }
.lform__fine { font-size: 12px; color: var(--muted); margin: 0; }
.lform__msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; margin: 0; }
.lform__msg.is-ok { background: var(--ok-soft); color: var(--ok); }
.lform__msg.is-err { background: #fdecea; color: var(--bad); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.modal { border: 0; border-radius: 18px; padding: 26px; width: min(460px, 94vw); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(15, 27, 45, .55); }
.modal__x { position: absolute; top: 10px; right: 10px; }
.modal__car { font-size: 13px; color: var(--muted); font-weight: 650; margin: 0 40px 6px 0; }

/* Compare */
.ctray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--ink); color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
.ctray__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.ctray__items { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ctray__i { background: rgba(255, 255, 255, .12); padding: 6px 6px 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.ctray__i button { color: #fff; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.ctray__hint { color: #9fb0c6; font-size: 13.5px; }
.ctray__act { display: flex; gap: 8px; }
.ctray .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cmp__scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cmp__table { border-collapse: collapse; width: 100%; min-width: 720px; }
.cmp__table th, .cmp__table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; }
.cmp__table tbody th { width: 170px; color: var(--muted); font-weight: 650; background: var(--paper); }
.cmp__table thead th { font-size: 16px; }
.cmp__table thead a { font-weight: 800; }
.cmp__img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 10px; }
.cmp__img .car-img { width: 100%; height: 100%; object-fit: cover; }
.cmp__rm { display: block; margin-top: 6px; color: var(--accent-2); font-size: 13px; font-weight: 700; }
.cmp__table td.best { color: var(--ok); font-weight: 800; }
.cmp__f { list-style: none; display: grid; gap: 4px; font-size: 13.5px; }

/* Sell + valuation */
.sellhero { background: var(--ink); color: #fff; padding-bottom: 50px; }
.sellhero .crumbs ol { color: #9fb0c6; }
.sellhero__in { display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: center; }
.sellhero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.sellhero .ticks { grid-template-columns: 1fr; margin-top: 18px; }
.sellhero .ticks li { font-size: 16px; }
.valuer { color: var(--ink); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
.valuer h2 { margin: 0; }
.valuer .lform__row { color: var(--ink); }
.valuer__res { background: var(--ok-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.valuer__res span { font-size: 13px; color: var(--muted); font-weight: 650; }
.valuer__res strong { font-size: 24px; color: var(--ok); }
.valuer__res small { color: var(--muted); }
.narrow { max-width: 520px; margin: 0 auto; }

/* Generic page */
.phead--plain { padding-bottom: 26px; }
.pgl { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding-top: 30px; align-items: start; }
.page__side { position: sticky; top: 86px; }
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
.contact__i { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.contact__i .ic { width: 24px; height: 24px; color: var(--accent); margin-bottom: 8px; }
.contact__i span { color: var(--muted); }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--r); margin-bottom: 20px; }
.nf { text-align: center; padding: 60px 20px; max-width: 640px; }
.nf__art { max-width: 380px; margin: 0 auto 20px; border-radius: 20px; overflow: hidden; }
.nf h1 { font-size: 40px; }
.hsearch--big { max-width: 520px; margin: 20px auto; }
.postlist { display: grid; gap: 16px; }

/* Footer */
.ftr { background: var(--ink); color: #c9d2df; margin-top: 80px; padding-bottom: 30px; }
.ftr__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--accent); color: #fff; border-radius: 20px; padding: 30px 34px; transform: translateY(-40px); }
.ftr__cta h2 { font-size: 26px; margin: 0 0 4px; }
.ftr__cta p { margin: 0; color: #ffe7d9; }
.ftr__cta .btn--accent { background: #fff; color: var(--ink); box-shadow: none; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; gap: 30px; }
.ftr h3 { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.ftr ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.ftr ul.cols2 { grid-template-columns: 1fr 1fr; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__brand p { font-size: 14px; }
.ftr__line { display: flex; gap: 8px; align-items: center; }
.ftr__line .ic { color: var(--accent); }
.ftr__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8a9ab0; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 650; font-size: 14.5px; z-index: 90; box-shadow: var(--shadow-lg); }

/* Responsive */
@media (max-width: 1180px) {
	.nav { display: none; }
	.burger { display: inline-flex; }
	.types { grid-template-columns: repeat(3, 1fr); }
	.brands { grid-template-columns: repeat(4, 1fr); }
	.rail__track { grid-auto-columns: calc((100% - 40px) / 3); }
	.ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
	.ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
	.show-md { display: inline-flex; }
	.listing { grid-template-columns: 1fr; }
	.listing__side { position: fixed; inset: 0; z-index: 85; max-height: none; background: rgba(15, 27, 45, .5); border-radius: 0; display: none; padding: 0; }
	.listing__side.is-open { display: block; }
	.listing__side .filters { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 92vw); border-radius: 0; overflow: auto; }
	.filters__x { display: inline-grid; }
	.filters__go { display: flex; position: sticky; bottom: 12px; }
	.grid, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hero__in { grid-template-columns: 1fr; }
	.hero__art { display: none; }
	.pdp { grid-template-columns: 1fr; }
	.pdp__side { position: static; order: -1; }
	.pdp__media { display: contents; }
	.pdp__media > .gal { order: -2; }
	.mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px; box-shadow: 0 -8px 24px rgba(15, 27, 45, .1); }
	.mbar > div { margin-right: auto; display: flex; flex-direction: column; }
	.mbar strong { font-size: 19px; }
	.mbar span { font-size: 12px; color: var(--muted); }
	.single-car .ftr { padding-bottom: 90px; }
	.hub__in, .pgl, .sellhero__in, .split { grid-template-columns: 1fr; }
	.page__side { position: static; }
	.steps { grid-template-columns: 1fr 1fr; }
	.specs { grid-template-columns: repeat(2, 1fr); }
	.feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.hide-sm { display: none !important; }
	.hdr__in { height: 62px; gap: 10px; }
	.hsearch { display: none; }
	.topbar__in { font-size: 12px; }
	.finder { grid-template-columns: 1fr; padding: 10px; }
	.finder label { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 6px; }
	.hero__stats { gap: 22px; }
	.hero__stats b { font-size: 24px; }
	.grid, .grid--4 { grid-template-columns: 1fr; }
	.grid--list .card { flex-direction: column; }
	.grid--list .card__img { width: 100%; aspect-ratio: 16 / 10; }
	.rail__track { grid-auto-columns: 82%; }
	.types { grid-template-columns: repeat(2, 1fr); }
	.brands { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr; }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.ftr__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
	.insp li { grid-template-columns: 1fr 90px; }
	.insp .bar { grid-column: 1 / -1; grid-row: 2; }
	.checks, .feats { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; }
	.toolbar__view { display: none; }
	.emi { grid-template-columns: 1fr; }
	.box { padding: 18px; }
	.lform__2 { grid-template-columns: 1fr; }
	.buy__price strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
