/**
 * Frontend styles for Autotelex Integration
 */

:root {
	--atx-brand: #1f2128;
	--atx-brand-hover: #2d3039;
	--atx-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--atx-pill-bg: #e8ecf4;
	--atx-pill-text: #3d4f6f;
	--atx-muted: #8b9bb5;
	--atx-card-radius: 16px;
}

.autotelex-archive-wrapper,
.autotelex-single-wrapper,
.autotelex-featured-block,
.autotelex-compare-page {
	font-family: var(--atx-font);
}

/* Archive: sidebar links, resultaten rechts in 3 kolommen */
.autotelex-archive-wrapper {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 24px;
	gap: 24px;
	margin: 20px auto 28px;
	max-width: 1320px;
	width: 100%;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	padding: 0 16px;
	align-items: start;
}

.autotelex-archive-wrapper > .autotelex-compare-bar {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
}

/* Sidebar met filters (links) */
.autotelex-filters {
	flex: 0 0 280px;
	width: 100%;
	max-width: 280px;
	box-sizing: border-box;
	background: #ffffff;
	padding: 18px 16px 20px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	min-height: 50vh;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.autotelex-archive-wrapper > .autotelex-filters,
.autotelex-archive-wrapper > .mgh-filters {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.autotelex-filters:not(.mgh-filters) h2 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 1.05em;
	font-weight: 600;
}

.autotelex-filters.mgh-filters .mgh-filters__title {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #111827;
	line-height: 1.2;
}

.autotelex-filters.mgh-filters .mgh-filters__title--filters {
	margin-top: 12px;
	margin-bottom: 16px;
}

.autotelex-filters .mgh-filter__clear {
	display: inline;
	margin: 0.35rem 0 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--atx-pill-text, #3d4f6f) !important;
	cursor: pointer;
	text-decoration: none;
}

.autotelex-filters .mgh-filter__clear:hover,
.autotelex-filters .mgh-filter__clear:focus {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #1f2128 !important;
	text-decoration: underline;
}

.autotelex-filters .mgh-filter__clear:focus {
	outline: none;
}

.autotelex-filters .mgh-filter__clear:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.autotelex-filters .mgh-filters__more-toggle,
.autotelex-filters .mgh-filters__more-toggle:hover,
.autotelex-filters .mgh-filters__more-toggle:focus,
.autotelex-filters .mgh-filters__more-toggle:active {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	color: #111827 !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0;
	margin: 0;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	text-underline-offset: 3px;
}

.autotelex-filters .mgh-filters__more-toggle {
	text-decoration: none;
}

.autotelex-filters .mgh-filters__more-toggle:hover,
.autotelex-filters .mgh-filters__more-toggle:focus-visible {
	text-decoration: underline;
	background: transparent !important;
	color: #111827 !important;
}

.autotelex-filters .mgh-filters__more {
	display: none;
}

.autotelex-filters.is-more-open .mgh-filters__more {
	display: block;
}

.autotelex-filters .mgh-filters__conditie-label {
	display: block;
	margin: 0 0 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #111827;
}

.autotelex-filters .mgh-filters__conditie-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.autotelex-filters .mgh-filter-pill,
.autotelex-filters .mgh-filter-pill.mgh-label,
.autotelex-filters .mgh-filter-pill.mgh-label--soft {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 5px 6px 5px 12px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--atx-pill-bg, #e8ecf4) !important;
	color: var(--atx-pill-text, #3d4f6f) !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	text-decoration: none !important;
}

.autotelex-filters .mgh-filter-pill:hover,
.autotelex-filters .mgh-filter-pill:focus,
.autotelex-filters .mgh-filter-pill:focus-visible,
.autotelex-filters .mgh-filter-pill:active,
.autotelex-filters .mgh-filter-pill.mgh-label:hover,
.autotelex-filters .mgh-filter-pill.mgh-label:focus,
.autotelex-filters .mgh-filter-pill.mgh-label:active {
	background: var(--atx-pill-bg, #e8ecf4) !important;
	color: var(--atx-pill-text, #3d4f6f) !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.autotelex-filters .mgh-filter-pill:not(.is-active) {
	opacity: 0.55;
}

.autotelex-filters .mgh-filter-pill__label {
	color: inherit !important;
}

.autotelex-filters .mgh-filter-pill__count {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 22px !important;
	height: 22px !important;
	padding: 0 6px !important;
	border-radius: 100px !important;
	background: #4b66c2 !important;
	color: #fff !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.autotelex-filters .mgh-filter__badge:not([hidden]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 100px;
	background: #4b66c2;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.autotelex-filters .filter-group {
	margin-bottom: 12px;
}

.autotelex-filters:not(.mgh-filters) label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 0.88em;
	color: #111827;
}

.autotelex-filters select,
.autotelex-filters input[type="number"] {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	font-size: 0.9em;
}

.autotelex-filters .filter-actions {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.autotelex-filters .filter-actions .button,
.autotelex-archive-wrapper .filter-actions a,
.autotelex-archive-wrapper .ast-custom-button {
	margin-right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 10px;
	background: var(--atx-brand) !important;
	color: #fff !important;
	border: none !important;
	text-decoration: none !important;
	font-family: var(--atx-font);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.3;
	transition: background 0.2s;
}

.autotelex-filters .filter-actions .button:hover,
.autotelex-archive-wrapper .filter-actions a:hover,
.autotelex-archive-wrapper .ast-custom-button:hover {
	background: var(--atx-brand-hover) !important;
	color: #fff !important;
}

/* Prijsslider */
.autotelex-price-slider {
	position: relative;
	padding: 10px 0 20px;
}

.autotelex-price-slider-values {
	margin-bottom: 12px;
	font-weight: 600;
	font-size: 0.95em;
	color: #333;
}

.autotelex-price-slider .autotelex-range {
	display: block;
	width: 100%;
	height: 8px;
	margin: 8px 0;
	-webkit-appearance: none;
	appearance: none;
	background: #ddd;
	border-radius: 4px;
	outline: none;
}

.autotelex-price-slider .autotelex-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #0073aa;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.autotelex-price-slider .autotelex-range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #0073aa;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.autotelex-price-slider .autotelex-range-min {
	margin-bottom: 0;
}

.autotelex-price-slider .autotelex-range-max {
	margin-top: 0;
}

/* Prijs dropdowns (min / max) */
.autotelex-price-dropdowns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.autotelex-price-dropdowns select {
	width: 100%;
	max-width: 140px;
}

.autotelex-price-dropdowns .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

/* Resultaten (rechts) — vaste restbreedte zodat lege zoekresultaten sidebar niet inschuiven */
.autotelex-archive-wrapper > .autotelex-results {
	min-width: 0;
	width: auto;
	max-width: none;
	margin-left: clamp(1rem, 2.5vw, 1.5rem);
	padding: 0 0 24px;
	box-sizing: border-box;
}

.autotelex-results__list {
	width: 100%;
	min-height: 12rem;
	box-sizing: border-box;
}

.autotelex-search-empty {
	width: 100%;
	margin: 0;
	padding: 1.25rem 0;
	box-sizing: border-box;
}

.autotelex-results-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.autotelex-results-toolbar__count {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.3;
}

.autotelex-results-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.autotelex-results-toolbar label {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111827;
}

.autotelex-results-toolbar .autotelex-sorteer {
	min-width: 180px;
	padding: 10px 36px 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	color: #111827;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.autotelex-results-toolbar .autotelex-sorteer:focus {
	outline: none;
	border-color: #5c78d4;
	box-shadow: 0 0 0 3px rgba(92, 120, 212, 0.18);
}

/* Grid: exact 3 kolommen */
.autotelex-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 30px;
}

.autotelex-featured-block[data-columns="1"] .autotelex-grid {
	grid-template-columns: 1fr;
}

.autotelex-featured-block[data-columns="2"] .autotelex-grid {
	grid-template-columns: repeat(2, 1fr);
}

.autotelex-featured-block[data-columns="4"] .autotelex-grid {
	grid-template-columns: repeat(4, 1fr);
}

.autotelex-featured-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.autotelex-featured-block[data-columns="1"] .autotelex-featured-grid {
	grid-template-columns: 1fr;
}

.autotelex-featured-block[data-columns="2"] .autotelex-featured-grid {
	grid-template-columns: repeat(2, 1fr);
}

.autotelex-featured-block[data-columns="4"] .autotelex-featured-grid {
	grid-template-columns: repeat(4, 1fr);
}

/* Occasion-kaart (atx-card) */
.atx-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--atx-card-radius);
	overflow: hidden;
	border: 1px solid #eef0f4;
	box-shadow: 0 2px 12px rgba(31, 33, 40, 0.06);
	transition: box-shadow 0.2s, transform 0.2s;
}

