.bmp-block {
	--nearby_focus-shadow-x: 0px;
	--nearby_focus-shadow-y: 3px;
	--nearby_focus-shadow-blur: 8px;
	--nearby_focus-shadow-color: rgba(0, 0, 0, 0.25);
	--rental_marker-shadow-x: 0px;
	--rental_marker-shadow-y: 3px;
	--rental_marker-shadow-blur: 8px;
	--rental_marker-shadow-color: rgba(0, 0, 0, 0.25);
	--bmp-nearby-focus-size: 30px;
	--bmp-nearby-focus-color: #f91942;
	--bmp-nearby-outline-enabled: 0;
	--bmp-nearby-outline-color: #ffffff;
	--bmp-nearby-outline-width: 2px;
	--bmp-nearby-frame-padding: 5px;
	--bmp-nearby-frame-width: 1px;
	--bmp-nearby-frame-color: #dadada;
	--bmp-nearby-frame-background: #ffffff;
	--bmp-single-marker-color: #f91942;
	--bmp-single-marker-size: 34;
	--bmp-number-background: #f91942;
	--bmp-number-color: #ffffff;
	--bmp-number-size: 50;
	--bmp-number-border-width: 3px;
	--bmp-number-border-active-width: 0px;
	--bmp-number-border-color: #ffffff;
	--bmp-single-outline-enabled: 0;
	--bmp-single-outline-width: 2px;
	--bmp-single-outline-color: #ffffff;
	--bmp-map-zoom: 13;
	--bmp-card-background: #ffffff;
	position: relative;
	width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: 16px;
	background: #f2f2f2;
	font-family: inherit;
	isolation: isolate;
}

/* Nearby point: Elementor icon, shared across all three map providers. */
.bmp-block .bt-nearby-map-focus {
	width: var(--bmp-nearby-focus-size) !important;
	height: var(--bmp-nearby-focus-size) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: var(--bmp-nearby-focus-color) !important;
	background: var(--bmp-nearby-frame-background) !important;
	border: var(--bmp-nearby-frame-width) solid var(--bmp-nearby-frame-color) !important;
	border-radius: 50% !important;
	padding: var(--bmp-nearby-frame-padding) !important;
	box-shadow: none !important;
	font-size: var(--bmp-nearby-focus-size);
	font-family: inherit;
	line-height: 1;
	pointer-events: auto !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: content-box !important;
}
.bmp-block .bt-nearby-map-focus:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bmp-block .bt-nearby-map-focus svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.bmp-block .bt-nearby-map-focus .bmp-uploaded-marker-icon {
	--bmp-single-marker-color: var(--bmp-nearby-focus-color);
	--bmp-single-outline-color: var(--bmp-nearby-outline-color);
	--bmp-single-outline-width: var(--bmp-nearby-outline-width);
	--bmp-single-outline-enabled: var(--bmp-nearby-outline-enabled);
}
.bmp-block .bt-nearby-map-focus .bmp-uploaded-marker-canvas { max-width: none; }
.bmp-block .bt-nearby-map-focus__ring,
.bmp-block .bt-nearby-map-focus__pulse { display: none !important; }
.bmp-block .gm-style .bt-nearby-map-focus { transform: translate(-50%, -50%); }

.bmp-map {
	position: relative;
	width: 100%;
	height: 400px;
	background: #f2f2f2;
}

/* =========================
   Переключатель карт
========================= */
.bmp-provider-switch {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 4px;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 999px;
	background: rgba(255, 255, 255, .96);
	box-shadow: none;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-sizing: border-box;
}

.bmp-switch-top-left .bmp-provider-switch { top: 16px; right: auto; bottom: auto; left: 16px; }
.bmp-switch-top-right .bmp-provider-switch { top: 16px; right: 16px; bottom: auto; left: auto; }
.bmp-switch-bottom-left .bmp-provider-switch { top: auto; right: auto; bottom: 16px; left: 16px; }
.bmp-switch-bottom-right .bmp-provider-switch { top: auto; right: 16px; bottom: 16px; left: auto; }

