.centres-map {
	position: relative;
	width: 100%;
	min-height: 320px;
	z-index: 0;
}

/* Popup : design "tuile" avec titre, séparateur, ligne d'icônes, téléphone,
 * et ville (département) en bas à droite. */
.centres-map-popup {
	min-width: 220px;
	font-family: 'PP Neue Montreal', system-ui, sans-serif;
	color: #111;
}

.centres-map-popup__type {
	margin: 0 !important;
	font-size: 18px;
	font-weight: 400;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.centres-map-popup__title {
	margin: 0 0 0.5rem;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* !important pour battre Leaflet / Hello Elementor qui peuvent appliquer leur
 * propre style à hr (border, display, color). */
.centres-map-popup__divider {
	display: block !important;
	width: 75% !important;
	margin: 0.5rem 0 0.75rem !important;
	border: 0 !important;
	height: 1px !important;
	background: #111 !important;
	opacity: 1 !important;
}

/* Ligne d'icônes (Doctolib, site, email, maps). */
.centres-map-popup__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 0.75rem;
}

.centres-map-popup__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	color: #111;
	text-decoration: none;
	transition: transform 0.12s ease, color 0.12s ease;
}

.centres-map-popup__action svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Hover : juste un léger lift, on garde la couleur d'origine (notamment le
 * bleu Doctolib qui doit rester bleu, et les autres icônes en noir). */
.centres-map-popup__action:hover,
.centres-map-popup__action:focus-visible {
	transform: translateY(-1px);
}

/* Ville + département en bas à droite. Ville en gras (via <strong> dans le
 * HTML), département tel quel, séparés par une virgule. Pas d'italique. */
.centres-map-popup__location {
	margin: 0;
	text-align: right;
	font-size: 0.8rem;
	color: #111;
}

.centres-map-popup__location strong {
	font-weight: 700;
}

/* Marker custom : pastille "donut" — anneau rouge épais avec centre noir.
 * .centres-map-marker = wrapper (taille fixée par Leaflet via iconSize).
 * .centres-map-marker__inner = le donut effectif (border-radius + border épais). */
.centres-map-marker {
	background: transparent !important;
	border: 0 !important;
}

.centres-map-marker__inner {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #111;
	border: 5px solid #c0392b;
	box-sizing: border-box;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

/* Hover + focus + popup ouverte → couleur d'accent (bleu Doctolib brand).
 * .leaflet-marker-icon est focus quand le marker est activé au clavier. */
.leaflet-marker-icon:hover .centres-map-marker__inner,
.leaflet-marker-icon:focus .centres-map-marker__inner,
.leaflet-marker-icon.centres-map-marker--active .centres-map-marker__inner {
	border-color: #107ACA;
	transform: scale(1.15);
}

.centres-map__status {
	position: absolute;
	z-index: 500;
	top: 0.75rem;
	left: 50%;
	margin: 0;
	padding: 0.5rem 0.75rem;
	transform: translateX(-50%);
	border-radius: 0.25rem;
	background: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