.atx-card:hover {
	box-shadow: 0 8px 24px rgba(31, 33, 40, 0.1);
	transform: translateY(-2px);
}

.atx-card__media-link {
	position: relative;
	display: block;
	background: #f3f4f6;
}

.atx-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.atx-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--atx-brand);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 2px 8px rgba(31, 33, 40, 0.12);
}

.atx-card__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
}

.atx-card__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.atx-card__title a {
	color: var(--atx-brand);
	text-decoration: none;
}

.atx-card__title a:hover {
	color: var(--atx-brand-hover);
}

.atx-card__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.atx-card__tag {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--atx-pill-bg);
	color: var(--atx-pill-text);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
}

.atx-card__pricing {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
}

.atx-card__was,
.atx-card__now {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	gap: 8px;
}

.atx-card__was-label,
.atx-card__now-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--atx-muted);
	flex-shrink: 0;
}

.atx-card__was-price {
	font-size: 0.9375rem;
	color: var(--atx-muted);
	text-decoration: line-through;
}

.atx-card__now-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--atx-brand);
	letter-spacing: -0.02em;
}

.atx-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	border-radius: 12px;
	background: var(--atx-brand);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none !important;
	text-align: center;
	transition: background 0.2s;
}

.atx-card__btn:hover {
	background: var(--atx-brand-hover);
	color: #fff !important;
}

.atx-card__compare {
	margin-top: 4px;
	font-size: 0.85rem;
}

/* Legacy kaart (fallback) */
.autotelex-item {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s, transform 0.2s;
	display: flex;
	flex-direction: column;
}

.autotelex-item:hover {
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
	transform: translateY(-1px);
}

.autotelex-item img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.autotelex-item-media {
	position: relative;
	display: block;
}

