@property --ts-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

:root {
	--ts-green: #31af91;
	--ts-green-2: #49c5b6;
	--ts-green-deep: #1f8a71;
	--ts-mint: #effaf6;
	--ts-mint-2: #d5efe7;
	--ts-ink: #2c3e50;
	--ts-text: #4d5d6b;
	--ts-muted: #8593a0;
	--ts-gold: #ffc24b;
	--ts-red: #f54337;
	--ts-ease: cubic-bezier(.22, 1, .36, 1);
}

/* =====================================================================
   1. HERO : titre + route + halo d'ambiance
   ===================================================================== */
#id-list-content.kl-ts-hero {
	isolation: isolate;
}

#id-list-content.kl-ts-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	z-index: -1;
	height: 320px;
	pointer-events: none;
	border-radius: 0 0 44px 44px;
	background:
			radial-gradient(520px 220px at 10% 0%, rgba(49, 175, 145, .18), transparent 70%),
			radial-gradient(460px 200px at 92% 8%, rgba(73, 197, 182, .18), transparent 70%),
			radial-gradient(340px 160px at 55% 0%, rgba(255, 194, 75, .10), transparent 70%);
	animation: ts-aurora 9s ease-in-out infinite alternate;
}

#id-title-home.kl-title-home {
	position: relative;
	margin-bottom: 6px;
	padding: 3% 8% 0;
	color: var(--ts-ink);
	font-size: clamp(1.35rem, 1.1rem + 1.6vw, 2.25rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.3px;
	animation: ts-rise .8s var(--ts-ease) both;
}

.kl-ts-title-txt {
	background: linear-gradient(100deg, var(--ts-ink) 0%, var(--ts-green) 45%, var(--ts-green-2) 60%, var(--ts-ink) 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: ts-title 7s ease-in-out infinite alternate;
}

/* icônes décoratives qui flottent derrière le titre */
#id-title-home.kl-title-home::before,
#id-title-home.kl-title-home::after {
	position: absolute;
	z-index: -1;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: var(--ts-green);
	opacity: .1;
	pointer-events: none;
	-webkit-text-fill-color: var(--ts-green);
}

#id-title-home.kl-title-home::before {
	content: "\f1ba";
	left: 3%;
	top: 22%;
	font-size: 54px;
	animation: ts-float 5s ease-in-out infinite;
}

#id-title-home.kl-title-home::after {
	content: "\f3c5";
	right: 4%;
	top: 8%;
	font-size: 60px;
	animation: ts-float 6s ease-in-out infinite reverse;
}

/* route + taxi + destination */
.kl-ts-road {
	position: relative;
	width: min(440px, 86%);
	height: 46px;
	margin: 0 auto 6px;
}

.kl-ts-road-car {
	position: absolute;
	left: 0;
	bottom: 14px;
	width: 56px;
	height: 24px;
	overflow: visible;
	z-index: 2;
	display: block;
	max-width: none;
	pointer-events: none;
	animation: ts-drive-home 10s var(--ts-ease) infinite;
}

/* suspension : petites secousses de la caisse */
.kl-ts-taxi-body { animation: ts-taxi-bump .34s ease-in-out infinite alternate; }

/* roues qui tournent */
.kl-ts-spin {
	transform-box: fill-box;
	transform-origin: center;
	animation: ts-wheel .5s linear infinite;
}

