/* =========================================================
   Autos OK Vehicles — Styles publics premium
   ========================================================= */

:root {
	--aokv-primary: #C00000;
	--aokv-primary-dark: #900000;
	--aokv-black: #111111;
	--aokv-black-dark: #000000;
	--aokv-autoscout: #ff6600;
	--aokv-text: #1a1a1a;
	--aokv-muted: #6b7280;
	--aokv-border: #e5e7eb;
	--aokv-bg-soft: #f5f6f8;
	--aokv-radius: 14px;
	--aokv-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	--aokv-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.aokv-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 24px 20px 60px;
}

.aokv-breadcrumb {
	font-size: 13px;
	color: var(--aokv-muted);
	margin-bottom: 16px;
}
.aokv-breadcrumb a { color: var(--aokv-muted); text-decoration: none; }
.aokv-breadcrumb a:hover { color: var(--aokv-primary); }

.aokv-archive-title { font-size: 28px; font-weight: 700; margin-bottom: 20px; }

/* ---------- Grille de cartes ---------- */
.aokv-grid {
	display: grid;
	grid-template-columns: repeat(var(--aokv-columns-desktop, 3), 1fr);
	gap: 24px;
	margin-top: 20px;
}
@media (max-width: 1024px) {
	.aokv-grid { grid-template-columns: repeat(var(--aokv-columns-tablet, 2), 1fr); }
}
@media (max-width: 640px) {
	.aokv-grid { grid-template-columns: repeat(var(--aokv-columns-mobile, 1), 1fr); }
}

.aokv-no-results {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--aokv-muted);
	padding: 40px 0;
}

/* ---------- Carte véhicule ---------- */
.aokv-card {
	background: #fff;
	border-radius: var(--aokv-radius);
	box-shadow: var(--aokv-shadow);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.aokv-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--aokv-shadow-hover);
}

.aokv-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--aokv-bg-soft);
}
.aokv-card__media img,
.aokv-card .aokv-card__img,
.aokv-card__img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;    /* remplit tout l'espace réservé, comme AutoScout24 / BMW Approved */
	object-position: center !important;
	display: block !important;
	margin: 0 !important;
	transition: transform .4s ease;
}
.aokv-card:hover .aokv-card__img { transform: scale(1.06); }
.aokv-card__img--placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e5e7eb, #f5f6f8);
}

.aokv-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 12px;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3px;
	color: #fff;
	text-transform: uppercase;
}
.aokv-badge--sold      { background: var(--aokv-primary); }
.aokv-badge--incoming  { background: var(--aokv-black); }
.aokv-badge--reserved  { background: var(--aokv-black); }

.aokv-card--vendu .aokv-card__img { filter: grayscale(.4); opacity: .85; }

.aokv-card__body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.aokv-card__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}
.aokv-card__title a { color: var(--aokv-text); text-decoration: none; }
.aokv-card__title a:hover { color: var(--aokv-primary); }

.aokv-card__price {
	font-size: 20px;
	font-weight: 800;
	color: var(--aokv-primary);
	margin-bottom: 10px;
}

.aokv-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	font-size: 13px;
	color: var(--aokv-muted);
}
.aokv-card__meta-item { display: flex; align-items: center; gap: 4px; }

