.korpuses__additional {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.korpuses__additional__variants {
    display: flex;
    gap:6px;
    align-items: center;
    justify-content: flex-start;
}

.korpuses__additional__variants button {
    outline:none;
    border: none;
    font-family: var(--extra-font);
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    color: #57585c;
    background-color: #eef3f7;
    padding: 4px 12px;
    cursor:pointer;
}

.korpuses__additional__variants button.active , .korpuses__additional__variants button:hover {
    background-color: #212121;
    color: #fff;
}

.korpuses__additional .filter-label {
    height: fit-content;
}

/* end */

.catalog {
  max-width: var(--container);
  width: 100%;
}
@media screen and (min-width: 941px) {
  .catalog {
    margin: 130px auto 0;
  }
}
@media screen and (max-width: 940px) and (min-width: 640px) {
  .catalog {
    margin: 110px auto 0;
  }
}
@media screen and (max-width: 640px) {
  .catalog {
    margin: 40px auto 0;
  }
}
@media screen and (max-width: 1520px) and (min-width: 641px) {
  .catalog {
    padding: 0 40px 0 40px;
  }
}
@media screen and (max-width: 640px) {
  .catalog {
    padding: 0 16px;
  }
}
.catalog .section__header {
  align-items: flex-start;
  height: fit-content;
}
.catalog .section__header h1 {
  display: inline-flex;
  align-items: flex-start;
}
.catalog .section__header h1 span#flat-count {
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.02px;
  position: relative;
}
.catalog__filters {
  margin-top: 52px;
  margin-bottom: 52px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .catalog__filters {
    max-width: 964px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .catalog__filters {
    max-width: 734px;
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}
.catalog__flats {
  display: grid;
  gap: 20px;
}
@media screen and (min-width: 1141px) {
  .catalog__flats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1140px) and (min-width: 681px) {
  .catalog__flats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 680px) {
  .catalog__flats {
    grid-template-columns: repeat(1, 1fr);
  }
}
.catalog__flat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 493px;
  width: 100%;
  background-color: #ffffff;
  cursor: pointer;
  box-shadow: unset;
  transition: box-shadow 0.3s ease;
}
@media screen and (min-width: 1141px) {
  .catalog__flat {
    padding: 45px 55px 58px 63px;
  }
}
@media screen and (max-width: 1140px) and (min-width: 841px) {
  .catalog__flat {
    padding: 45px 56px 58px;
  }
}
@media screen and (max-width: 840px) and (min-width: 681px) {
  .catalog__flat {
    padding: 45px 37px 43px;
  }
}
@media screen and (max-width: 680px) {
  .catalog__flat {
    margin: auto;
    padding: 29px 33px;
  }
}
.catalog__flat:hover {
  box-shadow: 0px 20px 40px 10px #e6eaf0;
}
.catalog__flat__floor {
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.12px;
  color: var(--gray);
}
.catalog__flat__rooms {
  font-family: var(--extra-font);
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  color: #2a2a2a;
}
@media screen and (min-width: 1141px) {
  .catalog__flat__rooms {
    font-size: 20px;
  }
}
@media screen and (max-width: 1140px) and (max-width: 641px) {
  .catalog__flat__rooms {
    font-size: 18px;
  }
}
@media screen and (max-width: 640px) {
  .catalog__flat__rooms {
    font-size: 14px;
  }
}
.catalog__flat__price {
  font-family: var(--extra-font);
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0%;
  color: #2a2a2a;
}
@media screen and (min-width: 1141px) {
  .catalog__flat__price {
    font-size: 20px;
  }
}
@media screen and (max-width: 1140px) and (max-width: 641px) {
  .catalog__flat__price {
    font-size: 18px;
  }
}
@media screen and (max-width: 640px) {
  .catalog__flat__price {
    font-size: 14px;
  }
}
.catalog__flat__image {
  margin: 31px auto 51px;
}
.catalog__flat__image{
    position: relative;
    
}
.mainFlatImageHovered{
    position: absolute;
    left: 0;
    top: 0;
    transform:translate(-100%, 0);
    opacity: 0;
    transition: opacity 0.2s ease-in-out, transform 0.4s ease-in-out;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.catalog__flat__image.catalog__flat__image--hover{
    overflow: hidden;
}

@media (hover: hover) {
    /* .catalog__flat__image.catalog__flat__image--hover:hover .mainFlatImageHovered{ */
    .catalog__flat:hover .mainFlatImageHovered{ 
        transform:translate(0%, 0%);
        opacity: 1;
    }
}

@media screen and (min-width: 1441px) {
  .catalog__flat__image {
    max-width: 316px;
    max-height: 297px;
  }
}
@media screen and (max-width: 1440px) and (min-width: 1341px) {
  .catalog__flat__image {
    max-width: 284.4px;
    max-height: 267.3px;
  }
}
@media screen and (max-width: 1340px) and (min-width: 1241px) {
  .catalog__flat__image {
    max-width: 255.96px;
    max-height: 240.57px;
  }
}
@media screen and (max-width: 1240px) and (min-width: 1141px) {
  .catalog__flat__image {
    max-width: 230.364px;
    max-height: 216.513px;
  }
}
@media screen and (max-width: 1140px) and (min-width: 841px) {
  .catalog__flat__image {
    max-width: 296px;
    max-height: 280px;
  }
}
@media screen and (max-width: 840px) and (min-width: 761px) {
  .catalog__flat__image {
    max-width: 257.45px;
    max-height: 241.3px;
  }
}
@media screen and (max-width: 760px) and (min-width: 681px) {
  .catalog__flat__image {
    max-width: 208.5345px;
    max-height: 195.453px;
  }
}
.catalog__flat__image img {
  width: 100%;
  height: 100%;
}
.catalog__flat__hull {
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.12px;
  color: var(--gray);
}
.catalog__flat__expirate {
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.12px;
  color: var(--gray);
}
.catalog__flat:hover .catalog__flat__tags__item {
  background-color: #eef3f7;
  border-color: #eef3f7;
}
.catalog__flat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 23px;
}
.catalog__flat__tags__item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 30px;
  border: 1px solid #d7dbe0;
  border-radius: 80px;
  background-color: transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}
