/*-----*/
/* !MAP */
/*-----*/
.tidn-map {
	position: relative;
	min-height: 320px;
	border-radius: var(--radius-lg, 20px);
	overflow: hidden;
	background: var(--color-surface-2, #e7ecf3);
	z-index: 0;
}
.tidn-map--consent {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.tidn-map__consent {
	max-width: 340px;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
}
.tidn-map__consent p {
	margin: 0 0 16px;
}
/*-------------*/
/* !MAP MARKER */
/*-------------*/
.map-pin-wrap {
	background: none;
	border: 0;
}
.map-pin {
	position: relative;
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--color-dark, #2b3443);
	color: #fff;
	font: 600 13px/1 var(--font-base, system-ui, sans-serif);
	white-space: nowrap;
	box-shadow: 0 6px 14px rgba(43, 52, 67, 0.3);
	transform: translate(0, 0);
}
.map-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: translateX(-50%) rotate(45deg);
	z-index: -1;
}
.map-pin sup {
	font-size: 0.65em;
}
.map-pin--best {
	background: var(--color-primary, #18c0c1);
}
.map-pin--closed {
	background: #9aa6b6;
}
.map-center {
	display: block;
	width: 18px;
	height: 18px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--color-primary, #18c0c1);
	box-shadow: 0 0 0 8px rgba(24, 192, 193, 0.25);
}
.map-popup {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--font-base, system-ui, sans-serif);
}
.map-popup__actions {
	display: flex;
	gap: 6px;
	margin-top: 6px;
}
.map-popup__btn {
	padding: 5px 12px;
	border: 1.5px solid var(--color-border, #dbe3ee);
	border-radius: 999px;
	color: var(--color-dark, #1f2733);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}
.map-popup__btn:hover {
	border-color: var(--color-primary, #18c0c1);
	color: var(--color-primary-dark, #0f9fa0);
}
.map-popup__btn--primary {
	border-color: var(--color-primary, #18c0c1);
	background: var(--color-primary, #18c0c1);
	color: #fff;
}
.map-popup__btn--primary:hover {
	background: var(--color-primary-dark, #0f9fa0);
	color: #fff;
}
.map-pin--ev {
	background: var(--color-ev, #2fb67c);
}
.map-pin.is-hover {
	background: var(--color-primary-dark, #0f9fa0);
	box-shadow: 0 0 0 4px rgba(24, 192, 193, 0.35), 0 8px 18px rgba(43, 52, 67, 0.35);
	transform: scale(1.18);
}
.map-pin--ev.is-hover {
	background: #1d7f55;
	box-shadow: 0 0 0 4px rgba(47, 182, 124, 0.35), 0 8px 18px rgba(43, 52, 67, 0.35);
}
/*-------------*/
/* !MAP CLUSTER */
/*-------------*/
.map-cluster-wrap {
	background: none;
	border: 0;
}
.map-cluster {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 8px 10px;
	border: 3px solid #fff;
	border-radius: 999px;
	background: var(--color-slate, #546a83);
	color: #fff;
	font: 600 15px/1.1 var(--font-base, system-ui, sans-serif);
	white-space: nowrap;
	box-shadow: 0 0 0 6px rgba(84, 106, 131, 0.25), 0 8px 18px rgba(43, 52, 67, 0.3);
	transform: translate(-50%, -50%);
	transition: transform 0.15s;
}
.map-cluster small {
	font-size: 10px;
	font-weight: 500;
	opacity: 0.9;
}
.map-cluster sup {
	font-size: 0.7em;
}
.map-cluster--ev {
	background: var(--color-ev, #2fb67c);
	box-shadow: 0 0 0 6px rgba(47, 182, 124, 0.25), 0 8px 18px rgba(43, 52, 67, 0.3);
}
.map-cluster.is-hover,
.map-cluster-wrap:hover .map-cluster {
	transform: translate(-50%, -50%) scale(1.1);
}