.autotelex-item-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f59e0b;
	color: #111827;
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.autotelex-filter-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.autotelex-item-body {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.autotelex-item h3 {
	margin: 0;
	font-size: 1.15em;
}

.autotelex-item h3 a {
	text-decoration: none;
	color: #333;
}

.autotelex-item h3 a:hover {
	color: #0073aa;
}

.autotelex-item .prijs {
	font-size: 1.55em;
	font-weight: bold;
	color: #2563eb;
	margin: 0;
}

.autotelex-item .kilometerstand {
	margin: 0;
	color: #6b7280;
	font-size: 0.9em;
}

.autotelex-item-meta {
	margin: 0;
	color: #6b7280;
	font-size: 0.88em;
}

.autotelex-item-actions {
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.autotelex-item-detail.button {
	margin: 0;
	flex: 1;
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
	border-radius: 8px;
	padding: 6px 12px;
	text-align: center;
	line-height: 1.4;
}

.autotelex-item-detail.button:hover {
	background: #1d4ed8;
	color: #fff;
}

.autotelex-compare-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85em;
	color: #374151;
	white-space: nowrap;
}

.autotelex-compare-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

/* Single voertuig page */
.autotelex-single-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.autotelex-single-top {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.autotelex-single-hero {
	align-items: stretch;
	gap: 32px 48px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.autotelex-hero-media {
	flex: 1 1 320px;
	max-width: 100%;
	min-width: 0;
}

.autotelex-hero-summary {
	flex: 1 1 340px;
	min-width: 280px;
	max-width: 560px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.autotelex-single-right {
	flex: 0 0 calc(50% - 20px);
	max-width: calc(50% - 20px);
	min-width: 0;
}

.autotelex-single-header {
	margin-bottom: 30px;
}

.autotelex-hero-header {
	margin-bottom: 0;
}

.autotelex-single-header h1 {
	margin-bottom: 10px;
	font-size: clamp(1.5rem, 2.2vw, 1.85rem);
	line-height: 1.2;
	font-weight: 700;
	color: #111827;
}

.autotelex-hero-header h1 {
	margin: 0 0 8px;
}

.autotelex-single-subtitle {
	margin: -6px 0 10px;
	color: #6b7280;
	font-size: 1em;
}

.autotelex-hero-tagline {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #6b7280;
}

.autotelex-hero-toprow {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.autotelex-hero-toprow .autotelex-hero-share {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px !important;
	flex-shrink: 0;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid #111 !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.autotelex-hero-toprow .autotelex-hero-share:hover,
.autotelex-hero-toprow .autotelex-hero-share:focus,
.autotelex-hero-toprow .autotelex-hero-share:focus-visible,
.autotelex-hero-toprow .autotelex-hero-share:active {
	background: #fff !important;
	color: #111 !important;
	border-color: #111 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.autotelex-hero-toprow .autotelex-hero-share-icon {
	display: block !important;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235B6B8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.59 13.51l6.83 3.98M15.41 6.51L8.59 10.49'/%3E%3C/svg%3E") center / contain no-repeat;
}

.autotelex-prijs {
	font-size: 1.8em;
	font-weight: bold;
	color: #0073aa;
	margin: 10px 0;
}

/* Hero: badges */
.autotelex-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.autotelex-hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.autotelex-hero-badge--used {
	background: #dbeafe;
	color: #1d4ed8;
}

.autotelex-hero-badge--new {
	background: #e0e7ff;
	color: #4338ca;
}

.autotelex-hero-badge--demo {
	background: #ccfbf1;
	color: #0f766e;
}

.autotelex-hero-badge--featured {
	background: #fef3c7;
	color: #92400e;
}

.autotelex-hero-badge--owner {
	background: #f3f4f6;
	color: #374151;
}

.autotelex-hero-badge--stock {
	background: #d1fae5;
	color: #047857;
}

.autotelex-hero-badge--sold {
	background: #fee2e2;
	color: #b91c1c;
}

.autotelex-hero-badge--reserved {
	background: #fef3c7;
	color: #b45309;
}

.autotelex-hero-badge--expected {
	background: #e0f2fe;
	color: #0369a1;
}

/* Hero: quick actions */
.autotelex-hero-quick-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 4px;
	font-size: 0.9rem;
}

.autotelex-hero-quick-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 4px 8px;
	cursor: pointer;
	color: #2563eb;
	font: inherit;
	text-decoration: none;
	border-radius: 6px;
}

.autotelex-hero-quick-link:hover {
	text-decoration: underline;
	background: #eff6ff;
}

.autotelex-hero-quick-divider {
	width: 1px;
	height: 1em;
	background: #e5e7eb;
	margin: 0 4px;
}

.autotelex-hero-quick-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.9;
}

.autotelex-hero-quick-icon--phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}

.autotelex-hero-quick-icon--share {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' 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");
}

/* Hero: price box */
.autotelex-hero-pricebox {
	background: #eff6ff;
	border-radius: 12px;
	padding: 16px 20px;
	border: 1px solid #dbeafe;
}

.autotelex-hero-pricebox-label {
	display: block;
	font-size: 0.8rem;
	color: #64748b;
	font-weight: 500;
	margin-bottom: 4px;
}

.autotelex-hero-pricebox-value {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #2563eb;
	line-height: 1.15;
}

/* Hero: spec grid */
.autotelex-hero-specgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 520px) {
	.autotelex-hero-specgrid {
		grid-template-columns: 1fr;
	}
}

.autotelex-hero-spec-card {
	background: #f9fafb;
	border-radius: 10px;
	padding: 14px 16px;
	border: 1px solid #f3f4f6;
}

.autotelex-hero-spec-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.autotelex-hero-spec-value {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
}

/* Hero: CTAs */
.autotelex-hero-ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.autotelex-hero-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
	border: 2px solid transparent;
}

.autotelex-hero-cta--primary {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

.autotelex-hero-cta--primary:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

.autotelex-hero-cta--secondary {
	background: #fff;
	color: #2563eb;
	border-color: #2563eb;
}

.autotelex-hero-cta--secondary:hover {
	background: #eff6ff;
	color: #1d4ed8;
}

.autotelex-hero-cta--whatsapp {
	background: var(--atx-brand);
	color: #ffffff;
	border-color: var(--atx-brand);
}

.autotelex-hero-cta--whatsapp:hover {
	background: var(--atx-brand-hover);
	border-color: var(--atx-brand-hover);
	color: #ffffff;
}

.autotelex-hero-cta-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.autotelex-hero-cta--primary .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");
}

.autotelex-hero-cta--secondary .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='%232563eb' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

.autotelex-hero-cta--whatsapp .autotelex-hero-cta-icon--whatsapp {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.21c-.27-.14-1.6-.79-1.85-.88-.25-.09-.43-.14-.61.14-.18.27-.7.88-.86 1.06-.16.18-.31.2-.58.07-.27-.14-1.13-.42-2.15-1.34-.79-.7-1.32-1.56-1.47-1.82-.16-.27-.02-.41.12-.55.12-.12.27-.31.41-.47.14-.16.18-.27.27-.45.09-.18.05-.34-.02-.47-.07-.14-.61-1.48-.84-2.03-.22-.53-.44-.46-.61-.47h-.52c-.18 0-.47.07-.72.34-.25.27-.95.93-.95 2.27s.97 2.63 1.11 2.81c.14.18 1.91 2.92 4.63 4.1.65.28 1.16.45 1.56.58.65.21 1.24.18 1.71.11.52-.08 1.6-.65 1.83-1.27.22-.63.22-1.16.16-1.27-.07-.12-.25-.18-.52-.31Z'/%3E%3Cpath fill='white' d='M16.02 3.2c-7.08 0-12.84 5.76-12.84 12.84 0 2.25.58 4.45 1.69 6.4L3.2 28.8l6.51-1.64a12.77 12.77 0 0 0 6.31 1.67h.01c7.08 0 12.84-5.76 12.84-12.84S23.1 3.2 16.02 3.2Zm0 23.57h-.01a10.7 10.7 0 0 1-5.45-1.49l-.39-.23-3.87.98 1.03-3.77-.25-.39a10.66 10.66 0 0 1-1.64-5.69c0-5.9 4.8-10.7 10.7-10.7 2.86 0 5.55 1.11 7.57 3.13 2.02 2.02 3.13 4.71 3.13 7.57 0 5.9-4.8 10.7-10.7 10.7Z'/%3E%3C/svg%3E");
}

/* Gallery */
.autotelex-gallery {
	margin: 30px 0;
}

.autotelex-single-top .autotelex-gallery,
.autotelex-hero-media .autotelex-gallery {
	margin: 0;
	flex: 1 1 auto;
	max-width: 100%;
	width: 100%;
}

.autotelex-hero-media .autotelex-gallery:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 4px;
	border-radius: 12px;
}

.autotelex-gallery-main {
	position: relative;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
}

.autotelex-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: #111 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.autotelex-gallery-nav:hover,
.autotelex-gallery-nav:focus,
.autotelex-gallery-nav:active {
	background: #ffffff;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
	color: #111 !important;
}

.autotelex-gallery-nav span {
	color: #111 !important;
}

.autotelex-gallery-nav:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.autotelex-gallery-nav--prev {
	left: 12px;
}

.autotelex-gallery-nav--next {
	right: 12px;
}

