button.mrk-cf__trigger:hover , button.mrk-cf__trigger:focus {
    background: none;
}
.mrk-cf { --mrk-green:#32BD67; --mrk-teal:#005653; --mrk-tint:#eafaf0; --mrk-line:#e5e9e9; --mrk-bar:#f2f4f4; width:100%; }
.mrk-cf *, .mrk-cf *::before, .mrk-cf *::after { box-sizing:border-box; }
.mrk-cf__heading { margin:0 0 20px; }
.mrk-cf__clear:hover {
    color: #00b166;
}
/* ---------- Desktop bar ---------- */
.mrk-cf__bar--desktop { display:flex; align-items:center; gap:16px; flex-wrap:wrap; background:var(--mrk-bar); border-radius:24px; padding:18px 24px; }
.mrk-cf__label { font-weight:700; font-size:18px; color:#0f1b22; flex:0 0 auto; }

.mrk-cf__field { position:relative; flex:1 1 0; min-width:0; }
.mrk-cf__trigger { display:flex; align-items:center; gap:14px; width:100%; background:#fff; border:1.5px solid var(--mrk-line); border-radius:14px; padding:12px 18px; cursor:pointer; text-align:left; transition:border-color .15s ease, box-shadow .15s ease; }
.mrk-cf__field.is-open > .mrk-cf__trigger { border-color:var(--mrk-green); box-shadow:0 0 0 3px rgba(50,189,103,.12); }
.mrk-cf__ico { display:inline-flex; flex:0 0 auto; color:var(--mrk-teal); background:#eef2f1; border-radius:9px; padding:7px; }
.mrk-cf__field-inner { display:flex; flex-direction:column; width:100%; min-width:0; line-height:1.25; }
.mrk-cf__field-inner label { font-size:13px; color:#8b9298; margin:0 0 2px; cursor:pointer; }
.mrk-cf__value { font-size:17px; font-weight:600; color:#10201d; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mrk-cf__chev { flex:0 0 auto; color:#374151; transition:transform .15s ease; }
.mrk-cf__field.is-open .mrk-cf__chev { transform:rotate(180deg); }

.mrk-cf__clear { flex:0 0 auto; font-weight:700; font-size:16px; color:var(--mrk-teal); text-decoration:none; white-space:nowrap; }
.mrk-cf__clear:hover { text-decoration:underline; }

/* ---------- Dropdown panels ---------- */
.mrk-cf__panel { position:absolute; top:calc(100% + 8px); left:0; min-width:100%; width:max-content; max-width:360px; background:#fff; border:1px solid var(--mrk-line); border-radius:16px; box-shadow:0 18px 40px rgba(16,24,40,.14); padding:8px; z-index:60; display:none; }
.mrk-cf__panel--right { left:auto; right:0; }
.mrk-cf__field.is-open .mrk-cf__panel { display:block; }

.mrk-cf__opt { display:flex; align-items:flex-start; gap:12px; width:100%; background:transparent; border:0; border-radius:10px; padding:12px 14px; cursor:pointer; text-align:left; }
.mrk-cf__opt:hover { background:#f6f8f8; }
.mrk-cf__opt.is-selected { background:var(--mrk-tint); }
.mrk-cf__opt-text { display:flex; flex-direction:column; }
.mrk-cf__opt-label { font-size:16px; font-weight:600; color:#10201d; }
.mrk-cf__opt.is-selected .mrk-cf__opt-label { color:var(--mrk-teal); }
.mrk-cf__opt-desc { font-size:13px; color:#8b9298; margin-top:2px; font-weight:400; }

.mrk-cf__check, .mrk-cf__radio { flex:0 0 auto; width:22px; height:22px; border:2px solid #cfd6d6; margin-top:1px; position:relative; }
.mrk-cf__check { border-radius:6px; }
.mrk-cf__radio { border-radius:50%; }
.mrk-cf__opt.is-selected .mrk-cf__check { background:var(--mrk-green); border-color:var(--mrk-green); }
.mrk-cf__opt.is-selected .mrk-cf__check::after { content:""; position:absolute; left:6px; top:2px; width:6px; height:11px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }
.mrk-cf__opt.is-selected .mrk-cf__radio { border-color:var(--mrk-green); }
.mrk-cf__opt.is-selected .mrk-cf__radio::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--mrk-green); }

/* ---------- Count + desktop sort ---------- */
.mrk-cf__meta { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:24px 4px 20px; }
.mrk-cf__count { font-size:15px; color:#5b6670; }
.mrk-cf__count strong { color:#0f1b22; font-weight:700; }
.mrk-cf__sortwrap { display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.mrk-cf__sortby { font-size:15px; color:#8b9298; }
.mrk-cf__field--sort { flex:0 0 auto; }
.mrk-cf__field--sort .mrk-cf__trigger { padding:10px 16px; gap:24px; }
.mrk-cf__field--sort .mrk-cf__value { font-size:15px; }

/* ---------- Grid + Show More ---------- */
.mrk-cf__grid { transition:opacity .2s ease; }
.mrk-cf__more-wrap { text-align:center; margin-top:28px; }
.mrk-cf__more { display:inline-flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--mrk-teal); border-radius:12px; padding:13px 26px; font-size:16px; font-weight:700; color:var(--mrk-teal) !important; cursor:pointer; line-height:1; transition:background-color .15s ease, box-shadow .15s ease; }
.mrk-cf__more:hover { background:#f3faf8; box-shadow:0 2px 8px rgba(0,81,76,.15); }
.mrk-cf__more-ico { flex:0 0 auto; transition:transform .15s ease; }
.mrk-cf__more:hover .mrk-cf__more-ico { transform:translateY(2px); }
.mrk-cf__more[disabled] { opacity:.6; cursor:default; box-shadow:none; }
.mrk-cf__loading { display:inline-block; margin-left:10px; color:#8b9298; }
.mrk-cf .no-cars { width:100%; text-align:center; padding:30px 0; }

/* ---------- Mobile bar ---------- */
.mrk-cf__bar--mobile { display:none; }
.mrk-cf__mobtabs { display:flex; gap:12px; }
.mrk-cf__mobbtn { flex:1 1 0; display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#fff; border:1.5px solid var(--mrk-line); border-radius:12px; padding:12px 14px; font-size:15px; font-weight:700; color:var(--mrk-teal); cursor:pointer; }
.mrk-cf__badge { display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:var(--mrk-green); color:#fff; font-size:13px; }
.mrk-cf__sortshort { font-weight:700; }
.mrk-cf__chips { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px; }
.mrk-cf__chip { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--mrk-line); border-radius:999px; padding:7px 12px; font-size:13px; color:#5b6670; background:#fff; }
.mrk-cf__chip.is-active { border-color:var(--mrk-green); color:var(--mrk-teal); font-weight:600; }
.mrk-cf__chip-x { border:0; background:transparent; color:inherit; font-size:18px; line-height:1; cursor:pointer; padding:0; }
.mrk-cf__chips-clear { font-weight:700; color:var(--mrk-green); text-decoration:none; font-size:13px; margin-left:4px; }

/* ---------- Bottom sheets ---------- */
.mrk-cf__sheet-overlay { position:fixed; inset:0; background:rgba(15,27,34,.45); z-index:9999; display:none; align-items:flex-end; }
.mrk-cf__sheet-overlay.is-open { display:flex; }
.mrk-cf__sheet { width:100%; max-height:90vh; background:#fff; border-radius:22px 22px 0 0; display:flex; flex-direction:column; animation:mrkSheetUp .22s ease; }
@keyframes mrkSheetUp { from { transform:translateY(100%); } to { transform:translateY(0); } }
.mrk-cf__sheet-handle { width:44px; height:5px; border-radius:3px; background:#d7dddd; margin:10px auto 2px; }
.mrk-cf__sheet-head { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--mrk-line); font-size:19px; font-weight:700; color:var(--mrk-teal); }
.mrk-cf__sheet-close { width:40px; height:40px; border:0; border-radius:10px; background:#f2f4f4; font-size:22px; line-height:1; color:#5b6670; cursor:pointer; padding: 0}
.mrk-cf__sheet-body { overflow-y:auto; padding:18px 20px; }
.mrk-cf__group + .mrk-cf__group { margin-top:22px; }
.mrk-cf__group-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:12px; }
.mrk-cf__group-head span { font-size:17px; font-weight:700; color:#0f1b22; }
.mrk-cf__group-head em { font-size:14px; color:#8b9298; font-style:normal; }

.mrk-cf__card { display:flex; align-items:flex-start; gap:12px; width:100%; background:#fff; border:1.5px solid var(--mrk-line); border-radius:14px; padding:16px; cursor:pointer; text-align:left; }
.mrk-cf__card + .mrk-cf__card { margin-top:12px; }
.mrk-cf__card.is-selected { border-color:var(--mrk-green); background:var(--mrk-tint); }
.mrk-cf__card-radio { flex:0 0 auto; width:22px; height:22px; border:2px solid #cfd6d6; border-radius:50%; position:relative; margin-top:1px; }
.mrk-cf__card.is-selected .mrk-cf__card-radio { border-color:var(--mrk-green); }
.mrk-cf__card.is-selected .mrk-cf__card-radio::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--mrk-green); }
.mrk-cf__card-text { display:flex; flex-direction:column; }
.mrk-cf__card-label { font-size:16px; font-weight:700; color:#0f1b22; }
.mrk-cf__card.is-selected .mrk-cf__card-label { color:var(--mrk-teal); }
.mrk-cf__card-desc { font-size:13px; color:#8b9298; margin-top:3px; }

.mrk-cf__pills { display:flex; flex-wrap:wrap; gap:10px; }
.mrk-cf__pill { border:1.5px solid var(--mrk-line); border-radius:999px; padding:10px 18px; background:#fff; font-size:15px; font-weight:600; color:#10201d; cursor:pointer; }
.mrk-cf__pill.is-selected { border-color:var(--mrk-green); background:var(--mrk-tint); color:var(--mrk-teal); }
.mrk-cf__pill.is-selected::before { content:"\2713  "; }

.mrk-cf__sortrow { display:flex; align-items:center; gap:14px; width:100%; background:#fff; border:0; border-radius:12px; padding:16px 12px; font-size:16px; color:#0f1b22; cursor:pointer; text-align:left; }
.mrk-cf__sortrow + .mrk-cf__sortrow { margin-top:4px; }
.mrk-cf__sortrow.is-selected { background:var(--mrk-tint); color:var(--mrk-teal); font-weight:700; }
.mrk-cf__sortrow-radio { flex:0 0 auto; width:22px; height:22px; border:2px solid #cfd6d6; border-radius:50%; position:relative; }
.mrk-cf__sortrow.is-selected .mrk-cf__sortrow-radio { border-color:var(--mrk-green); }
.mrk-cf__sortrow.is-selected .mrk-cf__sortrow-radio::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--mrk-green); }

.mrk-cf__sheet-foot { display:flex; gap:12px; padding:16px 20px; border-top:1px solid var(--mrk-line); }
.mrk-cf__sheet-clear { flex:0 0 auto; border:1.5px solid var(--mrk-teal); background:#fff; color:var(--mrk-teal); border-radius:12px; padding:14px 22px; font-size:16px; font-weight:700; cursor:pointer; }
.mrk-cf__sheet-apply { flex:1 1 0; border:0; background:var(--mrk-green); color:#fff; border-radius:12px; padding:14px; font-size:16px; font-weight:700; cursor:pointer; }
body.mrk-cf-lock { overflow:hidden; }




/* ================= CARD GRID (4-up desktop) ================= */
.mrk-cf .mrk-cf__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
}
.mrk-cf .mrk-cf__grid .no-cars { grid-column: 1 / -1; }

/* ================= CARD ================= */
.mrk-card { display:flex; flex-direction:column; background:#fff; border:1px solid #d5dad7; border-radius:18px; overflow:hidden; transition:box-shadow .18s ease, transform .18s ease; padding:10px;}
.mrk-card:hover { box-shadow:0 10px 30px rgba(16,24,40,.08); transform:translateY(-2px); }

.mrk-card__media { position:relative; display:block; background:#f4f6f6; border-radius:14px; margin:0; padding:12px; }
.mrk-card__media { overflow: visible; }
.mrk-card__img { display:block; width:100%; height:175px; object-fit:contain; }

.mrk-card__badge {
	position: absolute;
	top: -8px;
	left: -4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--mrk-teal);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(16,24,40,.1);
	z-index: 2;
}

.mrk-card__batch {
	position: absolute;
	top: -22px;
	right: -14px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: var(--mrk-green);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	padding: 10px;
	box-shadow: 0 4px 12px rgba(50,189,103,.3);
	z-index: 3;
}

.mrk-card__body { display:flex; flex-direction:column; flex:1 1 auto; padding:15px 10px; }
.mrk-card__title { margin:0 0 14px; font-size:20px; font-weight:700; color:#0f1b22; line-height:1.3; }
.mrk-card__title a { color:inherit; text-decoration:none; }

.mrk-card__specs { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.mrk-card__spec { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:#6F7887; }
.mrk-card__spec img { width:18px; height:18px; object-fit:contain; flex:0 0 auto; }

.mrk-card__divider { border:0; border-top:1px solid #edf0f0; margin:0 0 16px !important; }

.mrk-card__foot { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-top:auto; }
.mrk-card__price { display:flex; flex-direction:column; line-height:1.15; }
.mrk-card__from { font-size:13px; color:#8b9298; margin-bottom:2px; }
.mrk-card__amount { font-size:26px; font-weight:800; color:var(--mrk-teal); }
.mrk-card__per { font-size:14px; font-weight:500; color:#6F7887; margin-left:2px; }

.mrk-card__btn { display:inline-flex; align-items:center; gap:8px;  background:#32BD67; color:#fff; font-size:15px; font-weight:700; text-decoration:none; padding:12px 20px; border-radius:12px; transition:background-color .15s ease; }
.mrk-card__btn:hover {
    background: #005653;
    color: #fff;
}
.mrk-card__sale {
	position: absolute;
    top: -7px;
    right: -7px;
    max-width: 120px;
    height: auto !important;
    z-index: 0;
}
@media (max-width:1200px) { .mrk-cf .mrk-cf__grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:900px)  { .mrk-cf .mrk-cf__grid { grid-template-columns:repeat(2,1fr); gap:18px; } }
@media (max-width:560px)  { .mrk-cf .mrk-cf__grid { grid-template-columns:1fr; } }

/* =========================================================================
 * MRK fuel-type badge + card tidy-ups (added by mrk-card-enhance.js)
 * Fuel type (Electric / Plug-in Hybrid / Diesel) is lifted out of the bottom
 * info list and shown as a top-left badge. Mileage rows are hidden. These
 * rules only style the front-end output; no backend data is changed.
 * ========================================================================= */
.mrk-fuel-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: #00514c;
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 7px 13px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
	white-space: nowrap;
	z-index: 4;
}
.mrk-fuel-badge svg { flex: 0 0 auto; }
.mrk-fuel-badge__txt { display: inline-block; }

/* Classic .product-card: anchor to the positioned .main-card wrapper. */
.main-card .mrk-fuel-badge {
	position: absolute;
	top: 12px;
	left: 12px;
}

/* New .mrk-card: sit in the media box like the existing pill badge. */
.mrk-card__media { position: relative; }
.mrk-card__media .mrk-fuel-badge {
	position: unset;
	top: 12px;
	left: 12px;
}
/* If a car_label badge is already shown, stack the fuel badge beneath it. */
.mrk-card__media:has(.mrk-card__badge) .mrk-fuel-badge { top: 36px; }

/* Collapse an info list that became empty after fuel/mileage were removed. */
.product-icons.mrk-specs-empty,
.mrk-card__specs.mrk-specs-empty { display: none; }

/* Responsive */
@media (max-width: 1024px) {
	.mrk-fuel-badge { font-size: 12px; padding: 7px 12px; }
}
@media (max-width: 767px) {
	.mrk-fuel-badge { font-size: 12px; padding: 6px 11px; gap: 5px; }
	.main-card .mrk-fuel-badge { top: 10px; left: 10px; }
}









/* ---------- Responsive switch ---------- */
@media (max-width:1024px) {
	.mrk-cf__bar--desktop .mrk-cf__field { flex:1 1 calc(50% - 16px); }
}
@media (max-width:767px) {
	.mrk-cf__bar--desktop, .mrk-cf__sortwrap { display:none; }
	.mrk-cf__bar--mobile { display:block; }
	.mrk-cf__meta { margin:16px 2px; }
	.mrk-cf__count { font-size:14px; color:#8b9298; }
}
@media (min-width:768px) {
	.mrk-cf__sheet-overlay { display:none !important; }
}
/* =========================================================================
 * Standalone new-card grid (used by [car_listing_slider_dynamic] /
 * [mak_car_listing_slider_dynamic]). 4 columns on desktop, responsive.
 * ========================================================================= */
.mrk-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
}
.mrk-card-grid--1 { grid-template-columns: 1fr; }
.mrk-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mrk-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mrk-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mrk-card-grid .no-cars { grid-column: 1 / -1; text-align: center; padding: 30px 0; }

@media (max-width: 1200px) {
	.mrk-card-grid,
	.mrk-card-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.mrk-card-grid,
	.mrk-card-grid--3,
	.mrk-card-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
	.mrk-card-grid,
	.mrk-card-grid--2,
	.mrk-card-grid--3,
	.mrk-card-grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================================
 * New-card CAROUSEL (.mrk-slick) — used by [car_listing_slider_dynamic] /
 * [mak_car_listing_slider_dynamic] in their default "carousel" layout.
 * ========================================================================= */
.mrk-slider { position: relative; width: 100%; }
.mrk-slick { padding-bottom: 42px; }           /* room for the dots */

/* Gutter between slides without breaking Slick's width maths */
.mrk-slick .slick-list { margin: 0 -10px; }
.mrk-slick .slick-slide { margin: 0 10px; height: auto; }

/* Equal-height slides so every card lines up */
.mrk-slick .slick-track { display: flex; }
.mrk-slick .slick-slide { display: flex; }
.mrk-slick .slick-slide > .mrk-card,
.mrk-slick .mrk-card { height: 100%; width: 100%; }

/* Dots — same style as the theme's other car sliders (grey dot, green pill when active) */
.mrk-slick .slick-dots { bottom: 14px; }
.mrk-slick .slick-dots li { width: auto; height: auto; margin: 0 2px; }
.mrk-slick .slick-dots li button {
	width: 8px;
	height: 8px;
	padding: 4px;
	background: #aab3c1;
	border-radius: 50%;
}
.mrk-slick .slick-dots li button:before { display: none; }
.mrk-slick .slick-dots li.slick-active button {
	background: #32bd67;
	width: 24px;
	height: 8px;
	border-radius: 99px;
}

/* Arrows — the theme's own .slider-arrows images (same design as other sliders) */
.mrk-slider .slider-arrows {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin-top: 18px;
}
.mrk-slider .slider-arrows .prev-arrow,
.mrk-slider .slider-arrows .next-arrow { cursor: pointer; line-height: 0; }
/* =========================================================================
 * Numbered AJAX pagination (replaces Show More) — matches the supplied design.
 * ========================================================================= */
.mrk-cf__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}
.mrk-cf__page {
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	border-radius: 14px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	color: #00514c;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.mrk-cf__page:hover { background: #f3faf8; }
.mrk-cf__page.is-active { background: #32bd67; color: #fff; }
.mrk-cf__pg-dots {
	min-width: 26px;
	text-align: center;
	color: #8b9298;
	font-weight: 700;
	align-self: flex-end;
	padding-bottom: 8px;
}
.mrk-cf__pg-arrow {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e9e9;
	background: #fff;
	border-radius: 14px;
	color: #00514c;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(16,24,40,.05);
	transition: background-color .15s ease, border-color .15s ease;
}
.mrk-cf__pg-arrow:hover { background: #f3faf8; border-color: #32bd67; }
.mrk-cf__pg-arrow[disabled] { opacity: .4; cursor: default; box-shadow: none; }
.mrk-cf__pg-arrow[disabled]:hover { background: #fff; border-color: #e5e9e9; }
/* Stop the chevron SVG collapsing to 0 width inside the flex button */
.mrk-cf__pg-arrow svg { flex: 0 0 auto; width: 20px; height: 20px; }

.mrk-cf__pageinfo {
	text-align: center;
	color: #8b9298;
	font-size: 15px;
	margin-top: 14px;
}

@media (max-width: 767px) {
	.mrk-cf__pagination { gap: 7px; }
	.mrk-cf__page { min-width: 42px; height: 42px; font-size: 16px; }
	.mrk-cf__pg-arrow { width: 44px; height: 44px; }
}

/* =========================================================================
 * Show More on desktop, numbered pagination on mobile only.
 * ========================================================================= */
.mrk-cf__pagination,
.mrk-cf__pageinfo { display: none; }           /* hidden on desktop */

@media (max-width: 767px) {
	.mrk-cf__more-wrap { display: none; }       /* no Show More on mobile */
	.mrk-cf__pagination { display: flex; }      /* pager on mobile */
	.mrk-cf__pageinfo { display: block; }
}