/* Explorateur « Locations vacances » : carte fixe à gauche, liste à droite */
.vac-explorer { position: relative; display: flex; flex-direction: column; background: #F8F6F1; margin-top: 32px; }
.vac-explorer__map { display: none; position: relative; }
.vac-explorer__list { padding: 16px 20px 40px; min-height: 60vh; }
.vac-map { width: 100%; height: 100%; min-height: 60vh; background: #efefef; }
.vac-map__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #0885C6; pointer-events: none; }
.vac-map__loading[hidden] { display: none; }
.vac-map__close { display: none; }

@media (min-width: 1024px) {
	.vac-explorer { flex-direction: row; align-items: flex-start; }
	.vac-explorer__map { display: block; position: sticky; top: 0; height: 100vh; width: 50%; flex: 0 0 50%; }
	.vac-map { height: 100vh; min-height: 0; }
	.vac-explorer__list { width: 50%; flex: 0 0 50%; }
	.vac-explorer__toggle { display: none; }
}
@media (min-width: 1440px) {
	.vac-explorer__map { width: 55%; flex-basis: 55%; }
	.vac-explorer__list { width: 45%; flex-basis: 45%; }
}

/* Mobile : bascule liste / carte plein écran */
.vac-explorer__toggle { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 40; background: #0885C6; color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.vac-explorer.is-map-open .vac-explorer__map { display: block; position: fixed; inset: 0; z-index: 60; }
.vac-explorer.is-map-open .vac-map { height: 100%; }
.vac-explorer.is-map-open .vac-map__close { display: block; position: absolute; top: 12px; right: 12px; z-index: 70; background: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.vac-explorer.is-map-open .vac-explorer__toggle { display: none; }
body.vac-map-open { overflow: hidden; }

/* Barre de filtres */
.vac-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.vac-filter { position: relative; }
.vac-filter summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #d9d5c9; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; user-select: none; }
.vac-filter summary::-webkit-details-marker { display: none; }
.vac-filter.is-active summary { border-color: #0885C6; color: #0885C6; }
.vac-filter__count { background: #0885C6; color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 7px; }
.vac-filter__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 260px; max-height: 60vh; overflow: auto; background: #fff; border: 1px solid #d9d5c9; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 10px 12px; }
.vac-filter__items { list-style: none; margin: 0; padding: 0; }
.vac-filter__item { display: flex; align-items: center; gap: 8px; padding: 6px 4px; cursor: pointer; font-size: 15px; }
.vac-filter__item input { flex: 0 0 auto; }
.vac-filter__nb { margin-left: auto; color: #8a8a8a; font-size: 12px; }
.vac-filter__sub { list-style: none; margin: 0 0 4px 22px; padding: 0; border-left: 2px solid #eee; }
.vac-filters__reset { background: none; border: 0; color: #0885C6; text-decoration: underline; cursor: pointer; font-size: 14px; }
.vac-filters__follow { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #555; }

/* Liste */
.vac-list { position: relative; min-height: 200px; }
.vac-list.is-loading { opacity: .5; pointer-events: none; }
.vac-list__loader { display: none; text-align: center; padding: 40px; font-size: 28px; color: #0885C6; }
.vac-list:empty + .vac-list__more, .vac-list__more { text-align: center; padding: 16px 0; }
.vac-cards { display: flex; flex-direction: column; gap: 14px; }
.vac-empty { padding: 30px 0; color: #666; }

/* Fiche « ligne » : image à gauche, contenu à droite */
.vac-row { position: relative; display: flex; gap: 16px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.vac-row:hover, .vac-row.is-active { box-shadow: 0 0 0 3px #f5a220, 0 10px 24px rgba(0,0,0,.15); transform: translateY(-2px); }
.vac-row__media { position: relative; flex: 0 0 38%; max-width: 230px; min-height: 150px; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #F0EDE2; }
.vac-row__media .status { position: absolute; top: 8px; left: 8px; }
.vac-row__body { position: relative; flex: 1 1 auto; min-width: 0; padding: 12px 52px 12px 0; display: flex; flex-direction: column; gap: 4px; }
.vac-row__title { font-size: 18px; line-height: 1.2; font-weight: 700; margin: 0; }
.vac-row__title a { color: inherit; text-decoration: none; }
.vac-row__price { margin: 0; font-size: 15px; }
.vac-row__price .from { color: #666; font-weight: 400; }
.vac-row__excerpt { margin: 0; font-size: 14px; color: #444; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vac-row__pictos { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.vac-row__pictos li { width: 40px; height: 40px; border-radius: 50%; background: #F8F6F1; display: flex; align-items: center; justify-content: center; }
.vac-row__pictos img { width: 24px; height: 24px; }
.vac-row__more { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; }
.vac-row__more img { width: 34px; height: 34px; }
@media (max-width: 480px) { .vac-row { flex-direction: column; } .vac-row__media { flex-basis: auto; max-width: none; } .vac-row__body { padding: 12px 52px 12px 12px; } }

/* Marqueur / cluster mis en avant depuis la liste */
.leaflet-marker-icon.is-active { z-index: 1000 !important; filter: drop-shadow(0 0 6px #f5a220); transform-origin: bottom center; }
.leaflet-marker-icon.is-active .tlc-cluster { box-shadow: 0 0 0 4px rgba(245,162,32,.45); border-radius: 50%; }

/* Bouton « Autour de moi » */
.tlc-locate a { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; width: auto; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tlc-locate__icon { font-size: 16px; color: #0885C6; }
.tlc-locate.is-busy a { opacity: .6; }
.tlc-locate.has-error::after { content: attr(data-error); position: absolute; right: 0; top: 100%; margin-top: 6px; background: #fff; color: #c00; font-size: 12px; padding: 4px 8px; border-radius: 4px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* Popup mini (explorateur) */
.tlc-popup--mini .leaflet-popup-content { width: 250px !important; margin: 0; }
.tlc-popup--mini .leaflet-popup-content-wrapper { padding: 0; border-radius: 10px; overflow: hidden; }
.tlc-popup--mini .leaflet-popup-close-button { top: 6px; right: 6px; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: rgba(255,255,255,.9); color: #333; text-shadow: none; font-size: 18px; }
.vac-popup__media { display: block; aspect-ratio: 16 / 10; background: #F0EDE2 center / cover no-repeat; }
.vac-popup__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.vac-popup__title { margin: 0; font-family: "ff-cocon-pro", sans-serif; font-size: 15px; line-height: 1.2; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vac-popup__title a { color: #000; text-decoration: none; }
.vac-popup__price { margin: 0; font-size: 14px; }
.vac-popup__price .from { color: #666; }
.vac-popup__pictos { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; padding: 0; }
.vac-popup__pictos li { width: 34px; height: 34px; border-radius: 50%; background: #F8F6F1; display: flex; align-items: center; justify-content: center; }
.vac-popup__pictos img { width: 20px; height: 20px; }
.vac-popup__link { margin-top: 4px; font-size: 13px; font-weight: 700; color: #0885C6; text-decoration: none; }
.vac-popup__link:hover { text-decoration: underline; }
