/* === CSS Variables: values matched to nw-motors.com === */
:root {
	--color-primary: #00aeef;
	--color-primary-dark: #0071bb;
	--color-primary-hover: #1c8be6;
	--color-text: #1f1f1f;
	--color-text-muted: #475569;
	--color-heading: #0f172a;
	--color-bg: #ffffff;
	--color-bg-alt: #f7fbff;
	--color-border: #ededed;
	--color-footer: #12202b;
	--color-on-dark: #ffffff;
	--color-primary-soft: rgba(0, 174, 239, 0.08);
	--color-shadow: rgba(15, 23, 42, 0.12);
	--color-shadow-soft: rgba(15, 23, 42, 0.08);
	--color-focus: rgba(14, 165, 233, 0.28);
	--font-heading: "Montserrat", sans-serif;
	--font-body: "Montserrat", sans-serif;
	--radius-card: 12px;
	--radius-button: 12px;
	--shadow-card: 0 8px 22px var(--color-shadow-soft);
	--shadow-card-hover: 0 14px 32px var(--color-shadow);
	--theme-primary-color: var(--color-primary);
	--color-theme-primary: var(--color-primary);
	--color-theme-secondary: var(--color-primary-dark);
	--color-theme-highlight: var(--color-primary);
	--color-theme-background: var(--color-bg);
	--color-theme-text: var(--color-text);
	--color-theme-border: var(--color-border);
	--color-theme-text-btn: var(--color-on-dark);
	--bodyfont: var(--font-body);
	--headfont: var(--font-heading);
}

