:root {
--zoomist-slider-button-color: #00d959 !important;
}

/*
0% {
    transform: scale(1);
}

50% {
    transform: scale(1.1) !important;
}*/


@font-face {
  font-family: "Roboto Regular";
  src: url("TenorSans-Regular.ttf");
}

@font-face {
    font-display: swap;
    font-family: TT Neoris;
    font-style: normal;
    font-weight: 400;
    src: url(TT_Neoris_Regular.woff2) format("woff2")
}

@font-face {
    font-display: swap;
    font-family: TT Neoris;
    font-style: normal;
    font-weight: 500;
    src: url(TT_Neoris_Medium.woff2) format("woff2")
}

@font-face {
    font-display: swap;
    font-family: TTDrugs;
    font-style: normal;
    font-weight: 400;
    src: url(TT_Drugs_Regular.woff2) format("woff2")
}

@font-face {
    font-display: swap;
    font-family: TTDrugs;
    font-style: normal;
    font-weight: 500;
    src: url(TT_Drugs_Medium.woff2) format("woff2")
}

.ui-state-default {
  background: none !important;
}

.filters-catalog__header {
  padding: 10px;
}

.filters-catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* или margin между элементами */
  justify-content: flex-start;
  align-items: flex-start;
}

.filters-catalog__child {
  flex: 0 0 auto; /* не растягивать и не сжимать */
  min-width: 200px; /* минимальная ширина карточки */
  max-width: 300px; /* максимальная ширина карточки */
  background: gray;
}
.selector__legend {
    font-size: clamp(.625rem, .625rem, .625rem);
    color: #2c302d99;
    margin-bottom: 10px;
    text-transform: uppercase;
}



.selector__header {
    align-items: center;
    background-color: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 150px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    height: 50px;
    padding: 12px 1.3888888889vw;
}

@media (min-width: 1440px) {
    .filters-tag__text, .t-2, .t-2-m {
        font-size: clamp(.9375rem, calc(.20833vw + .75rem), 1rem);
    }
}

.selector__selected {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}


.t-2-m {
    font-weight: 500;
    font-size:10.5px;
}
.filters-tag__text, .t-2, .t-2-m {
    font-family: TT Neoris, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.2;
}

.selector__icon {
    aspect-ratio: 1 / 1;
    width: 12px;
    stroke: rgba(44, 48, 45, .6);
    margin-left: auto;
    width: 40px;
    transition: transform .3s ease-in-out;
}
* {
    box-sizing: border-box;
}




.infRoomTooltip .t-2-m {
    font-size: 14px;
    color: rgba(44, 48, 45, .8);
}
.infRoomTooltip .h-5 {
    font-size: 13px;
    color: rgba(44, 48, 45, .6);
    text-transform: uppercase;
    font-family: TTDrugs, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

/* ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СЕЛЕКТОРОВ */
.custom-select {
  position: relative;
  width: 280px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 16px;
}

.select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;

  border-radius: 150px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

/*.select-header:hover {
  border-color: #3b82f6;
}*/

.custom-select.open .select-header {
/* border-color: #2e8bc6;
  box-shadow: 0 0 0 3px rgba(46, 139, 198, 0.1);*/
}

.select-input:checked~.option-text {
    color: #2e8bc6
}

.select-value {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}

.select-arrow {
  width: 16px;
  height: 16px;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.select-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select.open .select-dropdown {
  display: block;
  animation: slideDown 0.2s ease-out;
}

.select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}

.select-option:last-child {
  border-bottom: none;
}

.select-option:hover {
  background-color: #f9fafb;
}

.select-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-text {
  font-size: 14px;
  color: #1f2937;
  flex-grow: 1;
}

/* RADIO СТИЛИ */
.radio-select {
  width: 280px;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.radio-select .select-input:checked ~ .radio-custom {
  border-color: #2e8bc6;
  background-color: #2e8bc6;
}

.radio-select .select-input:checked ~ .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.zoomist-container {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  max-width: 100%;
}
.zoomist-slider {
  left: calc(50% - 60px) !important;

}
.zoomist-image {
  width: 100%;
  aspect-ratio: 1;
}

.zoomist-wrapper {
 /* overflow: visible !important;*/
  background-color: transparent !important;
}
.zoomist-zoomer {
    position: absolute;
    z-index: 2;
    top: 0;
    right: -1x !important;
    border-radius: 0 0 0 4px;
    overflow: hidden;
}

.zoomist-image img {
  width: 50%;
  object-fit: cover;
  object-position: center;
}
.radio-select .select-option:has(.select-input:checked) {
  background-color: #f0f8ff;
}

/* CHECKBOX СТИЛИ */
.checkbox-select {
  width: 200px;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: white;
}

.checkbox-select .select-input:checked ~ .checkbox-custom {
  border-color: #2e8bc6;
  background-color: #2e8bc6;
}

.checkbox-select .select-input:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.checkbox-select .select-option:has(.select-input:checked) {
  background-color: #f0f8ff;
}

/* Disabled states */
.select-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f9fafb;
}

.select-option.disabled:hover {
  background-color: #f9fafb;
}

/* Анимация */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 640px) {
  .custom-select {
    width: 100%;
  }
  
  /*.select-dropdown {
    position: fixed;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
  }*/
}
.preloader__progress {
    color: #00d959;
    font-size: 42px;
    font-weight: bold;
    font-family: 'TTDrugs';
    width: 200px;
}