.catalog__flat__tags__item p {
  font-family: var(--main-font);
  font-weight: 300;
  line-height: 25px;
  letter-spacing: 0.2px;
  color: #2a2a2a;
  text-transform: none;
}
@media screen and (min-width: 1141px) {
  .catalog__flat__tags__item p {
    font-size: 20px;
  }
}
@media screen and (max-width: 1140px) and (max-width: 641px) {
  .catalog__flat__tags__item p {
    font-size: 18px;
  }
}
@media screen and (max-width: 640px) {
  .catalog__flat__tags__item p {
    font-size: 14px;
  }
}

.popup-box__flat {
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 1153px;
  width: 100%;
  animation: fadeInUp 0.4s ease;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  max-height: 96vh;
  height: fit-content;
  overflow-y: auto;
}
@media screen and (min-width: 941px) {
  .popup-box__flat {
    padding: 75px 62px 70px;
  }
}
@media screen and (max-width: 940px) and (min-width: 641px) {
  .popup-box__flat {
    padding: 40px;
  }
}
@media screen and (max-width: 640px) {
  .popup-box__flat {
    padding: 40px 16px;
  }
}
@media screen and (min-width: 941px) {
  .popup-box__flat {
    position: relative;
  }
}
@media screen and (max-width: 940px) {
  .popup-box__flat {
    position: absolute;
    top: 0;
  }
}

.popup-overlay.popup-overlay__flat {
  background-color: rgba(249, 250, 251, 0.7);
}
@media screen and (max-width: 710px) {
  .popup-overlay.popup-overlay__flat {
    overflow-y: auto;
    padding-bottom: 0px;
    min-height: 100dvh;
  }
}
@media screen and (min-width: 1000px) and (max-height: 800px) {
  .popup-overlay.popup-overlay__flat {
    overflow: scroll;
    padding-top: 205px;
  }
}

@media screen and (min-width: 941px) {
  .popup-box__flat .close-popup {
    top: 30px;
    right: 38px;
  }
}
@media screen and (max-width: 940px) and (min-width: 641px) {
  .popup-box__flat .close-popup {
    top: 20px;
    right: 28px;
  }
}
@media screen and (max-width: 640px) {
  .popup-box__flat .close-popup {
    right: 16px;
    top: 12px;
  }
}