/* phares + faisceau */
.kl-ts-beam { animation: ts-beam 1.8s ease-in-out infinite; }
.kl-ts-lamp { filter: drop-shadow(0 0 3px #ffd86b); animation: ts-lamp 1.8s ease-in-out infinite; }

/* enseigne et feu stop */
.kl-ts-sign { animation: ts-sign 1.4s ease-in-out infinite; }
.kl-ts-tail { animation: ts-brake-home 10s linear infinite; }

@keyframes ts-drive-taxi {
	0%   { left: -12%; opacity: 0; }
	8%   { opacity: 1; }
	84%  { left: calc(100% - 84px); opacity: 1; }
	92%  { left: calc(100% - 84px); opacity: 0; }
	100% { left: -12%; opacity: 0; }
}

@keyframes ts-taxi-bump {
	from { transform: translateY(0); }
	to   { transform: translateY(-.7px); }
}

@keyframes ts-wheel {
	to { transform: rotate(360deg); }
}

@keyframes ts-beam {
	0%, 100% { opacity: .85; }
	50%      { opacity: 1; }
}

@keyframes ts-lamp {
	0%, 100% { opacity: .9; }
	50%      { opacity: 1; }
}

@keyframes ts-sign {
	0%, 100% { filter: drop-shadow(0 0 1px #ffc24b); }
	50%      { filter: drop-shadow(0 0 5px #ffc24b); }
}

/* le feu stop s'allume quand le taxi arrive au marker */
@keyframes ts-brake {
	0%, 76%  { fill: #f54337; filter: none; }
	84%, 92% { fill: #ff7a70; filter: drop-shadow(0 0 4px #f54337); }
	100%     { fill: #f54337; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
	.kl-ts-road-car,
	.kl-ts-taxi-body,
	.kl-ts-spin,
	.kl-ts-beam,
	.kl-ts-lamp,
	.kl-ts-sign,
	.kl-ts-tail { animation: none; }
	/* ANCIEN : .kl-ts-road-car { left: calc(100% - 84px); } (remplacé plus bas par 132px) */
}

.kl-ts-road-line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 10px;
	border-radius: 10px;
	background:
			repeating-linear-gradient(90deg, rgba(255, 255, 255, .92) 0 14px, transparent 14px 28px) 0 50% / 28px 2px repeat-x,
			linear-gradient(180deg, #46596c 0%, #2c3e50 40%, #1c2935 100%);
	box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, .2),
			inset 0 -2px 3px rgba(0, 0, 0, .4),
			0 5px 9px rgba(44, 62, 80, .28);
	/* ANCIEN : fondu à gauche
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%);
	mask-image: linear-gradient(90deg, transparent 0, #000 12%);
	*/
}

/* lignes de bord de chaussée */
.kl-ts-road-line::before,
.kl-ts-road-line::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	height: 1px;
	background: rgba(255, 255, 255, .28);
}
.kl-ts-road-line::before { top: 2px; }
.kl-ts-road-line::after  { bottom: 2px; }
.kl-ts-road-pin {
	position: absolute;
	/* ANCIEN : right: 44px; (marker à l'arrivée) */
	left: 4px;
	bottom: 15px;
	width: 24px;
	height: 32px;
	z-index: 1;
	transform-origin: 50% 100%;
	filter: drop-shadow(0 5px 4px rgba(245, 67, 55, .35));
	animation: ts-pin-home 10s ease-in-out infinite;
}
.kl-ts-road-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8px;
	width: 22px;
	height: 8px;
	margin-left: -11px;
	border-radius: 50%;
	border: 2px solid rgba(245, 67, 55, .55);
	animation: ts-radar-ground 2s ease-out infinite;
}
/* ===== Bâtiment ===== */
.kl-ts-road-home {
	position: absolute;
	right: 0;
	bottom: 16px;
	width: 40px;
	height: 32px;
	z-index: 0;
	filter: drop-shadow(0 3px 3px rgba(44, 62, 80, .25));
}

.kl-ts-win { fill: #8fcfbe; animation: ts-win 10s linear infinite; }
.kl-ts-win:nth-child(even) { animation-delay: .25s; }

.kl-ts-door-light { opacity: 0; animation: ts-door-light 10s linear infinite; }
.kl-ts-dl, .kl-ts-dr { transform-box: fill-box; animation: ts-door 10s ease-in-out infinite; }
.kl-ts-dl { transform-origin: left center; }
.kl-ts-dr { transform-origin: right center; }

/* ===== Passager ===== */
.kl-ts-walker {
	position: absolute;
	/* ANCIEN : left: calc(100% - 132px); */
	left: calc(100% - 100px);
	bottom: 8px;
	width: 30px;
	height: 26px;
	z-index: 3;
	opacity: 0;
	transform-origin: 50% 100%;
	animation: ts-walker 10s linear infinite;
}

.kl-ts-leg, .kl-ts-arm {
	transform-box: view-box;
	animation: ts-step .25s ease-in-out infinite alternate;
}
.kl-ts-leg { transform-origin: 21.5px 15.5px; }
.kl-ts-leg--b { animation-delay: -.25s; }
.kl-ts-arm { transform-origin: 22px 9.5px; animation-delay: -.25s; }
.kl-ts-bob { animation: ts-taxi-bump .25s ease-in-out infinite alternate; }
.kl-ts-bag { animation: ts-taxi-bump .125s ease-in-out infinite alternate; }

/* ===== Keyframes (cycle de 10 s) ===== */
/* taxi : roule jusqu'à 54 %, reste garé pendant la descente, disparaît à 95 % */
/* ANCIEN
@keyframes ts-drive-home {
	0%   { left: -12%; opacity: 0; }
	6%   { opacity: 1; }
	54%  { left: calc(100% - 132px); opacity: 1; }
	88%  { left: calc(100% - 132px); opacity: 1; }
	95%  { left: calc(100% - 132px); opacity: 0; }
	100% { left: -12%; opacity: 0; }
}
*/
/* NOUVEAU : part du marker (départ) et s'arrête devant le bâtiment (arrivée) */
@keyframes ts-drive-home {
	0%   { left: 30px; opacity: 0; }
	4%   { left: 30px; opacity: 1; animation-timing-function: cubic-bezier(.55, 0, .2, 1); }
	54%  { left: calc(100% - 100px); opacity: 1; }
	88%  { left: calc(100% - 100px); opacity: 1; }
	95%  { left: calc(100% - 100px); opacity: 0; }
	100% { left: 30px; opacity: 0; }
}

/* feu stop allumé pendant que le passager descend */
@keyframes ts-brake-home {
	0%, 50%  { fill: #f54337; filter: none; }
	54%, 64% { fill: #ff7a70; filter: drop-shadow(0 0 4px #f54337); }
	68%, 100% { fill: #f54337; filter: none; }
}

/* le marker saute quand le taxi arrive */
/* ANCIEN
@keyframes ts-pin-home {
	0%, 52%, 64%, 100% { transform: translateY(0) scale(1); }
	57% { transform: translateY(-9px) scale(1.15); }
}
*/
/* NOUVEAU : le marker saute quand le taxi démarre */
@keyframes ts-pin-home {
	0%, 10%, 100% { transform: translateY(0) scale(1); }
	4%            { transform: translateY(-9px) scale(1.15); }
}

/* passager : sort du taxi (58-62 %), marche jusqu'à la porte (62-80 %), entre (84 %) */
@keyframes ts-walker {
	0%, 57%  { left: calc(100% - 100px); opacity: 0; transform: scale(.7); }
	61%      { left: calc(100% - 100px); opacity: 1; transform: scale(1); }
	80%      { left: calc(100% - 42px);  opacity: 1; transform: scale(1); }
	84%, 100% { left: calc(100% - 42px); opacity: 0; transform: scale(.92); }
}

@keyframes ts-step {
	from { transform: rotate(-26deg); }
	to   { transform: rotate(26deg); }
}

/* fenêtres allumées à l'arrivée */
@keyframes ts-win {
	0%, 52%  { fill: #8fcfbe; }
	58%, 90% { fill: #ffe08a; }
	96%, 100% { fill: #8fcfbe; }
}

/* porte automatique : s'ouvre quand le passager arrive */
@keyframes ts-door {
	0%, 72%  { transform: scaleX(1); }
	77%, 86% { transform: scaleX(.12); }
	92%, 100% { transform: scaleX(1); }
}

@keyframes ts-door-light {
	0%, 68%  { opacity: 0; }
	74%, 88% { opacity: 1; }
	94%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.kl-ts-walker,
	.kl-ts-leg,
	.kl-ts-arm,
	.kl-ts-bob,
	.kl-ts-bag,
	.kl-ts-win,
	.kl-ts-door-light,
	.kl-ts-dl,
	.kl-ts-dr { animation: none; }
	.kl-ts-road-car { left: calc(100% - 100px); }
	.kl-ts-win { fill: #ffe08a; }
}
/* =====================================================================
   2. CARTE
   ===================================================================== */
.kl-ts-hero .kl-map-box {
	border-radius: 26px;
	overflow: hidden;
}

#id-map .gm-style .gm-style-iw-c {
	border-radius: 18px;
	box-shadow: 0 20px 40px -16px rgba(44, 62, 80, .45);
}

/* =====================================================================
   3. PANNEAU DE RECHERCHE
   ===================================================================== */
.kl-ts-panel.kl-content-info-filter-home {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 12px;
	align-items: start;
	margin: 18px 0 8px;
	padding: 16px 14px 14px;
	border: 1px solid rgba(49, 175, 145, .18);
	border-radius: 28px;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 2px 4px rgba(44, 62, 80, .04), 0 32px 52px -28px rgba(44, 62, 80, .3);
	animation: ts-rise .8s var(--ts-ease) .08s both;
}

/* ligne de balayage "recherche en cours" */
.kl-ts-panel.kl-content-info-filter-home::before {
	content: "";
	position: absolute;
	left: 32px;
	right: 32px;
	top: 0;
	height: 3px;
	border-radius: 0 0 6px 6px;
	background: linear-gradient(90deg, transparent, var(--ts-green), var(--ts-green-2), var(--ts-gold), transparent) 0 0 / 200% 100%;
	animation: ts-scan 3.2s linear infinite;
}

.kl-ts-panel #id-content-autocomplete,
.kl-ts-panel .kl-content-filter-search {
	width: auto;
	max-width: none;
	flex: none;
	margin: 0;
	padding: 0;
}

.kl-ts-panel #id-content-autocomplete {
	animation: ts-rise .7s var(--ts-ease) .18s both;
}

.kl-ts-panel .kl-content-filter-search {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
	gap: 12px;
	justify-content: normal;
	animation: ts-rise .7s var(--ts-ease) .28s both;
}

/* --- champ de localisation (autocomplete) --- */
.kl-ts-panel #id-pac-container.kl-pac {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 1.5px solid var(--ts-mint-2);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 22px -16px rgba(44, 62, 80, .5);
	transition: border-color .3s, box-shadow .35s var(--ts-ease), transform .35s var(--ts-ease);
}

.kl-ts-panel #id-pac-container.kl-pac:hover {
	border-color: rgba(49, 175, 145, .6);
}

.kl-ts-panel #id-pac-container.kl-pac:focus-within {
	border-color: var(--ts-green);
	box-shadow: 0 0 0 4px rgba(49, 175, 145, .16), 0 16px 28px -16px rgba(49, 175, 145, .6);
	transform: translateY(-1px);
}

/* bouton carte (pin) avec radar */
.kl-ts-panel #id-pac-container .input-group-text.kl-show-map {
	position: relative;
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: auto;
	margin: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: linear-gradient(135deg, var(--ts-green), var(--ts-green-2));
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: filter .3s, background .3s;
}

.kl-ts-panel #id-pac-container .input-group-text.kl-show-map i {
	position: relative;
	z-index: 1;
	transition: transform .45s var(--ts-ease);
	animation: ts-pin-hop 2.4s ease-in-out infinite;
}

.kl-ts-panel #id-pac-container .input-group-text.kl-show-map::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 50%;
	animation: ts-radar 2.2s ease-out infinite;
}

.kl-ts-panel #id-pac-container .input-group-text.kl-show-map:hover {
	filter: brightness(1.08);
}

.kl-ts-panel #id-pac-container .input-group-text.kl-show-map:hover i {
	transform: scale(1.18) rotate(-8deg);
}

.kl-ts-panel #id-pac-container #id-input-search {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: auto;
	padding: 0 48px 0 16px !important;
	border: 0 !important;
	background: transparent;
	color: var(--ts-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	text-overflow: ellipsis;
}

.kl-ts-input-ic {
	position: absolute;
	right: 16px;
	top: 50%;
	color: var(--ts-muted);
	font-size: 15px;
	pointer-events: none;
	transform: translateY(-50%);
	transition: color .3s, transform .4s var(--ts-ease);
}

.kl-ts-panel #id-pac-container:focus-within .kl-ts-input-ic {
	color: var(--ts-green);
	transform: translateY(-50%) scale(1.2) rotate(-10deg);
}

/* message sous le champ */
.kl-ts-panel .kl-message-autocomplete {
	position: relative;
	width: 100%;
	margin-top: 10px;
	padding: 10px 14px;
	overflow: hidden;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ts-green), var(--ts-green-2));
	box-shadow: 0 14px 24px -14px rgba(49, 175, 145, .9);
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	animation: ts-pop .5s var(--ts-ease) both;
}

.kl-ts-panel .kl-message-autocomplete::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%);
	transform: translateX(-130%);
	animation: ts-shine 5s ease-in-out infinite;
}