@media (max-width: 1000px) {
  .preloader__progress {
      /*text-align: left;*/
       font-size: 30px;
  }
}

@media (max-width: 600px) {
  .preloader__progress {
      /*text-align: left;*/
      font-size: 20px;
  }

}




.range-slider-inputs {
    background-color: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 150px;
    display: flex;
    height: 50px;
    justify-content: space-between;
    overflow: hidden;
    padding: 10px 20px;
}

.range-slider__input-robe {
    align-items: center;
    display: flex;
    width: 50%;
    border: none;
    z-index: 1;
}

.range-slider__input-robe:last-child {
    padding-left: 5px;
    position: relative;
}

.range-slider__input {
    border: none;
    outline: none;
    font-size: 1.1rem;
    width: 100%;
}

.range-slider__input:focus {
  box-shadow: none;
  transition: all 0.3s ease;
}


.handle-label {
    line-height: 26px;
    text-align: center;
    position: relative;
    top: -1px !important;
    /* left: 7px !important; */
    height: 10px !important;
    width: 10px !important;
    /* color: #ebe2d6; */
    background-color: #00d959 !important;
    border-radius: 50%;
    border: none;
    font-size: 10px !important;
    font-family: "involve";
}

.ui-slider-handle-round {
    top: -8px;
    margin-left: -10px;
    transition: background 0.3s;
    font-size: 10px !important;
    -webkit-tap-highlight-color: transparent; /* Убирает подсветку при тапе (Android/Chrome) */
    border:none !important;
}
.ui-widget.ui-widget-content {
    border: none !important;
}
.ui-widget-content {
    background: #bfbcbc !important;
    color: #333333;
}

.ui-slider-horizontal {
    height: 1px !important;
}
.ui-widget-header {
    background: #000000 !important;
}

.ui-slider-handle-round-m {
    top: -8px;
    margin-left: -10px;
    transition: background 0.3s;
    font-size: 10px !important;
    -webkit-tap-highlight-color: transparent; /* Убирает подсветку при тапе (Android/Chrome) */
    border:none !important;
}

.button {
    border-radius:20px;
    background-color: #695954;
    color: #ebe2d6 !important;
    font-family: 'involve';
}


.checkbox-group__checkboxes {
    display: flex;
    gap: 5px;
}

.checkbox-filled {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 5px;
}
.checkbox-filled__input {
    opacity: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
}
.checkbox-filled__input:checked~.checkbox-filled__title {
  background-color: #2c302d;
  color: #fff;
}
.checkbox-filled__title {
  align-items: center;
  background-color: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 150px;
  color: #2c302d;
  display: flex;
  justify-content: center;
  min-height: 50px;
  min-width: 50px;
  transition: color .3s,background-color .3s;
  width: 100%;
}

.checkbox-filled:has(.checkbox-filled__input:disabled) {
    cursor: not-allowed;
    opacity: .4;
}

