/* --- Bundled Leaflet 1.9.4 Core Layout CSS --- */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
}
.leaflet-container {
	overflow: hidden;
	position: relative;
	outline-offset: 1px;
	font-family: inherit;
	font-size: 12px;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}
.leaflet-tile::selection {
	background: transparent;
}
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
}
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
}
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
}
.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
}
.leaflet-tile-loaded {
	visibility: inherit;
}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 800;
}
.leaflet-overlay-pane svg {
	-moz-user-select: none;
}
.leaflet-pane         { z-index: 400; }
.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }
.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted;
	pointer-events: auto;
}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
}
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control {
	float: left;
	clear: both;
}
.leaflet-right .leaflet-control {
	float: right;
}
.leaflet-top .leaflet-control {
	margin-top: 10px;
}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
}
.leaflet-left .leaflet-control {
	margin-left: 10px;
}
.leaflet-right .leaflet-control {
	margin-right: 10px;
}
.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	transform-origin: 0 0;
}
svg.leaflet-zoom-animated {
	will-change: transform;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	transition: transform 0.25s cubic-bezier(0,0,0.25,1);
}
.leaflet-Interactive {
	cursor: pointer;
}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor: grabbing;
}
.leaflet-bar {
	box-shadow: 0 2px 8px rgba(15,23,42,0.18);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(148,163,184,0.35);
}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #e2e8f0;
	width: 32px;
	height: 32px;
	line-height: 32px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #1e293b;
	font-weight: 700;
	font-size: 18px;
}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f1f5f9;
	color: #2563eb;
}
.leaflet-bar a:last-child {
	border-bottom: none;
}
.leaflet-control-attribution {
	background: rgba(255, 255, 255, 0.85);
	padding: 2px 6px;
	font-size: 11px;
	color: #475569;
	border-radius: 4px 0 0 0;
}
.leaflet-control-attribution a {
	color: #2563eb;
	text-decoration: none;
}
.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	background: #ffffff;
	color: #1e293b;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	min-height: 1px;
}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;
	margin: -10px auto 0;
	pointer-events: auto;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	background: #ffffff;
	box-shadow: 0 3px 14px rgba(0,0,0,0.2);
}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 6px;
	right: 6px;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 18px/24px Tahoma, Verdana, sans-serif;
	color: #64748b;
	text-decoration: none;
	background: rgba(255,255,255,0.85);
	border-radius: 50%;
	z-index: 10;
}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #0f172a;
	background: #f1f5f9;
}

/**
 * Map This Block — Frontend & Shared Styles
 * Supports layouts, custom pointers, pulse effects, themes, popups, and responsive directory.
 */

.map-this-block-wrapper {
	--map-this-height: 480px;
	--map-this-height-mobile: 360px;
	--map-this-radius: 12px;
	--map-this-accent: #2563eb;
	--map-this-card-bg: #ffffff;
	--map-this-card-text: #1e293b;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 1.5rem 0;
}

.map-this-block-wrapper *,
.map-this-block-wrapper *::before,
.map-this-block-wrapper *::after {
	box-sizing: border-box;
}

.map-this-inner-container {
	display: grid;
	gap: 0;
	border-radius: var(--map-this-radius);
	overflow: hidden;
	background: var(--map-this-card-bg);
	border: 1px solid rgba(148, 163, 184, 0.25);
}

