.abm-map-widget {
	--abm-marker-color: #f7a828;
	--abm-dark: #1c1c1c;
	--abm-border: #e2e2e2;
	font-family: inherit;
	border: 1px solid var(--abm-border);
	overflow: hidden;
	background: #fff;
}

.abm-map-shell {
	position: relative;
}

.abm-controls {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 500;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	pointer-events: none;
}

.abm-control {
	pointer-events: auto;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.abm-control select,
.abm-control input[type="search"] {
	border: none;
	background: transparent;
	padding: 10px 16px;
	font-size: 13px;
	border-radius: 24px;
	min-width: 170px;
	outline: none;
}

.abm-map {
	width: 100%;
}

/* Individual pin markers */
.abm-pin-icon {
	background: transparent;
	border: none;
}

.abm-pin-icon svg {
	display: block;
}

/* Cluster bubbles */
.abm-cluster-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--abm-marker-color);
	color: var(--abm-dark);
	font-weight: 700;
	border-radius: 50%;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--abm-marker-color) 35%, transparent);
}

.abm-popup {
	max-width: 220px;
	font-size: 13px;
}

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

.abm-popup h4 {
	margin: 0 0 4px;
	font-size: 14px;
}

.abm-popup .abm-popup-count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	color: var(--abm-dark);
}

.abm-popup .abm-popup-province {
	display: block;
	color: #666;
	margin-top: 2px;
}

@media (max-width: 600px) {
	.abm-controls {
		flex-direction: column;
		position: absolute;
		top: 12px;
		left: 12px;
		right: 12px;
	}
	.abm-control select,
	.abm-control input[type="search"] {
		width: 100%;
		min-width: 0;
	}
}