.tag.bordered {
    border-color: #2c302d;
    color: #2c302d;
}
.tag.bordered svg {
    stroke: #2c302d;
}
.tag__icon {
    align-self: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.infRoom .t-2 {
    font-size: .8333333333vw;
}

.infRoom .tag {
    align-items: baseline;
    border: 1px solid;
    border-radius: 100px;
    column-gap: .5vw;
    display: flex;
    padding: .35vw 20px;
    width: fit-content;
}

.infRoom .apartment-card__col-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.active-link{
  color: #fff !important;
}


/* Стили кнопки */
.link-button {
    align-items: center;
    background-color: var(--f);
    border-radius: calc(var(--4b) + var(--33)/2);
    color: var(--7);
    display: inline-flex;
    gap: var(--1s);
    overflow: hidden;
    padding: var(--4b) var(--4c) var(--4b) var(--4b);
    position: relative;
    transition: color .3s ease-in-out, background-color .3s ease-in-out;
    text-decoration: none;
    width: fit-content;
}

.link-button__icon.round-icon {
    align-items: center;
    background-color: var(--b);
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    height: var(--33);
    justify-content: center;
    transition: background-color .3s ease-in-out;
    width: var(--33);
}

.link-button__icon.round-icon img {
    height: var(--38);
    min-width: var(--38);
    transition: filter .3s ease-in-out;
}

.link-button__text {
    white-space: nowrap;
    color: white;
    transition: color 0.3s ease;
}

/* Состояние hover */
.link-button.hover-swipe {
    background-color: transparent;
    transition: color .3s ease-in-out;
}

.link-button:hover .link-button__text {
    color: black;
}

/* Активное состояние - сохраняет зеленое выделение */
.link-button.active-link {
    color: black !important;
}

.link-button.active-link:before {
    transform: translateX(0) !important;
}

.link-button.active-link .link-button__text {
    color: black !important;
}

.link-button.active-link .link-button__icon.round-icon {
    background-color: var(--b); /* Зеленый цвет сохраняется */
}

/* Псевдоэлемент для анимации */
.link-button.hover-swipe:before {
    background-color: var(--z);
    border-radius: calc(var(--33)/2);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transform: translateX(calc(var(--33) - 100%));
    transform-origin: left;
    transition: transform .3s ease-in-out;
    width: 100%;
    will-change: transform;
    z-index: -1;
}

.link-button.hover-swipe:hover {
    color: var(--7);
}

.link-button.hover-swipe:hover:before {
    transform: translateX(0);
}

/* Текст кнопки */
.t-buttons-default {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
}

.t-2 {
    font-family: TT Neoris, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.small {
    --4b: 0px;
    --4c: 15px;
}

.h-3 {
    font-family: TTDrugs, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;

}
.char {
    color:#00dd42;
    font-size: 36px;
    will-change: transform, opacity;
    font-family: Roboto Regular, Arial, sans-serif;
    visibility: hidden;
}

@media (width < 1200px){
  .char {
      font-size: 22px;
  }
}

@media (width < 900px){
  .char {
      font-size: 16px;
  }
}
@media (width < 900px){
  .preloader__img-wrapper {
      height: 150px  !important;
  }
}
@media (width < 600px){
  .preloader__img-wrapper {
      height: 120px !important;
  }
}





._preloader-done .preloader {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    align-items: end;
    bottom: 0;
    display: flex;

    height: 300px;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;

}

.preloader__img-wrapper {
    height: 225px;
    width: 252px; 
    position: relative;
    overflow: hidden;
}



/* Анимация для изображений */
.infinite-img__wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    /*animation: spriteAnimation 8s steps(10) infinite;*/
    animation: spriteAnimation 1s steps(10) infinite;
}

.infinite-img__wrapper img {
   /* width: 223px;*/
    width: 210px;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes spriteAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1000%);
    }
}


.anchor-widget__logo {
  height: 42px;
  width: 44px;
  fill: #ffffff;
}
.mr-text{
  width:112px;
  height: 42px;
  margin-left:-50px
}

.mr-line{
    width: 136px;
    margin-left: -58px;
    height: 45.9px;
}
.mr-logo{
  height: 42px;
  width: 44px;
  fill: #ffffff;
}
.anchor-widget__link {
    width: fit-content;
}


 /* Стили для anchor-widget */
 .anchor-widget {
     -webkit-backdrop-filter: blur(8px);
     /*backdrop-filter: blur(8px);*/
     color: var(--7);
     display: flex;
     flex-direction: column;
     gap: 15px;
     padding: 30px 30px;
     max-width: 345px;
 }
.filter_b{
  background: hsla(0,0%,59%,.3);
  border-radius: 16px;
  overflow: hidden; 
  height: 211px;
  backdrop-filter: blur(8px);
}
 .anchor-widget__link {
     width: fit-content;
 }

 .anchor-widget__logo {
     height: 42px;
     width: 44px;
     fill:rgb(244 244 244);
 }



 /* Regular CSS rules here*/

 
 .anchor-widget__text {
     color: currentColor;
     width: 100%;
     margin: 0;
     font-family: Arial, sans-serif;
     font-size: 14px;
     font-weight: 400;
     line-height: 1.2;
 }

  .load_img {
      min-width: 2560px;
      min-height: 1520px;
      height: 100%;
      width: 100%;
      object-fit: cover;
    }

@media screen and (max-width: 920px) { /* Адаптация для мобильных устройств */
    .load_img {
      min-width: 100vw;
      min-height: 100vh;
    }
}


@media screen and (max-width: 768px) { /* Адаптация для мобильных устройств */
    .load_img {
      min-width: 1000px;
      min-height: 593px;
    }
}

@media only screen and ((hover: none) or (pointer: coarse)){
  .zoomist-zoomer {
      right: -23px !important;
  }
  /*.zoomist-wrapper{
    width: 100vw !important;
    height: 100vh !important;
  }*/
  :root {
    --33: 20px;
    --38: 9px;
  }

  .link-button__text {
    font-size: 11px;
  }

  .filter_b{
    height: 40px;
    left: 7px;
    width: 43% !important;
    max-width: 200px;
    transition: height 0.5s ease-in-out !important;
  }

  .anchor-widget {
    padding: 0px 15px;
  }

  .anchor-widget__link {
      width: 50px;
      padding-bottom: 0px;
      height: 31px;
  }
  
  .anchor-widget__logo {
    height: 42px;
    width: 24px;
    fill: rgb(244 244 244);
  }
  #filter-dropdown {
      width: 95%;
      height: 179px;
  }
  .mr-text{
    width: 57px;
    margin-left: -32px;
  }
  .mr-line{
    margin-left: -37px;
    width: 77px;
    height: 41px;
  }
  .mr-logo{
    width: 24px;
  }


        
}