@charset "UTF-8";
/* Archive des véhicules (page « Nos annonces ») : hero court, barre de recherche, résultats, tri, pagination. archive-vehicle.php */

/* ---------- Archive des véhicules : hero court + barre de recherche pleine largeur ---------- */
.sh-masthead--archive {
	display: flex;
	flex-direction: column;
	min-height: 581px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0, rgba(0, 0, 0, 0.3) 21.7%, rgba(0, 0, 0, 0.1) 31%), var(--sh-hero-image) center bottom/cover no-repeat, var(--sh-brown);
}
@media (min-width: 1200px) {
	.sh-masthead--archive {
		background-size: auto, 100% auto, auto;
	}
}

.sh-hero--archive {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 0 var(--sh-gutter) 20px;
}
.sh-hero--archive .sh-hero__title {
	font-size: 50px;
	line-height: 46px;
}

.sh-crumbs {
	margin: 0;
	padding: 0 10px;
	background: #fff;
	color: #000;
	backdrop-filter: blur(10px);
}
.sh-crumbs a {
	color: inherit;
	text-decoration: none;
}
.sh-crumbs a:hover {
	text-decoration: underline;
}

.sh-search--solid {
	align-items: flex-end;
	padding: 40px var(--sh-gutter) 20px;
	background: var(--sh-ink);
}

/* ---------- Archive : résultats ---------- */
.sh-results {
	padding: 56px var(--sh-gutter) 96px;
	background: #ebebeb;
}
.sh-results__empty {
	padding: 48px 0;
	text-align: center;
}

.sh-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	min-height: 46px;
	margin-bottom: 32px;
}

.sh-toolbar__filters {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sh-toolbar__count {
	margin: 0;
	font-size: 24px;
	line-height: 30px;
	font-weight: 700;
}

.sh-toolbar__sep {
	width: 1px;
	height: 24px;
	background: #bababa;
}

.sh-toolbar__clear {
	font-size: 14px;
	line-height: 19px;
	font-weight: 700;
	color: var(--sh-ink);
	text-decoration: underline;
}

.sh-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 6px 14px;
	border: 1px solid #bababa;
	border-radius: 50px;
	background: #fff;
	color: var(--sh-ink);
	font-size: 14px;
	line-height: 18px;
	text-decoration: none;
}
.sh-chip__x {
	color: var(--sh-grey-400);
}
.sh-chip:hover .sh-chip__x {
	color: var(--sh-accent);
}

.sh-sort {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.sh-sort label {
	margin: 0;
}
.sh-sort .sh-select {
	width: 220px;
}

.sh-select--light::after {
	border-color: var(--sh-ink);
}
.sh-select--light select {
	height: 46px;
	border-color: #bababa;
	background: #fff;
	color: var(--sh-ink);
}

.sh-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 20px;
}
.sh-grid .sh-card {
	flex: none;
	min-width: 0;
}

.sh-pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 56px;
}

.sh-pagination__pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sh-pagination__pages .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #bababa;
	border-radius: 50px;
	background: #fff;
	color: var(--sh-ink);
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}
.sh-pagination__pages .page-numbers:hover {
	border-color: var(--sh-accent);
	color: var(--sh-accent);
}
.sh-pagination__pages .page-numbers.current {
	border-color: var(--sh-accent);
	background: var(--sh-accent);
	color: #fff;
}
.sh-pagination__pages .page-numbers.dots {
	border-color: transparent;
	background: none;
}

.sh-pagination__summary {
	margin: 0;
	font-size: 14px;
	line-height: 18px;
	color: var(--sh-grey-400);
}

@media (max-width: 1199.98px) {
	.sh-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.sh-masthead--archive {
		min-height: 420px;
	}
}
@media (max-width: 767.98px) {
	.sh-grid {
		grid-template-columns: 1fr;
	}
	.sh-hero--archive .sh-hero__title {
		font-size: 40px;
		line-height: 40px;
	}
	.sh-toolbar__count {
		font-size: 20px;
	}
	.sh-sort {
		width: 100%;
	}
	.sh-sort .sh-select {
		flex: 1;
		width: auto;
	}
}
