/* ── Map container ─────────────────────────────────────────────────────────── */

#kpm-map,
#kpm-map-single {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	z-index: 1; /* Keeps the map below fixed headers */
}

/* ── Custom pin (div icon) ─────────────────────────────────────────────────── */

.kpm-pin {
	background: transparent;
	border: none;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ── Popup card ────────────────────────────────────────────────────────────── */

.kpm-popup {
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
	min-width: 180px;
}

.kpm-popup img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 10px;
}

.kpm-popup h3 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.kpm-popup h3 a {
	color: inherit;
	text-decoration: none;
}

.kpm-popup h3 a:hover {
	text-decoration: underline;
}

.kpm-popup p {
	margin: 0 0 10px;
	font-size: 12px;
	color: #666;
}

.kpm-btn {
	display: inline-block;
	padding: 6px 14px;
	background: #e63946;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.15s;
}

.kpm-btn:hover {
	background: #c1121f;
	color: #fff;
}

/* ── Empty state ───────────────────────────────────────────────────────────── */

.kpm-empty {
	padding: 24px;
	text-align: center;
	color: #888;
	font-style: italic;
}

/* ── Cluster bubbles ───────────────────────────────────────────────────────── */

.kpm-cluster-icon {
	background: transparent;
	border: none;
}

.kpm-cluster {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e63946;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
	border: 3px solid rgba(255, 255, 255, 0.85);
	transition: transform 0.15s;
}

.kpm-cluster:hover {
	transform: scale(1.1);
}