.popup-box__flat .section__header {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 710px) {
  .popup-box__flat .section__header {
    flex-direction: column;
    gap: 0;
  }
}

.popup-box__flat .section__header h3 {
  font-family: var(--main-font);
  font-size: var(--font-size-heading);
  font-weight: 400;
  line-height: 70px;
  letter-spacing: 0.7px;
  color: #2d2d2d;
  line-height: 0.75;
}

.popup-box__flat .section__header .section__header__price {
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 40px;
  line-height: 70px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #2d2d2d;
}

.modal__flat__info {
  display: flex;
  margin-right: auto;
  margin-left: 10px;
  gap: 25px;
}
@media screen and (max-width: 710px) {
  .modal__flat__info {
    flex-direction: column;
    gap: 0;
    align-items: baseline;
  }
}
@media screen and (min-width: 481px) {
  .modal__flat__info {
    margin-top: 20px;
  }
}
@media screen and (max-width: 480px) {
  .modal__flat__info {
    margin-top: 10px;
  }
}

.modal__flat__info p {
  font-family: var(--extra-font);
  font-weight: 400;
  color: #2a2a2a;
}
@media screen and (min-width: 481px) {
  .modal__flat__info p {
    font-size: 20px;
    line-height: 25px;
  }
}
@media screen and (max-width: 480px) {
  .modal__flat__info p {
    font-size: 14px;
    line-height: 25px;
  }
}

.modal__flat__info .separator {
  width: 1px;
  height: 25px;
  background-color: #d7dbe0;
}
@media screen and (max-width: 710px) {
  .modal__flat__info .separator {
    display: none;
  }
}

.modal__flat__inside {
  display: flex;
  margin-right: auto;
  gap: 10px;
  margin-top: 17px;
}

.modal__flat__image {
  max-height: 390px;
  margin-top: 22px;
  margin-bottom: 15px;
}
@media screen and (max-width: 480px) {
  .modal__flat__image {
    width: 100%;
  }
}

.modal__flat__image img {
  max-height: 390px;
}
@media screen and (max-width: 680px) {
  .modal__flat__image img {
    width: 100%;
    object-fit: contain;
  }
}

.modal__flat__buttons {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

@media screen and (max-width: 940px) {
  .modal__flat__buttons {
    flex-direction: column;
  }
}

@media screen and (min-width: 941px) {
  .modal__flat__buttons .btn {
    min-width: 313px;
  }
}
@media screen and (max-width: 940px) {
  .modal__flat__buttons .btn {
    padding: 15px 20px;
    min-width: 220px;
  }
}

.popup-modal__flat .modal__flat__variants {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.popup-modal__flat .modal__flat__variants .modal__flat__variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid black;
  width: 100%;
}
.popup-modal__flat .modal__flat__variants .modal__flat__variant__info {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 1025px) {
  .popup-modal__flat .modal__flat__variants .modal__flat__variant__info {
    justify-content: space-between;
  }
}
@media screen and (max-width: 1024px) {
  .popup-modal__flat .modal__flat__variants .modal__flat__variant__info {
    width: 100%;
    justify-content: center;
  }
}
@media screen and (max-width: 540px) {
  .popup-modal__flat .modal__flat__variants .modal__flat__variant__info {
    flex-direction: column;
  }
}
@media screen and (max-width: 1024px) {
  .popup-modal__flat .modal__flat__variants .modal__flat__variant {
    flex-wrap: wrap;
  }
}
.popup-modal__flat .modal__flat__variants .modal__flat__variant p {
  font-family: var(--extra-font);
  font-weight: 400;
  color: #2a2a2a;
  font-size: 20px;
  line-height: 25px;
}

.modal__flat__variant__buttons {
  display: flex;
  gap: 20px;
}
.modal__flat__variant__buttons .btn {
  height: fit-content;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
@media screen and (max-width: 1024px) {
  .modal__flat__variant__buttons {
    width: 100%;
    justify-content: center;
  }
}
@media screen and (max-width: 540px) {
  .modal__flat__variant__buttons {
    flex-direction: column;
  }
}

.catalog__pagination {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}
@media screen and (max-width: 640px) {
  .catalog__pagination {
    flex-direction: column;
    gap: 40px;
  }
}

#pagination {
  display: flex;
  gap: 10px;
}
#pagination button {
  border: 1px solid var(--black);
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  background-color: transparent;
  color: var(--black);
}
@media screen and (min-width: 641px) {
  #pagination button {
    padding: 20px 30px;
  }
}
@media screen and (max-width: 640px) {
  #pagination button {
    padding: 5px 15px;
  }
}
#pagination button span {
  font-family: var(--main-font);
  font-weight: 400;
  line-height: 30px;
  font-size: clamp(16px, 2.5vw, 25px);
  color: var(--black);
}
#pagination button.active {
  background-color: var(--black);
  color: #fff;
  border-color: #fff;
}
#pagination button:hover:not(.active) {
  background-color: #eef3f7;
}