.bmp-provider-button {
	min-width: 72px;
	height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	outline: 0;
	background: transparent;
	box-shadow: none !important;
	color: #777;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	white-space: nowrap;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bmp-provider-button:not(.is-active):hover { background: rgba(0, 0, 0, .045); color: #222; }
.bmp-provider-button.is-active { background: #222; box-shadow: none !important; color: #fff; }
.bmp-provider-button:active { transform: scale(.97); }
.bmp-provider-button:focus-visible { outline: 2px solid #f91942; outline-offset: 2px; }

/* =========================
   Маркеры Google и Яндекс
========================= */
.bmp-marker-anchor,
.bmp-yandex-anchor {
	position: absolute;
	z-index: 3;
	display: block;
	margin: 0;
	padding: 0;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.bmp-marker-anchor {
	pointer-events: auto;
	cursor: pointer;
}

.bmp-marker-anchor.is-number-only,
.bmp-yandex-anchor.is-number-only {
	transform: translate(-50%, -50%);
	transform-origin: 50% 50%;
}

.bmp-marker-anchor.is-pin,
.bmp-yandex-anchor.is-pin {
	transform: translate(-50%, -100%);
	transform-origin: 50% 100%;
}

/* Геометка Яндекса получает клики через iconShape, а не через вложенный DOM. */
.bmp-yandex-anchor,
.bmp-yandex-anchor * {
	pointer-events: none !important;
}

.bmp-yandex-marker-host,
.bmp-yandex-marker-host:focus,
.bmp-yandex-marker-host:focus-visible {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.bmp-custom-marker-number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 0;
	border-style: solid;
	border-radius: 50%;
	background: var(--bmp-number-background);
	color: var(--bmp-number-color);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
	user-select: none;
}

.bmp-custom-marker-icon,
.bmp-custom-marker-icon > i,
.bmp-custom-marker-icon > svg,
.bmp-custom-marker-icon > img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	color: var(--bmp-single-marker-color);
	font-size: inherit;
	line-height: 1;
	box-sizing: border-box;
}

.bmp-custom-marker-icon > svg { fill: currentColor; }
.bmp-custom-marker-icon > img { object-fit: contain; }
.bmp-custom-pin { display: block; width: 100%; height: 100%; object-fit: fill; }

.bmp-uploaded-marker-icon {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	color: var(--bmp-single-marker-color);
	isolation: isolate;
}

.bmp-uploaded-marker-icon::before,
.bmp-uploaded-marker-icon::after {
	position: absolute;
	content: "";
	-webkit-mask-image: var(--bmp-uploaded-marker-url);
	mask-image: var(--bmp-uploaded-marker-url);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	pointer-events: none;
}

.bmp-uploaded-marker-icon::before {
	z-index: 0;
	inset: calc(var(--bmp-single-outline-width) * -1);
	background-color: var(--bmp-single-outline-color);
	opacity: var(--bmp-single-outline-enabled);
}

.bmp-uploaded-marker-icon::after {
	z-index: 1;
	inset: 0;
	background-color: currentColor;
}

.bmp-uploaded-marker-icon.is-bmp-canvas-marker::before,
.bmp-uploaded-marker-icon.is-bmp-canvas-marker::after { display: none; }

.bmp-uploaded-marker-canvas {
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Полностью убираем возможную фокусную рамку технической оболочки Яндекса. */
.bmp-map ymaps:has(.bmp-yandex-anchor) {
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* =========================
   Единая карточка поверх карты
========================= */
.bmp-popup-layer {
	position: absolute;
	inset: 0;
	z-index: 1000;
	overflow: hidden;
	pointer-events: none;
}

.bmp-popup-card {
	position: absolute;
	z-index: 1;
	min-width: 180px;
	max-width: min(280px, calc(100% - 16px));
	margin: 0;
	padding: 10px 13px;
	border: 0;
	border-radius: 10px;
	background: var(--bmp-card-background, #fff);
	box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
	font-family: inherit;
	box-sizing: border-box;
	pointer-events: auto;
	-webkit-user-select: text;
	user-select: text;
}

.bmp-popup-card[hidden] { display: none !important; }

.bmp-popup-card::after {
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 12px;
	height: 12px;
	content: "";
	background: var(--bmp-card-background, #fff);
	box-shadow: 3px 3px 6px rgba(0, 0, 0, .04);
	transform: translateX(-50%) rotate(45deg);
}

.bmp-popup-card.is-below::after {
	top: -6px;
	bottom: auto;
	box-shadow: -2px -2px 5px rgba(0, 0, 0, .035);
}

.bmp-info-close {
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: #777;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.bmp-info-close:hover { background: rgba(0, 0, 0, .045); color: #222; }
.bmp-info-close:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }

.bmp-info-close-icon {
	position: relative;
	display: block;
	width: 16px;
	height: 16px;
}

.bmp-info-close-icon::before,
.bmp-info-close-icon::after {
	position: absolute;
	top: 7px;
	left: 1px;
	width: 14px;
	height: 1.5px;
	content: "";
	border-radius: 2px;
	background: currentColor;
}

.bmp-info-close-icon::before { transform: rotate(45deg); }
.bmp-info-close-icon::after { transform: rotate(-45deg); }

.bmp-info-title {
	padding-right: 28px;
	color: #222;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
}

.bmp-info-note {
	margin-top: 4px;
	color: #777;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.bmp-info-time {
	display: flex;
	align-items: center;
	column-gap: 7px;
	margin-top: 8px;
	color: #555;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.bmp-info-time-text {
	display: block;
	min-width: 0;
	line-height: inherit;
}

.bmp-info-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
}

.bmp-info-icon > i,
.bmp-info-icon > svg,
.bmp-info-icon .elementor-icon,
.bmp-info-icon .elementor-icon i,
.bmp-info-icon .elementor-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	margin: 0;
	font-size: inherit;
	line-height: 1;
	color: inherit;
	fill: currentColor;
}

.bmp-info-time-icon {
	align-self: center;
	width: 16px;
	height: 16px;
	margin: 0;
	color: #555;
	font-size: 16px;
	transform: translate(var(--bmp-time-icon-x, 0px), var(--bmp-time-icon-y, 0px));
}

.bmp-info-time-icon > i,
.bmp-info-time-icon > svg,
.bmp-info-time-icon .elementor-icon,
.bmp-info-time-icon .elementor-icon i,
.bmp-info-time-icon .elementor-icon svg {
	width: 100%;
	height: 100%;
	vertical-align: middle;
}

.bmp-info-route {
	display: inline-flex;
	align-items: center;
	column-gap: 6px;
	margin-top: 11px;
	color: #f91942;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

.bmp-info-route-text { min-width: 0; }

.bmp-info-route-icon {
	align-self: center;
	width: 14px;
	height: 14px;
	color: #f91942;
	font-size: 14px;
	transform: translate(var(--bmp-route-icon-x, 0px), var(--bmp-route-icon-y, 0px));
}

.bmp-info-route:hover,
.bmp-info-route:focus-visible { text-decoration: underline; }

/* =========================
   Яндекс: обязательные подписи
========================= */
.bmp-map [class*="-copyright__wrap"],
.bmp-map [class*="-copyright__content-cell"],
.bmp-map [class*="-copyright__link"],
.bmp-map [class*="-copyright__agreement"],
.bmp-map [class*="-map-copyrights-promo"] {
	font-family: Arial, sans-serif !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 12px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.bmp-map [class*="-copyright__link"],
.bmp-map [class*="-copyright__agreement"],
.bmp-map [class*="-map-copyrights-promo"] a {
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: Arial, sans-serif !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 12px !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	text-transform: none !important;
}

/* Скрывается только необязательная рекламная ссылка. */
.bmp-map [class*="-map-copyrights-promo"] { display: none !important; }

.bmp-map .bmp-yandex-attribution-left {
	position: absolute !important;
	top: auto !important;
	right: auto !important;
	bottom: 8px !important;
	left: 10px !important;
	z-index: 2 !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	text-align: left !important;
	white-space: nowrap !important;
}

.bmp-map .bmp-yandex-logo-shift { position: relative !important; left: -3px !important; }

.bmp-map-message,
.bmp-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 24px;
	color: #777;
	font-size: 14px;
	text-align: center;
}

/* Чистая стрелка над картой не перекрывает pointer, который задаёт marker shape Яндекса. */
.bmp-map-cursor-arrow .bmp-map .gm-style,
.bmp-map-cursor-arrow .bmp-map .gm-style *,
.bmp-map-cursor-arrow .bmp-map [class*="-ground-pane"] { cursor: default !important; }

.bmp-map-cursor-arrow .bmp-map button,
.bmp-map-cursor-arrow .bmp-map a,
.bmp-map-cursor-arrow .bmp-marker-anchor,
.bmp-map-cursor-arrow .bmp-yandex-marker-host { cursor: pointer !important; }

@media (max-width: 767px) {
	.bmp-map { height: 320px; }
	.bmp-provider-switch { gap: 2px; padding: 3px; }
	.bmp-switch-top-left .bmp-provider-switch { top: 12px; left: 12px; }
	.bmp-switch-top-right .bmp-provider-switch { top: 12px; right: 12px; }
	.bmp-switch-bottom-left .bmp-provider-switch { bottom: 12px; left: 12px; }
	.bmp-switch-bottom-right .bmp-provider-switch { right: 12px; bottom: 12px; }
	.bmp-provider-button { min-width: 62px; height: 32px; padding: 0 10px; font-size: 11px; }
	.bmp-popup-card { max-width: calc(100% - 16px); }
}

/* =========================
   MapLibre / Batumis Map
========================= */
.bmp-maplibre-anchor {
	display: block;
	margin: 0;
	padding: 0;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.bmp-maplibre-anchor.is-number-only {
	transform-origin: 50% 50%;
}

.bmp-maplibre-anchor.is-pin {
	transform-origin: 50% 100%;
}

.bmp-maplibre-anchor:focus-visible {
	outline: 2px solid #f91942 !important;
	outline-offset: 3px !important;
	border-radius: 50%;
}

.bmp-map .maplibregl-canvas {
	outline: 0;
}

.bmp-map-cursor-arrow .maplibregl-canvas-container,
.bmp-map-cursor-arrow .maplibregl-canvas {
	cursor: default !important;
}

.bmp-map .maplibregl-ctrl-attrib {
	font-family: inherit;
	font-size: 10px;
}