.kl-ts-panel .kl-position-message-arrow-autocomplete {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
	transition: background .3s;
}

.kl-ts-panel .kl-position-message-arrow-autocomplete:hover {
	background: rgba(255, 255, 255, .4);
}

.kl-ts-panel .kl-position-message-arrow-autocomplete i {
	margin: 0;
	animation: ts-bounce 1.4s ease-in-out infinite;
}

/* --- listes déroulantes (distance / modèle) --- */
.kl-ts-panel .kl-content-filter-search .input-group {
	position: relative;
	flex-wrap: nowrap;
	width: 100%;
	min-width: 0;
	height: 54px;
	margin: 0 !important;
	overflow: hidden;
	border: 1.5px solid var(--ts-mint-2);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 22px -16px rgba(44, 62, 80, .5);
	transition: border-color .3s, box-shadow .35s var(--ts-ease), transform .35s var(--ts-ease);
}

.kl-ts-panel .kl-content-filter-search .input-group:hover {
	border-color: rgba(49, 175, 145, .6);
}

.kl-ts-panel .kl-content-filter-search .input-group:focus-within {
	border-color: var(--ts-green);
	box-shadow: 0 0 0 4px rgba(49, 175, 145, .16), 0 16px 28px -16px rgba(49, 175, 145, .6);
	transform: translateY(-1px);
}

