/* Price pill markers + card popup (Leaflet) */

.aka-map-price-pin {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	transform: translate(-50%, -100%);
	pointer-events: auto;
	cursor: pointer;
}

.aka-map-price-pin__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 4px 12px 4px 8px;
	border-radius: 7px;
	background: #c02038;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.aka-map-price-pin__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	align-items: center;
	justify-content: center;
}

.aka-map-price-pin__icon img,
.aka-map-price-pin__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.aka-map-price-pin__caret {
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 8px solid #c02038;
	margin-top: -1px;
}

.aka-map-price-pin.is-active .aka-map-price-pin__badge {
	background: #a31a2e;
}

.aka-map-price-pin.is-active .aka-map-price-pin__caret {
	border-top-color: #a31a2e;
}

/* Popup card */
.aka-map-card-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.aka-map-card-popup .leaflet-popup-content {
	margin: 0;
	min-width: 260px;
	max-width: 300px;
	width: 280px;
	line-height: 1.35;
}

.aka-map-card-popup .leaflet-popup-tip {
	background: #fff;
}

.aka-map-card-popup a.leaflet-popup-close-button {
	top: 4px;
	right: 6px;
	width: 22px;
	height: 22px;
	color: #666;
	font-size: 18px;
	font-weight: 400;
}

.aka-map p {
	margin: 0;
}

.aka-map-card {
	display: flex;
	gap: 10px;
	align-items: stretch;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}

.aka-map-card__media {
	flex: 0 0 72px;
	height: 100px;
	border-radius: 6px;
	overflow: hidden;
	background: #e8e8e8;
}

.aka-map-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aka-map-card__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding-right: 14px;
}

.aka-map-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #c02038;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aka-map-card__location {
	margin: 0;
	font-size: 12px;
	line-height: 1.35;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aka-map-card__price {
	margin: auto 0 0;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
}

.leaflet-div-icon.aka-map-price-pin-icon {
	background: transparent;
	border: 0;
}