/* Page /trouver-un-pisciniste/ : carte des magasins (Leaflet), filtre par département et liste des magasins */

.fusion-adherents-wrapper { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: start; margin-top: 30px; }
.fusion-adherents-right { height: 650px; display: flex; flex-direction: column; min-height: 0; }
#fusion-adherents-map { width: 100%; height: 650px; border-radius: 16px; overflow: hidden; z-index: 1; }

.fusion-adherents-filter { display: flex; gap: 10px; margin: 0 0 14px; align-items: center; }
#fusion-departement-filter {
	flex: 1; height: 58px; padding: 0 65px 0 24px; border: none; border-radius: 16px; cursor: pointer;
	background: #A02B46 url("data:image/svg+xml,%3Csvg width='24' height='16' viewBox='0 0 24 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L12 12L21 3' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat right 20px center / 24px 16px;
	color: #fff; font-size: 20px; font-weight: 700; text-align: center; box-shadow: 0 6px 18px rgba(51, 97, 166, .2);
	appearance: none; -webkit-appearance: none;
}
#fusion-departement-filter option { color: #222; background: #fff; font-size: 18px; }
#fusion-reset-map {
	width: 58px; height: 58px; flex: 0 0 58px; border: none; border-radius: 16px; background: #3361A6; padding: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(51, 97, 166, .2);
}
#fusion-reset-map:hover { background: #274f8c; }
#fusion-reset-map img { width: 36px; height: 36px; object-fit: contain; transform: translateY(7px); }

.fusion-adherents-list { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 10px; scrollbar-gutter: stable; }
.fusion-adherent-card {
	background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 22px; margin-bottom: 18px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .06); cursor: pointer; transition: box-shadow .2s ease;
}
.fusion-adherent-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.fusion-adherent-card.active { border: 2px solid #3361A6; box-shadow: 0 10px 30px rgba(51, 97, 166, .25); }
.fusion-adherent-card[hidden] { display: none; }
.fusion-adherent-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 6px; }
.fusion-adherent-card h3 { margin: 0; color: #3361A6; font-size: 26px; line-height: 1.15; }
.fusion-adherent-logo { max-width: 150px; }
.fusion-adherent-logo img { width: 150px; height: auto; display: block; }
.fusion-adherent-contact { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px; }
.fusion-adherent-ville { font-weight: 700; color: #222; font-size: 16px; }
.fusion-adherent-phone { display: inline-flex; align-items: center; gap: 6px; color: #3361A6; font-weight: 700; font-size: 18px; text-decoration: none; white-space: nowrap; }
.fusion-phone-icon { font-size: 16px; line-height: 1; }
.fusion-adherent-zones { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; font-size: 14px; }
.fusion-zone-label { font-weight: 700; color: #444; white-space: nowrap; }
.fusion-zone-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fusion-zone-tags span {
	background: #eef4ff; color: #3361A6; border: 1px solid #d7e4f7; border-radius: 18px;
	padding: 4px 10px; font-size: 13px; font-weight: 700; line-height: 1.2;
}
.fusion-adherent-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.fusion-adherent-btn { text-align: center; padding: 10px 18px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 16px; }
.fusion-adherent-btn.primary { background: #3361A6; color: #fff; }
.fusion-adherent-btn.secondary { background: #fff; color: #3361A6; border: 2px solid #3361A6; }
.fusion-adherent-btn:hover { opacity: .9; }

.fusion-map-marker { width: 18px; height: 18px; background: #3361A6; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }

@media (max-width: 900px) {
	.fusion-adherents-wrapper { grid-template-columns: 1fr; }
	#fusion-adherents-map { height: 400px; }
	.fusion-adherents-right { height: auto; }
	.fusion-adherents-list { overflow-y: visible; padding-right: 0; }
	.fusion-adherent-contact { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 768px) {
	.fusion-adherent-card { padding: 20px; }
	.fusion-adherent-header { display: grid; grid-template-columns: 1fr 95px; gap: 12px; align-items: start; }
	.fusion-adherent-logo img { width: 95px; }
	.fusion-adherent-btn { font-size: 18px; padding: 14px 18px; }
}