@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .counts-of-room {
    max-width: 470px;
    width: 100%;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .counts-of-room {
    max-width: 355px;
    width: 100%;
  }
}
.counts-of-room__buttons {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}
.counts-of-room__buttons button {
  padding: 24px 32px;
  font-family: var(--extra-font);
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: #eef3f7;
  color: #000000;
}
.counts-of-room__buttons button:hover {
  background-color: #212121;
  color: #fff;
}
.counts-of-room__buttons button.active {
  background-color: #212121;
  color: #fff;
}

.filter-label {
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 1%;
  color: #57585c;
  height: 25px;
  user-select: none;
}

.korpus__call {
  display: flex;
  height: fit-content;
  margin-top: 25px;
}
@media screen and (min-width: 1521px) {
  .korpus__call {
    max-width: 400px;
    width: 100%;
  }
}
@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .korpus__call {
    max-width: 470px;
    width: 100%;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .korpus__call {
    max-width: 355px;
    width: 100%;
  }
}

.range__slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #d7dbe0;
  padding: 10px 28px 19px;
}
@media screen and (min-width: 1521px) {
  .range__slider {
    max-width: 400px;
  }
}
@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .range__slider {
    max-width: 470px;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .range__slider {
    max-width: 355px;
    width: 100%;
  }
}
.range__slider .noUi-target {
  border: none;
  box-shadow: none;
  background-color: #979797;
  height: 4px;
}
.range__slider .noUi-horizontal .noUi-handle {
  right: 0;
  background-color: #2c2c2c;
  width: 18px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  height: 18px;
  top: -7px;
  cursor: pointer;
}
.range__slider .noUi-horizontal .noUi-handle::before {
  display: none;
}
.range__slider .noUi-horizontal .noUi-handle::after {
  display: none;
}
.range__slider .noUi-connect {
  background-color: #2c2c2c;
}
.range__values {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  color: #57585c;
  user-select: none;
}

.catalog__flats--no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}
.catalog__flats--no-result .btn--reset {
  max-width: fit-content;
}
@media screen and (min-width: 1140px) {
  .catalog__flats--no-result {
    grid-column: 1/4;
  }
}
@media screen and (max-width: 1140px) and (min-width: 681px) {
  .catalog__flats--no-result {
    grid-column: 1/3;
  }
}
@media screen and (max-width: 680px) {
  .catalog__flats--no-result {
    grid-column: 1/2;
  }
}
.catalog__flats--no-result p {
  color: #353535;
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: 1%;
  max-width: 600px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.03px;
}

.js-dropdown-list li, .js-link {
  transition: background 0.35s ease;
}

@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .sort {
    max-width: 470px;
    width: 100%;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .sort {
    max-width: 355px;
    width: 100%;
  }
}

.dropdown {
  width: 100%;
  border: 0.1em solid #d7dbe0;
  max-width: 246px;
  min-width: 245px;
  margin-top: 12px;
  position: relative;
}

.js-link {
  display: flex;
  justify-content: space-between;
  padding: 12px 21px;
  align-items: center;
  text-decoration: none;
}
.js-link span {
  color: #57585c;
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 1%;
}
.js-link:focus, .js-link:hover {
  background: #ecf0f1;
}
.js-link:active {
  background: #fbfcfc;
}

.js-link.opened ~ .js-dropdown-list {
  display: block;
  z-index: 9;
}

/*List*/
.js-dropdown-list {
  position: absolute;
  list-style-type: none;
  background-color: #eef3f7;
  width: 100%;
  padding-left: 21px;
}

.js-dropdown-list {
  display: none;
  border-top: 0.1em solid #c0cdd1;
}

