.zency-map-cache {
	position: relative;
	width: 100%;
	min-height: 320px;
	border-radius: 18px;
	overflow: hidden;
	background: #f5f5f5;
}

/*
* Approximate Snazzy Maps “WY” (light greyscale) on Leaflet: Carto Light tiles
* + subtle desaturation — see https://snazzymaps.com/style/8097/wy
*/
.zency-map-cache--theme-wy .leaflet-tile-pane {
	filter: grayscale(0.2) saturate(0.78) contrast(1.04) brightness(1.02);
}

/* Leaflet.markercluster — match pin / badge color (#44675B); default plugin style is green */
.zency-map-cache--v2 .marker-cluster-small,
.zency-map-cache--v2 .marker-cluster-medium,
.zency-map-cache--v2 .marker-cluster-large {
	background-color: rgba(68, 103, 91, 0.4);
}

.zency-map-cache--v2 .marker-cluster-small div,
.zency-map-cache--v2 .marker-cluster-medium div,
.zency-map-cache--v2 .marker-cluster-large div {
	background-color: #44675B;
	color: #fff;
}

.zency-map-cache .leaflet-popup-content {
	margin: 0 !important;
}

.zency-map-cache__attribution {
	position: absolute;
	right: 10px;
	bottom: 8px;
	z-index: 1000;
	font-size: 10px;
	color: rgba(0, 0, 0, 0.6);
	background: rgba(255, 255, 255, 0.75);
	padding: 2px 6px;
	border-radius: 6px;
	pointer-events: none;
	white-space: nowrap;
}

.zency-map-cache__attribution a {
	color: inherit;
	text-decoration: none;
	pointer-events: auto;
}


.zency-map-cache--error {
	position: relative;
}

.zency-map-cache--error::after {
	content: "Map data could not be loaded.";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.92);
	color: #222;
	font-size: 14px;
	font-weight: 600;
}

.zency-map-popup {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
	max-width: 360px;
}

.zency-map-popup__content {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.zency-map-popup__left {
	flex: 0 0 auto;
}

.zency-map-popup__avatar {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	overflow: hidden;
	background: #f2f2f2;
	border: 2px solid #f1f1f1;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.zency-map-popup__right {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.zency-map-popup__title {
	margin: 0 !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
}

.zency-map-popup__title a {
	color: #111;
	text-decoration: none;
}

.zency-map-popup__stars {
	line-height: 0;
}

.zency-map-popup__stars img {
	display: block;
	width: 128px;
	height: 24px;
	max-width: 100%;
}

.zency-map-popup__address {
	margin: 0 !important;
	font-size: 14px;
	color: #111111;
	line-height: 1.35;
	font-family: var(--e-global-typography-f089df3-font-family), Sans-serif;
}

.zency-map-popup__badges {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.zency-map-popup__badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 800;
	color: #6d6d6d;
	letter-spacing: 0.02em;
	text-transform: none;
}

.zency-map-popup__badge--udekoerende {
	color: #6d6d6d;
}

.zency-map-popup__price {
	margin: 0 !important;
	font-family: var(--e-global-typography-f089df3-font-family), Sans-serif;
	font-size: 14px;
	font-weight: var(--e-global-typography-f089df3-font-weight);
	line-height: var(--e-global-typography-f089df3-line-height);
	letter-spacing: var(--e-global-typography-f089df3-letter-spacing);
	color: var(--e-global-color-c2e974d);
}

.zency-map-popup__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
}

.zency-map-popup__book {
	background-color: var(--e-global-color-c91a498);
	font-family: var(--e-global-typography-7eee398-font-family), Sans-serif !important;
	font-size: 16px !important;
	font-weight: var(--e-global-typography-7eee398-font-weight) !important;
	text-transform: var(--e-global-typography-7eee398-text-transform) !important;
	line-height: var(--e-global-typography-7eee398-line-height) !important;
	letter-spacing: var(--e-global-typography-7eee398-letter-spacing) !important;
	fill: var(--e-global-color-85d83db) !important;
	color: var(--e-global-color-85d83db) !important;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.5) !important;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: var(--e-global-color-c91a498);
	width: auto;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	height: 35px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0 12px;
}

.zency-map-popup__book:hover {
	background-color: var(--e-global-color-c91a498) !important;
}

.zency-map-popup__book:hover,
.zency-map-popup__book:focus {
	filter: brightness(1.05);
}

.zency-map-popup__more {
	color: #000 !important;
	text-decoration: underline !important;
	font-size: 16px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	font-family: "Source Sans Pro" !important;
}

.zency-map-popup__more:hover {
	text-decoration: none;
}

@media (max-width: 480px) {
	.zency-map-popup__actions {
		gap: 10px;
	}

	.zency-map-popup__book {
		min-width: 120px;
	}
}

/* ---------- Map-only booking modal (not #zbg-modal; avoids grid plugin clash) ---------- */
/* Entry/exit timings aligned with zency-behandler-grid .zbg-modal */
.ztm-v2-booking-modal {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	justify-content: flex-end;
}

.ztm-v2-booking-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
	animation: ztm-v2-fade-in 0.25s ease;
}

@keyframes ztm-v2-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes ztm-v2-fade-out {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.ztm-v2-booking-modal__panel {
	position: relative;
	width: 75%;
	height: 100%;
	background: #fff;
	box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
	animation: ztm-v2-slide-in 0.3s ease;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

@keyframes ztm-v2-slide-in {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes ztm-v2-slide-out {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(100%);
	}
}

.ztm-v2-booking-modal--closing .ztm-v2-booking-modal__backdrop {
	animation: ztm-v2-fade-out 0.25s ease forwards;
}

.ztm-v2-booking-modal--closing .ztm-v2-booking-modal__panel {
	animation: ztm-v2-slide-out 0.3s ease forwards;
}

.ztm-v2-booking-modal__close {
	position: absolute;
	top: 40px;
	right: 20px;
	width: 32px;
	height: 32px;
	background: var(--e-global-color-c91a498, #4a6741);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	padding: 0;
}

.ztm-v2-booking-modal__body {
	flex: 1;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding-top: 20px;
}

.ztm-v2-booking-modal__body iframe[src*=".zency.dk/"][src*="/book-"] {
	display: block;
	width: 100%;
	border: 0;
	height: 135dvh;
	min-height: 135dvh;
}

@media (max-width: 782px) {
	.ztm-v2-booking-modal__panel {
		width: 100%;
	}

	.ztm-v2-booking-modal__body iframe[src*=".zency.dk/"][src*="/book-"] {
		min-height: 100dvh;
		height: 100dvh;
	}
}