/* === Global === */
html { scroll-behavior: smooth; }
body, button, input, select, textarea { font-family: var(--font-body); }
body { background: var(--color-bg); color: var(--color-text); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .elementor-heading-title, .listing-post .title, .tficonbox .title { color: var(--color-heading); font-family: var(--font-heading); font-weight: 800; letter-spacing: 0; }
p { color: var(--color-text-muted); }
a { color: var(--color-primary-dark); transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:hover, a:focus { color: var(--color-primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.elementor-button, .tf-btn, .button-details > a, .tf-search-wrap button,
.tf-search-wrap input[type="submit"], .tfcl-listing-card .btn-listing {
	align-items: center;
	background: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-button);
	box-shadow: 0 6px 16px rgba(0, 174, 239, .25);
	color: var(--color-on-dark);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	text-transform: none;
}

.elementor-button:hover, .tf-btn:hover, .button-details > a:hover,
.tf-search-wrap button:hover, .tfcl-listing-card .btn-listing:hover {
	background: var(--color-primary-hover);
	border-color: var(--color-primary-hover);
	color: var(--color-on-dark);
	transform: translateY(-1px);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="url"], select, textarea, .tf-search-wrap .search-field {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	color: var(--color-text);
	min-height: 46px;
}

/* === Hero: light layout from nw-motors.com === */
body.home .page-header { display: none; }
body.home .elementor-element-998811b { background: var(--color-bg); overflow: visible; }
body.home .elementor-widget-tf_slider_listing, body.home .tf-slider-listing { background: var(--color-bg); min-height: 0; overflow: visible; }
body.home .tf-slider-listing { padding-top: calc(var(--nw-header-height, 100px) + 38px); }
body.home .tf-slider-listing.style1 .slider-content {
	background: radial-gradient(900px 360px at 8% 8%, var(--color-primary-soft), transparent 70%);
	display: flex;
	flex-direction: column;
	isolation: isolate;
	margin: 0 auto;
	max-width: 1280px;
	min-height: 0;
	padding: 52px 34px 0;
}

/* Decorative concentric curves behind the vehicle, matching the reference hero. */
body.home .tf-slider-listing.style1 .slider-content::before {
	background-image: url("assets/images/bacround-hero.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	content: "";
	inset: 0;
	filter: contrast(1.25);
	opacity: .38;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

body.home .tf-slider-listing.style1 .content-title.slider-post {
	margin: 0 auto;
	max-width: 1060px;
	order: 1;
	padding: 0;
	position: static;
	transform: none;
	width: 100%;
	z-index: 1;
}

/* Elementor slider animation writes transforms and collapsed heights inline. */
body.home .tf-slider-listing.style1 .content-title .subtitle,
body.home .tf-slider-listing.style1 .content-title .title,
body.home .tf-slider-listing.style1 .content-title .desc {
	opacity: 1 !important;
	transform: none !important;
}

body.home .tf-slider-listing.style1 .content-title .subtitle { color: var(--color-primary-dark); font-size: 21px; font-weight: 800; margin: 0 0 6px; }
body.home .tf-slider-listing.style1 .content-title .title { color: var(--color-text); font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.02; margin: 0 0 16px; max-width: 900px; }
body.home .tf-slider-listing.style1 .content-title .desc,
body.home .tf-slider-listing.style1 .content-title .desc p,
body.home .tf-slider-listing.style1 .content-title .desc li,
body.home .tf-slider-listing.style1 .content-title .desc span { color: var(--color-text-muted) !important; font-size: 16px; line-height: 1.65; }
body.home .tf-slider-listing.style1 .content-title .desc,
body.home .tf-slider-listing.style1 .content-title .desc p,
body.home .tf-slider-listing.style1 .content-title .desc li { color: var(--color-text-muted) !important; }
body.home .tf-slider-listing.style1 .content-title .desc { height: auto !important; max-height: none !important; max-width: 760px; overflow: visible !important; }
/* The saved Elementor content contains nested paragraphs; browsers normalize them
   into direct siblings of .desc, so these selectors style the normalized DOM. */
body.home .tf-slider-listing.style1 .content-title > p:not(.subtitle):not(.desc),
body.home .tf-slider-listing.style1 .content-title > p:not(.subtitle):not(.desc) span,
body.home .tf-slider-listing.style1 .content-title > p:not(.subtitle):not(.desc) strong {
	color: var(--color-text-muted) !important;
	font-size: 16px;
	line-height: 1.65;
}
body.home .tf-slider-listing.style1 .content-title > p:not(.subtitle):not(.desc) { margin: 0; max-width: 760px; }
body.home .tf-slider-listing.style1 .content-title > ul { display: grid; gap: 8px; list-style: none; margin: 16px 0 20px; max-width: 760px; padding: 0; }
body.home .tf-slider-listing.style1 .content-title > ul > li,
body.home .tf-slider-listing.style1 .content-title > ul > li span,
body.home .tf-slider-listing.style1 .content-title > ul > li strong { color: var(--color-heading) !important; font-size: 16px; line-height: 1.55; }
body.home .tf-slider-listing.style1 .content-title > ul > li { padding-left: 30px; position: relative; }
body.home .tf-slider-listing.style1 .content-title > ul > li::before { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); border: 4px solid var(--color-bg); border-radius: 6px; box-shadow: 0 0 0 1px var(--color-primary); content: ""; height: 20px; left: 0; position: absolute; top: 3px; width: 20px; }
body.home .tf-slider-listing.style1 .content-title .desc ul { display: grid; gap: 8px; list-style: none; margin: 16px 0 20px; padding: 0; }
body.home .tf-slider-listing.style1 .content-title .desc li { color: var(--color-heading); padding-left: 30px; position: relative; }
body.home .tf-slider-listing.style1 .content-title .desc li::before { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); border: 4px solid var(--color-bg); border-radius: 6px; box-shadow: 0 0 0 1px var(--color-primary); content: ""; height: 20px; left: 0; position: absolute; top: 3px; width: 20px; }
body.home .tf-slider-listing.style1 .content-title .desc a[href*="terms"] { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 2px; }
body.home .tf-slider-listing.style1 .content-title .button-details { display: flex; margin-top: 12px; }
body.home .tf-slider-listing.style1 .content-title .button-details > a { background: var(--color-primary) !important; border-color: var(--color-primary) !important; color: var(--color-on-dark) !important; }

body.home .tf-slider-listing.style1 .media-inner {
	background: url("assets/images/northwest-hero.png") center bottom / contain no-repeat;
	height: clamp(290px, 38vw, 520px);
	margin: 20px auto 0;
	max-width: 1120px;
	order: 2;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}
body.home .tf-slider-listing.style1 .media-inner::after { display: none; }
body.home .tf-slider-listing.style1 .media-inner img { content: url("assets/images/northwest-hero.png"); height: 100%; object-fit: contain; object-position: center bottom; width: 100%; }
body.home .tf-slider-listing .owl-nav { display: none; }

/* Keep the plugin search functional, but place it below the hero. */
body.home .elementor-element-749f3e1 { inset: auto; margin: -18px auto 42px; max-width: 1280px; padding-inline: 24px; position: relative; width: 100%; }
.tf-search-wrap .form-search-wrap, .tfcl-advanced-search { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.tf-search-wrap .tf-search-condition-tab { border-bottom: 1px solid var(--color-border); }
.tf-search-wrap .btn-condition-filter { color: var(--color-text-muted); font-weight: 700; }
.tf-search-wrap .btn-condition-filter.active, .tf-search-wrap .btn-condition-filter:hover { background: var(--color-primary); color: var(--color-on-dark); }

/* === Financing grid === */
body.home .elementor-element-a023cdf { background: var(--color-bg-alt); padding: 64px 24px; }
body.home .elementor-element-e180df3 { margin: 0 auto; max-width: 1060px; }
body.home .elementor-element-bc93591 h4 { color: var(--color-primary-dark); font-size: 18px; font-weight: 700; margin: 0 0 7px; }
body.home .elementor-element-bc93591 h4 span { color: inherit; }
body.home .elementor-element-430ad37 .elementor-heading-title { color: var(--color-heading); font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin-bottom: 14px; }
body.home .elementor-element-45dab83 { margin-inline: auto; max-width: 860px; text-align: center; }
body.home .elementor-element-a4a512b { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
body.home .elementor-element-a4a512b .elementor-widget-container, body.home .elementor-element-a4a512b .tficonbox { height: 100%; }
body.home .elementor-element-a4a512b .tficonbox { align-items: flex-start; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 14px; box-shadow: 0 6px 16px var(--color-shadow-soft); display: grid; gap: 14px; grid-template-columns: 44px 1fr; padding: 20px; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
body.home .elementor-element-a4a512b .tficonbox:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
body.home .elementor-element-a4a512b .tficonbox .wrap-icon { margin: 0; width: 44px; }
body.home .elementor-element-a4a512b .tficonbox .wrap-icon-inner { align-items: center; background: var(--color-primary-soft); border-radius: 50%; color: var(--color-primary-dark); display: flex; font-size: 20px; height: 44px; justify-content: center; width: 44px; }
body.home .elementor-element-a4a512b .tficonbox .title { color: var(--color-heading); font-size: 15px; font-weight: 800; line-height: 1.35; margin: 0 0 5px; }
body.home .elementor-element-a4a512b .tficonbox .description p { color: var(--color-text-muted); font-size: 13px; line-height: 1.5; margin: 0; }

/* === Inventory cards === */
.tf-listing-wrap .listing-post, .wrap-tfcl-listing-card .tfcl-listing-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); height: 100%; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tf-listing-wrap .listing-post:hover, .wrap-tfcl-listing-card .tfcl-listing-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.tf-listing-wrap .listing-post .featured-property, .wrap-tfcl-listing-card .featured-property { background: var(--color-bg-alt); border-radius: var(--radius-card) var(--radius-card) 0 0; overflow: hidden; }
.tf-listing-wrap .listing-post .featured-property img, .wrap-tfcl-listing-card .listing-images img { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
.tf-listing-wrap .listing-post .content, .wrap-tfcl-listing-card .card-content { background: var(--color-bg); border: 0; display: flex; flex-direction: column; padding: 18px; }
.tf-listing-wrap .listing-post .car-body, .wrap-tfcl-listing-card .car-body { color: var(--color-primary-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.tf-listing-wrap .listing-post .title, .wrap-tfcl-listing-card .tfcl-listing-title { font-size: 18px; line-height: 1.35; margin: 6px 0 14px; }
.tf-listing-wrap .listing-post .title a, .wrap-tfcl-listing-card .tfcl-listing-title a { color: var(--color-heading); }
.tf-listing-wrap .description ul, .wrap-tfcl-listing-card .infor-description { display: flex; flex-wrap: wrap; gap: 9px 15px; }
.tf-listing-wrap .listing-information p, .wrap-tfcl-listing-card .listing-information p { color: var(--color-text-muted); font-size: 13px; margin: 0; }
.tf-listing-wrap .price, .wrap-tfcl-listing-card .price { align-items: baseline; display: flex; gap: 8px; margin-top: 16px; }
.tf-listing-wrap .price .regular_price, .wrap-tfcl-listing-card .price .regular_price { color: var(--color-primary-dark); font-size: 22px; font-weight: 800; }
.tf-listing-wrap .price .sale_price, .wrap-tfcl-listing-card .price .sale_price { color: var(--color-text-muted); font-size: 13px; text-decoration: line-through; }
.tf-listing-wrap .featured-property .features, .tf-listing-wrap .featured-property .status,
.tf-listing-wrap .featured-property .date-car, .wrap-tfcl-listing-card .featured-property .features,
.wrap-tfcl-listing-card .featured-property .status, .wrap-tfcl-listing-card .featured-property .date-car { background: var(--color-primary); color: var(--color-on-dark); }

/* === Responsive: Elementor breakpoints === */
@media (max-width: 1024px) {
	body.home .tf-slider-listing { padding-top: 110px; }
	body.home .tf-slider-listing.style1 .slider-content { padding: 42px 24px 0; }
	body.home .elementor-element-a4a512b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	body.home .tf-slider-listing { padding-top: 121px; }
	body.home .tf-slider-listing.style1 .slider-content::before { background-position: center bottom; background-size: auto 100%; opacity: .28; }
	body.home .tf-slider-listing.style1 .slider-content { padding: 34px 18px 0; }
	body.home .tf-slider-listing.style1 .content-title .title { font-size: 36px; }
	body.home .tf-slider-listing.style1 .content-title .desc,
	body.home .tf-slider-listing.style1 .content-title .desc p,
	body.home .tf-slider-listing.style1 .content-title .desc li { font-size: 14px; }
	body.home .tf-slider-listing.style1 .media-inner { height: 250px; }
	body.home .elementor-element-749f3e1 { margin-top: 0; padding-inline: 15px; }
	body.home .elementor-element-a023cdf { padding: 52px 15px; }
	body.home .elementor-element-a4a512b { grid-template-columns: 1fr; }
	body.home .elementor-element-a4a512b .tficonbox { padding: 17px; }
}