.kl-ts-panel .kl-content-filter-search .input-group-text {
	flex: 0 0 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: linear-gradient(135deg, var(--ts-green), var(--ts-green-2));
	color: #fff;
	font-size: 19px;
}

.kl-ts-panel .kl-content-filter-search .input-group:hover .input-group-text i,
.kl-ts-panel .kl-content-filter-search .input-group:focus-within .input-group-text i {
	animation: ts-wiggle .7s var(--ts-ease);
}

.kl-ts-panel .kl-content-filter-search .custom-select {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	height: 100%;
	padding: 0 38px 0 14px;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2331af91' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 13px;
	-webkit-appearance: none;
	appearance: none;
	color: var(--ts-ink);
	font-size: 15px;
	font-weight: 600;
	text-overflow: ellipsis;
	cursor: pointer;
	transition: background-color .25s;
}

.kl-ts-panel .kl-content-filter-search .custom-select:focus {
	background-color: var(--ts-mint);
	box-shadow: none;
}

/* =====================================================================
   4. FILTRES DE PAIEMENT (puces)
   ===================================================================== */
.kl-ts-chip {
	position: relative;
}

.kl-ts-chip .kl-filter {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 48px;
	margin: 0;
	padding: 6px 10px;
	border: 1.5px solid var(--ts-mint-2);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 16px -12px rgba(44, 62, 80, .55);
	cursor: pointer;
	transition: transform .35s var(--ts-ease), border-color .25s, box-shadow .35s var(--ts-ease), background .25s;
}

