/**
 * Autotelex theme override — vergelijkingspagina, uitgelichte voertuigen, occasions-filters.
 * Geladen via autotelex_theme_custom_stylesheet filter in class-autotelex-frontend.php.
 * Filter-sidebar styling: assets/css/components.css (.mgh-filters)
 *
 * @package Astra Child
 */

/* ── Occasions archief: SEO intro ─────────────────────────────────────────── */

.mgh-archive-seo,
.autotelex-archive-seo {
	margin: 0 0 20px;
}

.mgh-archive-seo__title,
.autotelex-archive-seo__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--mgh-neutral-900);
	letter-spacing: -0.02em;
}

.mgh-archive-seo__merk-link,
.autotelex-archive-seo__merk-link {
	color: inherit;
	text-decoration: none;
}

.mgh-archive-seo__merk-link:hover,
.mgh-archive-seo__merk-link:focus-visible,
.autotelex-archive-seo__merk-link:hover,
.autotelex-archive-seo__merk-link:focus-visible {
	text-decoration: underline;
}

.mgh-archive-seo__intro,
.autotelex-archive-seo__intro {
	margin: 0 0 4px;
	max-width: 70ch;
	font-size: 0.975rem;
	line-height: 1.55;
	color: var(--mgh-neutral-550);
}

.mgh-archive-seo__body,
.autotelex-archive-seo__body {
	max-width: 70ch;
	font-size: 0.975rem;
	line-height: 1.6;
	color: var(--mgh-neutral-550);
}

.mgh-archive-seo__body p,
.autotelex-archive-seo__body p {
	margin: 0 0 0.75em;
}

.mgh-archive-seo__body p:last-child,
.autotelex-archive-seo__body p:last-child {
	margin-bottom: 0;
}

/* ── Occasions archief: filter loading spinner ────────────────────────────── */

.autotelex-results {
	position: relative;
}

.autotelex-results__loader,
.mgh-archive-loader {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.72);
	pointer-events: none;
}

.autotelex-results.is-loading .autotelex-results__loader,
.autotelex-results.is-loading .mgh-archive-loader {
	display: flex;
}