.js-dropdown-list li {
  padding: 0.5em;
  cursor: pointer;
  color: #57585c;
  font-family: var(--extra-font);
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1%;
}
.js-dropdown-list li:not(:first-child) {
  border-top: 0.1em dashed #dde4e6;
}
.js-dropdown-list li:last-child {
  color: #ad0000;
}
.js-dropdown-list li:focus, .js-dropdown-list li:hover {
  background: #ecf0f1;
}
.js-dropdown-list li:active {
  background: #fbfcfc;
}

.reset__static {
  margin-top: 25px;
  margin-right: 0;
  margin-left: auto;
  display: flex;
}
@media screen and (min-width: 1521px) {
  .reset__static {
    max-width: 400px;
  }
}
@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .reset__static {
    max-width: 470px;
  }
}
@media screen and (max-width: 813px) {
  .reset__static {
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .reset__static {
    max-width: 355px;
    width: 100%;
  }
}

.union__flats {
  margin-top: 45px;
}
@media screen and (min-width: 1521px) {
  .union__flats {
    max-width: 400px;
    width: 100%;
  }
}
@media screen and (max-width: 1520px) and (min-width: 1140px) {
  .union__flats {
    max-width: 470px;
    width: 100%;
  }
}
@media screen and (max-width: 1139px) and (min-width: 769px) {
  .union__flats {
    max-width: 355px;
    width: 100%;
  }
}

.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: var(--extra-font);
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 1%;
}

/* Hide the browser's default checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.custom-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.custom-checkbox input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #57585C;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.building {
  width: 100%;
  height: auto;
  max-width: 1520px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: none;
}
@media screen and (max-width: 640px) {
  .building {
    display: none;
  }
}
@media screen and (max-width: 1520px) and (min-width: 641px) {
  .building {
    padding: 0 36px 0 36px;
    overflow-y: scroll;
  }
}
.building.active {
  display: block;
}
.building__map {
  position: absolute;
}
@media screen and (max-width: 640px) {
  .building__map {
    margin-top: 40px;
  }
}
@media screen and (min-width: 1521px) {
  .building__map {
    top: -4px;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 1520px) and (min-width: 1121px) {
  .building__map {
    left: 36px;
    top: 0px;
    width: 1520px;
    height: 857px;
  }
}
@media screen and (max-width: 1120px) and (min-width: 941px) {
  .building__map {
    left: 36px;
    top: 0%;
    width: 1520px;
    height: 857px;
  }
}
@media screen and (max-width: 940px) and (min-width: 841px) {
  .building__map {
    left: 36px;
    top: 0%;
    width: 1520px;
    height: 857px;
  }
}
@media screen and (max-width: 840px) and (min-width: 641px) {
  .building__map {
    left: 36px;
    top: 0%;
    width: 1520px;
    height: 857px;
  }
}
@media screen and (max-width: 640px) and (min-width: 541px) {
  .building__map {
    width: 100%;
    bottom: 5px;
  }
}
@media screen and (max-width: 540px) and (min-width: 481px) {
  .building__map {
    width: 100%;
    bottom: 5px;
  }
}
@media screen and (max-width: 480px) {
  .building__map {
    width: 100%;
    bottom: 5px;
  }
}
@media screen and (max-width: 1520px) and (min-width: 641px) {
  .building__background {
    width: 1520px;
    height: 857px;
  }
}
.building__background img {
  width: 100%;
  object-fit: cover;
}
.building .house__number {
  pointer-events: all;
  cursor: pointer;
}
path.house__number.house__number--active {
    stroke: #ff000054;
    fill: #ff000054;
}
@media screen and (min-width: 1121px) {
  .building .house__number {
    fill: none;
  }
  .building .house__number:hover {
    animation: house 2s linear infinite;
  }
}
@media screen and (max-width: 1120px) {
  .building .house__number {
    fill: none;
  }
}
@keyframes house {
  0% {
    fill: transparent;
  }
  50% {
    fill: rgba(255, 0, 0, 0.5);
  }
  100% {
    fill: transparent;
  }
}
.building .house__number--wrapper {
  background-color: red;
  z-index: 100;
  position: relative;
}
.building .house__number--tooltip {
  position: absolute;
  height: fit-content;
  width: fit-content;
  background-color: #fff;
  border-radius: 5px;
  font-family: var(--extra-font);
  font-weight: 300;
  letter-spacing: 1%;
  color: var(--black);
}
@media screen and (min-width: 641px) {
  .building .house__number--tooltip {
    padding: 10px 15px;
    font-size: 12px;
    line-height: 20px;
  }
}
@media screen and (max-width: 640px) {
  .building .house__number--tooltip {
    padding: 6px 3px;
    font-size: 10px;
    line-height: 16px;
  }
}
.building__wrapper {
  display: none;
}
@media screen and (min-width: 641px) {
  .building__wrapper {
    margin-top: 130px;
  }
}
@media screen and (max-width: 640px) {
  .building__wrapper {
    margin-top: 40px;
  }
}
.building__wrapper.active {
  display: block;
}
.building__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 641px) {
  .building__header {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 640px) {
  .building__header {
    margin-bottom: 20px;
    padding: 0 16px;
    text-align: center;
  }
}
.building__header h2 {
  text-transform: uppercase;
  font-family: var(--main-font);
  font-size: var(--font-size-heading);
  font-weight: 400;
  color: #2d2d2d;
}
.building__header p {
  font-family: var(--extra-font);
  font-weight: 400;
  color: #2a2a2a;
}
@media screen and (min-width: 481px) {
  .building__header p {
    font-size: 20px;
    line-height: 25px;
  }
}
.building__hide {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  max-width: fit-content;
}
.building__hide a {
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 0.25px;
  text-align: center;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: #000000;
  transition: color 0.3s ease;
  text-underline-offset: 5px;
}
.building__hide a:hover {
  color: #e5af88;
}

/* added */
.modal__flat__image {
    width: 100%;
}