.kl-ts-chip .kl-filter img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform .4s var(--ts-ease);
}

.kl-ts-chip .kl-filter:hover {
	transform: translateY(-3px);
	border-color: var(--ts-green);
	box-shadow: 0 16px 24px -14px rgba(49, 175, 145, .8);
}

.kl-ts-chip .kl-filter:hover img {
	transform: scale(1.1);
}

.kl-ts-chip .kl-filter:active {
	transform: scale(.94);
}

/* état sélectionné (checkbox cochée, ou classe ajoutée par le JS) */
.kl-ts-chip:has(input:checked) .kl-filter,
.kl-ts-chip .kl-filter.active,
.kl-ts-chip .kl-filter.selected,
.kl-ts-chip .kl-filter.kl-active {
	border-color: var(--ts-green);
	background: var(--ts-mint);
	box-shadow: 0 0 0 3px rgba(49, 175, 145, .2), 0 14px 22px -14px rgba(49, 175, 145, .85);
}

.kl-ts-chip:has(input:checked)::after {
	content: "\f00c";
	position: absolute;
	top: -6px;
	right: -6px;
	z-index: 2;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--ts-green);
	color: #fff;
	font-family: "Font Awesome 5 Free";
	font-size: 9px;
	font-weight: 900;
	animation: ts-pop .4s var(--ts-ease) both;
}