.autotelex-results.is-loading > :not(.autotelex-results__loader) {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.autotelex-results__spinner,
.mgh-archive-loader__spinner {
	width: 28px;
	height: 28px;
	border: 2.5px solid var(--mgh-neutral-200, #e8eaed);
	border-top-color: var(--mgh-blue-550, #2f6fed);
	border-radius: 50%;
	animation: mgh-autotelex-spin 0.65s linear infinite;
}

@keyframes mgh-autotelex-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ── Occasions archief: plugin-styling neutraliseren t.b.v. MGH filters ─── */
.autotelex-archive-wrapper > .autotelex-filters.mgh-filters,
.autotelex-archive-wrapper > .mgh-filters.autotelex-filters {
	flex: 0 0 300px;
	width: 300px;
	min-height: 0;
	background: var(--mgh-filter-panel-bg);
	border: 1px solid var(--mgh-filter-border);
	border-radius: var(--mgh-radius-card);
	box-shadow: var(--mgh-shadow);
	padding: 20px 16px 24px;
}

@media screen and (max-width: 768px) {
	.autotelex-archive-wrapper > .autotelex-filters.mgh-filters,
	.autotelex-archive-wrapper > .mgh-filters.autotelex-filters {
		flex: none !important;
		width: 100% !important;
		max-width: none !important;
		border-radius: 0 !important;
		border: 0 !important;
		border-bottom: 1px solid #e5e7eb !important;
		box-shadow: none !important;
		background: #f4f6fd !important;
		padding: 1.1rem 1.25rem 1rem !important;
	}

	.autotelex-filters.mgh-filters .mgh-filters__vehicle-search {
		display: flex !important;
		flex-direction: column !important;
		gap: 0.55rem !important;
		margin: 0 0 0.85rem !important;
	}

	.autotelex-filters.mgh-filters .mgh-filters__vehicle-search-input {
		border: 1px solid var(--mgh-filter-border) !important;
		border-radius: var(--mgh-filter-radius) !important;
		background: var(--mgh-white) !important;
	}

	.autotelex-filters.mgh-filters .mgh-filters__primary,
	.autotelex-filters.mgh-filters.is-more-open .mgh-filters__more {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 0.5rem !important;
	}

	.autotelex-filters.mgh-filters .mgh-filter,
	.autotelex-filters.mgh-filters .filter-group {
		width: auto !important;
		margin: 0 !important;
		position: relative;
	}

	.autotelex-filters.mgh-filters .mgh-filter__details {
		overflow: visible !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.autotelex-filters.mgh-filters .mgh-filter__trigger {
		width: auto !important;
		display: inline-flex !important;
		padding: 0.5rem 0.9rem !important;
		border: 1px solid #d1d5db !important;
		border-radius: 10px !important;
		background: #fff !important;
	}

	.autotelex-filters.mgh-filters .mgh-filter__chevron {
		display: none !important;
	}

	.autotelex-filters.mgh-filters .mgh-filter__panel {
		position: fixed !important;
		left: 50% !important;
		top: 50% !important;
		right: auto !important;
		bottom: auto !important;
		transform: translate(-50%, -50%) !important;
		z-index: 10050 !important;
		width: min(88vw, 340px) !important;
		max-width: calc(100vw - 2rem) !important;
		max-height: min(70vh, 520px) !important;
		overflow: auto !important;
		padding: 0.9rem !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 14px !important;
		background: #fff !important;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22) !important;
	}

.mgh-filter-popup-overlay {
	display: none !important;
	position: fixed;
	inset: 0;
	z-index: 10040;
	background: rgba(15, 23, 42, 0.45);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	.mgh-filter-popup-overlay:not([hidden]) {
		display: block !important;
	}

	html.mgh-filter-popup-open {
		overflow: hidden;
	}

	html:not(.mgh-filters-ui-ready) .mgh-filter__details--default-open .mgh-filter__panel {
		display: none !important;
	}
}

	.autotelex-filters.mgh-filters .mgh-filters__footer {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: 0.75rem 1rem !important;
		border-top: 0 !important;
		padding-top: 0 !important;
	}

	.autotelex-filters.mgh-filters .mgh-filters__results-count {
		display: none !important;
	}

	.autotelex-filters.mgh-filters .mgh-btn--filter-reset {
		order: -1;
		flex: 1 1 auto;
		width: auto !important;
	}

	.autotelex-filters.mgh-filters .mgh-filters__more-toggle {
		margin-left: auto;
	}
}

.autotelex-filters.mgh-filters .filter-group {
	margin-bottom: 0;
}

.autotelex-filters.mgh-filters h2.mgh-filters__title {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 1.15rem;
	font-weight: 800;
}

.mgh-filters__vehicle-search-scope {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin: 0;
	padding: 0;
	border: 0;
}

.mgh-filters__vehicle-search-scope-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--mgh-neutral-700, #4b5563);
	cursor: pointer;
}

.mgh-filters__vehicle-search-scope-option input {
	margin: 0;
	flex-shrink: 0;
}

.autotelex-filters.mgh-filters .mgh-filters__vehicle-search-input {
	border: 1px solid var(--mgh-filter-border) !important;
	border-radius: var(--mgh-filter-radius) !important;
	background: var(--mgh-white) !important;
	box-shadow: none;
}

.autotelex-filters.mgh-filters .mgh-filters__vehicle-search-input:focus {
	outline: none;
	border-color: var(--mgh-filter-border-active) !important;
	box-shadow: 0 0 0 1px var(--mgh-filter-border-active) !important;
}

.autotelex-filters.mgh-filters label:not( .mgh-filter__check ):not( .screen-reader-text ):not( .mgh-filters__vehicle-search-label ):not( .mgh-filters__vehicle-search-scope-option ) {
	display: none;
}

.autotelex-filters.mgh-filters .mgh-filter__native select {
	width: auto;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	font-size: inherit;
}

.autotelex-filters.mgh-filters .mgh-filter__price-input select {
	width: auto;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	font-size: inherit;
}

.autotelex-filters.mgh-filters .filter-actions {
	display: none;
}

/* ── Occasions sorteren ─────────────────────────────────────────────────── */
.autotelex-results-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

.autotelex-results-toolbar__count {
	margin: 0;
	color: var(--mgh-neutral-550, #6270a1);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.autotelex-results-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.autotelex-results-toolbar label {
	color: var(--mgh-neutral-750, #3d4560);
	font-size: 0.875rem;
	font-weight: 600;
}

.autotelex-results-toolbar .autotelex-sorteer {
	min-width: 200px;
	border-color: var(--mgh-filter-border, #d8deee);
	border-radius: var(--mgh-filter-radius, 8px);
	color: var(--mgh-neutral-900, #1d2230);
	font-weight: 600;
}

.autotelex-results-toolbar .autotelex-sorteer:focus {
	border-color: var(--mgh-blue-550, #5c78d4);
}

/* ── Vergelijkingspagina ──────────────────────────────────────────────────── */

/* Sticky header-balk met voertuignamen */
.autotelex-compare-headers {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid #e8edf2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* Rekening houden met sticky site-header */
body.admin-bar .autotelex-compare-headers {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .autotelex-compare-headers {
		top: 46px;
	}
}

/* Thumbnail kleiner maken */
.autotelex-compare-vehicle-thumb .autotelex-gallery-main img,
.autotelex-compare-vehicle-thumb img {
	max-height: 120px;
	width: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.autotelex-compare-vehicle-thumb .autotelex-gallery-main {
	max-height: 120px;
	overflow: hidden;
	border-radius: 6px;
}

/* ── Grid ─────────────────────────────────────────────────────────────────── */
.autotelex-featured-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
}

.autotelex-featured-block--cols-1 .autotelex-featured-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.autotelex-featured-block--cols-2 .autotelex-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.autotelex-featured-block--cols-3 .autotelex-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.autotelex-featured-block--cols-4 .autotelex-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.autotelex-featured-block--cols-5 .autotelex-featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.autotelex-featured-block--cols-6 .autotelex-featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media screen and (max-width: 1024px) {
	.autotelex-featured-block--cols-4 .autotelex-featured-grid,
	.autotelex-featured-block--cols-5 .autotelex-featured-grid,
	.autotelex-featured-block--cols-6 .autotelex-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 640px) {
	.autotelex-featured-grid {
		grid-template-columns: 1fr !important;
		gap: 1rem;
	}

	body:not(.post-type-archive-voertuig) .autotelex-grid {
		grid-template-columns: 1fr !important;
	}

	.autotelex-grid .mgh-card__title,
	.autotelex-featured-grid .mgh-card__title {
		font-size: 0.95rem;
	}

	.autotelex-grid .mgh-card__price-now,
	.autotelex-featured-grid .mgh-card__price-now {
		font-size: 1.05rem;
	}
}

/* ── Occasions grid ─────────────────────────────────────────────────────── */
.autotelex-grid,
.autotelex-featured-grid {
	gap: var(--mgh-gap, 1.25rem);
}

.autotelex-grid .mgh-card--product,
.autotelex-featured-grid .mgh-card--product {
	height: 100%;
	border: none;
}

/* Plugin atx-card styling neutraliseren — MGH components.css is leidend */
.atx-card.mgh-card--product {
	background: transparent;
	border: none;
	box-shadow: none;
	transform: none;
}

.atx-card.mgh-card--product:hover {
	border: none;
}

/* ── Single voertuig: hero (Figma) ──────────────────────────────────────── */

.autotelex-single-wrapper {
	max-width: var(--mgh-container, 1200px);
	padding: 24px var(--mgh-gap, 24px) 40px;
}

.autotelex-back {
	margin: 0 0 20px;
}

.autotelex-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: none;
	background: transparent;
	border-radius: 0;
	color: var(--mgh-blue-650);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.autotelex-back-link::before {
	content: '←';
	font-size: 1rem;
	line-height: 1;
}

.autotelex-back-link:hover {
	background: transparent;
	color: var(--mgh-blue-750);
	text-decoration: underline;
}

.mgh-single-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	gap: 32px 48px;
	align-items: start;
	margin-bottom: 40px;
}

.mgh-single-hero .autotelex-hero-media {
	max-width: none;
}

.mgh-single-hero .autotelex-gallery-main {
	border: none;
	border-radius: var(--mgh-radius-card);
	overflow: hidden;
	background: var(--mgh-blue-200);
}

.mgh-single-hero .autotelex-gallery-main-link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mgh-single-hero .autotelex-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.mgh-single-hero .autotelex-gallery-thumb {
	display: block;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: var(--mgh-blue-200);
	transition: border-color 0.15s ease;
}

.mgh-single-hero .autotelex-gallery-thumb:hover,
.mgh-single-hero .autotelex-gallery-thumb:focus-visible {
	border-color: var(--mgh-blue-550);
}

.mgh-single-hero .autotelex-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mgh-single-hero .autotelex-hero-summary {
	max-width: none;
	gap: 20px;
}

.autotelex-hero-toprow {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.autotelex-hero-titleblock {
	min-width: 0;
	flex: 1 1 auto;
}

.mgh-single-hero .autotelex-hero-header h1 {
	margin: 0 0 6px;
	font-size: clamp(1.75rem, 2.8vw, 2.125rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--mgh-neutral-900);
	letter-spacing: -0.02em;
}

.mgh-single-hero .autotelex-hero-tagline {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--mgh-neutral-550);
}

.autotelex-hero-share {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 4px 0;
	border: none;
	background: transparent;
	color: var(--mgh-neutral-550);
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
}

.autotelex-hero-share:hover {
	color: var(--mgh-neutral-750);
}

.autotelex-hero-share-icon {
	width: 16px;
	height: 16px;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2353608b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z'/%3E%3C/svg%3E");
}

.mgh-single-hero .autotelex-hero-badges {
	gap: 8px;
}

.mgh-single-hero .autotelex-hero-badge {
	padding: 6px 14px;
	border-radius: var(--mgh-radius-pill);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
}

.mgh-single-hero .autotelex-hero-badge--new {
	background: var(--mgh-accent);
	color: var(--mgh-neutral-900);
}

.mgh-single-hero .autotelex-hero-badge--demo {
	background: #ccfbf1;
	color: #0f766e;
}

.mgh-single-hero .autotelex-hero-pricebox {
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.mgh-single-hero .autotelex-hero-pricebox-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--mgh-neutral-550);
}

.mgh-single-hero .autotelex-hero-pricebox-was {
	display: block;
	margin-bottom: 2px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--mgh-price-muted);
	text-decoration: line-through;
}

.mgh-single-hero .autotelex-hero-pricebox-value {
	margin: 0;
	font-size: clamp(1.75rem, 2.5vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--mgh-neutral-900);
	letter-spacing: -0.02em;
}

.mgh-single-hero .autotelex-hero-specgrid {
	gap: 10px;
}

.mgh-single-hero .autotelex-hero-spec-card {
	padding: 14px 16px;
	border: none;
	border-radius: 8px;
	background: var(--mgh-blue-200);
}

.mgh-single-hero .autotelex-hero-spec-label {
	margin-bottom: 4px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--mgh-neutral-550);
	text-transform: none;
	letter-spacing: 0;
}

.mgh-single-hero .autotelex-hero-spec-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--mgh-neutral-900);
}

.mgh-single-hero .autotelex-hero-ctas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 4px;

}

.mgh-single-hero .autotelex-hero-cta {
	justify-content: center;
	width: 100%;
	padding: 14px 18px;
	border-radius: var(--mgh-radius);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.mgh-single-hero .autotelex-hero-cta--quote {
	background: var(--mgh-blue-600);
	border: none;	
}

.mgh-single-hero .autotelex-hero-cta-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.mgh-single-hero .autotelex-hero-cta--dark .autotelex-hero-cta-icon--calendar {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.mgh-single-hero .autotelex-hero-cta--quote .autotelex-hero-cta-icon--quote {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14.121 15.536c-1.171 1.952-3.07 1.952-4.242 0-1.172-1.953-1.172-5.119 0-7.072 1.171-1.952 3.07-1.952 4.242 0M8 10.5h4m-4 3h4m9-1.5a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

@media screen and (max-width: 960px) {
	.mgh-single-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.mgh-single-hero .autotelex-gallery-thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media screen and (max-width: 560px) {
	.mgh-single-hero .autotelex-hero-ctas {
		grid-template-columns: 1fr;
	}

	.mgh-single-hero .autotelex-gallery-thumbs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mgh-single-hero .autotelex-hero-specgrid {
		grid-template-columns: 1fr;
	}
}

/* ── Single voertuig: specificaties / accessoires (Figma) ─────────────────── */

.autotelex-accessoires.mgh-specs {
	margin-top: 40px;
	padding-top: 8px;
}

.autotelex-specs-section-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--mgh-neutral-250);
}

.autotelex-specs-section-tab {
	display: inline-block;
	padding: 0 0 14px;
	margin-bottom: -1px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--mgh-neutral-550);
	border-bottom: 2px solid transparent;
	line-height: 1.3;
}

.autotelex-specs-section-tab.is-active {
	color: var(--mgh-neutral-900);
	border-bottom-color: var(--mgh-neutral-900);
}

.autotelex-accessoires-search {
	margin: 0 0 18px;
}

.autotelex-accessoires-search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 0 14px;
	border: 1px solid var(--mgh-neutral-250);
	border-radius: 8px;
	background: var(--mgh-white);
	cursor: text;
}

.autotelex-accessoires-search-field:focus-within {
	border-color: var(--mgh-blue-550);
	box-shadow: 0 0 0 3px rgba(92, 120, 212, 0.18);
}

.autotelex-accessoires-search-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236270a1' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-4.35-4.35M11 18a7 7 0 100-14 7 7 0 000 14z'/%3E%3C/svg%3E");
	opacity: 0.85;
}

.autotelex-accessoires-search-input {
	flex: 1;
	width: 100%;
	min-width: 0;
	padding: 13px 0;
	border: none;
	background: transparent;
	color: var(--mgh-neutral-750);
	font-size: 0.9375rem;
	font-family: inherit;
	line-height: 1.3;
}

.autotelex-accessoires-search-input:focus {
	outline: none;
	box-shadow: none;
}

.autotelex-accessoires-search-input::placeholder {
	color: var(--mgh-neutral-450);
}

.autotelex-accessoires-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	border: none;
}