.modal__flat__variables__wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    
}

@media screen and (min-width:1281px){
    .modal__flat__variables__wrapper{
        gap: 41px;
    }
}

@media screen and (max-width:1280px){
    .modal__flat__variables__wrapper{
        flex-direction: column;
        align-items: center;
        gap:30px;
    }
}

.modal__flat__variables__wrapper .modal__flat__buttons .btn{
    padding: 26px 42px;
}

.modal__flat__variables {
    display: flex;
    gap: 24px;
    width: 100%;
    box-shadow: inset 0 4px 20px 0 rgba(182, 191, 197, 0.3);
    background: #fff;
    /* padding: 10px 0; */
    /* margin: 20px 0 50px; */
    align-items: center;
    justify-content: flex-start;
    border-radius: 70px;
    padding: 6px;
}

.modal__flat__variables.modal__flat__variables--group .btn-plan {
    width: 50%;
}

.btn-plan {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    height: 100%;
    color: #989898;
    /* padding-top: 20px;
    padding-bottom: 20px; */
    /* padding: 10px 20px; */
    text-decoration: none;
    /* text-transform: capitalize; */
    font-family: var(--extra-font);
    font-weight: 400;
    /* line-height: 30px; */
    
    
    /* border: 1px solid var(--black); */
    outline: none;
    transition: 0.3s ease;
    cursor: pointer;
    border-radius: 70px;
    border:1px solid transparent;
    /* gap: 8px; */
    /* width: 33%; */
    letter-spacing: 0.01em;
}

@media screen and (min-width:769px){
    .btn-plan {
        width: 33%;
        font-size: 18px;
        padding-top: 20px;
        padding-bottom: 20px;
        line-height: 139%;
    }
    .modal__flat__variables {
        margin-top: 30px;
    }
}