/* groupe de puces affiché dans le panneau (mobile) */
.kl-ts-panel .kl-filter-mobile-phone {
	grid-column: 1 / -1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 2px 0 0;
	justify-content: center;
	gap: 10px !important;
	animation: ts-rise .7s var(--ts-ease) .38s both;
}

/* groupe de puces affiché dans l'en-tête de liste (desktop) */
.kl-filter-mobile-desktop {
	gap: 12px;
}

/* =====================================================================
   5. EN-TÊTE DE LA LISTE
   ===================================================================== */
.kl-content-list-near .kl-content-header-filter {
	height: 96px;
}

.kl-content-list-near .kl-ts-list-title {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px !important;
	padding: 0 !important;
	color: var(--ts-ink);
	font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -.2px;
}

.kl-content-list-near .kl-ts-list-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -9px;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--ts-green), var(--ts-green-2), var(--ts-gold));
	transform: translateX(-50%);
	animation: ts-underline 3s ease-in-out infinite;
}

/* pastille "en direct" */
.kl-ts-live {
	position: relative;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ts-green);
	box-shadow: 0 0 0 0 rgba(49, 175, 145, .6);
	animation: ts-live 1.8s ease-out infinite;
}

/* =====================================================================
   6. CHARGEMENT, "VOIR PLUS", SCROLL-TOP
   ===================================================================== */
.kl-spinner-box {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 0;
}