.map-this-block-wrapper.has-map-shadow .map-this-inner-container {
	box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

/* Layout Variants */
.map-this-layout-map-only .map-this-inner-container {
	grid-template-columns: 1fr;
}

.map-this-layout-sidebar-left .map-this-inner-container {
	grid-template-columns: 360px 1fr;
}

.map-this-layout-sidebar-right .map-this-inner-container {
	grid-template-columns: 1fr 360px;
}

.map-this-layout-sidebar-right .map-this-directory {
	order: 2;
	border-right: none;
	border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.map-this-layout-sidebar-right .map-this-Stage {
	order: 1;
}

.map-this-layout-cards-bottom .map-this-inner-container {
	grid-template-columns: 1fr;
}

.map-this-layout-cards-bottom .map-this-Stage {
	order: 1;
}

.map-this-layout-cards-bottom .map-this-directory {
	order: 2;
	max-height: none;
	border-right: none;
	border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.map-this-layout-cards-bottom .map-this-location-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 14px;
	padding: 16px;
}

/* Map Stage & Canvas */
.map-this-Stage {
	position: relative;
	width: 100%;
	height: var(--map-this-height);
	min-height: 280px;
	background: #e2e8f0;
	overflow: hidden;
}

.map-this-canvas {
	width: 100%;
	height: 100%;
	z-index: 1;
}

.map-this-canvas iframe.map-this-google-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Brand Tint Overlay */
.map-this-brand-tint {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	mix-blend-mode: color;
	opacity: 0;
	transition: opacity 0.25s ease;
}

/* Preset Map Themes applied to tile pane / iframe */
.map-this-theme-light .leaflet-tile-pane,
.map-this-theme-light iframe.map-this-google-iframe {
	filter: saturate(35%) brightness(106%) contrast(94%);
}

.map-this-theme-dark .leaflet-tile-pane,
.map-this-theme-dark iframe.map-this-google-iframe {
	filter: invert(92%) hue-rotate(180deg) brightness(95%) contrast(92%);
}

.map-this-theme-grayscale .leaflet-tile-pane,
.map-this-theme-grayscale iframe.map-this-google-iframe {
	filter: grayscale(100%) contrast(106%);
}

.map-this-theme-blueprint .leaflet-tile-pane,
.map-this-theme-blueprint iframe.map-this-google-iframe {
	filter: sepia(100%) hue-rotate(185deg) saturate(240%) brightness(92%) contrast(105%);
}

.map-this-theme-warm .leaflet-tile-pane,
.map-this-theme-warm iframe.map-this-google-iframe {
	filter: sepia(38%) saturate(135%) brightness(102%) contrast(98%);
}

/* Custom Pointer Markers */
.map-this-custom-marker {
	background: transparent !important;
	border: none !important;
}

.map-this-marker-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: bottom center;
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
}

.map-this-marker-wrap:hover {
	transform: scale(1.14) translateY(-3px);
	z-index: 999 !important;
}

/* Pulse Ring Effect */
.map-this-marker-pulse {
	position: absolute;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--marker-color, #2563eb);
	opacity: 0.35;
	animation: mapThisPulse 2.2s infinite ease-out;
	pointer-events: none;
	z-index: 0;
}

@keyframes mapThisPulse {
	0% {
		transform: scale(0.65);
		opacity: 0.65;
	}
	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

/* Custom Image / Website Logo Badge Marker */
.map-this-logo-badge {
	position: relative;
	z-index: 2;
	width: var(--marker-size, 44px);
	height: var(--marker-size, 44px);
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid var(--marker-color, #2563eb);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 3px;
}

.map-this-logo-badge::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 8px 6px 0 6px;
	border-style: solid;
	border-color: var(--marker-color, #2563eb) transparent transparent transparent;
}

.map-this-logo-badge img,
.map-this-raw-image-marker img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
	display: block;
}

.map-this-raw-image-marker {
	position: relative;
	z-index: 2;
	width: var(--marker-size, 44px);
	height: var(--marker-size, 44px);
	filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.3));
}

.map-this-raw-image-marker img {
	border-radius: 0;
}

/* Cluster Marker Styling */
.map-this-cluster-icon {
	background: transparent;
	border: none;
}

.map-this-cluster-badge {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--map-this-accent, #2563eb);
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid #ffffff;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.map-this-cluster-badge:hover {
	transform: scale(1.12);
}