.autotelex-accessoires-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px 8px 10px;
	border: none;
	border-radius: var(--mgh-radius-pill);
	background: var(--mgh-label-soft-bg);
	color: var(--mgh-label-soft-text);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.2;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.autotelex-accessoires-tab:hover {
	background: var(--mgh-blue-300);
}

.autotelex-accessoires-tab.active {
	background: var(--mgh-blue-600);
	color: var(--mgh-white);
}

.autotelex-accessoires-tab-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background: center / contain no-repeat;
	opacity: 0.9;
}

.autotelex-accessoires-tab-icon--interior {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d2230' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 16V8a2 2 0 012-2h10a2 2 0 012 2v8M5 16h14M7 16v2m10-2v2M9 12h6'/%3E%3C/svg%3E");
}

.autotelex-accessoires-tab-icon--exterior {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d2230' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l1.5-4.5A2 2 0 018.4 7h7.2a2 2 0 011.9 1.5L19 13M5 13h14v4a1 1 0 01-1 1h-1.5M5 13v4a1 1 0 001 1h1.5M8 18h8'/%3E%3C/svg%3E");
}

.autotelex-accessoires-tab-icon--safety {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d2230' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 3l7 3v6c0 4.5-3.2 7.4-7 9-3.8-1.6-7-4.5-7-9V6l7-3z'/%3E%3C/svg%3E");
}