.autotelex-gallery-main-link img {
	display: block;
	width: 100%;
	height: auto;
}

.autotelex-gallery-dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	z-index: 4;
	pointer-events: auto;
}

.autotelex-gallery-dot {
	width: 22px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.autotelex-gallery-dot.is-active {
	background: #ffffff;
}

.autotelex-gallery-count {
	display: none;
	margin: 0;
}

.autotelex-single-wrapper .autotelex-gallery-thumbs {
	display: none;
}

.autotelex-gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.autotelex-gallery-thumb {
	display: block;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
}

.autotelex-gallery-thumb img {
	display: block;
	width: 35px;
	height: auto;
}

.autotelex-gallery h2 {
	margin-bottom: 20px;
}

.autotelex-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

.autotelex-gallery-item {
	display: block;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	background: #fff;
}

.autotelex-gallery-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.autotelex-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
}

/* Content */
.autotelex-content {
	margin: 30px 0;
	line-height: 1.6;
}

/* Specs */
.autotelex-specs {
	margin: 30px 0;
}

.autotelex-specs h2 {
	margin-bottom: 20px;
}

.autotelex-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 15px;
}

.autotelex-spec-item {
	padding: 12px;
	background: #f9f9f9;
	border-left: 3px solid #0073aa;
	border-radius: 2px;
}

.autotelex-spec-item strong {
	display: block;
	margin-bottom: 5px;
	color: #333;
}

.autotelex-spec-item span {
	color: #666;
}

.autotelex-direct-link {
	margin: 30px 0;
	text-align: center;
}

/* Similar vehicles section (single voertuig) */
.autotelex-similar {
	margin-top: 40px;
}

.autotelex-similar h2 {
	margin-bottom: 15px;
}

.autotelex-similar-criteria {
	margin: -10px 0 18px;
	color: #6b7280;
	font-size: 0.95em;
}

.autotelex-accessoires {
	margin-top: 30px;
}

.autotelex-accessoires h2 {
	margin-bottom: 15px;
}

.autotelex-accessoires-search {
	margin: 0 0 16px;
}

.autotelex-accessoires-search-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #ffffff;
	color: #111827;
	font-size: 14px;
}

.autotelex-accessoires-search-input:focus {
	outline: none;
	border-color: #60a5fa;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.autotelex-accessoires-tabs {
	display: none !important;
}

.autotelex-specs-section-nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	margin: 0 0 16px;
	padding: 0;
	border-bottom: 1px solid #e5e7eb;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.autotelex-specs-section-nav::-webkit-scrollbar {
	display: none;
}

.autotelex-specs-section-tab {
	appearance: none;
	border: 0;
	background: transparent;
	margin: 0;
	padding: 0.85rem 1rem 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	white-space: nowrap;
	flex: 0 0 auto;
	cursor: pointer;
	color: #6b7280;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
}

.autotelex-specs-section-tab:hover,
.autotelex-specs-section-tab:focus,
.autotelex-specs-section-tab:active {
	background: transparent !important;
	background-color: transparent !important;
	color: #111827 !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none;
}

.autotelex-specs-section-tab.is-active,
.autotelex-specs-section-tab.active {
	color: #111827;
	font-weight: 700;
	background: transparent;
	border: 0;
}

.autotelex-specs-section-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 100px;
	background: #eef2f8;
	color: #374151;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.autotelex-specs-section-tab.is-active .autotelex-specs-section-tab-count,
.autotelex-specs-section-tab.active .autotelex-specs-section-tab-count {
	background: #111827;
	color: #fff;
}

.autotelex-accessoires-tab {
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	border-radius: 9999px;
	padding: 8px 14px;
	cursor: pointer;
	color: #111827;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 14px;
}

.autotelex-accessoires-tab.active {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.autotelex-accessoires-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 18px;
	padding: 0 7px;
	border-radius: 9999px;
	background: rgba(17, 24, 39, 0.08);
	font-weight: 700;
	font-size: 12px;
	color: inherit;
}

.autotelex-accessoires-panel {
	display: none;
}

.autotelex-accessoires-panel.active {
	display: block;
}

.autotelex-accessoires-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.autotelex-accessoire-card {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	border-radius: 10px;
	padding: 12px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
}

.autotelex-accessoire-card-icon {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(15, 17, 24, 0.08);
	flex: 0 0 auto;
	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 #4b66c2;
	border-bottom: 2px solid #4b66c2;
	transform: rotate(45deg);
}

.autotelex-accessoire-card-title {
	font-weight: 600;
	font-size: 14px;
	color: #111827;
	line-height: 1.3;
}

.autotelex-accessoires-empty {
	color: #6b7280;
}

.autotelex-direct-link .button {
	padding: 12px 30px;
	font-size: 1.1em;
}

/* Compare vehicles (archive + compare page) */
.autotelex-compare-bar {
	--compare-bar-accent: #6b78c4;
	position: sticky;
	top: 0;
	z-index: 50;
	margin: 0 0 22px;
	padding: 14px 18px;
	background: #ffffff;
	border: 1px solid var(--mgh-filter-border);
	border-radius: 18px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 14px;
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
	justify-content: flex-start;
}

.autotelex-compare-bar-label {
	margin: 0;
	display: inline-flex;
	align-items: baseline;
	gap: 0.35em;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: #111111;
	white-space: nowrap;
}

.autotelex-compare-bar-text,
.autotelex-compare-bar-suffix {
	font-weight: 600;
	color: #111111;
}

.autotelex-compare-bar-count {
	font-weight: 700;
	color: var(--compare-bar-accent);
}

.autotelex-compare-bar-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: none;
	border-radius: 10px;
	background: var(--compare-bar-accent);
	color: #ffffff !important;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.autotelex-compare-bar-button:hover,
.autotelex-compare-bar-button:focus {
	background: #5a67b3;
	color: #ffffff !important;
}

/* Main menu badge on .mgh-nav-item--vergelijken */
.mgh-nav-item--vergelijken .autotelex-compare-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 1.35em;
	height: 1.35em;
	padding: 0 0.35em;
	margin-left: -5px;
	border-radius: 999px;
	background: #5c65a8;
	color: #ffffff;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
	flex-shrink: 0;
}

.mgh-nav-item--vergelijken .autotelex-compare-nav-badge[hidden] {
	display: none !important;
}

.autotelex-compare-toggle {
	cursor: pointer;
}

.autotelex-compare-toggle.active {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
}

.autotelex-compare-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1.5px solid #1f2128;
	background: #ffffff;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	color: #1f2128;
	transition: background 0.15s ease;
}

.autotelex-compare-reset:hover {
	background: #f3f4f6;
}

