/**
 * "Price label" map markers (Customizer > Listings List Options > Map listing
 * marker style). A white pill with the price instead of the icon pin.
 * Loaded only with that marker style. Markup: listeo-core assets/js/listeo.leaflet.js.
 */
.leaflet-marker-icon.listeo-price-marker {
	--listeo-price-marker-height: 28px;
	background: none;
	border: 0;
}

.listeo-price-marker__label {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	height: var(--listeo-price-marker-height);
	padding: 0 10px;
	border-radius: 999px;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
	cursor: pointer;
}

.listeo-price-marker:hover .listeo-price-marker__label {
	transform: translate(-50%, -50%) scale(1.06);
}

/* Keyboard focus lands on the zero-size marker box, so the label shows it. */
.listeo-price-marker:focus-visible {
	outline: none;
}

.listeo-price-marker:focus-visible .listeo-price-marker__label {
	outline: 2px solid #222;
	outline-offset: 2px;
}

/* The matching card in the list is hovered. */
.listeo-price-marker.is-hovered .listeo-price-marker__label {
	background: #222;
	color: #fff;
	transform: translate(-50%, -50%) scale(1.06);
}

/* Its popup is open. */
.listeo-price-marker.is-active .listeo-price-marker__label {
	background: var(--listeo-primary-color, #222);
	color: #fff;
}

/* Groups of overlapping pills: the same white surface, round, so a count never
   reads as a price. Sizes are in Leaflet's 50px icon box. */
.leaflet-marker-icon.marker-cluster {
	background: none;
	border-radius: 0;
}

.leaflet-marker-icon.marker-cluster div {
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	margin: 8px;
	border-radius: 50%;
	background-color: #fff !important; /* Beats the !important of custom.css.php. */
	color: #222;
	font-size: 14px;
	line-height: 34px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s ease;
}

.leaflet-marker-icon.marker-cluster div::before {
	display: none;
}

.leaflet-marker-icon.marker-cluster span {
	font-family: inherit;
	font-weight: 700;
	line-height: 34px;
}

.leaflet-marker-icon.marker-cluster:hover div {
	transform: scale(1.06);
}