.autotelex-accessoires-tab-icon--technology {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d2230' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.autotelex-accessoires-tab-icon--comfort,
.autotelex-accessoires-tab-icon--environment,
.autotelex-accessoires-tab-icon--options {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d2230' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E");
}

.autotelex-accessoires-tab.active .autotelex-accessoires-tab-icon {
	filter: brightness(0) invert(1);
	opacity: 1;
}

.autotelex-accessoires-tab-label {
	white-space: nowrap;
}

.autotelex-accessoires-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 50%;
	background: var(--mgh-blue-350);
	color: var(--mgh-neutral-750);
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1;
}

.autotelex-accessoires-tab.active .autotelex-accessoires-tab-count {
	background: var(--mgh-blue-750);
	color: var(--mgh-white);
}

.autotelex-accessoires-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.autotelex-accessoire-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 14px 16px;
	border: none;
	border-radius: 8px;
	background: var(--mgh-blue-200);
}

.autotelex-accessoire-card-icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--mgh-white);
	box-shadow: 0 1px 3px rgba(15, 17, 24, 0.08);
	position: relative;
}

.autotelex-accessoire-card-icon::before {
	content: none;
}

.autotelex-accessoire-card-icon::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border-right: 2px solid var(--mgh-blue-650);
	border-bottom: 2px solid var(--mgh-blue-650);
	transform: rotate(45deg);
}