.autotelex-compare-page {
	padding: 12px 20px 48px;
	max-width: 1320px;
	margin: 0 auto;
	background: #ffffff;
	color: #111111;
}

.autotelex-compare-title {
	margin: 10px 0 18px;
	font-size: 1.6em;
}

.autotelex-compare-empty {
	display: flex;
	justify-content: center;
	padding: 48px 16px;
}

.autotelex-compare-empty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 10px;
	background: var(--atx-brand);
	color: #ffffff !important;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	transition: background 0.15s ease;
}

.autotelex-compare-empty-button:hover,
.autotelex-compare-empty-button:focus {
	background: var(--atx-brand-hover);
	color: #ffffff !important;
}

.autotelex-compare-board {
	--compare-count: 2;
	--compare-gap: 32px;
	--compare-label: minmax(148px, 0.28fr);
	--compare-cols: var(--compare-label) repeat(var(--compare-count), minmax(0, 1fr));
}

.autotelex-compare-head,
.autotelex-compare-row,
.autotelex-compare-actions {
	display: grid;
	grid-template-columns: var(--compare-cols);
	column-gap: var(--compare-gap);
	align-items: center;
}

.autotelex-compare-head {
	position: sticky;
	top: 0;
	z-index: 30;
	align-items: start;
	padding: 8px 0 18px;
	margin: 0 -4px;
	background: #ffffff;
	box-shadow: 0 14px 18px -16px rgba(17, 17, 17, 0.22);
}

.autotelex-compare-head-spacer,
.autotelex-compare-actions-spacer {
	min-width: 0;
}

.autotelex-compare-vehicle-header {
	min-width: 0;
	text-align: center;
	background: #ffffff;
}

.autotelex-compare-vehicle-thumb {
	position: relative;
	width: 160px;
	max-width: 70%;
	margin: 0 auto 14px;
	border-radius: 10px;
	overflow: visible;
	background: #f3f4f6;
}

.autotelex-compare-vehicle-thumb img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 10px;
}

.autotelex-compare-close {
	position: absolute;
	top: -8px;
	right: -8px;
	z-index: 3;
	width: 28px;
	height: 28px;
	padding: 0;
	border-radius: 9999px;
	border: none;
	background: #ef4444;
	color: #ffffff;
	font-size: 20px;
	line-height: 28px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.autotelex-compare-close:hover {
	background: #dc2626;
}

.autotelex-compare-vehicle-meta {
	padding: 0 8px;
}

.autotelex-compare-vehicle-name {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111111;
}

.autotelex-compare-vehicle-name a {
	color: inherit;
	text-decoration: none;
}

.autotelex-compare-vehicle-name a:hover {
	text-decoration: underline;
}

.autotelex-compare-vehicle-price {
	margin: 0;
	color: #111111;
	font-weight: 800;
	font-size: 1.55rem;
	letter-spacing: -0.02em;
}

.autotelex-compare-specs,
.autotelex-compare-features {
	display: flex;
	flex-direction: column;
}

.autotelex-compare-row {
	min-height: 52px;
	padding: 14px 0;
	border-bottom: 1px solid #eceff3;
}

.autotelex-compare-spec-label {
	text-align: left;
	font-weight: 700;
	color: #111111;
	word-break: break-word;
}

.autotelex-compare-cell {
	text-align: center;
	color: #111111;
	font-weight: 500;
	min-width: 0;
}

.autotelex-compare-features-title {
	margin: 36px 0 8px;
	font-size: 1.55rem;
	font-weight: 800;
	color: #111111;
	letter-spacing: -0.02em;
}

.autotelex-compare-feature-cell {
	text-align: center;
}

.autotelex-compare-feature-yes,
.autotelex-compare-feature-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	background: transparent;
	border-radius: 0;
	font-size: 1.2rem;
	line-height: 1;
	font-weight: 700;
}

.autotelex-compare-feature-yes {
	color: #22c55e;
}

.autotelex-compare-feature-no {
	color: #d1d5db;
	font-size: 1.35rem;
}

.autotelex-compare-actions {
	align-items: start;
	margin-top: 28px;
	padding-top: 8px;
}

.autotelex-compare-vehicle-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.autotelex-compare-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 280px;
	box-sizing: border-box;
	padding: 12px 18px;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.autotelex-compare-cta--primary {
	background: var(--atx-brand);
	color: #ffffff;
	border: 1px solid var(--atx-brand);
}

.autotelex-compare-cta--primary:hover {
	background: var(--atx-brand-hover);
	color: #ffffff;
}

.autotelex-compare-cta--secondary {
	background: #ffffff;
	color: var(--atx-brand);
	border: 1px solid var(--atx-brand);
}

.autotelex-compare-cta--secondary:hover {
	background: #f8f8f8;
	color: var(--atx-brand);
}

@media (max-width: 900px) {
	.autotelex-compare-page {
		padding: 10px 14px 36px;
	}

	.autotelex-compare-board {
		--compare-gap: 16px;
		--compare-label: minmax(110px, 0.34fr);
	}

	.autotelex-compare-vehicle-thumb {
		width: 120px;
	}

	.autotelex-compare-vehicle-thumb img {
		height: 90px;
	}

	.autotelex-compare-vehicle-name {
		font-size: 1rem;
	}

	.autotelex-compare-vehicle-price {
		font-size: 1.2rem;
	}

	.autotelex-compare-cta {
		padding: 10px 12px;
		font-size: 0.85rem;
	}
}

/* Back button (single voertuig) */
.autotelex-back {
	margin: 0 0 16px;
}

.autotelex-back-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	border-radius: 10px;
	color: #111827;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.autotelex-back-link:before {
	content: '←';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}

.autotelex-back-link:hover {
	background: #f9fafb;
}

@media (max-width: 768px) {
	.autotelex-accessoires-grid {
		grid-template-columns: 1fr;
	}
}

/* Lightbox: all photos stacked */
.autotelex-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100dvh;
	margin: 0;
	padding: 20px;
	border: 0;
	background: transparent;
	z-index: 1000000;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
}

.autotelex-lightbox::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.72;
	pointer-events: none;
}

.autotelex-lightbox.active {
	display: flex;
}

.autotelex-lightbox-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(920px, 100%);
	max-height: calc(100dvh - 40px);
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.autotelex-lightbox-toolbar {
	display: flex;
	justify-content: flex-end;
	flex-shrink: 0;
	padding: 10px 10px 0;
}

.autotelex-lightbox-images {
	position: relative;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px 16px 20px;
	-webkit-overflow-scrolling: touch;
}

.autotelex-lightbox-images img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	background: #f3f4f6;
	border-radius: 4px;
}

