/**
 * WordPress-specific additions to the reused Laravel design (main.css).
 * Only fills gaps: admin bar offset, fallbacks for missing images, WP core
 * classes, form states and pages whose Laravel CSS never existed.
 */

/* ---------- Admin bar offset for the fixed header ---------- */
.admin-bar .header.fixed-top { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .header.fixed-top { top: 46px; }
}

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 10000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
a:focus-visible, button:focus-visible, .form-control:focus-visible, .form-select:focus-visible, [role="button"]:focus-visible {
	outline: 3px solid var(--accent-color);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Header logo text when no logo image is set ---------- */
.header .logo .sitename { font-size: 1.5rem; margin: 0; font-weight: 700; color: var(--heading-color); }
.navmenu .mobile-nav-toggle { cursor: pointer; }

/* ---------- Page header fallback (no image uploaded) ---------- */
.clt-page-header-fallback {
	min-height: 220px;
	padding: 110px 0 40px;
	display: flex;
	align-items: flex-end;
	background: #0d1f3a;
	background: linear-gradient(135deg, #0d1f3a 0%, color-mix(in srgb, var(--primary-color) 70%, #0d1f3a) 100%);
	color: #fff;
}
.clt-page-header-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: 0; }
.clt-hero-spacer { height: 90px; }
.clt-below-header { margin-top: 3rem; padding-top: 5.5rem !important; }

/* ---------- Card image placeholder ---------- */
.clt-card-placeholder { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef6fc, #dcecf8); }

/* ---------- Empty states + admin hints ---------- */
.clt-empty { color: #6c757d; text-align: center; padding: 2rem 0; }
.clt-admin-hint {
	max-width: 1140px;
	margin: 1rem auto;
	padding: .75rem 1rem;
	border: 1px dashed #d63384;
	border-radius: .5rem;
	background: #fff5fa;
	color: #6f1d46;
	font-size: .9rem;
}
.clt-admin-hint a { color: #6f1d46; font-weight: 600; text-decoration: underline; }

/* ---------- Forms ---------- */
.clt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.clt-form-response:empty { display: none; }
.clt-form.is-submitting button[type="submit"] { opacity: .75; pointer-events: none; }
.default-values span[role="button"] { cursor: pointer; }

/* ---------- Footer row (Laravel used inline !important flex) ---------- */
.clt-footer-row { display: flex !important; flex-wrap: wrap !important; }
.footer .footer-links { padding-left: 0; }
.footer .footer-links li { margin-bottom: .4rem; }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--accent-color); }
.pagination .page-item.active .page-link { background-color: var(--accent-color); border-color: var(--accent-color); color: #fff; }

/* ---------- Share icons ---------- */
.clt-share a { font-size: 1.15rem; color: var(--default-color); }
.clt-share a:hover { color: var(--accent-color); }

/* ---------- Gallery grids (albums, services, vehicles) ---------- */
.clt-gallery-item { overflow: hidden; border-radius: 1rem; }
.clt-gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease-out; }
.clt-gallery-grid .col-12 .clt-gallery-item img { aspect-ratio: 16 / 9; }
.clt-gallery-item:hover img { transform: scale(1.06); }
.clt-service-thumbs img { width: 72px; height: 48px; object-fit: cover; border-radius: .5rem; }
.clt-service-row h3 a { color: inherit; }
.clt-post-nav a { font-weight: 600; }

/* ---------- 404 fallback when no image is set ---------- */
.clt-404-fallback {
	height: 50vh;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0d1f3a 0%, var(--primary-color) 100%);
}
.clt-404-fallback span { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; color: rgba(255, 255, 255, .9); line-height: 1; }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .875rem; color: #6c757d; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.page-content img, .content img, .accordion-body img { max-width: 100%; height: auto; }
.comment-list .comment { margin-bottom: 1.5rem; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }

/* ---------- Map embed ---------- */
.maps iframe { width: 100%; min-height: 420px; border: 0; border-radius: 1rem; }

/* ---------- Downloads ---------- */
.clt-downloads { border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 1.5rem; }

/* ---------- Compare buttons + floating tray ---------- */
.clt-compare-toggle {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 12px; border: 1px solid #dbe4ee; border-radius: 999px;
	background: #fff; color: #334155; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s;
}
.clt-compare-toggle:hover { border-color: var(--primary-color); color: var(--primary-color); }
.clt-compare-toggle.is-added { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.clt-card-compare { position: absolute; top: 12px; right: 12px; z-index: 3; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.vehicle-card, .models .card { position: relative; }

.clt-tray {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
	transform: translateY(110%); transition: transform .35s ease;
	background: rgba(13, 31, 58, .97); color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);
	padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.clt-tray.is-open { transform: none; }
.clt-tray-inner { display: flex; align-items: center; gap: 14px; }
.clt-tray-title { white-space: nowrap; }
.clt-tray-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex: 1; overflow-x: auto; }
.clt-tray-list li {
	position: relative; display: flex; align-items: center; gap: 8px; min-width: 150px; max-width: 220px;
	padding: 6px 30px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, .1);
}
.clt-tray-list li.is-empty { justify-content: center; padding: 6px; border: 1px dashed rgba(255, 255, 255, .3); background: none; opacity: .6; }
.clt-tray-list img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.clt-tray-name { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clt-tray-rm { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; line-height: 1; cursor: pointer; }
.clt-tray-rm:hover { background: #dc2626; }
.clt-tray-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.clt-tray-clear { color: #cbd5e1; text-decoration: none; }
.clt-tray .btn.disabled { opacity: .55; }
body.clt-has-tray .scroll-top { bottom: 90px; }
@media (max-width: 767px) {
	.clt-tray-title { display: none; }
	.clt-tray-list li { min-width: 56px; padding-right: 26px; }
	.clt-tray-list .clt-tray-name { display: none; }
	.clt-tray-list li.is-empty .clt-tray-name { display: inline; }
}
@media print { .clt-tray { display: none !important; } }

/* ---------- Vehicle page quick actions ---------- */
.clt-vehicle-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Shared chips / tags / badges (stations, careers) ---------- */
.clt-ev-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); font-size: .85rem; letter-spacing: .02em;
}
.clt-ev-eyebrow i { color: #7dd3fc; }
.clt-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border: 1px solid #e2e8f0; border-radius: 999px;
	background: #fff; color: #334155; font-size: .9rem; cursor: pointer; transition: all .2s;
}
.clt-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }
.clt-chip.is-on { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.clt-chip-reset { border-style: dashed; }
.clt-tag { padding: 2px 9px; border-radius: 6px; background: #f1f5f9; color: #334155; font-size: .78rem; font-weight: 600; }
.clt-tag.is-fast { background: #fef3c7; color: #92400e; }
.clt-tag.is-plug { background: #e0f2fe; color: #075985; }
.clt-ev-empty { text-align: center; padding: 60px 20px; margin-top: 30px; border-radius: 20px; background: #f8fafc; }
.clt-ev-empty i { font-size: 3rem; color: var(--primary-color); }

/* ---------- Home quick actions ---------- */
.clt-qa { padding: 10px 0 30px; }
.clt-qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.clt-qa-tile {
	position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px;
	border-radius: 18px; background: #fff; border: 1px solid #e8eef5; color: var(--heading-color, #0f172a);
	text-decoration: none; overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.clt-qa-tile::before {
	content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
	background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 12%, #fff), #fff 60%);
}
.clt-qa-tile:hover { border-color: color-mix(in srgb, var(--primary-color) 45%, #e8eef5); box-shadow: 0 16px 34px rgba(13, 31, 58, .1); color: var(--heading-color, #0f172a); }
.clt-qa-tile:hover::before { opacity: 1; }
.clt-qa-tile > * { position: relative; }
.clt-qa-icon {
	width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 55%, #34d399));
	color: #fff; font-size: 1.35rem; box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-color) 35%, transparent);
	transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.clt-qa-tile:hover .clt-qa-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.clt-qa-tile strong { font-size: 1rem; }
.clt-qa-tile small { color: #64748b; }
.clt-qa-go { position: absolute !important; top: 16px; right: 16px; color: #94a3b8; transition: transform .3s, color .3s; }
.clt-qa-tile:hover .clt-qa-go { transform: translate(3px, -3px); color: var(--primary-color); }

/* ---------- Fix: main.css sets `section { overflow: clip }`, which cut off
   cards/toolbars that overlap the page hero (job details, finders, compare). */
section.clt-job, section.clt-jobs, section.clt-st, section.clt-sc, section.clt-cmp,
section.clt-ev, section.clt-team, section.clt-faq, section.clt-wr, section.clt-qa { overflow: visible; }

/* ---------- Pill buttons (careers, team, warranty) ---------- */
.clt-pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
	border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all .2s;
}
.clt-pill.is-primary { background: var(--primary-color); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-color) 35%, transparent); }
.clt-pill.is-primary:hover { color: #fff; filter: brightness(.95); transform: translateY(-1px); }
.clt-pill.is-outline { background: #fff; border-color: #cbd5e1; color: #0f172a; }
.clt-pill.is-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
.clt-pill.is-wa { background: #25d366; color: #fff; }
.clt-pill.is-wa:hover { color: #fff; filter: brightness(.95); }

/* Eyebrow label (shared by vehicle, EMI and finance sections) */
.clt-finder-eyebrow {
	display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--primary-color) 10%, #fff); color: var(--primary-color);
	font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.clt-vh-price strong.is-request, .clt-vc-price strong.is-request { font-size: 1rem; color: #0f172a; }

/* ---------- Customer portal (NT Motors ERP) ---------- */
.clt-portalh { position: relative; overflow: hidden; padding: 130px 0 90px; color: #fff; background: radial-gradient(700px 300px at 85% 0%, color-mix(in srgb, var(--primary-color) 45%, transparent), transparent 65%), linear-gradient(150deg, #0b1324, #13233f); }
.clt-portalh .container { position: relative; z-index: 1; }
.clt-portalh h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 6px; }
.clt-portalh p { color: #cbd5e1; margin: 0; }
.clt-portalh-out { margin-top: 14px !important; }
.clt-portalh-out a { color: #bfdbfe; text-decoration: none; font-weight: 600; }
section.clt-portal { padding: 0 0 70px; background: #f8fafc; overflow: visible; }
.clt-portal-body { position: relative; z-index: 2; margin-top: -50px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 50px rgba(15, 23, 42, .08); }
.clt-portal-body .everp12, .clt-portal-body .everp-login-required { margin-top: 0 !important; }
.clt-portal-empty { text-align: center; color: #64748b; }
.clt-portal-empty > i { font-size: 2.4rem; color: var(--primary-color); }
.clt-portalh.is-dealer { background: radial-gradient(700px 300px at 85% 0%, rgba(124, 58, 237, .45), transparent 65%), linear-gradient(150deg, #150b2e, #25164a); }
.clt-portalh.is-service { background: radial-gradient(700px 300px at 85% 0%, rgba(13, 148, 136, .45), transparent 65%), linear-gradient(150deg, #06201d, #0b3531); }
.clt-portal-body.page-content > .evp:first-child { margin-top: 0; }

/* ---- 1.15.1 fixes ---- */
/* Header: the search button had a negative margin and shrank under the account button. */
.header .search-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; margin: 0 10px 0 16px; }
/* Vehicle page banner: keep the name and price readable on light photos. */
.single-clc_vehicle .hero .carousel-item::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(to top, rgba(8, 15, 30, .74), rgba(8, 15, 30, 0)); z-index: 3; pointer-events: none; }
/* EMI calculator: inputs were wider than a phone screen (grid children could not shrink). */
.clt-emi-inputs, .clt-emi-result { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.clt-emi-inputs > *, .clt-emi-result > * { min-width: 0; }
.clt-emi-seg { flex-wrap: wrap; }
.clt-emi-f, .clt-emi-box, .clt-emi-help { min-width: 0; max-width: 100%; }

/* ---- 1.16.0 ---- */
/* Vehicle page "buy zone": EMI + quotation under one dark header with tabs. */
.clt-buy { position: relative; background: #f4f7fc; scroll-margin-top: 80px; }
.clt-buy-head { padding: 72px 0 150px; text-align: center; color: #fff; border-radius: 0 0 44px 44px;
	background: radial-gradient(700px 320px at 88% -10%, color-mix(in srgb, var(--accent-color, #22a7f0) 70%, transparent), transparent 62%), radial-gradient(520px 280px at 6% 110%, rgba(99, 102, 241, .45), transparent 60%), linear-gradient(135deg, #081226, #12305f); }
.clt-buy-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.clt-buy-head h2 { margin: 14px 0 8px; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.clt-buy-head p { max-width: 560px; margin: 0 auto; color: rgba(255, 255, 255, .78); }
.clt-buy-tabs { display: inline-flex; gap: 6px; margin-top: 26px; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.clt-buy-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 99px; background: none; color: rgba(255, 255, 255, .85); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.clt-buy-tabs button:hover { color: #fff; }
.clt-buy-tabs button.is-active { background: #fff; color: #0f172a; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.clt-buy-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.clt-buy:not(.is-tabbed) .clt-buy-tabs { display: none; }
.clt-buy-pane { position: relative; }
.clt-buy-pane:first-of-type, .clt-buy.is-tabbed .clt-buy-pane { margin-top: -112px; }
.clt-buy .clt-emi-sec, .clt-buy .clcs-vsec { padding: 0 0 72px; background: transparent; }
.clt-buy .clt-emi-sec-head { display: none; }
.clt-buy.is-tabbed .clcs-vhead { display: none; }
.clt-buy.is-tabbed .clcs-vhead:has(+ .clcs-video) { display: block; padding-top: 130px; }
.clt-buy .clt-emi, .clt-buy .clcs-vsec .container > :last-child:not(p), .clt-buy .clcs-vsec form { box-shadow: 0 30px 60px -36px rgba(2, 8, 23, .55); }
@media (max-width: 575.98px) {
	.clt-buy-head { padding: 52px 0 130px; border-radius: 0 0 28px 28px; }
	.clt-buy-tabs { display: flex; }
	.clt-buy-tabs button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 14px; }
}

/* Phones: one tidy bottom area instead of four things on top of each other. */
.clt-tray:not(.is-open) { visibility: hidden; pointer-events: none; }
@media (max-width: 991.98px) {
	body.clt-has-mbar .clt-wa { display: none; } /* WhatsApp is already in the bottom bar. */
	body.clt-has-mbar .clc-cb { bottom: 86px !important; }
	body.clt-has-mbar #clt-toggle, body.clt-has-mbar #clt-saved { bottom: 156px; }
	body.clt-has-mbar .scroll-top, body.clt-has-mbar.clt-has-tray .scroll-top { bottom: 214px; }
	/* Compare: a small pill above the bar, not a full-width strip under it. */
	body.clt-has-mbar .clt-tray { left: 12px; right: auto; bottom: 100px !important; padding: 6px; border-radius: 99px; box-shadow: 0 14px 30px -14px rgba(2, 8, 23, .7); }
	.clt-tray .clt-tray-inner { width: auto; max-width: none; padding: 0; gap: 4px; }
	.clt-tray-list, .clt-tray-title { display: none; }
	.clt-tray-actions .btn { border-radius: 99px; padding: 8px 14px; font-size: 13px; }
	.clt-tray-actions .clt-tray-clear { padding: 8px 10px; }
}
/* Fix: the vehicles page filter bar shared the class of the phone contact bar and was pinned to the bottom of the screen. The contact bar is now targeted as nav.clt-mbar (engage.css). */

/* ---- 1.17.0 ---- */
/* Vehicle page quick-nav (desktop; phones already have the bottom contact bar). */
.clt-vnav { position: fixed; left: 0; right: 0; top: 70px; z-index: 990; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 12px 26px -20px rgba(2, 8, 23, .55); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.clt-vnav.is-on { transform: none; visibility: visible; }
.clt-vnav[hidden] { display: none; }
.clt-vnav .container { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.clt-vnav-id { min-width: 0; }
.clt-vnav-id strong { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 1.25; color: #0f172a; }
.clt-vnav-id span { font-size: 13px; font-weight: 700; color: var(--accent-color, #22a7f0); }
.clt-vnav-links { display: flex; gap: 2px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.clt-vnav-links a { padding: 8px 13px; border-radius: 99px; font-size: 14px; font-weight: 600; color: #475569; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.clt-vnav-links a:hover, .clt-vnav-links a.is-active { background: color-mix(in srgb, var(--accent-color, #22a7f0) 13%, transparent); color: var(--accent-color, #22a7f0); }
.clt-vnav-cta { display: flex; gap: 8px; flex: none; }
.clt-vnav-cta .clt-pill { padding: 8px 16px; font-size: 13.5px; box-shadow: none; }
#view-360, #explore-3d, #colours, #specs, #reviews, #buy { scroll-margin-top: 140px; }
@media (max-width: 991.98px) { .clt-vnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .clt-vnav { transition: none; } }

/* Blog sidebar: WordPress block widgets (Search, Archives, Categories …) now match the theme's own widgets. */
.sidebar .widget-item .wp-block-heading, .sidebar .widget-item > h2, .sidebar .widget-item .wp-block-group h2, .sidebar .wp-block-search__label { display: block; margin: 0 0 16px; padding: 0; color: var(--heading-color); font-family: var(--heading-font); font-size: 20px; font-weight: 700; line-height: 1.3; }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 8px; padding: 0; border: 0; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; font-size: 15px; color: #0f172a; appearance: none; }
.sidebar .wp-block-search__input:focus { border-color: var(--accent-color, #22a7f0); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #22a7f0) 18%, transparent); }
.sidebar .wp-block-search__button { height: 46px; margin: 0; padding: 0 18px; border: 0; border-radius: 12px; background: var(--accent-color, #22a7f0); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.sidebar .wp-block-search__button:hover { filter: brightness(.94); }
.sidebar .widget-item ul, .sidebar .widget-item ol { margin: 0; padding: 0; list-style: none; }
.sidebar .widget-item li { padding: 9px 0; border-bottom: 1px solid rgba(15, 23, 42, .07); font-size: 15px; line-height: 1.45; }
.sidebar .widget-item li:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar .widget-item li a { color: var(--default-color); font-weight: 500; text-decoration: none; }
.sidebar .widget-item li a:hover { color: var(--accent-color, #22a7f0); }
.sidebar .widget-item .wp-block-latest-comments__comment { margin: 0; }
.sidebar .widget-item .no-comments { margin: 0; color: #64748b; font-size: 14.5px; }
.sidebar .widget-item select { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; }

/* Recent posts without a photo line up with the ones that have one. */
.recent-posts-widget .post-item > .ps-2:first-child { padding-left: 0 !important; }

/* ---- 1.18.0 ---- */
/* Compare tray: an empty slot is a button that opens the vehicle picker. */
.clt-quick-link { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid #dbe4ee; border-radius: 999px; background: #fff; color: #334155; font-size: .82rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.clt-quick-link:hover { border-color: var(--primary-color); color: var(--primary-color); }
.clt-tray-list li.is-empty { padding: 0; border: 0; background: none; opacity: 1; }
.clt-tray-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 6px 12px; border: 1.5px dashed rgba(255, 255, 255, .38); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #cbd5e1; font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.clt-tray-add:hover, .clt-tray-add:focus-visible { border-color: var(--primary-color, #38bdf8); border-style: solid; background: rgba(255, 255, 255, .12); color: #fff; outline: 0; }
.clt-tray-plus { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 1.05rem; line-height: 1; transition: background .15s, transform .15s; }
.clt-tray-add:hover .clt-tray-plus, .clt-tray-add:focus-visible .clt-tray-plus { background: var(--primary-color, #38bdf8); transform: rotate(90deg); }
.clt-tray-addtext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clt-tray-addbtn { display: none; align-items: center; gap: 5px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 600; }
.clt-tray-addbtn:hover, .clt-tray-addbtn:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.clt-tray-addbtn[hidden] { display: none !important; }
@media (max-width: 1199.98px) { .clt-tray-list li { min-width: 120px; } .clt-tray-addtext { display: none; } }
@media (max-width: 991.98px) { .clt-tray-addbtn { display: inline-flex; } }

.clt-pick { position: fixed; z-index: 100002; left: 12px; bottom: 90px; display: flex; flex-direction: column; width: min(420px, calc(100vw - 24px)); max-height: min(68vh, 540px); overflow: hidden; border: 1px solid rgba(15, 23, 42, .08); border-radius: 18px; background: #fff; color: #0f172a; box-shadow: 0 30px 70px -22px rgba(2, 8, 23, .6); opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.clt-pick.is-in { opacity: 1; transform: none; }
.clt-pick[hidden], .clt-pick-backdrop[hidden] { display: none; }
.clt-pick-backdrop { position: fixed; inset: 0; z-index: 100001; display: none; background: rgba(2, 6, 23, .5); opacity: 0; transition: opacity .18s ease; }
.clt-pick-backdrop.is-in { opacity: 1; }
.clt-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px 18px; }
.clt-pick-head strong { font-size: 1rem; }
.clt-pick-close { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.clt-pick-close:hover { background: #e2e8f0; color: #0f172a; }
.clt-pick-search { position: relative; display: block; margin: 0 14px 10px; }
.clt-pick-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.clt-pick-search input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: inherit; font-size: 1rem; }
.clt-pick-search input:focus { border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent); outline: 0; }
.clt-pick-list { flex: 1; min-height: 120px; margin: 0; padding: 0 8px 8px; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.clt-pick-list li { margin: 0; }
.clt-pick-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .12s; }
.clt-pick-item:hover, .clt-pick-item:focus-visible { background: #f1f5f9; outline: 0; }
.clt-pick-item:disabled { opacity: .45; cursor: not-allowed; }
.clt-pick-item.is-added { background: color-mix(in srgb, var(--primary-color) 9%, #fff); }
.clt-pick-thumb { display: grid; place-items: center; flex: none; width: 60px; height: 46px; overflow: hidden; border-radius: 10px; background: #eef2f7; color: #94a3b8; font-size: 1.2rem; }
.clt-pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.clt-pick-body { flex: 1; min-width: 0; }
.clt-pick-body strong, .clt-pick-body small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clt-pick-body strong { font-size: .95rem; }
.clt-pick-body small { color: #64748b; font-size: .8rem; }
.clt-pick-state { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 5px 11px; border: 1px solid #dbe4ee; border-radius: 999px; color: #334155; font-size: .78rem; font-weight: 700; }
.clt-pick-item:hover:not(:disabled) .clt-pick-state { border-color: var(--primary-color); color: var(--primary-color); }
.clt-pick-item.is-added .clt-pick-state { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
.clt-pick-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 16px; color: #64748b; text-align: center; }
.clt-pick-msg.is-loading::before { content: ""; width: 26px; height: 26px; border: 3px solid #e2e8f0; border-top-color: var(--primary-color); border-radius: 50%; animation: clt-pick-spin .8s linear infinite; }
@keyframes clt-pick-spin { to { transform: rotate(360deg); } }
.clt-pick-retry { padding: 7px 16px; border: 1px solid var(--primary-color); border-radius: 999px; background: none; color: var(--primary-color); font-weight: 600; cursor: pointer; }
.clt-pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid #eef2f7; background: #f8fafc; color: #64748b; font-size: .82rem; }
.clt-pick-foot a { font-weight: 600; text-decoration: none; }
@media (max-width: 767.98px) {
	/* Phones: a sheet from the bottom, above the contact bar. */
	.clt-pick { left: 0 !important; right: 0; bottom: 0 !important; width: auto; max-height: 82vh; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(24px); }
	.clt-pick-backdrop { display: block; }
	.clt-pick-item { padding: 10px; }
	.clt-pick-state span { display: none; }
	.clt-pick-state { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.clt-pick, .clt-pick-backdrop, .clt-tray-plus { transition: none; }
	.clt-pick-msg.is-loading::before { animation-duration: 2s; }
}
@media print { .clt-pick, .clt-pick-backdrop { display: none !important; } }
/* The compare tray is a full-width strip on wide screens: lift the floating buttons clear of it, keeping their own spacing. */
@media (min-width: 992px) {
	body.clt-has-tray .clt-wa, body.clt-has-tray .clc-cb, body.clt-has-tray #clt-toggle, body.clt-has-tray #clt-saved { translate: 0 -74px; transition: translate .3s ease; }
}

/* ---- 1.19.0 ---- */
/* Fuel badge keeps its own width everywhere (it stretched full width inside cards). */
.clt-fuel { width: fit-content; max-width: 100%; }

/* Vehicle page: pricing box */
.clt-price-card { gap: 14px; border-radius: 20px; }
.clt-price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.clt-price-amount { margin: 0; color: var(--primary-color); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.clt-price-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0; }
.clt-price-meta > div { padding: 10px 12px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 12px; background: #f8fafc; }
.clt-price-meta dt { margin: 0 0 2px; color: #64748b; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.clt-price-meta dd { margin: 0; color: #0f172a; font-weight: 700; overflow-wrap: anywhere; }
.clt-price-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.clt-price-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; font-weight: 700; }
.clt-price-card .clt-vehicle-quick { margin-top: 0; }
@media (min-width: 576px) and (max-width: 991.98px) {
	.clt-price-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* full-width box on tablets: buttons side by side */
}
@media (min-width: 992px) {
	.clt-price-card { position: sticky; top: 150px; } /* stays in view beside the long specification list */
}

/* Contact page */
.clt-contact { padding-top: 20px; }
.clt-contact-grid { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.clt-contact-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 22px; background: var(--surface-color, #fff); box-shadow: 0 18px 44px -28px rgba(2, 8, 23, .35); }
.clt-contact-eyebrow { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--primary-color) 10%, #fff); color: var(--primary-color); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.clt-contact-title { margin: 12px 0 6px; color: #0f172a; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; }
.clt-contact-list { margin: 8px 0 0; padding: 0; list-style: none; }
.clt-contact-list li { display: flex; gap: 14px; margin: 0; padding: 14px 0; border-top: 1px solid rgba(15, 23, 42, .07); }
.clt-contact-list li:first-child { border-top: 0; }
.clt-contact-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--primary-color) 10%, #fff); color: var(--primary-color); font-size: 1.15rem; }
.clt-contact-list h3 { margin: 0 0 3px; padding: 0; color: #0f172a; font-size: 1rem; font-weight: 700; }
.clt-contact-list p { margin: 0; color: #475569; font-size: .98rem; line-height: 1.55; overflow-wrap: anywhere; }
.clt-contact-list a { font-weight: 600; text-decoration: none; }
.clt-contact-list a:hover { text-decoration: underline; }
.clt-contact-for { display: block; color: #94a3b8; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.clt-contact-list p + p { margin-top: 6px; }
.clt-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 18px; }
.clt-contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(15, 23, 42, .12); border-radius: 13px; background: #fff; color: #0f172a; font-weight: 700; text-decoration: none; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.clt-contact-btn:hover { border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-1px); }
.clt-contact-btn.is-primary { border-color: transparent; background: var(--primary-color); color: #fff; box-shadow: 0 10px 22px -12px var(--primary-color); }
.clt-contact-btn.is-primary:hover { color: #fff; filter: brightness(1.06); }
.clt-contact-btn.is-wa { color: #15803d; }
.clt-contact-btn.is-wa:hover { border-color: #25d366; background: #25d366; color: #fff; }

.clt-contact-side { position: relative; min-height: 320px; }
.clt-contact-pic { position: relative; height: 100%; min-height: 320px; margin: 0; overflow: hidden; border-radius: 22px; background: #e2e8f0; box-shadow: 0 18px 44px -28px rgba(2, 8, 23, .45); }
.clt-contact-pic .clt-contact-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.clt-contact-pic figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(15, 23, 42, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .88rem; font-weight: 600; }
.clt-contact-map { height: 100%; min-height: 320px; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 44px -28px rgba(2, 8, 23, .35); }
.clt-contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.clt-contact-map.is-wide { height: auto; margin-top: 24px; }
.clt-contact-map.is-wide iframe { height: 420px; }
.clt-contact-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 320px; padding: 30px; border-radius: 22px; background: radial-gradient(600px 300px at 80% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 78%, #0f172a), #0f172a); color: #fff; text-align: center; }
.clt-contact-empty i { font-size: 2.6rem; opacity: .9; }
.clt-contact-empty strong { font-size: 1.5rem; font-weight: 800; }
.clt-contact-empty span { max-width: 360px; color: rgba(255, 255, 255, .82); }
.clt-contact .clt-admin-hint { margin-top: 14px; }
@media (max-width: 991.98px) {
	.clt-contact-grid { grid-template-columns: minmax(0, 1fr); }
	.clt-contact-side, .clt-contact-pic, .clt-contact-map, .clt-contact-map iframe, .clt-contact-empty { min-height: 0; }
	.clt-contact-pic { height: auto; aspect-ratio: 16 / 10; }
	.clt-contact-map:not(.is-wide), .clt-contact-map:not(.is-wide) iframe { height: 340px; }
	.clt-contact-empty { height: auto; padding: 40px 24px; }
}
@media (max-width: 575.98px) {
	.clt-contact-card { padding: 20px; border-radius: 18px; }
	.clt-contact-pic, .clt-contact-map, .clt-contact-empty { border-radius: 18px; }
	.clt-contact-pic { aspect-ratio: 4 / 3; }
	.clt-contact-map.is-wide iframe { height: 320px; }
}
@media (max-width: 359.98px) {
	.clt-contact-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.clt-contact-btn { transition: none; }
}