.autotelex-accessoire-card-title {
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--mgh-neutral-750);
	line-height: 1.35;
}

.autotelex-accessoires-empty {
	color: var(--mgh-text-light);
	font-size: 0.9375rem;
}

@media screen and (max-width: 768px) {
	.autotelex-accessoires-grid {
		grid-template-columns: 1fr;
	}

	.autotelex-accessoires-tab-label {
		white-space: normal;
	}
}

/* ── Occasions: conditie-pills (Gebruikt / Nieuw / Demo) ─────────────────── */

.autotelex-filters.mgh-filters .mgh-filters__conditie {
	margin: 0 0 16px;
}

.autotelex-filters.mgh-filters .mgh-filters__conditie-label {
	display: block;
	margin: 0 0 8px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mgh-neutral-900, #111827);
}

.autotelex-filters.mgh-filters .mgh-filters__conditie-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.autotelex-filters.mgh-filters .mgh-filter-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--mgh-filter-border, #d1d5db);
	border-radius: var(--mgh-filter-radius, 999px);
	background: var(--mgh-white, #fff);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--mgh-neutral-800, #1f2937);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.autotelex-filters.mgh-filters .mgh-filter-pill:hover {
	border-color: var(--mgh-neutral-400, #9ca3af);
}

.autotelex-filters.mgh-filters .mgh-filter-pill.is-active {
	border-color: var(--mgh-neutral-900, #111827);
	background: var(--mgh-neutral-900, #111827);
	color: var(--mgh-white, #fff);
}

.autotelex-filters.mgh-filters .mgh-filter-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}

.autotelex-filters.mgh-filters .mgh-filter-pill.is-active .mgh-filter-pill__count {
	background: rgba(255, 255, 255, 0.22);
	color: inherit;
}

.autotelex-filters.mgh-filters .mgh-filters__vehicle-search-label {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--mgh-neutral-900);
	line-height: 1.2;
}

.autotelex-filters.mgh-filters .mgh-filters__vehicle-search .mgh-filters__title--filters {
	margin-top: 12px;
	margin-bottom: 16px;
}