/* Floating Custom Map Action Controls (Reset View / Locate Me / Fullscreen) */
.map-this-floating-controls {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 500;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.map-this-ctrl-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #ffffff;
	color: #1e293b;
	border: 1px solid rgba(148, 163, 184, 0.35);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.map-this-ctrl-btn:hover {
	background: var(--map-this-accent, #2563eb);
	color: #ffffff;
	transform: translateY(-1px);
}

/* Directory Sidebar & Bottom Cards */
.map-this-directory {
	display: flex;
	flex-direction: column;
	background: var(--map-this-card-bg, #ffffff);
	color: var(--map-this-card-text, #1e293b);
	border-right: 1px solid rgba(148, 163, 184, 0.22);
	max-height: var(--map-this-height);
	overflow: hidden;
}

.map-this-directory-header {
	padding: 14px 16px 12px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
}

.map-this-location-count {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.72;
}

.map-this-search-input {
	width: 100%;
	padding: 8px 12px;
	font-size: 13px;
	border-radius: 8px;
	border: 1px solid rgba(148, 163, 184, 0.38);
	background: rgba(248, 250, 252, 0.8);
	color: #0f172a;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.map-this-search-input:focus {
	border-color: var(--map-this-accent, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.map-this-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.map-this-cat-pill {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: all 0.15s ease;
}

.map-this-cat-pill.is-active,
.map-this-cat-pill:hover {
	background: var(--map-this-accent, #2563eb);
	border-color: var(--map-this-accent, #2563eb);
	color: #ffffff;
}

.map-this-location-list {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.map-this-location-card {
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.map-this-location-card:hover,
.map-this-location-card.is-active {
	border-color: var(--map-this-accent, #2563eb);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.map-this-card-top {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.map-this-card-badge {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.map-this-card-title-wrap {
	flex: 1;
	min-width: 0;
}

.map-this-card-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: var(--map-this-accent, #2563eb);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 2px;
}

.map-this-card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.map-this-card-address {
	margin: 6px 0 0;
	font-size: 13px;
	opacity: 0.8;
	line-height: 1.4;
}

.map-this-card-desc {
	margin-top: 6px;
	font-size: 12.5px;
	opacity: 0.78;
	line-height: 1.45;
}

.map-this-card-meta {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px dashed rgba(148, 163, 184, 0.25);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12px;
}

.map-this-meta-link {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	opacity: 0.85;
}

.map-this-meta-link:hover {
	text-decoration: underline;
	opacity: 1;
}

.map-this-directions-link {
	margin-left: auto;
	color: var(--map-this-accent, #2563eb);
	font-weight: 600;
	text-decoration: none;
}

.map-this-directions-link:hover {
	text-decoration: underline;
}

/* Leaflet Popup Customization */
.map-this-popup .leaflet-popup-content-wrapper {
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.map-this-popup .leaflet-popup-content {
	margin: 0;
	min-width: 230px;
	max-width: 280px;
}

.map-this-popup-body {
	padding: 14px 16px;
	font-family: inherit;
	color: #1e293b;
}

.map-this-popup-img {
	width: 100%;
	height: 125px;
	object-fit: cover;
	display: block;
}

.map-this-popup-cat {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--map-this-accent, #2563eb);
	margin-bottom: 3px;
}

.map-this-popup-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.map-this-popup-address {
	margin: 0 0 8px;
	font-size: 12.5px;
	color: #475569;
}

.map-this-popup-desc {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: #334155;
	line-height: 1.45;
}

.map-this-popup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-top: 8px;
	border-top: 1px solid #e2e8f0;
}

.map-this-popup-btn {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--map-this-accent, #2563eb);
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
}

.map-this-popup-btn:hover {
	opacity: 0.92;
}

/* GDPR Overlay */
.map-this-gdpr-overlay {
	position: absolute;
	inset: 0;
	z-index: 800;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.map-this-gdpr-card {
	max-width: 400px;
	background: #ffffff;
	color: #0f172a;
	padding: 24px;
	border-radius: 14px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.map-this-gdpr-icon {
	font-size: 32px;
	margin-bottom: 10px;
}

.map-this-gdpr-text {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 16px;
	color: #334155;
}

.map-this-gdpr-accept-btn {
	background: var(--map-this-accent, #2563eb);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
	.map-this-layout-sidebar-left .map-this-inner-container,
	.map-this-layout-sidebar-right .map-this-inner-container {
		grid-template-columns: 1fr;
	}

	.map-this-layout-sidebar-left .map-this-Stage,
	.map-this-layout-sidebar-right .map-this-Stage {
		order: 1;
		height: var(--map-this-height-mobile);
	}

	.map-this-layout-sidebar-left .map-this-directory,
	.map-this-layout-sidebar-right .map-this-directory {
		order: 2;
		max-height: 340px;
		border-right: none;
		border-left: none;
		border-top: 1px solid rgba(148, 163, 184, 0.22);
	}

	.map-this-Stage {
		height: var(--map-this-height-mobile);
	}
}


/* Ensure Google Iframe always fills 100% of stage & canvas in Editor and Frontend */
.map-this-Stage iframe,
.map-this-canvas iframe,
iframe.map-this-google-iframe {
	width: 100% !important;
	height: 100% !important;
	min-height: var(--map-this-height, 480px) !important;
	border: 0 !important;
	display: block !important;
	margin: 0 !important;
}

@media (max-width: 860px) {
	.map-this-Stage iframe,
	.map-this-canvas iframe,
	iframe.map-this-google-iframe {
		min-height: var(--map-this-height-mobile, 360px) !important;
	}
}

/* Floating Info-Window ("Oblačić") over Klasični Google Iframe */
.map-this-iframe-popup-card {
	position: absolute;
	bottom: 54%;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 650;
	width: 280px;
	max-width: calc(100% - 32px);
	background: #ffffff;
	color: #1e293b;
	border-radius: 12px;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.26), 0 3px 10px rgba(15, 23, 42, 0.12);
	overflow: visible;
	animation: mapThisPopupFadeIn 0.22s ease-out;
}

/* Pointer triangle at bottom of floating oblačić pointing to center Google pin */
.map-this-iframe-popup-card::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #ffffff transparent transparent transparent;
	filter: drop-shadow(0 3px 2px rgba(15, 23, 42, 0.12));
}

@keyframes mapThisPopupFadeIn {
	from {
		opacity: 0;
		transform: translate(-50%, 8px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.map-this-iframe-popup-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: rgba(241, 245, 249, 0.92);
	color: #475569;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	padding: 0;
}

.map-this-iframe-popup-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.map-this-iframe-reopen-btn {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 640;
	background: #ffffff;
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.4);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 12.5px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.map-this-iframe-reopen-btn:hover {
	background: var(--map-this-accent, #2563eb);
	color: #ffffff;
	border-color: var(--map-this-accent, #2563eb);
}