.aokv-card__button {
	margin-top: auto;
	display: inline-block;
	text-align: center;
	background: var(--aokv-black);
	color: #fff;
	padding: 10px 18px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background .2s ease;
}
.aokv-card__button:hover { background: var(--aokv-black-dark); color: #fff; }

.aokv-card__buttons {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.aokv-card__buttons .aokv-card__button { margin-top: 0; flex: 1 1 auto; }

.aokv-card__button--autoscout {
	background: var(--aokv-autoscout, #ff6600);
}
.aokv-card__button--autoscout:hover { background: #e05c00; color: #fff; }

/* ---------- Filtre AJAX ---------- */
.aokv-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	background: var(--aokv-bg-soft);
	padding: 20px;
	border-radius: var(--aokv-radius);
	margin-bottom: 24px;
	align-items: end;
}
.aokv-filter__field { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; }
.aokv-filter__field label { font-size: 12px; font-weight: 600; color: var(--aokv-muted); }
.aokv-filter__field select,
.aokv-filter__field input {
	padding: 9px 10px;
	border: 1px solid var(--aokv-border);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
}
.aokv-filter__range { display: flex; gap: 8px; }
.aokv-filter__field--submit { flex-direction: row; gap: 10px; align-items: center; }
.aokv-filter__submit,
.aokv-filter__reset {
	padding: 10px 20px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	cursor: pointer;
}
.aokv-filter__submit { background: var(--aokv-primary); color: #fff; }
.aokv-filter__submit:hover { background: var(--aokv-primary-dark); }
.aokv-filter__reset { background: #fff; border: 1px solid var(--aokv-border); color: var(--aokv-text); }

.aokv-grid.is-loading { opacity: .5; pointer-events: none; }

.aokv-grid__loadmore { text-align: center; margin-top: 30px; }
.aokv-btn-loadmore {
	background: #fff;
	border: 1px solid var(--aokv-primary);
	color: var(--aokv-primary);
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	cursor: pointer;
}
.aokv-btn-loadmore:hover { background: var(--aokv-primary); color: #fff; }

/* ---------- Fiche véhicule détaillée : layout 2 colonnes (65% / 35%) ---------- */
.aokv-details { max-width: 1240px; margin: 0 auto; }

.aokv-details__title-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 4px 0 24px;
}
.aokv-details__title { font-size: 30px; font-weight: 800; margin: 0; line-height: 1.2; }

.aokv-details__grid {
	display: grid;
	grid-template-columns: 65fr 35fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 900px) {
	.aokv-details__grid { grid-template-columns: 1fr; gap: 28px; }
	.aokv-details__sidebar { order: -1; } /* sur mobile, prix + contact remontent avant la galerie */
}

.aokv-details__main { min-width: 0; }

/* --- Galerie --- */
.aokv-gallery { margin-bottom: 8px; }
.aokv-gallery__main {
	position: relative;
	border-radius: var(--aokv-radius);
	overflow: hidden;
	background: var(--aokv-bg-soft);
	aspect-ratio: 16 / 10;
	cursor: zoom-in;
}
.aokv-gallery__main--empty { background: linear-gradient(135deg, #e5e7eb, #f5f6f8); }
.aokv-gallery__main-img {
	width: 100% !important; height: 100% !important;
	object-fit: cover !important; display: block !important;
	transition: transform .3s ease;
}
.aokv-gallery__main:hover .aokv-gallery__main-img { transform: scale(1.03); }
.aokv-gallery__zoom {
	position: absolute; bottom: 14px; right: 14px;
	background: rgba(0,0,0,.6); color: #fff; width: 34px; height: 34px;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 20px;
}
.aokv-gallery__count {
	position: absolute; bottom: 14px; left: 14px;
	background: rgba(0,0,0,.6); color: #fff; padding: 5px 12px;
	border-radius: 20px; font-size: 12px; font-weight: 600;
}
.aokv-gallery__arrow {
	position: absolute !important; top: 50% !important; transform: translateY(-50%) !important;
	width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important;
	border-radius: 50% !important; border: none !important; outline: none !important; box-shadow: none !important;
	cursor: pointer !important;
	background: rgba(0,0,0,.55) !important; background-color: rgba(0,0,0,.55) !important; color: #fff !important;
	padding: 0 !important; margin: 0 !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	transition: background .15s ease;
	z-index: 2;
}
.aokv-gallery__arrow:hover,
.aokv-gallery__arrow:focus {
	background: rgba(0,0,0,.8) !important; background-color: rgba(0,0,0,.8) !important;
	border: none !important; outline: none !important; box-shadow: none !important; color: #fff !important;
}
.aokv-gallery__arrow--prev { left: 14px !important; right: auto !important; }
.aokv-gallery__arrow--next { right: 14px !important; left: auto !important; }
.aokv-gallery__arrow::before {
	content: "";
	display: block;
	width: 14px; height: 14px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
}
.aokv-gallery__arrow--prev::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15,4 7,12 15,20'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15,4 7,12 15,20'/%3E%3C/svg%3E");
}
.aokv-gallery__arrow--next::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9,4 17,12 9,20'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9,4 17,12 9,20'/%3E%3C/svg%3E");
}
.aokv-gallery__thumbs {
	display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.aokv-gallery__thumb {
	flex: 0 0 auto; width: 84px; height: 60px; border-radius: 8px; overflow: hidden;
	border: 1px solid transparent !important; padding: 0 !important; background: none !important; cursor: pointer;
	transition: border-color .15s ease;
}
.aokv-gallery__thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.aokv-gallery__thumb.is-active { border-color: var(--aokv-primary) !important; }

.aokv-lightbox {
	position: fixed; inset: 0; background: rgba(0,0,0,.9);
	display: flex; align-items: center; justify-content: center;
	z-index: 99999;
}
.aokv-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.aokv-lightbox__close {
	position: absolute; top: 20px; right: 30px; color: #fff; font-size: 34px;
	background: none; border: none; cursor: pointer;
}

/* --- Ligne de points forts (année / km / carburant / transmission / puissance) --- */
.aokv-highlights {
	display: flex; flex-wrap: wrap; gap: 0;
	list-style: none; margin: 20px 0 0; padding: 18px 0;
	border-top: 1px solid var(--aokv-border);
	border-bottom: 1px solid var(--aokv-border);
}
.aokv-highlights__item {
	flex: 1 1 20%; min-width: 110px;
	display: flex; flex-direction: column; gap: 2px;
	padding: 0 16px; border-right: 1px solid var(--aokv-border);
}
.aokv-highlights__item:last-child { border-right: none; }
.aokv-highlights__value { font-weight: 700; font-size: 15px; }
.aokv-highlights__label { font-size: 12px; color: var(--aokv-muted); }
@media (max-width: 600px) {
	.aokv-highlights__item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--aokv-border); padding: 10px 0; }
}

/* --- Sections (description, specs, options, historique) --- */
.aokv-details__section { margin: 0; padding: 28px 0; border-top: 1px solid var(--aokv-border); }
.aokv-details__main > .aokv-details__section:first-of-type { border-top: none; }
.aokv-details h2 { font-size: 19px; font-weight: 700; margin: 0 0 16px; }
.aokv-details__description { line-height: 1.7; color: #374151; }

.aokv-specs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.aokv-specs-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--aokv-border); padding-bottom: 8px; font-size: 14px; }
.aokv-specs-list__label { color: var(--aokv-muted); }
.aokv-specs-list__value { font-weight: 600; }
@media (max-width: 560px) { .aokv-specs-list { grid-template-columns: 1fr; } }

.aokv-options-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.aokv-options-list li { font-size: 14px; padding-left: 22px; position: relative; }
.aokv-options-list li::before {
	content: "✓"; position: absolute; left: 0; top: -1px;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--aokv-primary); color: #fff;
	font-size: 10px; line-height: 16px; text-align: center;
}

/* --- Colonne latérale sticky : prix + contact --- */
.aokv-details__sidebar { position: relative; }
.aokv-sidebar-card {
	position: sticky;
	top: 24px;
	background: #fff;
	border: 1px solid var(--aokv-border);
	border-radius: var(--aokv-radius);
	box-shadow: var(--aokv-shadow);
	padding: 24px;
}
.aokv-sidebar-card__price { font-size: 28px; font-weight: 800; color: var(--aokv-primary); margin-bottom: 16px; }

.aokv-sidebar-card__price-barre {
	font-size: 15px;
	color: var(--aokv-muted);
	text-decoration: line-through;
	margin-bottom: 2px;
}
.aokv-price-evaluation {
	display: inline-block;
	margin-bottom: 16px;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--aokv-black);
}

.aokv-sidebar-card__mini-specs {
	list-style: none; margin: 0 0 16px; padding: 16px 0;
	border-top: 1px solid var(--aokv-border); border-bottom: 1px solid var(--aokv-border);
	display: flex; flex-direction: column; gap: 8px;
	font-size: 14px; color: #374151;
}

.aokv-sidebar-card__extra {
	list-style: none; margin: 0 0 16px; padding: 0;
	display: flex; flex-direction: column; gap: 6px;
	font-size: 13px; color: var(--aokv-muted);
}

.aokv-sidebar-card__actions { display: flex; flex-direction: column; gap: 10px; }

.aokv-btn {
	padding: 13px 22px; border-radius: 10px; border: none; cursor: pointer;
	font-weight: 600; font-size: 14px; color: #fff; text-decoration: none;
	background: var(--aokv-primary); text-align: center; transition: opacity .15s ease;
}
.aokv-btn:hover { opacity: .9; color: #fff; }
.aokv-btn--block { width: 100%; display: block; }
.aokv-btn--whatsapp { background: var(--aokv-black); }
.aokv-btn--phone { background: var(--aokv-black); }
.aokv-btn--share { background: #fff; color: var(--aokv-black); border: 1px solid var(--aokv-black); }
.aokv-btn--contact { background: var(--aokv-primary); color: #fff; border: 1px solid var(--aokv-primary); }
.aokv-btn--autoscout { background: var(--aokv-autoscout, #ff6600); }
.aokv-btn--autoscout:hover { background: #e05c00; color: #fff; }

/* --- Icônes SVG (aucune dépendance externe, colorables via `color`) --- */
.aokv-icon-calendar::before,
.aokv-icon-gauge::before,
.aokv-icon-fuel::before,
.aokv-icon-gearbox::before,
.aokv-icon-power::before,
.aokv-icon-location::before,
.aokv-icon-warranty::before,
.aokv-icon-year::before,
.aokv-icon-mileage::before,
.aokv-icon-transmission::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 6px;
	vertical-align: -2px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.aokv-icon-calendar::before,
.aokv-icon-year::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.aokv-icon-gauge::before,
.aokv-icon-mileage::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cline x1='12' y1='13' x2='16' y2='9'/%3E%3Cline x1='12' y1='3' x2='12' y2='5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cline x1='12' y1='13' x2='16' y2='9'/%3E%3Cline x1='12' y1='3' x2='12' y2='5'/%3E%3C/svg%3E");
}

.aokv-icon-fuel::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='22' x2='15' y2='22'/%3E%3Cline x1='4' y1='9' x2='14' y2='9'/%3E%3Cpath d='M4 22V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v18'/%3E%3Cpath d='M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2'/%3E%3Cpath d='M17 9l3 3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='22' x2='15' y2='22'/%3E%3Cline x1='4' y1='9' x2='14' y2='9'/%3E%3Cpath d='M4 22V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v18'/%3E%3Cpath d='M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2'/%3E%3Cpath d='M17 9l3 3'/%3E%3C/svg%3E");
}

.aokv-icon-gearbox::before,
.aokv-icon-transmission::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12,2 15,4 15,8 19,10 19,14 15,16 15,20 12,22 9,20 9,16 5,14 5,10 9,8 9,4'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12,2 15,4 15,8 19,10 19,14 15,16 15,20 12,22 9,20 9,16 5,14 5,10 9,8 9,4'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.aokv-icon-power::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13,2 3,14 12,14 11,22 21,10 12,10'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13,2 3,14 12,14 11,22 21,10 12,10'/%3E%3C/svg%3E");
}

.aokv-icon-location::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.aokv-icon-warranty::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* ---------- Widgets Hero (Car Title / Car Short Description) ---------- */
.aokv-car-title { margin: 0 0 10px; font-weight: 800; line-height: 1.2; }
.aokv-car-short-desc { margin: 0; line-height: 1.6; }
.aokv-notice {
	background: var(--aokv-bg-soft);
	border: 1px dashed var(--aokv-border);
	color: var(--aokv-muted);
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 13px;
}

/* ---------- Widget Car Hero Banner ---------- */
.aokv-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 480px;
	background-color: var(--aokv-black);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}
.aokv-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.aokv-hero__container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 1216px;
	width: 100%;
	margin: 0 auto;
	padding: 0 16px;
	text-align: left;
}
.aokv-hero__content {
	width: 60%;
	max-width: 100%;
	box-sizing: border-box;
}
.aokv-hero__badge { position: static; margin-bottom: 14px; }
.aokv-hero__title {
	color: #fff;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 14px;
}
.aokv-hero__desc {
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}
@media (max-width: 768px) {
	.aokv-hero { min-height: 340px; }
	.aokv-hero__content { width: 80%; }
	.aokv-hero__title { font-size: 30px; }
	.aokv-hero__desc { font-size: 15px; }
}
@media (max-width: 480px) {
	.aokv-hero { min-height: 280px; }
	.aokv-hero__content { width: 100%; }
	.aokv-hero__title { font-size: 24px; }
}

/* ---------- Formulaire "Demande de devis" (Car Quote Form) ---------- */
.aokv-quote-form-wrapper { max-width: 560px; }
.aokv-quote-form__title { font-size: 22px; font-weight: 800; margin: 0 0 20px; }

.aokv-quote-form__feedback {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}
.aokv-quote-form__feedback:empty { display: none; }
.aokv-quote-form__feedback.is-success { color: #15803d; margin-bottom: 16px; }
.aokv-quote-form__feedback.is-error { color: var(--aokv-primary); margin-bottom: 16px; }

.aokv-quote-form__field { margin-bottom: 16px; }
.aokv-quote-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 480px) {
	.aokv-quote-form__row { grid-template-columns: 1fr; }
}
.aokv-quote-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--aokv-text);
}
.aokv-quote-form input,
.aokv-quote-form select,
.aokv-quote-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--aokv-border);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: var(--aokv-text);
	transition: border-color .15s ease;
}
.aokv-quote-form input::placeholder,
.aokv-quote-form textarea::placeholder {
	color: #4b5563 !important;
	opacity: 1 !important;
}
.aokv-quote-form input:focus,
.aokv-quote-form select:focus,
.aokv-quote-form textarea:focus {
	outline: none;
	border-color: var(--aokv-primary);
}
.aokv-quote-form textarea { resize: vertical; }

