/* Jordan VIP Cars - UI fixes.
   Each block states the defect it repairs. Loaded after all theme CSS.
   Remove a block to revert that single fix. */

/* FIX 1 - mobile menu close button leaked into the header.
   .menu_mobile is position:fixed with height:0 while closed and nothing clips it,
   so .menu_mobile_header_wrap (absolute, top:0, 400x88) painted over the real
   header and its close icon overlapped the burger by 7px. */
.menu_mobile:not(.opened){ overflow: hidden; }

/* FIX 2 - the vehicle gallery had no previous/next controls.
   The theme ships only a thumbnail strip; arrows, a counter, keyboard and swipe
   are added by jvc-fixes.js and styled here. */
.cars_page_featured.jvc-has-arrows{ position: relative; }
.cars_page_featured.jvc-has-arrows:focus{ outline: none; }
.cars_page_featured.jvc-has-arrows:focus-visible{
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.jvc-gallery-nav{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
	background: rgba(17,17,17,.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	cursor: pointer;
	opacity: .85;
	transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}
.jvc-gallery-nav:hover,
.jvc-gallery-nav:focus-visible{
	opacity: 1;
	background: rgba(17,17,17,.8);
}
.jvc-gallery-nav:focus-visible{
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.jvc-gallery-nav:active{ transform: translateY(-50%) scale(.94); }
.jvc-gallery-nav svg{ width: 20px; height: 20px; display: block; }
.jvc-gallery-prev{ left: 12px; }
.jvc-gallery-next{ right: 12px; }

.jvc-gallery-count{
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 5;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(17,17,17,.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: .02em;
	pointer-events: none;
}

/* Thumb targets are small on phones - give the arrows room and keep them clear
   of the counter. */
@media (max-width: 600px){
	.jvc-gallery-nav{ width: 40px; height: 40px; }
	.jvc-gallery-prev{ left: 8px; }
	.jvc-gallery-next{ right: 8px; }
	.jvc-gallery-count{ right: 8px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce){
	.jvc-gallery-nav{ transition: none; }
	.jvc-gallery-nav:active{ transform: translateY(-50%); }
}

/* FIX 3 - the Details block was a flat label/value list with no icons, and an
   empty field (this fleet has several cars with no mileage recorded) left a
   blank row. jvc-car-specs.php now renders an icon grid from the same stored
   fields and skips anything empty. Colours are relative so the block stays
   correct on a light or dark background. */
.jvc-specs .jvc-specs-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}
.jvc-specs .jvc-spec{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid rgba(127,127,127,.22);
	border-radius: 12px;
	background: rgba(127,127,127,.08);
	transition: border-color .2s ease, background-color .2s ease;
}
.jvc-specs .jvc-spec:hover{
	border-color: rgba(127,127,127,.38);
	background: rgba(127,127,127,.12);
}
.jvc-specs .jvc-spec-icon{
	font-size: 22px;
	line-height: 1;
	margin-bottom: 8px;
	color: var(--theme-color-text_link, currentColor);
}
.jvc-specs .jvc-spec-label{
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .62;
}
.jvc-specs .jvc-spec-value{
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 600;
	word-break: break-word;
}
.jvc-specs .jvc-spec-value a{ color: inherit; }
.jvc-specs .jvc-spec-value a:hover{ color: var(--theme-color-text_link, inherit); }

/* Two per row on phones keeps the values readable instead of wrapping. */
@media (max-width: 480px){
	.jvc-specs .jvc-specs-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.jvc-specs .jvc-spec{ padding: 14px; }
	.jvc-specs .jvc-spec-value{ font-size: 15px; }
}

@media (prefers-reduced-motion: reduce){
	.jvc-specs .jvc-spec{ transition: none; }
}

/* FIX 4 - car card info panels use the light "alter" background (#FFFFFF) but
   their headings inherited the page-level text_dark (#ffffff, correct against
   the black page), so every card title and city rendered white on white. Bind
   text inside the panel to the scheme's own alter group instead. */
.sc_cars_item_info .sc_cars_item_title a,
.sc_cars_item_info h1 a, .sc_cars_item_info h2 a, .sc_cars_item_info h3 a,
.sc_cars_item_info h4 a, .sc_cars_item_info h5 a, .sc_cars_item_info h6 a,
.sc_cars_item_info .cars_page_city a,
.sc_cars_item_info .sc_cars_item_address a{
	color: var(--theme-color-alter_dark);
}
.sc_cars_item_info .sc_cars_item_title a:hover,
.sc_cars_item_info h1 a:hover, .sc_cars_item_info h2 a:hover,
.sc_cars_item_info h3 a:hover, .sc_cars_item_info h4 a:hover,
.sc_cars_item_info h5 a:hover, .sc_cars_item_info h6 a:hover,
.sc_cars_item_info .cars_page_city a:hover{
	color: var(--theme-color-alter_hover);
}

/* FIX 4b - the theme rule .cars_page_title_address .cars_page_city a is more
   specific than the block above, so the city inside a card stayed white on
   white. Match its specificity and win on source order. */
.sc_cars_item_info .cars_page_title_address a,
.sc_cars_item_info .cars_page_title_address .cars_page_city a{
	color: var(--theme-color-alter_dark);
}
.sc_cars_item_info .cars_page_title_address a:hover,
.sc_cars_item_info .cars_page_title_address .cars_page_city a:hover{
	color: var(--theme-color-alter_hover);
}

/* FIX 4c - anything else inside the white card panel (city, options, labels)
   also inherited page-level light text. Cover the panel as a whole; buttons
   and price keep their own styling because they are outside this container
   or carry their own colour rule. */
.sc_cars_item .sc_cars_item_info a:not([class*="button"]):not([class*="sc_button"]){
	color: var(--theme-color-alter_dark);
}
.sc_cars_item .sc_cars_item_info a:not([class*="button"]):not([class*="sc_button"]):hover{
	color: var(--theme-color-alter_hover);
}

/* FIX 3b - auto-fit gives 6-7 narrow columns on a wide screen and leaves an
   orphan on the last row. Cap the grid so it reads as tidy rows. */
@media (min-width: 783px){
	.jvc-specs .jvc-specs-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px){
	.jvc-specs .jvc-specs-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* FIX 6 - the search filter range sliders (price, engine, year, power) sit on
   the white filter panel but their min/max labels inherited the page-level
   light text, so every filter value was white on white and unreadable. */
.trx_addons_range_slider .trx_addons_range_slider_label,
.trx_addons_range_slider_label{
	color: var(--theme-color-alter_dark);
}

/* FIX 6b - the theme sets these labels from .cars_search_form div.sc_form_field_wrap
   ... which outranks the rule above. Match that selector exactly so source order
   decides. */
.cars_search_form div.sc_form_field_wrap .trx_addons_range_slider .trx_addons_range_slider_label,
.cars_search_form div.sc_form_field_wrap .trx_addons_range_slider .trx_addons_range_slider_label_min,
.cars_search_form div.sc_form_field_wrap .trx_addons_range_slider .trx_addons_range_slider_label_max{
	color: var(--theme-color-alter_dark);
}

/* =========================================================================
   FIX 7 - glass surfaces, monochrome.
   The brand is black / white / grey only. Panels are translucent with a blur
   so whatever sits behind them shows through, rather than solid blocks.
   Tokens first so every surface stays consistent and is tuned in one place.
   ========================================================================= */
:root{
	--jvc-glass:        rgba(255,255,255,.055);
	--jvc-glass-strong: rgba(255,255,255,.10);
	--jvc-bd:           rgba(255,255,255,.14);
	--jvc-bd-strong:    rgba(255,255,255,.28);
	--jvc-blur:         saturate(115%) blur(14px);
	--jvc-radius:       16px;
}

/* --- specification tiles ------------------------------------------------ */
.jvc-specs .jvc-spec{
	background: var(--jvc-glass);
	border-color: var(--jvc-bd);
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
}
.jvc-specs .jvc-spec:hover{
	background: var(--jvc-glass-strong);
	border-color: var(--jvc-bd-strong);
}
.jvc-specs .jvc-spec-icon{ color: #FFFFFF; }
.jvc-specs .jvc-spec-label{ color: #A5A6AA; opacity: 1; }
.jvc-specs .jvc-spec-value{ color: #FFFFFF; }

/* --- car cards: one glass frame around image and details ---------------- */
.sc_cars_item{
	border: 1px solid var(--jvc-bd);
	border-radius: var(--jvc-radius);
	overflow: hidden;
	background: var(--jvc-glass);
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
	transition: border-color .25s ease, background-color .25s ease;
}
.sc_cars_item:hover{
	background: var(--jvc-glass-strong);
	border-color: var(--jvc-bd-strong);
}
/* the inner panel is part of the same frame, so it carries no fill of its own */
.sc_cars_item .sc_cars_item_info{
	background: transparent;
	border-color: var(--jvc-bd);
}
.sc_cars_item .sc_cars_item_param_icon,
.sc_cars_item .sc_cars_item_param_text{ color: #A5A6AA; }
.sc_cars_item .sc_cars_item_compare{ color: #A5A6AA; }
.sc_cars_item .sc_cars_item_compare:hover{ color: #FFFFFF; }

/* --- filled elements are left to the scheme -----------------------------
   The status pill and the search submit are painted by the theme with
   text_link as the FILL and inverse_link as the text on it. With the palette
   now monochrome that pairing is a white fill with near-black text, which is
   correct and high contrast - so they are deliberately NOT overridden here. */

/* --- search field keeps the glass treatment ----------------------------- */
.cars_search input[type="text"],
.cars_search input[type="search"],
.cars_search select,
input.fill_inited{
	background: var(--jvc-glass);
	border: 1px solid var(--jvc-bd);
	color: #FFFFFF;
}
.cars_search input::placeholder,
input.fill_inited::placeholder{ color: #A5A6AA; opacity: 1; }

/* --- gallery controls match the same glass ------------------------------ */
.jvc-gallery-nav{
	background: rgba(0,0,0,.45);
	border-color: var(--jvc-bd);
}
.jvc-gallery-nav:hover,
.jvc-gallery-nav:focus-visible{
	background: rgba(0,0,0,.68);
	border-color: var(--jvc-bd-strong);
}
.jvc-gallery-count{
	background: rgba(0,0,0,.5);
	border: 1px solid var(--jvc-bd);
}

/* Safari and Firefox without backdrop-filter get a slightly denser fill so the
   panels still read as panels rather than disappearing into the page. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
	.jvc-specs .jvc-spec,
	.sc_cars_item{ background: rgba(255,255,255,.08); }
}

/* FIX 8 - colours hard-coded in the theme's own stylesheets, which no scheme
   variable can reach. Each is replaced with a neutral from the brand palette. */

/* filled portion of the price / year / power range sliders was orange */
.cars_search_form div.sc_form_field_wrap .trx_addons_range_slider .ui-slider-range,
.trx_addons_range_slider .ui-slider-range{
	background: rgba(255,255,255,.55);
}
.cars_search_form div.sc_form_field_wrap .trx_addons_range_slider .ui-slider-handle,
.trx_addons_range_slider .ui-slider-handle{
	background: #FFFFFF;
	border-color: #FFFFFF;
}

/* the Rent / Sale pill on the home page cards carried a hard-coded green */
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_label,
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels a,
.sc_cars_item_thumb .sc_cars_item_labels a{
	background: #FFFFFF;
	color: #111111;
}

/* cover links carried a hard-coded red */
.sc_cover,
.sc_cover_default{ color: inherit; }

/* FIX 9 - two leftovers from the monochrome pass.

   a) On the home page the card markup wraps the label in .post_featured, not
      .sc_cars_item_thumb, so the rule in FIX 8 did not reach it and the pill
      kept the theme's hard-coded green. */
.sc_cars_default .sc_cars_item .post_featured .sc_cars_item_labels a,
.sc_cars_item .post_featured .sc_cars_item_labels a,
.sc_cars_item .sc_cars_item_labels a{
	background: #FFFFFF;
	color: #111111;
}
.sc_cars_default .sc_cars_item .post_featured .sc_cars_item_labels a:hover,
.sc_cars_item .post_featured .sc_cars_item_labels a:hover,
.sc_cars_item .sc_cars_item_labels a:hover{
	background: #E6E6E6;
	color: #000000;
}

/* b) The large step numerals on Our Services took their colour from
      Elementor's global palette. That global is now white, which is invisible
      on this section's white band, so they are given their own neutral grey -
      readable on a light or a dark band. */
.num-hover .elementor-heading-title{
	color: #A5A6AA;
}

/* FIX 10 - the status pill. The theme paints it from a rule carrying a
   :nth-child() pseudo-class, which outranks a plain class selector, so the
   same shape is repeated here and source order decides. Glass, to match the
   cards and the gallery controls. */
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels > a,
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels > a:nth-child(2n+1),
.sc_cars_default .sc_cars_item .post_featured .sc_cars_item_labels > a,
.sc_cars_default .sc_cars_item .post_featured .sc_cars_item_labels > a:nth-child(2n+1){
	background: rgba(0,0,0,.45);
	border: 1px solid var(--jvc-bd);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #FFFFFF;
}
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels > a:hover,
.sc_cars_default .sc_cars_item .post_featured .sc_cars_item_labels > a:hover{
	background: rgba(0,0,0,.68);
	border-color: var(--jvc-bd-strong);
	color: #FFFFFF;
}

/* FIX 11 - cards, panels and element frames, site-wide.
   The theme paints the card text panel and the gallery thumbnails with an
   opaque fill. The selectors below repeat the theme's own shape and add a
   class, so the glass treatment wins on specificity and source order rather
   than on !important - which would leave a future theme update no way to
   override it. Text colour is deliberately not touched here. */

/* a. the card text panel - was a solid #101010 / #1F1C1C slab */
.sc_cars_default .sc_cars_item.sc_item_container .sc_cars_item_info,
.sc_cars .sc_cars_item.sc_item_container.post_container .sc_cars_item_info,
.related_wrap .sc_cars_item.sc_item_container .sc_cars_item_info {
	background: transparent;
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: var(--jvc-bd);
}

/* b. the card frame itself - the theme zeroes the border width, so the glass
   edge never drew. */
.sc_cars_default .sc_cars_item.sc_item_container.post_container,
.sc_cars .sc_cars_item.sc_item_container.post_container,
.related_wrap .sc_cars_item.sc_item_container.post_container {
	background: var(--jvc-glass);
	border: 1px solid var(--jvc-bd);
	border-radius: var(--jvc-radius);
	overflow: hidden;
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
	transition: background .25s ease, border-color .25s ease;
}
.sc_cars_default .sc_cars_item.sc_item_container.post_container:hover,
.sc_cars .sc_cars_item.sc_item_container.post_container:hover,
.related_wrap .sc_cars_item.sc_item_container.post_container:hover {
	background: var(--jvc-glass-strong);
	border-color: var(--jvc-bd-strong);
}

/* c. gallery thumbnail frames */
.cars_page_gallery span.cars_page_gallery_item,
.cars_page_gallery .cars_page_gallery_item {
	background: var(--jvc-glass);
	border: 1px solid var(--jvc-bd);
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
}
.cars_page_gallery span.cars_page_gallery_item.cars_page_gallery_item_active,
.cars_page_gallery .cars_page_gallery_item.cars_page_gallery_item_active {
	background: var(--jvc-glass-strong);
	border-color: var(--jvc-bd-strong);
}

/* d. the shared utility. Anything given this class - by hand, or by the
   generaliser in jvc-fixes.js - gets the same frame as the cards above. */
.jvc-glass {
	background: var(--jvc-glass);
	border: 1px solid var(--jvc-bd);
	border-radius: var(--jvc-radius);
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
}
.jvc-glass:hover {
	border-color: var(--jvc-bd-strong);
}

/* Devices without backdrop-filter get a slightly heavier fill instead, so a
   panel never dissolves into the page. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.sc_cars_default .sc_cars_item.sc_item_container.post_container,
	.sc_cars .sc_cars_item.sc_item_container.post_container,
	.related_wrap .sc_cars_item.sc_item_container.post_container,
	.cars_page_gallery span.cars_page_gallery_item,
	.jvc-glass {
		background: rgba(255, 255, 255, .09);
	}
}

/* FIX 12 - the header, as a frosted panel floating clear of the edges.

   What gets pinned is the ROW carrying the logo and the menu, not the whole
   .top_panel. Some page templates put the page-title band inside the header as
   well - /cars/ builds a 622px header that way - and pinning all of that would
   staple an invisible 622px panel across the viewport and swallow every click
   underneath it.

   While the row is detached a spacer of the same height stands in for it, so
   nothing below it jumps. Both are handled in jvc-fixes.js; this is the look. */
.jvc-head-row {
	margin: 10px 12px 0;
	border-radius: 28px;
	border: 1px solid var(--jvc-bd);
	background-color: rgba(10, 10, 10, .38);
	-webkit-backdrop-filter: saturate(120%) blur(14px);
	backdrop-filter: saturate(120%) blur(14px);
	overflow: hidden;
}
/* Once the theme fixes a row, it is over the page rather than over the hero,
   so it needs a denser fill to stay readable. */
.jvc-head-row.sc_layouts_row_fixed_on,
.jvc-head-row.sc_layouts_row_fixed {
	background-color: rgba(10, 10, 10, .72);
	-webkit-backdrop-filter: saturate(120%) blur(18px);
	backdrop-filter: saturate(120%) blur(18px);
}
/* The row the theme fixes carries its own top/left/right; the margin above is
   what keeps it inner-inset rather than welded to the edges. */

@keyframes jvc-head-in {
	from { transform: translateY(-14px); opacity: 0; }
	to   { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.jvc-head-row.jvc-head-fixed { animation: none; }
}
@media (min-width: 1024px) {
	.jvc-head-row { margin: 14px 20px 0; border-radius: 32px; }
	.jvc-head-row.jvc-head-fixed { top: 14px; left: 20px; right: 20px; }
	.top_panel .jvc-head-row.elementor-section {
		padding-left: 40px;
		padding-right: 40px;
	}
}
/* No blur available - lean on a heavier fill so the menu stays readable
   against whatever scrolls underneath it. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.jvc-head-row { background-color: rgba(10, 10, 10, .80); }
	.jvc-head-row.jvc-head-fixed { background-color: rgba(10, 10, 10, .94); }
}

/* FIX 13 - the one-pixel header break.
   At exactly 767px and exactly 1279px the theme showed the desktop menu AND
   the burger at the same time, and the header wrapped to three rows: 92px
   became 291px. Two off-by-one media queries, one at each breakpoint. The
   rules below state the intent once, so the boundary pixel cannot fall
   between them. */
@media (max-width: 1279.98px) {
	/* The theme's own menu script writes style="display:block" straight onto the
	   list once it initialises, so no selector can outrank it - !important is the
	   only lever left, and it is confined to the widths where the desktop menu
	   must not be on screen at all. */
	.top_panel .sc_layouts_menu_nav { display: none !important; }
}
@media (min-width: 1280px) {
	.top_panel .sc_layouts_menu_mobile_button_burger,
	.top_panel .sc_layouts_menu_mobile_button { display: none; }
}

/* FIX 14 - the mobile action bar.
   Five slots: language, call, home, location, WhatsApp. Markup comes from the
   jvc-mobile-nav mu-plugin; this is only its appearance. Shown on phones and
   portrait tablets, where the burger menu is the only navigation on screen.

   Shaped to the reference: a pill that floats clear of the screen edges rather
   than a bar welded to the bottom, with the home disc sitting proud of it. The
   reference uses a brand colour for the halo and for one of the labels; those
   are greys here, because the identity is black, white and grey. */
.jvc-botnav { display: none; }

@media (max-width: 1023.98px) {
	.jvc-botnav {
		position: fixed;
		/* Wider than before - 8px of air each side rather than 12 - and seated
		   10px off the bottom. */
		left: 8px;
		right: 8px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		z-index: 9500;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		align-items: end;
		padding: 5px 4px;
		border-radius: 999px;
		/* A mid grey rather than a white veil: the bar has to stay legible over
		   the dark pages AND over the light map on the contacts page, where a
		   white tint went almost invisible. Over black this lands near #3C3C3C,
		   over white near #747474 - white bold labels read on both. */
		background: rgba(76, 76, 76, .78);
		border: 1px solid rgba(255, 255, 255, .22);
		-webkit-backdrop-filter: saturate(125%) blur(20px);
		backdrop-filter: saturate(125%) blur(20px);
		box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	}

	/* The bar floats over the page, so the last of the content needs somewhere
	   to go. Without this the footer sits underneath it. */
	body.jvc-has-botnav .page_wrap {
		padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
	}

	.jvc-botnav-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 5px;
		min-height: 48px;
		padding: 4px 2px;
		border-radius: 26px;
		color: #FFFFFF;
		text-decoration: none;
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0;
		text-transform: none;
		text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
		-webkit-tap-highlight-color: transparent;
	}
	.jvc-botnav-item:hover,
	.jvc-botnav-item:focus-visible { color: #FFFFFF; }
	.jvc-botnav-item:active { background: rgba(255, 255, 255, .16); }
	.jvc-botnav-item:focus-visible {
		outline: 2px solid #FFFFFF;
		outline-offset: 2px;
	}

	.jvc-botnav-ico {
		display: block;
		width: 26px;
		height: 26px;
		filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
	}
	.jvc-botnav-ico svg {
		display: block;
		width: 100%;
		height: 100%;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	/* The home slot. The disc is lifted out of the bar with a negative margin
	   rather than a transform, so the label underneath stays in flow and lines
	   up with the other four. */
	.jvc-botnav-home { gap: 5px; }
	/* The disc is taken out of the flow. In the flow it was the tallest thing in
	   the bar and so it set the bar's height - which is why the bar could not be
	   slimmed without shrinking the disc. Absolute here resolves against the bar
	   itself (the nearest positioned ancestor), so the disc stays centred on the
	   middle column while the four other slots decide how tall the bar is. */
	.jvc-botnav-home .jvc-botnav-disc {
		position: absolute;
		left: 50%;
		top: -22px;
		transform: translateX(-50%);
		display: flex;
		align-items: center;
		justify-content: center;
		width: 62px;
		height: 62px;
		margin-top: 0;
		border-radius: 50%;
		background: #FFFFFF;
		box-shadow: 0 0 0 6px rgba(255, 255, 255, .16),
		            0 0 26px 2px rgba(255, 255, 255, .30);
	}
	.jvc-botnav-home img {
		display: block;
		width: 42px;
		height: auto;
		max-height: 42px;
		object-fit: contain;
		/* The site logo is drawn in white, which would vanish on a white disc.
		   Inverting it gives the black-on-white mark the reference shows. If a
		   colour logo is ever uploaded, delete this one line. */
		filter: invert(1);
	}
	.jvc-botnav-home .jvc-botnav-mark {
		color: #111111;
		font-size: 15px;
		font-weight: 700;
		letter-spacing: .02em;
		text-shadow: none;
	}

	/* The floating WhatsApp bubble would land on top of the bar, and the bar
	   already carries WhatsApp. One entry point, not two. */
	#ht-ctc-chat { display: none !important; }
}

/* The language slot only exists once there is a second language to switch to.
   Until then the mu-plugin renders All Cars in that slot, so the centre logo
   stays centred. */
.jvc-botnav-lang[hidden] { display: none; }

/* FIX 15 - two leftovers from the monochrome conversion, both mine.

   a. The animated headings ("...rental process", "...news") are painted with
      background-clip: text, so what you read is the gradient, not the colour.
      Greyscaling mapped the first colour stop to pure black, and on a near
      black band the first half of each word stopped existing.
   b. The skip links are black text on no background. They sit off-screen until
      a keyboard user tabs to them - and then they arrived black on dark. */
.gradient_animation,
.gradient_animation.gradient_animation {
	background-image: linear-gradient(45deg, #FFFFFF 0%, #9A9A9A 100%);
}
.rentic_skip_link:focus,
.rentic_skip_link:focus-visible {
	color: #FFFFFF;
	background: rgba(10, 10, 10, .94);
	border: 1px solid var(--jvc-bd-strong);
	border-radius: 10px;
	padding: 10px 16px;
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
}

/* FIX 13b - the two header rows.
   The header template holds two complete rows: a wide one carrying the desktop
   menu (elementor-element-e3291a9) and a compact one carrying the burger
   (elementor-element-e88fe27). The theme swaps between them with its own media
   queries, and those queries leave a one-pixel gap at 767px and again at
   1279px where NEITHER is switched off - both rows render and the header grows
   from 92px to 223px. The element ids are from the current header template; if
   that template is ever rebuilt these rules simply stop matching and the
   one-pixel gap returns, which is the harmless failure. */
/* Matching on what a row CONTAINS rather than on its Elementor id, so this
   holds for every header template - the homepage one, the /cars/ one, and any
   built later. The burger row is the compact header; the row with a menu list
   and no burger is the wide one. */
@media (min-width: 1280px) {
	.top_panel .elementor-top-section:has(.sc_layouts_menu_mobile_button_burger) {
		display: none !important;
	}
}
@media (max-width: 1279.98px) {
	.top_panel .elementor-top-section:has(.sc_layouts_menu_nav):not(:has(.sc_layouts_menu_mobile_button_burger)) {
		display: none !important;
	}
}

/* Why 1279.98 and 1023.98 rather than 1279 and 1023: on a screen whose
   device pixel ratio is not a whole number the viewport can measure 1279.33px,
   which matches neither max-width: 1279px nor min-width: 1280px, and the rules
   on both sides of the breakpoint go missing together. */

/* FIX 15b - two things that only showed up once the work was on live.

   a. The animated headings carry a gradient painted with background-clip: text.
      On live that clip is not being applied, so what renders is the element's
      own colour - pure black, on a near-black band. Giving them a white colour
      as well as the gradient covers both cases: where the clip works, the
      gradient still paints and -webkit-text-fill-color: transparent wins; where
      it does not, the heading is simply white and readable.
   b. Elementor's social icons default to #69727D, a blue-tinted grey. Pulled
      onto the palette so the identity holds in the corners too. */
.gradient_animation,
.gradient_animation.gradient_animation {
	/* !important because the theme sets this gradient from a rule no selector
	   of ours can outrank. It is one decorative declaration, scoped to one
	   class, so the cost is small and the heading is readable either way. */
	background-image: linear-gradient(45deg, #FFFFFF 0%, #9A9A9A 100%) !important;
	color: #FFFFFF;
}
.elementor-social-icon {
	color: #9A9A9A;
}

/* FIX 16 - booking, on WhatsApp.
   The stock contact form on a car page is replaced by two date fields and one
   button; the markup comes from the jvc-whatsapp-booking mu-plugin and the
   wording of the message is assembled in jvc-fixes.js. This is the look only,
   built from the same glass tokens as everything else. */
.jvc-book {
	max-width: 620px;
	margin: 0 auto;
	padding: 24px;
	border: 1px solid var(--jvc-bd);
	border-radius: var(--jvc-radius);
	background: var(--jvc-glass);
	-webkit-backdrop-filter: var(--jvc-blur);
	backdrop-filter: var(--jvc-blur);
}
.jvc-book-title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.2;
	color: #FFFFFF;
}
.jvc-book-dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 479px) {
	.jvc-book-dates { grid-template-columns: 1fr; }
	.jvc-book { padding: 18px; }
}
.jvc-book-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.jvc-book-field > span {
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #A5A6AA;
}
.jvc-book-field input[type="date"] {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--jvc-bd);
	border-radius: 12px;
	background: var(--jvc-glass-strong);
	color: #FFFFFF;
	font-size: 15px;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.jvc-book-field input[type="date"]:focus-visible {
	outline: 2px solid var(--jvc-bd-strong);
	outline-offset: 2px;
	border-color: var(--jvc-bd-strong);
}
/* The native date picker's icon is drawn dark, which disappears on a dark
   field. Inverting it is the only way to recolour a control the browser owns. */
.jvc-book-field input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(1);
	opacity: .75;
	cursor: pointer;
}

.jvc-book-summary {
	min-height: 20px;
	margin: 14px 0 0;
	font-size: 13px;
	color: #C9CACD;
}
.jvc-book-invalid .jvc-book-summary { color: #FFFFFF; }
.jvc-book-invalid .jvc-book-to { border-color: var(--jvc-bd-strong); }

.jvc-book-go {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
	padding: 15px 20px;
	border-radius: 999px;
	background: #FFFFFF;
	color: #111111;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease;
}
.jvc-book-go:hover,
.jvc-book-go:focus-visible { background: #E4E4E4; color: #111111; }
.jvc-book-go:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.jvc-book-ico { display: block; width: 20px; height: 20px; }
.jvc-book-ico svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.jvc-book-note {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #9A9A9A;
	text-align: center;
}

/* The bar that follows you down a car page. It clears the mobile action bar by
   sitting above it, and gets out of the way once the panel is on screen. */
.jvc-book-sticky {
	position: fixed;
	left: 8px;
	right: 8px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	z-index: 9400;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(76, 76, 76, .78);
	-webkit-backdrop-filter: saturate(125%) blur(20px);
	backdrop-filter: saturate(125%) blur(20px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	transition: opacity .25s ease, transform .25s ease;
}
@media (max-width: 1023.98px) {
	.jvc-book-sticky { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 680px) {
	.jvc-book-sticky { left: auto; right: 20px; min-width: 320px; }
}
.jvc-book-sticky-away {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}
.jvc-book-sticky-price {
	font-size: 14px;
	font-weight: 700;
	color: #FFFFFF;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
	white-space: nowrap;
}
.jvc-book-sticky-go {
	padding: 11px 20px;
	border-radius: 999px;
	background: #FFFFFF;
	color: #111111;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.jvc-book-sticky-go:hover,
.jvc-book-sticky-go:focus-visible { background: #E4E4E4; color: #111111; }

/* The shortcut on a fleet card. */
.jvc-book-card {
	display: block;
	margin: 14px 0 0;
	padding: 11px 16px;
	border: 1px solid var(--jvc-bd-strong);
	border-radius: 999px;
	background: transparent;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.jvc-book-card:hover,
.jvc-book-card:focus-visible {
	background: #FFFFFF;
	color: #111111;
}

/* ============================================================================
   FIX 17 - "Find Your Car", the search panel on the home page.
   ----------------------------------------------------------------------------
   Defect: the stock widget was a thin black strip carrying a keyword box asking
   for a "Car ID or owner/seller's name, phone or email" - a question no one
   renting a car can answer - beside four dropdowns, two of which (Status, City)
   held a single choice. It offered no Model, no price, and nothing about it said
   what it was for.

   This replaces it with a glass panel that states its purpose, offers only the
   fields the fleet actually varies on, and submits to the archive query the
   theme already owns. Markup comes from mu-plugins/jvc-car-finder.php; the
   behaviour is FIX 17 in jvc-fixes.js.
   ========================================================================== */

/* The theme puts a 40px spacer immediately above the search widget. The panel is
   meant to sit against the hero, so the spacer goes and the panel is pulled up
   over the hero's lower edge instead. Matched by what follows it rather than by
   an Elementor id, which a re-save can change. */
.elementor-widget-spacer:has( + .elementor-widget-trx_sc_widget_cars_search ) {
	display: none;
}

.jvc-find {
	position: relative;
	z-index: 6;
	margin-top: -42px;
}

.jvc-find-form {
	padding: 22px 20px 20px;
	border-radius: 24px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background-color: rgba(10, 10, 10, .58);
	backdrop-filter: var(--jvc-blur, saturate(115%) blur(14px));
	-webkit-backdrop-filter: var(--jvc-blur, saturate(115%) blur(14px));
	box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .9);
}

.jvc-find-title {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -.02em;
	color: #FFFFFF;
}

.jvc-find-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
	align-items: end;
}

/* The two with the longest values get the full width on a phone, so nothing is
   clipped mid-word in a 150px-wide select. */
.jvc-find-model,
.jvc-find-price {
	grid-column: 1 / -1;
}

.jvc-find-f {
	display: block;
	min-width: 0;
}

.jvc-find-l {
	display: block;
	margin: 0 0 7px 2px;
	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

.jvc-find-l b {
	font-weight: 600;
	color: #FFFFFF;
	letter-spacing: .04em;
}

/* ---- the dropdowns ---- */

.jvc-find-sel {
	position: relative;
	display: block;
}

.jvc-find-sel select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 40px 0 15px;
	border-radius: 14px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background-color: var(--jvc-glass, rgba(255, 255, 255, .055));
	background-image: none;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 500;
	line-height: 48px;
	cursor: pointer;
	text-overflow: ellipsis;
	transition: border-color .24s cubic-bezier(.4, 0, .2, 1),
	            background-color .24s cubic-bezier(.4, 0, .2, 1),
	            box-shadow .24s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-sel select:hover {
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	background-color: var(--jvc-glass-strong, rgba(255, 255, 255, .10));
}

.jvc-find-sel select:focus-visible,
.jvc-find-range:focus-visible {
	outline: none;
	border-color: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

/* The dropdown list itself is painted by the operating system, which defaults to
   a white sheet with white text on it unless both are stated here. */
.jvc-find-sel select option {
	background-color: #121212;
	color: #FFFFFF;
}

.jvc-find-sel select option:disabled {
	color: rgba(255, 255, 255, .32);
}

.jvc-find-chev {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .5;
	pointer-events: none;
	transition: opacity .24s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-sel:hover .jvc-find-chev {
	opacity: .9;
}

/* ---- the price slider ---- */

.jvc-find-range {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.jvc-find-range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background: var(--jvc-glass, rgba(255, 255, 255, .055));
}

.jvc-find-range::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background: var(--jvc-glass, rgba(255, 255, 255, .055));
}

.jvc-find-range::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
}

.jvc-find-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	margin-top: -10px;
	border: 0;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
	transition: transform .18s cubic-bezier(.4, 0, .2, 1),
	            box-shadow .18s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-range::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
	transition: transform .18s cubic-bezier(.4, 0, .2, 1),
	            box-shadow .18s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-range:hover::-webkit-slider-thumb,
.jvc-find-range:active::-webkit-slider-thumb {
	transform: scale(1.14);
	box-shadow: 0 2px 16px rgba(255, 255, 255, .34);
}

.jvc-find-range:hover::-moz-range-thumb,
.jvc-find-range:active::-moz-range-thumb {
	transform: scale(1.14);
	box-shadow: 0 2px 16px rgba(255, 255, 255, .34);
}

/* ---- the disclosure ---- */

.jvc-find-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 16px 0 0;
	padding: 9px 15px;
	border-radius: 999px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background: transparent;
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	transition: border-color .24s cubic-bezier(.4, 0, .2, 1),
	            color .24s cubic-bezier(.4, 0, .2, 1),
	            background-color .24s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-more:hover {
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	background-color: var(--jvc-glass, rgba(255, 255, 255, .055));
	color: #FFFFFF;
}

.jvc-find-more svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-more[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

/* Opening is animated from 0fr to 1fr rather than from a guessed max-height, so
   the panel never springs the last few pixels or clips a field on a narrow
   screen where the hidden rows are taller than the guess. */
.jvc-find-extra {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	margin-top: 14px;
	transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1),
	            opacity .24s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-extra > * {
	overflow: hidden;
	min-height: 0;
}

.jvc-find-extra.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
}

/* ---- the buttons ---- */

.jvc-find-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.jvc-find-count {
	flex: 1 1 100%;
	order: -1;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .62);
}

.jvc-find-count.is-empty {
	color: rgba(255, 255, 255, .92);
}

.jvc-find-reset,
.jvc-find-go {
	height: 50px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: transform .18s cubic-bezier(.4, 0, .2, 1),
	            box-shadow .24s cubic-bezier(.4, 0, .2, 1),
	            background-color .24s cubic-bezier(.4, 0, .2, 1),
	            border-color .24s cubic-bezier(.4, 0, .2, 1),
	            color .24s cubic-bezier(.4, 0, .2, 1),
	            opacity .24s cubic-bezier(.4, 0, .2, 1);
}

.jvc-find-reset {
	flex: 0 0 auto;
	padding: 0 20px;
	border: 1px solid var(--jvc-bd, rgba(255, 255, 255, .14));
	background: transparent;
	color: rgba(255, 255, 255, .72);
}

.jvc-find-reset:hover {
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	color: #FFFFFF;
}

/* Nothing has been chosen yet, so there is nothing to reset. It stays in place
   rather than disappearing, so the row does not jump the first time a filter is
   touched. */
.jvc-find-reset[disabled] {
	opacity: .34;
	cursor: default;
}

.jvc-find-go {
	flex: 1 1 auto;
	min-width: 170px;
	padding: 0 30px;
	border: 1px solid #FFFFFF;
	background: #FFFFFF;
	color: #0A0A0A;
}

.jvc-find-go:hover {
	box-shadow: 0 6px 26px -6px rgba(255, 255, 255, .45);
}

.jvc-find-reset:active,
.jvc-find-go:active {
	transform: scale(.975);
}

/* No combination of filters returns nothing - the panel disables whatever would -
   so a disabled Search means the fleet itself is empty. */
.jvc-find-go[disabled] {
	opacity: .4;
	cursor: default;
	box-shadow: none;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.jvc-find-extra,
	.jvc-find-more svg,
	.jvc-find-sel select,
	.jvc-find-reset,
	.jvc-find-go,
	.jvc-find-range::-webkit-slider-thumb,
	.jvc-find-range::-moz-range-thumb {
		transition: none;
	}
}

/* ---- tablet ---- */

@media (min-width: 768px) {
	.jvc-find {
		margin-top: -52px;
	}

	.jvc-find-form {
		padding: 26px 24px 22px;
		border-radius: 26px;
	}

	.jvc-find-title {
		margin-bottom: 18px;
		font-size: 26px;
	}

	.jvc-find-grid {
		gap: 16px 14px;
	}

	.jvc-find-model,
	.jvc-find-price {
		grid-column: auto;
	}

	.jvc-find-count {
		flex: 1 1 auto;
		order: 0;
		margin-right: auto;
	}

	.jvc-find-go {
		flex: 0 0 auto;
	}
}

/* ---- laptop and up: the four that carry the search sit on one line ---- */

@media (min-width: 1200px) {
	.jvc-find {
		margin-top: -64px;
	}

	.jvc-find-form {
		padding: 30px 30px 26px;
		border-radius: 28px;
	}

	.jvc-find-title {
		margin-bottom: 22px;
		font-size: 30px;
	}

	.jvc-find-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 18px;
	}

	.jvc-find-sel select {
		height: 54px;
		line-height: 52px;
		font-size: 16px;
	}

	.jvc-find-range {
		height: 54px;
	}

	.jvc-find-reset,
	.jvc-find-go {
		height: 54px;
		font-size: 16px;
	}
}

/* ---- FIX 17b: holding the panel against the theme's own form styling ----

   Two things in the theme reach into this panel after it is rendered.

   The first is a script that finds every <select> on the page and wraps it in a
   .select_container, which draws its own arrow with a pseudo-element - so each
   field was showing two chevrons - and fills the field with the theme's input
   colour under an !important, which turned the glass solid black.

   The second is a blanket button rule, `form button:not(.components-button)`,
   which painted Search Cars, Reset Filters and More filters in the theme's link
   colour. That one is beaten on specificity alone; the fill is not, because
   nothing but !important outranks an !important. Both are scoped to .jvc-find so
   no other form on the site is affected. */

.jvc-find .select_container {
	display: block;
	position: static;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.jvc-find .select_container::before,
.jvc-find .select_container::after {
	display: none;
	content: none;
}

.jvc-find .select_container select {
	background-color: var(--jvc-glass, rgba(255, 255, 255, .055)) !important;
}

.jvc-find .select_container select:hover {
	background-color: var(--jvc-glass-strong, rgba(255, 255, 255, .10)) !important;
}

.jvc-find .jvc-find-form button.jvc-find-go {
	border-color: #FFFFFF;
	background-color: #FFFFFF;
	color: #0A0A0A;
}

.jvc-find .jvc-find-form button.jvc-find-reset,
.jvc-find .jvc-find-form button.jvc-find-more {
	background-color: transparent;
	color: rgba(255, 255, 255, .76);
	border-color: var(--jvc-bd, rgba(255, 255, 255, .14));
}

.jvc-find .jvc-find-form button.jvc-find-reset:hover,
.jvc-find .jvc-find-form button.jvc-find-more:hover {
	background-color: var(--jvc-glass, rgba(255, 255, 255, .055));
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	color: #FFFFFF;
}

.jvc-find .jvc-find-form button.jvc-find-go:hover {
	background-color: #FFFFFF;
	color: #0A0A0A;
}

/* The theme also paints every disabled button grey, with !important, which turned
   Reset Filters into a solid slab in the one state where it should read as quietly
   out of use. Same reasoning as above: an !important can only be answered in kind. */
.jvc-find .jvc-find-form button.jvc-find-reset[disabled] {
	background-color: transparent !important;
	border-color: var(--jvc-bd, rgba(255, 255, 255, .14)) !important;
	color: rgba(255, 255, 255, .76) !important;
}

.jvc-find .jvc-find-form button.jvc-find-go[disabled] {
	background-color: #FFFFFF !important;
	border-color: #FFFFFF !important;
	color: #0A0A0A !important;
}

/* The track was a hairline on a dark panel and read as nothing at all until the
   thumb was found by accident. */
.jvc-find .jvc-find-range::-webkit-slider-runnable-track {
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	background: rgba(255, 255, 255, .13);
}

.jvc-find .jvc-find-range::-moz-range-track {
	border-color: var(--jvc-bd-strong, rgba(255, 255, 255, .28));
	background: rgba(255, 255, 255, .13);
}


/* `hidden` is just `display: none` from the browser's own stylesheet, which any
   class beats - so the rule above that makes this a grid was quietly unhiding it.
   The rows measured zero and looked closed, but the two fields inside were still
   in the tab order and still read out by a screen reader. */
.jvc-find .jvc-find-extra[hidden] {
	display: none;
}

/* Two columns on a phone looked tidier than it was. Model and Price need the full
   width, so each of them pushed itself onto its own row and left the cell beside
   Manufacturer and Vehicle type empty - four rows either way, half of them half
   used, with the two shortest controls squeezed into 161px and "Mercedes-Benz"
   clipped. One column costs no extra height and gives every control the whole
   width to be tapped. */
@media (max-width: 767.98px) {
	.jvc-find-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== FIX: mobile menu speed — faster, GPU-friendlier open/close (keep the look) ===== */
.menu_mobile{transition:height .25s ease-out!important}
.menu_mobile_overlay{transition:opacity .22s ease-out!important}
.menu_mobile .menu_main>li,.menu_mobile .menu_main li{transition-delay:0s!important}
.menu_mobile .menu_main>li{transition:opacity .2s ease-out!important}
.sc_layouts_menu_mobile_button_burger,.menu_mobile_close{touch-action:manipulation}
@media(prefers-reduced-motion:reduce){.menu_mobile{transition:none!important}}

/* ===== FIX: filter spacing + icon + optional hint ===== */
.jvc-company-home #jvc-find.jvc-home-finder{margin-top:-80px!important}
@media(max-width:767px){.jvc-company-home #jvc-find.jvc-home-finder{margin-top:-24px!important}}
#jvc-find.jvc-home-finder h2{display:flex;align-items:center;gap:10px}
#jvc-find.jvc-home-finder .jvc-finder-ico{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff}
#jvc-find.jvc-home-finder .jvc-finder-hint{margin:-10px 0 20px!important;font-size:13.5px;line-height:1.6;color:#b9b9b9}
@media(max-width:767px){#jvc-find.jvc-home-finder .jvc-finder-ico{width:30px;height:30px}#jvc-find.jvc-home-finder .jvc-finder-ico svg{width:18px;height:18px}}


/* FIX 20 - Mobile scroll performance (18 Oct 2026). Paint/compositor cost only; visuals unchanged. */
@media (max-width:1024px){.home-page.with_bg_image,.frontpage.with_bg_image,.body_style_boxed{background-attachment:scroll !important;}}
@media (max-width:1024px){:root{--jvc-blur:saturate(115%) blur(10px);}}
.jvc-head-row{transform:translateZ(0);backface-visibility:hidden;}
@media (max-width:1024px){.jvc-company-car{content-visibility:auto;contain-intrinsic-size:auto 480px;}}
/* pull-to-refresh restored: overscroll removed */

/* FIX 20b - cap heavy literal blurs on mobile (loads at 9999, after design-system). */
@media (max-width:1024px){:root{--jvc-glass:saturate(155%) blur(12px);}}
@media (max-width:1024px){.jvc-company-home #jvc-find.jvc-home-finder{-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);}}
.jvc-botnav{transform:translateZ(0);backface-visibility:hidden;}

/* FIX 20c - target the real home cards (.sc_cars_item) + order-proof var caps. */
@media (max-width:1024px){:root{--jvc-glass:saturate(155%) blur(12px) !important;--jvc-blur:saturate(115%) blur(10px) !important;}}
@media (max-width:1024px){.sc_cars_item{content-visibility:auto;contain-intrinsic-size:auto 520px;}}
@media (max-width:1024px){.sc_cars_item_price{-webkit-backdrop-filter:blur(8px) saturate(1.2);backdrop-filter:blur(8px) saturate(1.2);}}

/* FIX 21 - Car-card image gallery (.sc_cars_item). Swipe + glass arrows + dots, no autoplay. */
.sc_cars_item_thumb.jvc-has-gallery{position:relative;overflow:hidden;}
.jvc-cardgal-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;background:#15161a;}
.jvc-cardgal-track::-webkit-scrollbar{display:none;}
.jvc-cardgal-slide{flex:0 0 100%;scroll-snap-align:center;display:block;line-height:0;position:relative;}
.jvc-cardgal-track>.jvc-cardgal-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.jvc-has-gallery .post_link{pointer-events:none;}
.jvc-has-gallery .sc_cars_item_labels{z-index:4;pointer-events:none;}
.jvc-has-gallery .sc_cars_item_price{z-index:4;}
.jvc-cardgal-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:34px;height:34px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(18,18,20,.42);-webkit-backdrop-filter:saturate(140%) blur(8px);backdrop-filter:saturate(140%) blur(8px);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .18s ease,background .18s ease;}
.sc_cars_item:hover .jvc-cardgal-arrow{opacity:1;}
.jvc-cardgal-arrow:hover{background:rgba(18,18,20,.62);}
.jvc-cardgal-prev{left:10px;}
.jvc-cardgal-next{right:10px;}
@media (hover:none){.jvc-cardgal-arrow{opacity:.9;}}
.jvc-cardgal-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:6px;justify-content:center;z-index:6;pointer-events:none;}
.jvc-cardgal-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);transition:width .18s ease,background .18s ease;}
.jvc-cardgal-dot.is-on{width:16px;border-radius:3px;background:#fff;}
/* FIX 22 - unify Our Services CTAs + header "Let's Talk" with the design system (glass secondary). */
.jvc-company a.jvc-company-link{min-height:var(--jvc-h,52px)!important;padding:14px 22px!important;border-radius:var(--jvc-r-1,12px)!important;font-size:15px!important;font-weight:600!important;background:var(--jvc-surface,rgba(255,255,255,.05))!important;color:#fff!important;border:1px solid var(--jvc-line-2,rgba(255,255,255,.26))!important;-webkit-backdrop-filter:var(--jvc-glass,saturate(155%) blur(14px));backdrop-filter:var(--jvc-glass,saturate(155%) blur(14px));}
.jvc-company a.jvc-company-link:hover{background:var(--jvc-surface-2,rgba(255,255,255,.09))!important;border-color:var(--jvc-line-3,rgba(255,255,255,.5))!important;color:#fff!important;box-shadow:0 12px 30px -20px rgba(255,255,255,.45)!important;}
.top_panel .sc_button.sc_button_default{background:var(--jvc-surface,rgba(255,255,255,.05))!important;color:#fff!important;border:1px solid var(--jvc-line-2,rgba(255,255,255,.26))!important;border-radius:var(--jvc-r-1,12px)!important;padding:14px 22px!important;min-height:var(--jvc-h,52px)!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:15px!important;font-weight:600!important;box-shadow:none!important;-webkit-backdrop-filter:var(--jvc-glass,saturate(155%) blur(14px));backdrop-filter:var(--jvc-glass,saturate(155%) blur(14px));transition:background .2s var(--jvc-ease,ease),border-color .2s var(--jvc-ease,ease),box-shadow .2s var(--jvc-ease,ease);}
.top_panel .sc_button.sc_button_default:hover{background:var(--jvc-surface-2,rgba(255,255,255,.09))!important;border-color:var(--jvc-line-3,rgba(255,255,255,.5))!important;color:#fff!important;box-shadow:0 12px 30px -20px rgba(255,255,255,.45)!important;}
/* FIX 21b - consistent designed card ratio (not the photo native ratio) + undraggable slides */
.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-track{aspect-ratio:16 / 10;}
@media(max-width:767px){.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-track{aspect-ratio:4 / 3;}}
.jvc-cardgal-slide img{-webkit-user-drag:none;user-select:none;}

/* FIX 23 - car card soft shadows + stable lift (GPU transform only, no layout cost). */
.sc_cars_item{border-radius:18px;box-shadow:0 14px 34px -20px rgba(0,0,0,.6),0 2px 8px -3px rgba(0,0,0,.35);transition:transform .22s cubic-bezier(.22,.61,.36,1),box-shadow .22s cubic-bezier(.22,.61,.36,1);will-change:transform;}
@media(hover:hover){.sc_cars_item:hover{transform:translateY(-4px);box-shadow:0 22px 50px -22px rgba(0,0,0,.66),0 4px 12px -4px rgba(0,0,0,.4);}}
html[data-theme="light"] .sc_cars_item{box-shadow:0 14px 32px -20px rgba(20,22,28,.3),0 2px 8px -3px rgba(20,22,28,.14);}
html[data-theme="light"] .sc_cars_item:hover{box-shadow:0 22px 46px -22px rgba(20,22,28,.34),0 4px 12px -4px rgba(20,22,28,.18);}
/* FIX 24 - transform slider model (overrides old scroll-snap track). */
.jvc-cardgal-vp{position:relative;width:100%;overflow:hidden;touch-action:pan-y;aspect-ratio:16 / 10;background:#15161a;}
@media(max-width:767px){.jvc-cardgal-vp{aspect-ratio:4 / 3;}}
.jvc-cardgal-track{display:flex!important;height:100%;overflow:visible!important;scroll-snap-type:none!important;aspect-ratio:auto!important;background:transparent!important;will-change:transform;}
.jvc-cardgal-slide{flex:0 0 100%!important;width:100%;height:100%;scroll-snap-align:none!important;}
.jvc-cardgal-track>.jvc-cardgal-slide img,.jvc-cardgal-slide img{width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none;user-select:none;}
.jvc-has-gallery .post_link{pointer-events:none;}
/* FIX 25 - match mobile bottom nav glass to the theme switcher (same tokens). Visual only. */
.jvc-botnav{background:rgba(20,20,22,.55)!important;-webkit-backdrop-filter:saturate(150%) blur(12px)!important;backdrop-filter:saturate(150%) blur(12px)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 10px 26px -14px rgba(0,0,0,.6)!important;}
html[data-theme="light"] .jvc-botnav{background:rgba(255,255,255,.72)!important;border-color:rgba(0,0,0,.12)!important;box-shadow:0 10px 26px -16px rgba(20,22,28,.4)!important;}
/* FIX 26 - seamless unified dark background (remove per-section shade differences + divider lines). Light mode keeps its own palette via higher-specificity [data-theme=light] rules. */
body{background-color:#0d0e10!important;}
.body_wrap,.page_wrap,.page_content_wrap,.content_wrap,.content,.scheme_default,.elementor,.elementor-section,.elementor-column-wrap,.elementor-widget-wrap,[class*="sc_layouts_row"]{background-color:transparent!important;}
.elementor-section,[class*="sc_layouts_row"],.elementor-column-wrap{border-top:0!important;border-bottom:0!important;}
/* FIX 27 - (a) dark canvas pinned to <html> so dark mode is NEVER white; (b) real touches reach the card slider (disable the ThemeREX hover overlay that was eating swipes/taps). */
html{background-color:#0d0e10!important;}
html[data-theme="light"]{background-color:#f4f5f7!important;}
.jvc-has-gallery .trx_addons_hover,
.jvc-has-gallery .trx_addons_hover_mask,
.jvc-has-gallery .trx_addons_hover_content,
.jvc-has-gallery .trx_addons_hover_icon,
.jvc-has-gallery .trx_addons_hover_icon_link,
.jvc-has-gallery .trx_addons_hover_icon_zoom,
.jvc-has-gallery .post_link,
.jvc-has-gallery .sc_cars_item_labels,
.jvc-has-gallery .sc_cars_item_price{pointer-events:none!important;}
.sc_cars_item_thumb.jvc-has-gallery{position:relative;}
.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-vp{position:relative;z-index:2;pointer-events:auto!important;}
.jvc-cardgal-arrow{z-index:6;pointer-events:auto!important;}
/* FIX 28 - the REAL touch blocker: ThemeREX 'hover_link' renders <a class="link"> (z-index:10) over the card image, eating swipes + opening details on tap. Disable its pointer events so touches reach the slider; tap still opens the car via the slider's own click handler. */
.sc_cars_item_thumb.jvc-has-gallery a.link,
.sc_cars_item_thumb.jvc-has-gallery > a,
.sc_cars_item_thumb.jvc-has-gallery .post_link{pointer-events:none!important;}
.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-vp{z-index:2;pointer-events:auto!important;}
.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-arrow{z-index:12!important;pointer-events:auto!important;}
.sc_cars_item_thumb.jvc-has-gallery .jvc-cardgal-dots{z-index:12!important;}
/* FIX 21 (ROUND 13, 20 Oct) - "the header changes colour".
   trx_addons paints the fixed (scrolled) header row white:
     :where(body.trx_addons_page_scrolled) .sc_layouts_row_fixed_on{background-color:#fff}
   Our panel look only applied once jvc-fixes.js had marked the row .jvc-head-row, and that marker
   stopped listening to scroll after a few frames (FIX 20) - a fixed copy built later came up as a
   plain white bar. Give the fixed row the panel look straight from CSS, keyed on what it contains,
   so it never depends on the marker. */
.top_panel .sc_layouts_row_fixed_on:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger),
.top_panel .sc_layouts_row_fixed:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger),
body.trx_addons_page_scrolled .top_panel .sc_layouts_row_fixed_on:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger){
	margin:10px 12px 0;border-radius:28px;border:1px solid var(--jvc-bd);overflow:hidden;
	background-color:rgba(10,10,10,.72)!important;
	-webkit-backdrop-filter:saturate(120%) blur(18px);backdrop-filter:saturate(120%) blur(18px);
	transform:translateZ(0);backface-visibility:hidden;
}
@media (min-width:1024px){
	.top_panel .sc_layouts_row_fixed_on:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger),
	.top_panel .sc_layouts_row_fixed:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger){margin:14px 20px 0;border-radius:32px}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
	.top_panel .sc_layouts_row_fixed_on:has(.sc_layouts_logo,.sc_layouts_menu,.sc_layouts_menu_mobile_button_burger){background-color:rgba(10,10,10,.94)!important}
}


/* ---------------------------------------------------------------------------
   FIX 18 — Home: section 3fa671d9 is an Elementor hosted background video
   (autoplay / muted / loop / playsinline, no controls — Elementor's own markup).
   Elementor sizes the <video> with JS (inline width/height); we take over with
   object-fit: cover so it fills the band on every viewport without stretching.
   Scoped to this one section. Safe to delete this block.
   --------------------------------------------------------------------------- */
.elementor-element-3fa671d9 > .elementor-background-video-container{
	position:absolute;inset:0;overflow:hidden;pointer-events:none;
}
.elementor-element-3fa671d9 .elementor-background-video-hosted{
	position:absolute;top:50%;left:50%;
	width:100%!important;height:100%!important;max-width:none;
	transform:translate(-50%,-50%);
	-o-object-fit:cover;object-fit:cover;object-position:center;
}