.kl-spinner-box img {
	max-width: 200px;
	height: auto;
	animation: ts-float 2.4s ease-in-out infinite;
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results {
	position: relative;
	z-index: 0;
	min-height: 54px;
	padding: 0 38px;
	overflow: hidden;
	border: 2px solid var(--ts-green);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 14px 24px -16px rgba(49, 175, 145, .9);
	color: var(--ts-green-deep);
	font-weight: 800;
	letter-spacing: .2px;
	transition: color .35s, transform .35s var(--ts-ease), box-shadow .35s var(--ts-ease);
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(135deg, var(--ts-green), var(--ts-green-2));
	transform: translateY(101%);
	transition: transform .45s var(--ts-ease);
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results:hover {
	border-color: var(--ts-green);
	background: #fff;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 22px 30px -16px rgba(49, 175, 145, 1);
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results:hover::before {
	transform: translateY(0);
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results:active {
	transform: scale(.96);
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results:disabled {
	border-color: var(--ts-mint-2);
	background: var(--ts-mint) !important;
	box-shadow: none;
	color: var(--ts-muted) !important;
	transform: none;
	cursor: not-allowed;
}

.kl-content-btn-more-liste .btn.btn-outline-primary.kl-more-locale-results:disabled::before {
	display: none;
}

/* bouton "remonter" */
.kl-content-scroll-top {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ts-green), var(--ts-green-2));
	box-shadow: 0 16px 26px -10px rgba(49, 175, 145, .9);
	line-height: 48px;
	text-align: center;
	transition: transform .35s var(--ts-ease), box-shadow .35s var(--ts-ease);
}

.kl-content-scroll-top:hover {
	transform: translateY(-4px) scale(1.06);
	box-shadow: 0 22px 30px -10px rgba(49, 175, 145, 1);
}

.kl-content-scroll-top .kl-scroll-top {
	display: inline-block;
	font-size: 22px;
	line-height: 1;
	vertical-align: middle;
	animation: ts-bounce 1.8s ease-in-out infinite;
}

/* =====================================================================
   7. LISTE DÉROULANTE GOOGLE (autocomplete) — .pac-container est
   injecté à la racine du <body> par l'API Google
   ===================================================================== */
.pac-container {
	z-index: 9999;
	margin-top: 8px;
	padding: 6px;
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 28px 50px -20px rgba(44, 62, 80, .5);
	font-family: inherit;
	animation: ts-pop .35s var(--ts-ease) both;
}

.pac-item {
	padding: 9px 12px;
	border: 0;
	border-radius: 12px;
	color: var(--ts-text);
	font-size: 13.5px;
	line-height: 1.5;
	cursor: pointer;
	transition: background .2s, transform .25s var(--ts-ease);
}

.pac-item:hover,
.pac-item-selected {
	background: var(--ts-mint);
	transform: translateX(3px);
}

.pac-item-query {
	color: var(--ts-ink);
	font-size: 14px;
	font-weight: 700;
}

.pac-matched {
	color: var(--ts-green-deep);
}

/* =====================================================================
   8. ANIMATIONS
   ===================================================================== */
@keyframes ts-rise {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

@keyframes ts-pop {
	from { opacity: 0; transform: scale(.88); }
	to   { opacity: 1; transform: none; }
}

@keyframes ts-aurora {
	from { opacity: .75; transform: scale(1); }
	to   { opacity: 1; transform: scale(1.04) translateY(6px); }
}

@keyframes ts-title {
	from { background-position: 0 0; }
	to   { background-position: 100% 0; }
}

@keyframes ts-float {
	0%, 100% { transform: translateY(0) rotate(0); }
	50%      { transform: translateY(-10px) rotate(4deg); }
}

@keyframes ts-road {
	to { background-position: -28px 50%, 0 0; }
}

@keyframes ts-drive {
	0%   { left: -4%; opacity: 0; transform: translateY(0); }
	8%   { opacity: 1; }
	30%  { transform: translateY(-1px); }
	50%  { transform: translateY(0); }
	70%  { transform: translateY(-1px); }
	84%  { left: calc(100% - 54px); opacity: 1; transform: translateY(0); }
	92%  { left: calc(100% - 54px); opacity: 0; }
	100% { left: -4%; opacity: 0; }
}

@keyframes ts-pin {
	0%, 80%, 100% { transform: translateY(0) scale(1); }
	86%           { transform: translateY(-9px) scale(1.15); }
	92%           { transform: translateY(0) scale(1); }
}

@keyframes ts-radar-ground {
	0%   { transform: scale(.6); opacity: .9; }
	100% { transform: scale(2.2); opacity: 0; }
}

@keyframes ts-scan {
	to { background-position: -200% 0; }
}

@keyframes ts-radar {
	0%   { transform: scale(.4); opacity: .95; }
	100% { transform: scale(1.7); opacity: 0; }
}

@keyframes ts-pin-hop {
	0%, 60%, 100% { transform: translateY(0); }
	75%           { transform: translateY(-4px); }
	88%           { transform: translateY(0); }
}

@keyframes ts-wiggle {
	0%, 100% { transform: rotate(0); }
	25%      { transform: rotate(-14deg) scale(1.1); }
	60%      { transform: rotate(10deg) scale(1.1); }
}

@keyframes ts-shine {
	0%, 60%   { transform: translateX(-130%); }
	82%, 100% { transform: translateX(130%); }
}

@keyframes ts-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-4px); }
}

@keyframes ts-underline {
	0%, 100% { width: 40px; }
	50%      { width: 84px; }
}

@keyframes ts-live {
	0%   { box-shadow: 0 0 0 0 rgba(49, 175, 145, .6); }
	70%  { box-shadow: 0 0 0 11px rgba(49, 175, 145, 0); }
	100% { box-shadow: 0 0 0 0 rgba(49, 175, 145, 0); }
}

/* =====================================================================
   9. RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
	.kl-ts-panel.kl-content-info-filter-home {
		grid-template-columns: 1fr;
		padding: 16px 12px 12px;
		border-radius: 24px;
	}

	.kl-ts-panel .kl-content-filter-search {
		margin-top: 0;
	}

	#id-title-home.kl-title-home {
		padding: 4% 6% 0;
	}
}

@media (max-width: 767.98px) {
	.kl-content-list-near .kl-content-header-filter {
		height: 70px;
	}

	.kl-ts-panel .kl-content-filter-search {
		grid-template-columns: 128px minmax(0, 1fr);
		gap: 10px;
	}

	.kl-ts-panel .kl-content-filter-search .input-group-text {
		flex-basis: 42px;
		width: 42px;
		font-size: 16px;
	}

	.kl-ts-panel .kl-content-filter-search .custom-select {
		padding-left: 10px;
		padding-right: 30px;
		font-size: 14px;
	}

	.kl-ts-panel #id-pac-container.kl-pac {
		margin-top: 0;
	}

	#id-title-home.kl-title-home::before,
	#id-title-home.kl-title-home::after {
		display: none;
	}
}

@media (max-width: 575.98px) {
	.kl-ts-panel.kl-content-info-filter-home {
		margin-top: 12px;
		padding: 14px 10px 10px;
		border-radius: 22px;
	}

	.kl-ts-panel #id-pac-container.kl-pac,
	.kl-ts-panel .kl-content-filter-search .input-group {
		height: 50px;
		border-radius: 16px;
	}

	.kl-ts-panel #id-pac-container .input-group-text.kl-show-map {
		flex-basis: 48px;
		width: 48px;
		font-size: 18px;
	}

	.kl-ts-panel #id-pac-container #id-input-search {
		font-size: 14px;
	}

	.kl-ts-chip .kl-filter {
		width: 58px;
		height: 44px;
		border-radius: 14px;
	}

	.kl-content-list-near .kl-ts-list-title {
		padding-top: 0 !important;
	}

	.kl-ts-road {
		height: 40px;
	}

	.kl-content-scroll-top {
		right: 14px;
		bottom: 28px;
	}
}

@media (max-width: 360px) {
	.kl-ts-panel .kl-content-filter-search {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.kl-ts-chip .kl-filter {
		width: 52px;
	}

	.kl-ts-panel #id-pac-container #id-input-search {
		font-size: 13px;
	}
}

/* Accessibilité : réduit les animations si demandé */
@media (prefers-reduced-motion: reduce) {
	#id-list-content.kl-ts-hero *,
	#id-list-content.kl-ts-hero *::before,
	#id-list-content.kl-ts-hero *::after,
	.kl-content-list-near *,
	.kl-content-scroll-top,
	.kl-content-scroll-top *,
	.pac-container {
		animation: none !important;
		transition: none !important;
	}
}