.aokv-quote-form__vehicle-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border: 1px solid var(--aokv-border);
	border-radius: 8px;
	background: var(--aokv-bg-soft);
	font-size: 14px;
	font-weight: 600;
}
.aokv-quote-form__vehicle-change {
	background: none;
	border: none;
	color: var(--aokv-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	flex-shrink: 0;
}

.aokv-quote-form__submit {
	width: 100%;
	padding: 14px 22px;
	border: none;
	border-radius: 8px;
	background: var(--aokv-primary);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: opacity .15s ease;
}
.aokv-quote-form__submit:hover { opacity: .9; }
.aokv-quote-form__submit:disabled { opacity: .6; cursor: default; }

/* ---------- Recherche AJAX ---------- */
.aokv-search-wrapper { position: relative; }
.aokv-search-results {
	list-style: none; margin: 6px 0 0; padding: 0;
	position: absolute; left: 0; right: 0; background: #fff;
	border: 1px solid var(--aokv-border); border-radius: 10px;
	box-shadow: var(--aokv-shadow); z-index: 999; max-height: 360px; overflow-y: auto;
}
.aokv-search-results li a {
	display: flex; align-items: center; gap: 10px; padding: 8px 12px;
	text-decoration: none; color: var(--aokv-text);
}
.aokv-search-results li a:hover { background: var(--aokv-bg-soft); }
.aokv-search-results img { width: 48px; height: 34px; object-fit: cover; border-radius: 4px; }
.aokv-search-results strong { margin-left: auto; color: var(--aokv-primary); font-size: 13px; }