@media screen and (max-width:768px){
    .btn-plan {
        width: fit-content;
        font-size: clamp(0.625rem, 0.2679rem + 1.7857vw, 1.125rem);
        line-height: 140%;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .modal__flat__variables{
        justify-content: space-between;
        gap:10px;
        margin-top: 15px;
    }
}

@media screen and (max-width:490px){
    .btn-plan {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.btn-plan:hover {
    /* background-color: var(--body); */
    /* border-color:#d7dbe0; */
    border-color:#fff;
    box-shadow: 0 10px 30px 0 rgba(146, 160, 165, 0.3);
    background-color: transparent;
}
.btn-plan.active {
    background-color: #fff;
    border-color:#fff;
    color: #2c2c2c;
    box-shadow: 0 20px 50px 0 rgba(146, 160, 165, 0.3);
}


.modal__flat__buttons.modal__flat__buttons__group .btn {
    /* margin-top: 40px; */
}

.modal__flat__image a[data-fancybox]{
    cursor: url('/template/images/magnifying.svg') 16 16, zoom-in;
}

.modal__flat__image a[data-fancybox="mainFloorImages"] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal__flat__image a[data-fancybox="mainFloorImages"] svg{
    position: absolute;
    top:0;
    max-width:585px;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
}


.planoplan{
    width:100%; height:400px; z-index:10;
}


.f-panzoom__content + svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
}

.f-panzoom__viewport svg path,
.modal__flat__image a[data-fancybox="mainFloorImages"] svg path{
    opacity: 0.85;
    fill: #ffffff;
}
.f-panzoom__viewport svg path.this__flat,
.modal__flat__image a[data-fancybox="mainFloorImages"] svg path.this__flat{
    fill: transparent;
    /* stroke: #f9cbaa;
    stroke-width:20px; */
    animation: activeFlat 5s infinite;
}

@keyframes activeFlat {
	0%{
	    stroke: #fff;
	    stroke-width:00px;
	}
	30%{
	    stroke: #f9cbaa;
	    stroke-width:20px;
	}
	50%{
	    stroke: #f9cbaa;
	    stroke-width:10px;
	}
	80%{
	    stroke: #f9cbaa;
	    stroke-width:20px;
	}
	100% {
		stroke: #fff;
		stroke-width:00px;
	}

}

.link__group__fancy,
.link__group__fancy:visited {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--extra-font);
    font-weight: 400;
    color: #2c2c2c;
    transition: color .3s ease;
    text-decoration: none;
}
@media screen and (min-width:769px){
    .link__group__fancy,
    .link__group__fancy:visited{
        font-size: 18px;
    }
}

@media screen and (max-width:768px){
    .link__group__fancy,
    .link__group__fancy:visited{
        font-size: 16px;
    }
}

.link__group__fancy:hover,
.link__group__fancy:focus {
    color: #989898;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}
.swiper__controls {
  display: flex;
  position: relative;
  width: fit-content;
  height: fit-content;
  gap: 18px;
  margin-left: auto;
}

.swiper__controls-prev .icon__prev {
  fill: #212121;
  transition: fill 0.3s ease;
  width: 61px;
  height: 8px;
  cursor: pointer;
}
.swiper__controls-prev .icon__prev:hover {
  fill: #F5C4A0;
}
.swiper__controls-prev.swiper-button-disabled .icon__prev {
  fill: #a3a1a1;
  cursor: auto;
}
.swiper__controls-prev.swiper-button-disabled .icon__prev:hover {
  fill: #a3a1a1;
}

.swiper__controls-next .icon__next {
  fill: #212121;
  transition: fill 0.3s ease;
  width: 61px;
  height: 8px;
  cursor: pointer;
}
.swiper__controls-next .icon__next:hover {
  fill: #F5C4A0;
}
.swiper__controls-next.swiper-button-disabled .icon__next {
  fill: #a3a1a1;
  cursor: auto;
}
.swiper__controls-next.swiper-button-disabled .icon__next:hover {
  fill: #a3a1a1;
}

.additionalsImagesSwiper-controlls {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 0;
  
}




.swiper-pagination.additionalsImagesSwiper-pagination{
    position: relative;
    bottom: 0;
    margin-left: 140px;
    
}
.additionalsImagesSwiper-pagination .swiper-pagination-bullet {
  width: 18px;
  height: 8px;
  background-color: #a3a1a1;
  opacity: 0.4;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.additionalsImagesSwiper-pagination .swiper-pagination-bullet-active {
  width: 36px;
  height: 8px;
  background-color: #F5C4A0;
  opacity: 1;
  border-radius: 4px;
}

@media screen and (max-width:672px){
   .additionalsImagesSwiper-controlls .swiper__controls {
       display: none;
   } 
   .swiper-pagination.additionalsImagesSwiper-pagination{
       margin-left: 0;
       display: flex;
   }
   .additionalsImagesSwiper-pagination .swiper-pagination-bullet {
       width: 30%;
   }
   .additionalsImagesSwiper-pagination .swiper-pagination-bullet-active {
       width: 70%;
   }
}




/*# sourceMappingURL=catalog.css.map */