.autotelex-lightbox-close {
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.autotelex-lightbox-close:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 768px) {
	.autotelex-lightbox {
		padding: 0;
	}

	.autotelex-lightbox-content {
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}
}

@media (max-width: 1024px) {
	.autotelex-grid,
	.autotelex-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.autotelex-archive-wrapper {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		gap: 0;
		margin: 0;
		max-width: none;
		padding: 0;
		width: 100%;
		background: #f4f6fd;
	}

	.autotelex-archive-wrapper > .autotelex-compare-bar {
		grid-column: auto;
	}

	.autotelex-archive-wrapper > .autotelex-results {
		min-width: 0;
		width: 100%;
		flex: 1 1 auto;
		margin-left: 0;
	}

	.autotelex-single-top {
		flex-direction: column;
		gap: 20px;
	}

	.autotelex-single-top .autotelex-gallery {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.autotelex-single-right {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.autotelex-gallery-thumbs {
		display: none !important;
	}

	.autotelex-single-wrapper .autotelex-gallery-nav,
	.autotelex-hero-media .autotelex-gallery-nav,
	.autotelex-gallery-main .autotelex-gallery-nav {
		display: none !important;
	}

	.autotelex-gallery-main {
		touch-action: pan-y pinch-zoom;
	}

	/* ── Browse: filters as chips ───────────────────────────────── */
	.autotelex-archive-wrapper > .autotelex-filters.mgh-filters,
	.autotelex-archive-wrapper > .mgh-filters.autotelex-filters,
	.autotelex-filters.mgh-filters {
		flex: none !important;
		width: 100% !important;
		max-width: none !important;
		border-radius: 0 !important;
		border: 0 !important;
		border-bottom: 1px solid #e5e7eb !important;
		min-height: 0 !important;
		box-shadow: none !important;
		background: #f4f6fd !important;
		padding: 1.1rem 1.25rem 1rem !important;
	}

	.autotelex-filters .mgh-filters__title,
	.mgh-filters__title {
		margin: 0 0 0.85rem !important;
		font-size: 1.2rem !important;
		font-weight: 700 !important;
	}

	/* Zoekblok boven chips (mobiel ontwerp) */
	.autotelex-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__conditie {
		margin: 0 0 0.85rem !important;
	}

	.autotelex-filters .mgh-filters__form,
	.mgh-filters__form {
		display: flex !important;
		flex-direction: column !important;
		gap: 0.75rem !important;
	}

	.autotelex-filters .mgh-filters__primary,
	.mgh-filters__primary {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 0.5rem !important;
	}

	.autotelex-filters.mgh-filters.is-more-open .mgh-filters__more,
	.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-filter.filter-group,
	.autotelex-filters .mgh-filter {
		margin: 0 !important;
		flex: 0 0 auto !important;
		position: relative !important;
		width: auto !important;
	}

	.autotelex-filters .mgh-filter__details {
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		overflow: visible !important;
	}

	.autotelex-filters .mgh-filter__details[open],
	.autotelex-filters .mgh-filter__details.is-active {
		border: 0 !important;
		box-shadow: none !important;
	}

	.autotelex-filters .mgh-filter__trigger {
		display: inline-flex !important;
		align-items: center !important;
		gap: 0.4rem !important;
		width: auto !important;
		padding: 0.5rem 0.9rem !important;
		background: #fff !important;
		border: 1px solid #d1d5db !important;
		border-radius: 10px !important;
		font-size: 0.875rem !important;
		font-weight: 600 !important;
		list-style: none !important;
		cursor: pointer !important;
		white-space: nowrap !important;
		color: #111827 !important;
	}

	.autotelex-filters .mgh-filter__trigger::-webkit-details-marker {
		display: none !important;
	}

	.autotelex-filters .mgh-filter__label {
		flex: 0 1 auto !important;
	}

	.autotelex-filters .mgh-filter__chevron {
		display: none !important;
	}

	.autotelex-filters .mgh-filter__badge:not([hidden]) {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-width: 1.15rem !important;
		height: 1.15rem !important;
		padding: 0 0.3rem !important;
		border-radius: 100px !important;
		background: #5c76d1 !important;
		color: #fff !important;
		font-size: 0.7rem !important;
		font-weight: 700 !important;
		line-height: 1 !important;
	}

	.autotelex-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;
		background: #fff !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 14px !important;
		border-top: 1px solid #e5e7eb !important;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22) !important;
		padding: 0.9rem !important;
	}

	.autotelex-filters .mgh-filters__footer {
		margin-top: 0.25rem !important;
		padding-top: 0 !important;
		border-top: 0 !important;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: 0.75rem 1rem !important;
	}

	.autotelex-filters .mgh-filters__results-count {
		display: none !important;
	}

	.autotelex-filters .mgh-btn--filter-reset {
		order: -1 !important;
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: none !important;
		padding: 0.7rem 1rem !important;
		font-size: 0.88rem !important;
		border-radius: 10px !important;
	}

	.autotelex-filters .mgh-filters__more-toggle {
		order: 0 !important;
		align-self: center !important;
		margin-left: auto !important;
		text-decoration: none !important;
		text-underline-offset: 3px !important;
		font-size: 0.9rem !important;
		font-weight: 700 !important;
		color: #111827 !important;
		background: none !important;
		border: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
	}

	.autotelex-filters .mgh-filters__more-toggle:hover,
	.autotelex-filters .mgh-filters__more-toggle:focus,
	.autotelex-filters .mgh-filters__more-toggle:active,
	.autotelex-filters .mgh-filters__more-toggle:focus-visible {
		background: none !important;
		background-color: transparent !important;
		color: #111827 !important;
		box-shadow: none !important;
		text-decoration: underline !important;
	}

	.mgh-filter-popup-overlay:not([hidden]) {
		display: block !important;
		position: fixed;
		inset: 0;
		z-index: 10040;
		background: rgba(15, 23, 42, 0.45);
		cursor: pointer;
	}

	html.mgh-filter-popup-open {
		overflow: hidden;
	}

	.autotelex-results {
		padding: 0 0 1.5rem;
		background: #f4f6fd;
	}

	.autotelex-results-toolbar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 0.75rem;
		padding: 0.85rem 1.25rem;
		background: #e8eef6;
		border: 0;
		margin: 0;
	}

	.autotelex-results-toolbar__count {
		margin: 0;
		font-size: 0.88rem;
		font-weight: 600;
		color: #6b7280;
	}

	.autotelex-results-toolbar__sort {
		display: flex;
		align-items: center;
		gap: 0.4rem;
	}

	.autotelex-results-toolbar__sort-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.autotelex-results-toolbar .autotelex-sorteer {
		flex: 0 0 auto;
		min-width: 8.5rem;
		padding: 0.55rem 2rem 0.55rem 0.85rem;
		border: 1px solid #d1d5db;
		border-radius: 10px;
		background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111827' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
		appearance: none;
		-webkit-appearance: none;
		font-size: 0.875rem;
		font-weight: 600;
		color: #111827;
	}

	.autotelex-results__list {
		padding: 1rem 1.25rem 0;
	}

	.autotelex-grid,
	.autotelex-featured-grid,
	.autotelex-similar-grid {
		grid-template-columns: 1fr !important;
		gap: 1rem !important;
	}

	.autotelex-archive-wrapper .mgh-card--product,
	.autotelex-archive-wrapper .atx-card.mgh-card--product {
		background: #fff !important;
		border-radius: 14px;
		box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
		overflow: hidden;
	}

	.autotelex-archive-wrapper .mgh-card--product:hover {
		transform: none;
	}

	.autotelex-archive-wrapper .mgh-card__price-label {
		display: none;
	}

	.autotelex-archive-wrapper .mgh-card__price-now {
		font-size: 1.35rem;
	}

	.autotelex-gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 10px;
	}

	.autotelex-specs-grid {
		grid-template-columns: 1fr;
	}

	/* ── Detail mobile ──────────────────────────────────────────── */
	.autotelex-single-wrapper {
		max-width: none;
		margin: 0;
		padding: 0 0 2rem;
		background: #fff;
	}

	.autotelex-back {
		padding: 0.85rem 1.25rem 0.5rem;
		margin: 0;
	}

	.autotelex-back-link {
		font-size: 0.9rem;
		font-weight: 600;
	}

	.autotelex-single-hero.mgh-single-hero,
	.autotelex-single-top {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 0;
	}

	.autotelex-hero-media {
		flex: 0 0 230px;
		height: 230px;
		min-height: 0;
		max-height: 230px;
		overflow: hidden;
	}

	.autotelex-hero-media,
	.autotelex-hero-media .autotelex-gallery,
	.autotelex-gallery-main,
	.autotelex-gallery-main-link,
	.autotelex-gallery-main img {
		width: 100%;
		border-radius: 0;
	}

	.autotelex-hero-media .autotelex-gallery,
	.autotelex-gallery-main,
	.autotelex-gallery-main-link {
		display: block;
		height: 100%;
	}

	.autotelex-gallery-main {
		aspect-ratio: auto;
		overflow: hidden;
		background: #f3f4f6;
	}

	.autotelex-single-wrapper .autotelex-gallery-thumbs,
	.autotelex-hero-media .autotelex-gallery-thumbs {
		display: none !important;
	}

	.autotelex-single-wrapper .autotelex-gallery-nav,
	.autotelex-hero-media .autotelex-gallery-nav {
		display: none !important;
	}

	.autotelex-gallery-dots {
		display: none;
	}

	.autotelex-gallery-count {
		display: inline-flex;
		align-items: center;
		position: absolute;
		left: 50%;
		bottom: 12px;
		transform: translateX(-50%);
		z-index: 4;
		padding: 0.35rem 0.75rem;
		border-radius: 999px;
		background: rgba(17, 24, 39, 0.72);
		color: #fff;
		font-size: 0.8rem;
		font-weight: 600;
		line-height: 1.2;
		pointer-events: none;
	}

	.autotelex-gallery-main img {
		height: 100%;
		object-fit: cover;
	}

	.autotelex-hero-summary {
		padding: 1.15rem 1.25rem 1.5rem;
	}

	.autotelex-hero-toprow {
		align-items: flex-start;
		gap: 0.75rem;
	}

	.autotelex-hero-toprow .autotelex-hero-share {
		border-radius: 12px !important;
	}

	.autotelex-single-header h1 {
		font-size: 1.55rem;
		margin: 0 0 0.25rem;
	}

	.autotelex-hero-tagline {
		font-size: 0.9rem;
		color: #6b7280;
	}

	.autotelex-hero-badges {
		margin: 0.75rem 0;
	}

	.autotelex-hero-badge--new {
		background: #f5e642 !important;
		color: #111 !important;
		border-color: #f5e642 !important;
	}

	.autotelex-hero-badge--demo {
		background: #99f6e4 !important;
		color: #115e59 !important;
		border-color: #99f6e4 !important;
	}

	.autotelex-hero-pricebox-label {
		font-size: 0.8rem;
		color: #6b7280;
	}

	.autotelex-hero-pricebox-value {
		font-size: 1.75rem;
		font-weight: 800;
		margin: 0.15rem 0 0;
	}

	.autotelex-hero-specgrid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.65rem;
		margin: 1.1rem 0;
	}

	.autotelex-hero-spec-card {
		background: #eef2f8;
		border-radius: 12px;
		padding: 0.75rem 0.85rem;
		min-height: 4.25rem;
	}

	.autotelex-hero-spec-label {
		display: block;
		font-size: 0.72rem;
		color: #6b7280;
		margin-bottom: 0.35rem;
	}

	.autotelex-hero-spec-value {
		display: block;
		font-size: 0.98rem;
		font-weight: 700;
		color: #111827;
	}

	.autotelex-hero-ctas {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
	}

	.autotelex-hero-ctas .autotelex-hero-cta,
	.autotelex-hero-ctas .autotelex-hero-cta--dark,
	.autotelex-hero-ctas .autotelex-hero-cta--quote,
	.autotelex-hero-ctas a {
		width: 100%;
		justify-content: center;
		border-radius: 12px !important;
		padding: 0.95rem 1.1rem !important;
		font-weight: 700;
	}

	.autotelex-hero-ctas .autotelex-hero-cta--quote {
		background: #5c76d1 !important;
		border-color: #5c76d1 !important;
		color: #fff !important;
	}

	.autotelex-accessoires,
	.mgh-specs,
	.autotelex-content,
	.autotelex-similar {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.autotelex-similar {
		padding-bottom: 1.5rem;
	}

	.autotelex-accessoires-tabs,
	.autotelex-specs-tab-nav {
		gap: 0;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.autotelex-accessoires-tabs::-webkit-scrollbar,
	.autotelex-specs-tab-nav::-webkit-scrollbar {
		display: none;
	}

	.autotelex-accessoires-tab,
	.autotelex-specs-tab-nav li {
		white-space: nowrap;
		flex: 0 0 auto;
	}

	.autotelex-accessoires-tab.is-active,
	.autotelex-specs-tab-nav li.active {
		color: #111 !important;
		border-bottom-color: #111 !important;
		font-weight: 700;
	}

	.autotelex-accessoires-search {
		margin: 0.75rem 0 1rem;
	}

	.autotelex-accessoires-search-input {
		width: 100%;
		border-radius: 10px;
		padding: 0.75rem 0.9rem 0.75rem 2.4rem;
	}

	.autotelex-specs-section-nav {
		gap: 0;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.autotelex-specs-section-nav::-webkit-scrollbar {
		display: none;
	}

	.autotelex-specs-section-tab {
		white-space: nowrap;
		flex: 0 0 auto;
	}

	/* ── Compare bar (browse) ───────────────────────────────────── */
	.autotelex-compare-bar {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		padding: 0.75rem 0.9rem;
		border-radius: 14px;
		gap: 0.55rem;
	}

	.autotelex-compare-bar-label {
		font-size: 0.85rem;
	}

	.autotelex-compare-bar-button,
	.autotelex-compare-reset {
		padding: 0.55rem 0.85rem;
		border-radius: 10px;
		font-size: 0.85rem;
	}

	/* ── Compare mobile ─────────────────────────────────────────── */
	.autotelex-compare-page,
	.autotelex-compare-main {
		background: #f4f6fd;
		padding: 0.85rem 0.85rem 2rem;
	}

	.autotelex-compare-wrap {
		background: #fff;
		border-radius: 14px;
		padding: 1rem 0.75rem 1.25rem;
		box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
	}

	.autotelex-compare-title {
		font-size: 1.25rem;
		margin: 0 0 0.75rem;
	}

	.autotelex-compare-board {
		--compare-label: 0fr;
		--compare-gap: 0.65rem;
		--compare-cols: repeat(var(--compare-count), minmax(0, 1fr));
	}

	.autotelex-compare-head,
	.autotelex-compare-row,
	.autotelex-compare-actions {
		grid-template-columns: var(--compare-cols);
		column-gap: var(--compare-gap);
	}

	.autotelex-compare-head-spacer,
	.autotelex-compare-actions-spacer {
		display: none;
	}

	.autotelex-compare-head {
		position: sticky;
		top: 0;
		padding: 0.35rem 0 0.85rem;
		box-shadow: 0 10px 14px -12px rgba(17, 17, 17, 0.2);
	}

	.autotelex-compare-vehicle-thumb img {
		border-radius: 10px;
		object-fit: cover;
		width: 100%;
		height: 90px;
		aspect-ratio: auto;
	}

	.autotelex-compare-close {
		background: #e11d48 !important;
		color: #fff !important;
		border-radius: 100px !important;
		width: 1.75rem;
		height: 1.75rem;
		line-height: 1;
		font-size: 1.1rem;
		top: 0.35rem;
		right: 0.35rem;
	}

	.autotelex-compare-vehicle-name {
		font-size: 0.92rem;
		line-height: 1.3;
	}

	.autotelex-compare-vehicle-price {
		font-size: 1rem;
		font-weight: 800;
	}

	.autotelex-compare-vehicle-actions {
		display: flex;
		flex-direction: column;
		gap: 0.4rem;
	}

	.autotelex-compare-cta,
	.autotelex-compare-cta--primary,
	.autotelex-compare-cta--secondary {
		width: 100%;
		justify-content: center;
		font-size: 0.78rem !important;
		padding: 0.55rem 0.55rem !important;
		border-radius: 8px !important;
	}

	.autotelex-compare-row {
		padding: 0.55rem 0;
		border-bottom: 1px solid #e5e7eb;
		align-items: start;
		font-size: 0.82rem;
	}

	.autotelex-compare-spec-label {
		grid-column: 1 / -1;
		font-weight: 700;
		font-size: 0.78rem;
		color: #6b7280;
		margin: 0 0 0.25rem;
		padding: 0;
	}

	.autotelex-compare-cell {
		text-align: center;
		padding: 0.15rem 0.2rem;
		min-width: 0;
		word-break: break-word;
	}

	.autotelex-compare-features-title {
		font-size: 1.05rem;
		margin: 1.1rem 0 0.5rem;
	}
}

/* Container */
.autotelex-specs-tabs {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 18px 10px;
}

/* Tab-navigatie */
.autotelex-specs-tab-nav {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.autotelex-specs-tab-nav li {
    cursor: pointer;
    padding: 10px 14px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: -1px; /* aligns underline with border-bottom */
}

.autotelex-specs-tab-nav li:hover {
    color: #0f172a;
}

.autotelex-specs-tab-nav li.active {
    color: #0073aa;
    font-weight: 700;
    border-bottom-color: #0073aa;
}

/* Panels */
.autotelex-specs-tab-panel {
    display: none;
    padding: 0 4px 6px;
}

.autotelex-specs-tab-panel.active {
    display: block;
}

/* Tabel styling */
.autotelex-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.autotelex-specs-table th,
.autotelex-specs-table td {
    padding: 10px 8px;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}

.autotelex-specs-table th {
    width: 40%;
    font-weight: 600;
    color: #374151;
}

.autotelex-specs-table tr:nth-child(odd) {
    background-color: #f9fafb;
}

/* LEF interesseformulier (occasiondetail) */
.autotelex-lef-interest.mgh-lef-interest,
.autotelex-lef-interest {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border-radius: 14px;
	border: none;
	background: #f4f6fd;
}

.autotelex-lef-interest-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 700;
	color: #111827;
}

.autotelex-lef-interest-intro {
	margin: 0 0 1.25rem;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.5;
}

.autotelex-lef-interest-fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.autotelex-lef-interest-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.autotelex-lef-interest-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #374151;
}

.autotelex-lef-interest-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
	font-size: 1rem;
	background: #fff;
}

.autotelex-lef-interest-input:focus {
	outline: 2px solid rgba(92, 101, 168, 0.35);
	border-color: #5c65a8;
}

.autotelex-lef-interest-feedback {
	margin: 0.85rem 0 0;
	font-size: 0.95rem;
}

.autotelex-lef-interest-feedback.is-success {
	color: #047857;
}

.autotelex-lef-interest-feedback.is-error {
	color: #b91c1c;
}

.autotelex-lef-interest-actions.autotelex-hero-ctas {
	align-items: flex-start;
}

.autotelex-lef-interest-actions .autotelex-hero-cta {
	width: auto;
	cursor: pointer;
	font-family: inherit;
}

.autotelex-lef-interest-actions .autotelex-hero-cta[disabled] {
	opacity: 0.65;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.autotelex-lef-interest-fields {
		grid-template-columns: 1fr;
	}

	.autotelex-lef-interest-actions.autotelex-hero-ctas .autotelex-hero-cta {
		width: auto !important;
	}
}