@font-face {
  font-family: "rawline";
  src: url("../fonts/rawline-400.eot");
  src: url("../fonts/rawline-400.eot?#iefix") format("embedded-opentype"),
  url("../fonts/rawline-400.woff2") format("woff2"),
  url("../fonts/rawline-400.woff") format("woff"),
  url("../fonts/rawline-400.ttf") format("truetype"),
  url("../fonts/rawline-400.svg") format("svg");
  font-weight: 400;
  font-style: normal;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  /* margin-bottom: 10px; */
  margin-left: 10px;
}

.custom-checkbox .checkbox {
  margin-right: 10px;
  position: relative;
  width: 15px;
  height: 15px;
  background: url(../img/choice_icons.svg) no-repeat;
  flex-shrink: 0;
}

.custom-checkbox input {
  -webkit-appearance: none;
  position: absolute;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  display: none;
}

.custom-checkbox input:checked ~ .checkbox .checkmark {
  display: block;
}

.custom-checkbox input:checked ~ .params-house {
  font-weight: bold;
}
[data-pagination] {
  position: relative;
  .page-pagination {
    font-family: "rawline", sans-serif;
    top: 50%;
    position: absolute;
    right: 0;
    .page-pagination__current {
      font-size: 1.4em;
      margin-right: 10px;
    }
    .page-pagination__total {
      letter-spacing: 1px;
    }
  }
}
.ranges__nums,
.check-flat__params span {
  font-weight: 100;
  font-family: "rawline", sans-serif;
}

[data-form-thanks] {
  width: 100%;
  height: 100%;
  background: #fff;
  font-size: 1.4em;
  pointer-events: none;
}

.footer__bottom * {
  font-size: 12px;
}
.check-desc__floor img {
  height: clamp(400px, 90vh, 600px);
}

[name="email"] {
  display: none;
}

.d-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.flex-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.justify-content-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.justify-content-around {
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.justify-content-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.justify-content-start {
  -webkit-box-pack: flex-start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
}
.justify-content-end {
  -webkit-box-pack: flex-end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: flex-end;
  justify-content: flex-end;
}
.align-items-top {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.align-items-bottom {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.align-items-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.align-items-start {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

/** genplan */
.check-desc__right-col {
  height: 100%;
}
[data-genplan],
[data-genplan] svg {
  width: 100%;
  height: 100%;
  position: relative;
}
[data-genplan-preloader] {
  height: 100%;
  position: absolute;
  width: 100%;
  background: white;
  opacity: 1;
  pointer-events: none;
  text-align: center;
}
[data-genplan-preloader] img {
  width: 70px;
  margin: auto;
}
[data-genplan-preloader]._loaded {
  opacity: 0;
  transition: opacity 1s linear;
}
[data-area] {
  fill: rgba(207, 207, 207, 0.7) !important;
}
[data-area]._active {
  cursor: pointer;
  fill: rgba(228, 220, 216, 0) !important;
}
[data-area]._active:hover {
  fill: rgba(228, 220, 216, 0.7) !important;
}

.house-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  background: url(../img/tooltip.svg) no-repeat;
  background-color: #fff;
  background-size: contain;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 85px;
  height: 85px;
  line-height: 140%;
  padding-bottom: 10px;
  transform: translateY(-100%);
  z-index: 1;
  visibility: hidden;
}

.house-tooltip--korpus {
  font-size: calc(14px + 7 * (100vw - 320px) / 1600);
  position: relative;
}

.house-tooltip--korpus:after {
  content: "";
  display: block;
  height: 1px;
  width: 40px;
  margin: 10px auto 5px;
  background: #7d5e3e;
}

.house-tooltip--square {
  font-size: 14px;
  padding-bottom: 5px;
}
.house-tooltip--number {
  font-size: 14px;
}

@media (max-width: 768px) {
  .check-desc__floor img {
    height: unset;
  }
  .page-pagination,
  .page-pagination__total,
  .main-btn.ranges__btn span {
    font-size: 12px;
  }
  .check + .check {
    padding-top: 0;
  }
  .check-mob {
    margin-top: 5rem;
  }

  .back-col {
    align-items: end;
  }
}
:root {
  --swiper-navigation-size: 44px;
  --swiper-theme-color: #7F7063;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  content: '';
  background: url("../img/right-chevron.svg") 50% 50% no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size:0;
}
.swiper-button-prev:after {
  transform: rotate(180deg);
}
.swiper-button-prev {
  left:  10px;
  right: auto;
}
.swiper-button-next {
  right:  10px;
  left: auto;
}

.swiper-button-next, .swiper-button-prev {
  position: absolute;
  top:  50%;
  width: calc(var(--swiper-navigation-size) / 44* 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color:  var(--swiper-theme-color);

}


@media (max-width: 768px) {
  .swiper-button-next,.swiper-button-prev {
    background: rgba(234, 231, 229, .7);
   
  }
}

.header {
  position: relative;
  .header__logo {
    margin-left: 6rem;
    @media (max-width: 1100px) {
      margin-left: 12rem;
    }
  }
  &:before {
    content: "";
    background: url(../images/vetka.png) no-repeat;
    background-size: contain;
    position: absolute;
    width: 11rem;
    height: 10rem;
    left: 10rem;
    top: 0;
  }

}


#checkbox_1 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
#checkbox_1:checked+.checkbox-label:before {
  background: #b29898;
  border-color: #b29898;
  transition: background .3s ease;
}

.checkbox-label span,
.checkbox-label a {
  font-size: 1em;
}
.checkbox-label a {
  &:hover {
    text-decoration: underline;
  }
}

.form__agree
.checkbox-label:before {
  content: "✔";
  color: #fff;
  text-align: center;
  border-color: #7d5e3e;
  line-height: 1;
}
#checkbox_1:checked+.checkbox-label:before {
    background: transparent;
    color: #b29898;
}
#checkbox:checked+.checkbox-label:before {
  background: transparent;
  color: #b29898;
}


.cookies {
  z-index: 100;
  position: fixed;
  bottom: 20px;
  left: 15px;
  background: #E4DCD8;
  color: #7E5E3E;
  display: flex;
  justify-content: flex-start;
  padding: 20px;
  align-items: center;
  max-width: 90%;
  gap: 20px;
}

.cookies__text {
  font-size: 12px;
  line-height: 1;

  a {
    color: #7E5E3E;
    font-size: 12px;
    line-height: 1;
  }
}
.cookies__btn {
  background: none;
  color: #7E5E3E;
  border: 1px solid #7E5E3E;
  cursor: pointer;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.4;
}
