.objects-archive { font-family: 'Gilroy', sans-serif; color: #081330; padding: 149px 30px 80px; background: #EAEAEA; }
.objects-archive__container { width: 100%; max-width: 1300px; margin: 0 auto; }
.ymaps-2-1-79-balloon__close { background: #fff; }
ymaps.ymaps-2-1-79-balloon__content { padding: 0px; margin-right: 0px !important; margin: 0px; }
.ymaps-2-1-79-balloon__close-button { width: 25px; height: 25px; }
.objects-archive__breadcrumbs { font-size: 14px; color: #787878; margin-bottom: 24px; }
.objects-archive__breadcrumbs a { color: #525A6B; text-decoration: none; }
.objects-archive__breadcrumbs a:hover { color: #081330; }
.objects-archive__title { font-family: 'Cormorant600', serif; font-weight: 600; font-size: 32px; line-height: 1.1; text-transform: uppercase; margin: 0 0 28px; letter-spacing: -0.5px; }
.objects-archive__description { max-width: 1300px; margin: 48px auto 0; font-size: 15px; line-height: 1.7; color: #081330; }
.objects-archive__description p { margin: 0 0 1em; }
.objects-archive__description p:last-child { margin-bottom: 0; }
.objects-search { display: flex; gap: 6px; margin-bottom: 13px; }
.objects-search__field { position: relative; flex: 1 1 auto; display: flex; align-items: center; }
.objects-search__icon { position: absolute; left: 18px; color: #525A6B; pointer-events: none; }
.objects-search__input { width: 100%; height: 56px; padding: 0 18px 0 46px; border: none; background: #fff; font-family: 'Gilroy', sans-serif; font-size: 14px; color: #081330; outline: none; transition: border-color .25s; }
.objects-search__input::placeholder { color: #8A909C; }
.objects-search__input:focus { border-color: #081330; }
.objects-search__map-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 56px; padding: 0 12px; background: #081330; color: #fff; border: 1px solid #081330; font-family: 'GilroySemibold', sans-serif; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.objects-search__map-btn:hover, .objects-search__map-btn.is-active { opacity: 0.9; }
.objects-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.objects-filters__group { min-width: 85px; }
.objects-filters__group[hidden] { display: none; }
.objects-filters__toggle-all { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; background: #081330; border: 1px solid #081330; color: #fff; font-family: 'GilroySemibold', sans-serif; font-size: 14px; cursor: pointer; transition: opacity .2s; white-space: nowrap; border-radius: 5px; }
.objects-filters__toggle-all:hover { opacity: .9; }
.objects-filters__toggle-all svg { flex: 0 0 auto; }
.custom-dropdown { position: relative; user-select: none; }
.custom-dropdown__toggle { width: 100%; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 0 14px; background: #fff; border: none; font-family: 'GilroySemibold', sans-serif; font-size: 14px; color: #081330; cursor: pointer; transition: 0.3s; border-radius: 5px; }
.custom-dropdown__toggle:hover { background: #C7CAD1; }
.objects-sort .custom-dropdown__toggle { background: transparent; font-size: 11px; }
.custom-dropdown__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-dropdown.has-value .custom-dropdown__text { font-weight: 600; }
.custom-dropdown__arrow { flex: 0 0 auto; transition: transform .25s; }
.custom-dropdown.is-open .custom-dropdown__arrow { transform: rotate(180deg); }
.custom-dropdown__menu { position: absolute; top: calc(100% + 6px); left: 0; border-radius: 5px; right: 0; z-index: 40; background: #fff; border: 1px solid #D4D5D8; box-shadow: 0 12px 30px rgba(8, 19, 48, .12); padding: 4px 0px; min-width: 210px; max-height: 280px; overflow-y: auto; display: none; }
.custom-dropdown.is-open .custom-dropdown__menu { display: block; }
.custom-dropdown__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; cursor: pointer; border-radius: 2px; transition: background .2s; }
.custom-dropdown__item:hover { background: #F4F5F7; }
.custom-dropdown__item input { width: 16px; height: 16px; accent-color: #081330; cursor: pointer; margin: 0; min-width: 16px; }
.custom-dropdown__item-text { font-size: 14px; color: #081330; }
.custom-dropdown--inline .custom-dropdown__toggle { height: auto; border: none; padding: 0; gap: 4px; font-weight: 600; }
.custom-dropdown--inline .custom-dropdown__menu { min-width: 220px; left: auto; right: 0; }
.custom-dropdown__menu--range { min-width: 280px; padding: 16px; }
.range-field { display: flex; align-items: flex-end; gap: 10px; }
.range-field__col { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; }
.range-field__cap { font-size: 14px; color: #081330; font-weight: 600; }
.range-field__input { width: 100%; height: 35px; padding: 0 12px; border: 1px solid #D4D5D8; background: #fff; font-family: 'Gilroy', sans-serif; font-size: 13px; border-radius: 4px; color: #081330; outline: none; transition: border-color .2s; -moz-appearance: textfield; }
.range-field__input:focus { border-color: #081330; }
.range-field__input::-webkit-outer-spin-button, .range-field__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range-field__dash { padding-bottom: 12px; color: #8A909C; }
.objects-active-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.objects-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: #F4F5F7; border: 1px solid #D4D5D8; border-radius: 40px; font-family: 'Gilroy', sans-serif; font-size: 14px; color: #081330; cursor: pointer; transition: background .2s, border-color .2s; }
.objects-chip:hover { border-color: #081330; }
.objects-chip svg { color: #525A6B; }
.objects-chip--clear { background: transparent; border-color: transparent; text-decoration: none; text-underline-offset: 3px; color: #525A6B; }
.objects-active-filters:not([hidden]) { margin-bottom: 18px; }
.objects-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 15px; }
.objects-sort { display: flex; align-items: baseline; gap: 3px; font-size: 11px; color: #081330; }
.objects-count { font-size: 11px; color: #081330; }
.objects-count span { font-weight: 600; color: #081330; }
.objects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transition: opacity .2s; }
.objects-grid.is-loading { opacity: .5; pointer-events: none; }
.objects-grid__empty { grid-column: 1 / -1; text-align: center; color: #081330; padding: 30px 0; }
.property-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E6E7EA; transition: box-shadow .3s, transform .3s; min-width: 0; max-width: 100%; overflow: hidden; }
.property-card:hover .property-card__body { box-shadow: inset 0px 0px 0px 1px #081330; }
.property-card__media { position: relative; width: 100%; aspect-ratio: 4.4 / 3; overflow: hidden; }
.property-card__slider { width: 100%; height: 100%; overflow: hidden; position: relative; }
.property-card__slider--empty { background: #EEF0F3; }
.property-card__track { display: flex; width: 100%; height: 100%; transition: transform .4s ease; }
.property-card__slide { flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; }
.property-card__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-card__badges { position: absolute; top: 0; left: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; }
.property-card__badge { padding: 9px 18px; background: #081330; color: #fff; font-family: 'GilroySemibold', sans-serif; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }

button.property-card__arrow--prev {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translate(-50%);
    left: -30px;
}
button.property-card__arrow--next {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -30px;
}
.property-card:hover .property-card__arrows button.property-card__arrow--prev {
    left: 20px;
}
.property-card:hover .property-card__arrows button.property-card__arrow--next{
	right: 20px;
}


.property-card:hover .property-card__arrows { opacity: 1; pointer-events: auto; }
.property-card__arrow {transition:0.3s!important; width: 22px; height: 22px; background-size: 7px; border-radius: 50%; border: 1px solid #fff; background-color: rgba(8, 19, 48, .35); background-repeat: no-repeat; background-position: center; cursor: pointer; transition: background-color .25s; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='14' viewBox='0 0 9 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.41431 1L1.41431 7L7.41431 13' stroke='white' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e"); }
.property-card__arrow:hover { background-color: rgba(8, 19, 48, .7); }
.property-card__arrow--next { transform: scaleX(-1); }
.property-card:hover .property-card__dots { bottom: 12px;}
.property-card__dots { position: absolute; bottom: -30px; left: 0; width: 100%; display: flex; justify-content: center; gap: 7px; z-index: 2; transition:0.3s;}
.property-card__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: rgba(217, 217, 217, .55); cursor: pointer; transition: background .25s; }
.property-card__dot.is-active { background: #fff; }
.property-card__body { display: flex; flex-direction: column; padding: 10px 10px 8px; flex-grow: 1; margin-top: -1px; transition: 0.3s; }
.property-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.property-card__title-link { text-decoration: none; color: inherit; }
.property-card__title { font-family: 'GilroySemibold', sans-serif; font-weight: 600; font-size: 17px; margin: 0 0 2px; color: #081330; }
.property-card__subtitle { font-size: 12px; color: #081330; margin: 0; line-height: 1.3; }
.property-card__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.property-card__icon-btn { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #D4D5D8; border-radius: 50%; background: #fff; color: #081330; cursor: pointer; transition: background .2s, color .2s, border-color .2s; padding: 4px; }
.property-card__icon-btn:hover { background: #081330; color: #fff; border-color: #081330; }
.property-card__fav.is-active { background: #081330; color: #fff; border-color: #081330; }
.property-card__stats { display: flex; align-items: center; gap: 0px; margin-top: 6px; font-size: 15px; color: #081330; justify-content: space-between; font-family: 'GilroySemibold', sans-serif; }
.property-card__stat-sep { width: 1px; height: 16px; background: #D4D5D8; }
.property-card__divider { height: 1px; background: #E6E7EA; margin: 16px 0; }
.property-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; margin-top: auto; }
.property-card__type { font-family: 'GilroySemibold', sans-serif; font-weight: 600; font-size: 18px; color: #081330; }
.property-card__price { font-family: 'GilroySemibold', sans-serif; font-weight: 600; font-size: 18px; color: #081330; }
.property-card__price--request { font-size: 17px; color: #525A6B; }
.objects-archive__more-wrap { display: flex; justify-content: center; margin-top: 50px; }
.objects-archive__more-btn { padding: 15px 46px; background: #fff; border: 1px solid #081330; border-radius: 40px; font-family: 'Gilroy', sans-serif; font-size: 15px; letter-spacing: .5px; color: #081330; cursor: pointer; transition: background .25s, color .25s; }
.objects-archive__more-btn:hover { background: #081330; color: #fff; }
.objects-archive__more-btn.is-loading { opacity: .6; pointer-events: none; }
.objects-map { position: relative; width: 100%; height: 520px; margin-bottom: 30px; border: 1px solid #D4D5D8; background: #fff; overflow: hidden; }
.objects-map__canvas { width: 100%; height: 100%; }
.objects-map__close { position: absolute; top: 0px; right: 0px; z-index: 10; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #081330; border-radius: 0px; color: #081330; cursor: pointer; box-shadow: 0 6px 18px rgba(8, 19, 48, .18); transition: background .2s, color .2s; }
.objects-map__close:hover { background: #081330; color: #fff; }
.ymap-balloon { display: block; border-radius: 5px; width: 220px; background: #fff; overflow: hidden; text-decoration: none; color: inherit; cursor: pointer; border: none !important; transition: opacity .2s; }
.ymap-balloon:hover { opacity: .88; }
.ymap-balloon__img { width: 100%; height: 130px; object-fit: cover; display: block; }
.ymap-balloon__body { padding: 12px 10px; }
.ymap-balloon__title { display: block; font-family: 'GilroySemibold', sans-serif; font-weight: 600; font-size: 14px; color: #081330; margin-bottom: 6px; }
.ymap-balloon__price { font-family: 'GilroySemibold', sans-serif; font-weight: 600; font-size: 16px; color: #081330; }


@media (max-width: 1025px) {
.property-card .property-card__dots { bottom: 12px;}
.property-card .property-card__arrows button.property-card__arrow--prev {
    left: 20px;
}
.property-card .property-card__arrows button.property-card__arrow--next{
	right: 20px;
}
.property-card:hover .property-card__arrows button{
	pointer-events:auto
}
}


@media (max-width: 950px) {
.objects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
.objects-archive { padding: 200px 30px 80px; }
}

@media (max-width: 768px) {
.objects-archive { padding: 120px 15px 60px; }
.objects-archive__title { font-size: 26px; }
.objects-search { flex-direction: column; gap: 12px; }
.objects-search__field { width: 100%; }
.objects-search__actions-mobile { display: flex; gap: 12px; }
.objects-search__map-btn { width: 50%; justify-content: center; }
#objects-filter-mobile-toggle { display: inline-flex; width: 50%; justify-content: center; align-items: center; gap: 10px; height: 56px; background: #fff; border: 1px solid #081330; color: #081330; font-family: 'Gilroy', sans-serif; font-size: 15px; cursor: pointer; }
.objects-filters { position: fixed; top: 0; left: 0; bottom: 0; width: 95%; max-width: 95%; z-index: 9998; flex-direction: column; align-items: stretch; gap: 18px; padding: 70px 20px 30px; background: #fff; box-shadow: 4px 0 30px rgba(8, 19, 48, .2); overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; margin-bottom: 0; }
.objects-filters.is-open { transform: translateX(0); }
.objects-filters__group { min-width: 0; width: 100%; flex: none; }
.objects-filters__toggle-all { width: 100%; justify-content: center; }
.objects-filters__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #D4D5D8; border-radius: 50%; background: #fff; color: #081330; cursor: pointer; }
.objects-filters-overlay { position: fixed; inset: 0; z-index: 9997; background: rgba(8, 19, 48, .4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.objects-filters-overlay.is-open { opacity: 1; visibility: visible; }
.objects-filters__toggle-all span:before { content: "Еще фильтры"; font-size: 14px; }
.objects-filters__toggle-all span { font-size: 0px; }
}

@media (max-width:500px) {
.objects-grid { grid-template-columns: repeat(1, 1fr); }
.objects-toolbar { flex-direction: column; gap: 6px; align-items: flex-start;}
}

@media (min-width: 769px) {
.objects-search__actions-mobile { display: contents; }
#objects-filter-mobile-toggle, .objects-filters__close, .objects-filters-overlay { display: none; }
}

/* Объект без раскрытия цены (ACF price_no) */
.price-block .sidebar-price--request { font-size: 26px; }

/* Переключатель валюты на карточке объекта (single-object.php) */
.currency-switcher { position: relative; display: inline-block; vertical-align: middle; margin-left: 6px; }
.currency-switcher__trigger { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #E3E4E8; border-radius: 10px; background: #fff; padding: 5px 10px; font-family: inherit; font-size: 0.6em; line-height: 1; color: #081330; cursor: pointer; transition: border-color .2s; }
.currency-switcher__trigger:hover { border-color: #C3C5CC; }
.currency-switcher__arrow { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid #081330; transition: transform .2s; }
.currency-switcher.is-open .currency-switcher__arrow { transform: rotate(180deg); }
.currency-switcher__menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 4px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(8, 19, 48, .16); padding: 7px; z-index: 20; }
.currency-switcher.is-open .currency-switcher__menu { display: flex; }
.currency-switcher__option { border: none; background: transparent; border-radius: 12px; min-width: 42px; height: 38px; font-family: inherit; font-size: 0.55em; line-height: 1; color: #081330; cursor: pointer; transition: background .2s, color .2s; }
.currency-switcher__option:hover { background: #F2F3F5; }
.currency-switcher__option.is-active { background: #EAF1FE; color: #2F6BEA; }
.currency-switcher__option[disabled] { opacity: .4; cursor: default; }