.listygo-yandex-map {
	width: 100%;
	min-height: 420px;
}

/* Основная тема резервирует высоту для прежней карты в #map. */
#map.product-map {
	height: auto !important;
	min-height: 0 !important;
}

/* Скрывает вывод карты Classified Listing, оставляя контейнер Яндекс Карт. */
#map.product-map > :not(.listygo-yandex-map) {
	display: none !important;
}

.map-right-side-content .listygo-yandex-map {
	height: 100%;
	min-height: 720px;
}

.listing-map-archive-wrapper .map-right-side-content .rtcl-search-map {
	border-radius: 8px 0 0 8px;
	overflow: hidden;
}

.listing-map-archive-wrapper .col-xl-7 > .rtcl-listings-sc-wrapper > .rtcl-listings-wrapper {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
	background-color: #f2f2f2;
}

.listing-map-wrapper.listing-map-archive-wrapper .listygo-listing-map-wrapper .rtcl-listings-wrapper .rtcl-listings-actions {
	padding: 15px !important;
}

.listing-map-archive-wrapper .map-right-side-content > .theiaStickySidebar,
.listing-map-archive-wrapper .map-right-side-content .rtcl-search-map > .theiaStickySidebar {
	border-radius: 8px 0 0 8px;
	overflow: hidden !important;
}

.listygo-yandex-map__balloon {
	font-size: 15px;
	line-height: 1.4;
	padding: 3px;
}

.listygo-yandex-map__balloon a {
	color: #111;
	font-weight: 600;
	text-decoration: none;
}

.listygo-yandex-form-map-wrap {
	margin-top: 20px;
}

/* Запасная защита для версий RTCL, добавляющих старую карту вне хука. */
.rtcl-map-wrap:not(.listygo-yandex-form-map-wrap) {
	display: none !important;
}

.listygo-yandex-map--form {
	min-height: 400px;
}

.listygo-yandex-map__notice {
	color: #66687b;
	font-size: 14px;
	margin: 10px 0;
}

.listygo-yandex-map__coordinates {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0;
}

.listygo-yandex-map__coordinates label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.listygo-yandex-map__coordinates input {
	max-width: 130px;
}

.listygo-yandex-form-builder-map [data-listygo-yandex-geocode] {
	margin-top: 12px;
}

.listygo-yandex-form-map-wrap .rtcl-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

@media (max-width: 1199px) {
	.map-right-side-content .listygo-yandex-map {
		min-height: 500px;
	}
}
