
.was-map-balloon-inner-img {
    margin-bottom: 5px;
    text-align: center;
    width: 250px;
    max-width: 250px;
    overflow: hidden;
}
.was-map-balloon-inner-img img {
    width: 250px;
    max-width: 250px;
    max-height: 250px;
}
.was-map-balloon-inner-text {}
.was-map-balloon-inner-props {
    margin-top: 5px;
    width: 250px;
    max-width: 250px;
    height: auto;
    overflow: hidden;
}
.was-map-balloon-inner-prop {margin-bottom: 2px;}
.was-map-balloon-inner-prop img {
	vertical-align: text-top;
}
.was-map-balloon-inner-prop:last-child {margin-bottom: 0;}
.was-map-balloon-header {font-size: 120%; font-weight: 700; margin: 0 0 10px;}
.was-map-balloon-footer {margin: 5px 0 0; color: #777; font-size: 90%;}

.was-map-yandex {position: relative;}
.was-map-list-block {
  /* font-family: 'Ubuntu', sans-serif; */
  font-size: 14px;
  line-height: 20px;
  background: #fff none repeat scroll 0 0;
  max-height: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 0px;
  position: relative;
  width: 230px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

.was-map-list-block.large {width: 280px;}
.detail .was-map-list-block.large {
    display: none;
    visibility: hidden;
    opacity: 0;
}
.was-map-list-block.medium {width: 170px;}
.was-map-list-block.small {width: 170px;}
.was-map-list-block .was-map-list-icon {display: none; width: 14px; height: 10px; padding: 15px 20px; cursor: pointer; background: url('/bitrix/components/whatasoft/map.yandex.list/templates/.default/images/list.png') center center no-repeat;}
/* .was-map-list-block.closed {width: auto; padding: 0px;} */
/* .was-map-list-block.closed .was-map-list-icon {display: block;} */
/* .was-map-list-block.closed .was-map-list-header {display: none;} */
/* .was-map-list-block.closed .was-map-list {display: none;} */
.was-map-list-header {
    font-size: 19px;
    font-weight: bold;
    padding: 10px 15px;
    color: #000;
}
.was-map-list-block.medium .was-map-list-header {font-size: 14px; line-height: 16px;}
.was-map-list {overflow: auto; padding: 0 !important; margin: 0 !important; position: relative;}

/* .was-map-list li {list-style:none; border-bottom: 1px solid #bbb; padding: 9px 0 !important; margin: 0 20px 0 0 !important;} */
/* .was-map-list li:before {content: "" !important; display: none !important;} */
/* .was-map-list li:last-child {border: none;} */
/* .was-map-list li span {display: inline; cursor: pointer; border-bottom: 1px dotted;} */
/* .was-map-list li.active span {font-weight: bold; border: none;} */

.was-icon-content {text-align: center; color: #000000; font-weight: normal;}

.was-map-yandex .was-map-spinner {width: 40px; height: 40px; position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px;}
.was-map-yandex .was-map-spinner:before,
.was-map-yandex .was-map-spinner:after {
    content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; 
    background-color: #999; opacity: 0.6; position: absolute; top: 0; left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out; 
    animation: sk-bounce 2.0s infinite ease-in-out;
}
.was-map-yandex .was-map-spinner:after {-webkit-animation-delay: -1.0s; animation-delay: -1.0s;}
@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); -webkit-transform: scale(0.0); } 
  50% { transform: scale(1.0); -webkit-transform: scale(1.0); }
}
[class$="-balloon__close"]+[class$="-balloon__content"] {
    margin: 0 !important;
    padding: 1.5rem 2rem 2rem !important;
}
[class$="-balloon__layout"] {
    z-index: 1;
}
[class$="-balloon__content"] {
	
}
[class$="-balloon__content"] > [id^="id_"] {
    max-height: 450px;
    overflow: visible !important;
    height: auto !important;
}
[class$="-cluster-content"] {
    max-height: 450px;
    overflow: visible !important;
    height: auto !important;
	font: 13px/20px Arial,sans-serif;	
}
[class$="-cluster-tabs__menu"] {
	min-height: 370px;
}
[class$="-cluster-tabs__menu-item-text"] > .mgkl-header {
	display: none;
}
[class$="-cluster-tabs__section_type_content"] {
    padding-left: 15px !important;
}
[class$="-cluster-content"] .was-map-balloon-header {
    font-size: 18px;
    font-weight: bold;
}
[class$="-cluster-content"] .was-map-balloon-header > .mgkl-header {
    font-size: 14px;
    font-weight: normal;
    width: 100%;
    display: block;
    color: #bf2025;	
}
[class$="-cluster-content"] .was-map-balloon-header > .mgkl-header.gold {
    color: #e2a304;
}
[class$="-cluster-content"] .was-map-balloon-header > .mgkl-header.resale {
    color: #3c2766;
	background: linear-gradient(45deg, #d63e16, #3c2766 33%);
	background: -webkit-linear-gradient(45deg, #d63e16, #3c2766 33%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
[class$="-cluster-content"] .was-map-balloon-footer {
    font-size: 20px;
    font-weight: bold;
}
[class$="-cluster-content"] .was-map-balloon-footer a {
	width: 100%;
    background: #bf2025;
    color: #fff;
    display: block;
    padding: 3px 0px;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
	margin-bottom: 2px;
}
[class$="-cluster-content"] .was-map-balloon-footer a:hover {
    color: #fff;
}
[class$="-balloon__close-button"] {
	width: 40px;
}
[class$="-balloon-content__footer"] {
    width: 250px !important;
    max-width: 250px !important;
    overflow: hidden !important;
}
[class$="-balloon-content__footer"] a {
    width: 250px !important;
    max-width: 250px !important;
    overflow: hidden !important;
    background: #bf2025;
    color: #fff;
    display: block;
    padding: 1rem;
    text-align: center;
    text-transform: none;
    font-size: 16px;
    font-weight: bold;
    border: 0 !important;
    border-radius: 3rem;
}
[class$="-balloon-content__footer"] a:hover {
    color: #fff;
}
[class$="-balloon-content__header"] {
    font-size: 18px;
    font-weight: bold;
    width: 250px !important;
    max-width: 250px !important;
    overflow: hidden !important;
}
[class$="-balloon-content__header"] > .mgkl-header {
    font-size: 14px;
    font-weight: normal;
    display: block;
    color: #bf2025;
}
[class$="-balloon-content__header"] > .mgkl-header.gold {
    color: #e2a304;
}
[class$="-balloon-content__header"] > .mgkl-header.resale {
    color: #3c2766;
	background: linear-gradient(45deg, #d63e16, #3c2766 33%);
	background: -webkit-linear-gradient(45deg, #d63e16, #3c2766 33%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
[class$="-cluster-tabs__menu-item_current_yes"] {
    background: #bf2025;
	border-radius: 0;
}
[class$="-cluster-tabs__menu-item_current_yes"] [class$="-cluster-tabs__menu-item-text"] {
    color: #fff;
}
[class$="-cluster-tabs__section_type_nav"] {
    border-right: 2px solid #bf2025;
    border-image: linear-gradient( to bottom, #bf2025, rgba(0, 0, 0, 0) ) 1 100%;
}
[class$="-cluster-tabs__menu-item-text"] {
    color: #000;
}
/*
ul.was-map-list {
	
}
ul.was-map-list li {
    list-style: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 15px 5px !important;
    margin: 0px !important;
    line-height: 17px !important;
}
ul.was-map-list li.active {
    font-weight: normal;
    border-bottom: 1px solid #bf2025 !important;
    background: #fff;
}
ul.was-map-list li span {
    border-bottom: 0;
    width: 100%;
    display: block;
	font-size: 15px;
	color: #000;
}
ul.was-map-list li span > p {
    margin: 0;
    font-size: 14px !important;
    color: #000;
    line-height: 24px;
	font-weight: normal !important;
}
ul.was-map-list li span > p.otd-adress {
    padding-top: 3px;
    padding-bottom: 8px;
}
ul.was-map-list li span > p.gold-text {
    color: #e2a304 !important;
}
ul.was-map-list li span > p.grey-text {
    color: #bbb !important;
}
ul.was-map-list li span > p.resale-text {
    color: #3c2766 !important;
	background: linear-gradient(45deg, #d63e16, #3c2766 33%);
	background: -webkit-linear-gradient(45deg, #d63e16, #3c2766 33%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
ul.was-map-list li span > p + p {
    font-size: 12px !important;
    color: #555;
    padding: 5px 0px 0px;
}
ul.was-map-list li.active p {
    font-weight: normal;
    border: none;
}
*/
ul.was-map-list::-webkit-scrollbar {
    width: 5px;
    background-color: #fff;
}
ul.was-map-list::-webkit-scrollbar-thumb {
    background-color: #D9D9D9;
    border: 2px solid #D9D9D9;
}
ul.was-map-list::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    background-color: #fff;
}
.was-map-yandex [class*="-balloon-pane"] [class*="-balloon__layout"] {
    width: 290px !important;
    max-width: 290px !important;
    box-sizing: border-box !important;
}
.was-map-yandex [class*="-balloon_layout_normal"] {
    position: absolute;
    z-index: 1;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 3rem !important;
    overflow: hidden;
    box-sizing: border-box !important;
	width: 290px !important;
	max-width: 290px !important;
}
.was-map-yandex [class$="-balloon__close"]+[class$="-balloon__content"] {
    margin: 0 !important;
    padding: 1.5rem 2rem 2rem !important;
    box-sizing: border-box !important;
    width: 290px;
    max-width: 290px;
}
.was-map-yandex [class*="-balloon_layout_normal"] [class*="-balloon__close"] {
    /* float: right; */
    margin: 0;
    position: absolute;
    z-index: 2;
    right: 1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
}
@media (max-width: 1023px) {
	[class$="-copyrights-pane"] {
		z-index: 0 !important;
	}
	.was-map-list-block {
		
	}
}
@media (min-width: 1023px) {
	.was-map-yandex [class$="-balloon-pane"] [class$="-balloon__layout"] {
		/* display: none !important; */
	}
	.was-map-yandex [class$="-balloon-pane"] [class$="-balloon__tail"] {
		/* display: none !important; */
	}
}
@media (min-width: 1199px) {
	.was-map-yandex [class$="-balloon-pane"] [class$="-balloon__layout"] {
		/* display: none !important; */
	}
	.was-map-yandex [class$="-balloon-pane"] [class$="-balloon__tail"] {
		/* display: none !important; */
	}
}





.was-map-yandex ymaps[class*="ground-pane"] {
	filter: grayscale(1) contrast(0.95) !important;
}
/* + 20260812 */
.map-list > div {
	margin-bottom: 2rem;
}
.map-list > div:nth-child(1) {
	padding-right: 0;
}
.map-list .was-map-list-block {
    width: 100%;
    padding: 2rem 1rem 2rem 3rem;
    border: none !important;
    border-radius: 3rem;
    box-shadow: none !important;
	height: auto;
}
.map-list .was-map-list {
    max-height: 610px;
    padding: 0 !important;
    margin: 0 !important;
}
.map-list ul.was-map-list li {
    list-style: none;
    border: 1px solid #e5e5e5;
    border-width: 0 0 1px;
    padding: 0 0 1rem;
    margin: 0 2rem 1rem 0 !important;
    line-height: 20px !important;
    cursor: pointer;
}
.map-list ul.was-map-list li.otd-hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
	display: none !important;
}
.map-list ul.was-map-list li:first-child {
    /* padding: 0 !important; */
    /* margin-top: 0 !important; */
    /* border-width: 0; */
}
.map-list ul.was-map-list li:last-child {
    padding: 0;
    margin: 0 2rem 0 0 !important;
    border: 0;
}
.map-list ul.was-map-list li span > p.otd-title {
    margin: 0;
    font-size: 16px !important;
    color: #BE1627;
    line-height: 30px !important;
    font-weight: bold !important;
}
.map-list ul.was-map-list li span > p.otd-title + p {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #000;
    padding: 0;
}
.map-list ul.was-map-list li span > p + p {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #000;
    padding: 2px 0;
}
.map-list .otd-search-not-found {
    padding: 2rem;
    font-size: 16px;
}
.map-list ymaps[class*="-map-bg"] {
    background: #f6f6f6;
}
.map-list ymaps[class*="-inner-panes"] {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 3rem;
}
.map-list .was-map-yandex [class*="-controls__toolbar"] [class*="-controls__control_toolbar"] {
    display: none !important;
    visibility: hidden !important;
}
.map-list .was-map-yandex [class*="-controls__control"] [class*="-zoom"] {
	/* left: 250px !important; */
}

.map-list .was-map-yandex [class*="-outer-panes"] [class*="-controls__control"] {
    margin-right: 0px;
    margin-left: 0px;
    inset: -50px auto auto 0px;
    position: relative;
}


.map-search {
    background: #fff;
    border: 0;
    border-radius: 3rem;
    padding: 1rem 1rem 1rem 2rem;
    height: 6rem;
    line-height: 2rem;
}
.map-search .map-search-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}
.map-search .map-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 5rem;
    gap: 1rem; /* Добавили отступ между инпутом и кнопкой */
}
.map-search input.map-search-input {
    flex: 1;
	min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    width: auto;
    height: 100%;
    font-size: 16px;
    /* padding-left: 3rem !important; */
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); */
    /* background-repeat: no-repeat; */
    /* background-position: 0 center; */
    /* background-size: 2rem; */
}
.map-search input.map-search-input:focus {
    outline: none;
}
.map-search button.map-search-btn {
    flex-shrink: 0; /* Запрещаем кнопке сжиматься, чтобы она всегда сохраняла свой размер */
    white-space: nowrap; /* Запрещаем тексту "Найти" переноситься на вторую строку */
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    color: #fff;
    background: #DD1D1C;
    border-radius: 3rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.map-search button.map-search-btn:hover {
    outline: none;
}
.map-search-results {
    display: none;
    flex-direction: column;
    gap: 2px;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.map-search-results.visible {
    display: flex;
    position: absolute;
    z-index: 1;
    background: #fff;
    margin: 5rem 1.1rem 0 0;
    gap: 0;
}
.map-search-results.visible::-webkit-scrollbar {
    width: 5px !important;
    background-color: #fff !important;
}
.map-search-results.visible::-webkit-scrollbar-thumb {
    background-color: #D9D9D9 !important;
    border: 2px solid #D9D9D9 !important;
}
.map-search-results.visible::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    background-color: #fff !important;
}
.map-search-result-item {
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}
.map-search-result-item:last-child {
    border-bottom: none;
}
.map-search-result-item:hover {
    background-color: #f5f5f5;
}
.map-search-result-item strong {
    display: block;
    font-weight: 500;
    color: #333;
}
.map-search-result-item small {
    display: block;
    color: #888;
    margin-top: 2px;
}
.map-search-empty {
    font-size: 13px;
    color: #999;
    padding: 10px 0;
    text-align: center;
}
.section.map .map-search-empty {
    background: #fff;
    border: 0;
    border-top: 1px solid #e5e5e5;
    border-radius: 0;
    width: 100%;
    height: auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    font-size: 16px;
}









.map-filters .otd-search {
    background: #fff;
    border: 0;
    border-radius: 3rem;
    padding: 1rem 2rem;
    height: 6rem;
    line-height: 3rem;
}
.map-filters .otd-search input.otd-search-input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    font-size: 16px;
    padding-left: 3rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: 2rem;
}
.map-filters .otd-search input.otd-search-input:focus {
    outline: none;
}
.otd-search-button {
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: #fff;
    background: #DD1D1C;
    border-radius: 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.otd-search-button:focus {
    outline: none;
}
.otd-search-clear {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    display: none;
}
.otd-search-clear.visible {
    display: block;
}
.otd-search-clear:hover {
    color: #333;
}
.otd-search-counter {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    min-height: 16px;
	display: none;
}


/* Обёртка заглушки — перекрывает реальный контент */
.skeleton-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 10;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 3rem;
    min-height: 6rem;
}

/* Родитель должен быть position: relative */
.map-search,
.otd-search,
.external-list-container,
.map-filters > div,
.map-list > div {
    position: relative;
}

/* Базовый элемент заглушки */
.skeleton {
    background: #e9ecef;
    border-radius: 6px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Типы заглушек */
.skeleton-line {
	height: 1rem;
}
.skeleton-input {
    border-radius: 3rem;
}
.skeleton-card {
    padding: 1.5rem 2rem;
    border: 0;
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
}
.skeleton-map-wrap {
    padding: 0;
    background: transparent;
}
/* Анимация пульсации */
@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
/* Состояние после загрузки — скрываем заглушки плавно */
.map-loaded .skeleton-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}
/* Скрываем реальный контент до загрузки, чтобы не было мерцания */
.section.map:not(.map-loaded) .map-search > *:not(.skeleton-wrapper),
.section.map:not(.map-loaded) .otd-search > *:not(.skeleton-wrapper),
.section.map:not(.map-loaded) .external-list-container > *:not(.skeleton-wrapper),
.section.map:not(.map-loaded) .map-filters .bx-filter,
.section.map:not(.map-loaded) .was-map-yandex {
    opacity: 0;
    visibility: hidden;
}

/* После загрузки показываем реальный контент */
.section.map.map-loaded .map-search > *:not(.skeleton-wrapper),
.section.map.map-loaded .otd-search > *:not(.skeleton-wrapper),
.section.map.map-loaded .external-list-container > *:not(.skeleton-wrapper),
.section.map.map-loaded .map-filters .bx-filter,
.section.map.map-loaded .was-map-yandex {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease 0.1s, visibility 0.4s ease 0.1s;
}

.map-filters {
	
}
.map-filters > div {
	margin-bottom: 15px;
}
.map-filters > div:nth-child(2) {
	padding: 0;
}
@media (max-width: 1199px) {
	.map-filters > div:nth-child(2) {
		/* padding: 0 15px; */
	}
	.map-list.otd > div:nth-child(1) {
		padding-right: 15px;
	}
	.skeleton.skeleton-map {
		width: calc(100% - 15px) !important;
	}
}
@media (max-width: 1023px) {
	.skeleton-external-list-wrap {
		display: none !important;
	}
	.map-filters > div:nth-child(2) {
		padding-right: 15px;
	}
	.map-list > div:nth-child(1) {
		padding-right: 15px;
	}
	.skeleton.skeleton-map {
		width: calc(100% - 30px) !important;
	}
	.map-list > div {
		margin-bottom: 1.5rem;
	}
	.map-list .was-map-list-block {
		height: 50vh;
		height: auto;
	}
	.map-list .was-map-list {
		max-height: 320px;
	}
}
@media (max-width: 767px) {
	.map-filters > div:nth-child(2) {
		padding-left: 15px;
		padding-right: 15px;
	}
	.map-list > div:nth-child(1) {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media (max-width: 400px) {
	
}
/* - 20260812 */