.house {
  position: relative;
}

.house-container h2 {
  margin-bottom: 20px;
  padding-top: 30px;
}

.house-back {
  font-family: 'M PLUS 1p Regular';
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #41474B;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 38px;
  margin-bottom: 20px;
}

.house-back--link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #41474B;
}

.house-back--img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.similar-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-bottom: 78px;
  border-bottom: 1px solid #D2DDE5;
}

.house-content {
  display: flex;
  width: 100%;
  padding-bottom: 60px;
}

.houseSwiper {
  height: 100%;
}

.swiper-slide.house-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-slide.house-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.house-content--slider {
  height: 550px;
}

.house-content--slider-and-info {
  display: flex;
  flex-wrap: wrap;
}

.house-content--slider {
  position: relative;
  width: 70%;
  z-index: 1;
}

.house-content--info {
  flex: 1 1 35%;
  width: 30%;
}

.house-content--info {
  padding: 30px 69px;
  background-color: #DBE3E9;
}

.similar-link {
  text-decoration: none;
  transition: all .2s ease;
}

.similar-link:hover {
  transform: scale(1.05);
}

.similar-container--item {
  width: 100%;
}

.similar-container--item-pic {
  max-width: 100%;
  height: 185px;
}

.similar-container--item-img {
  object-fit: cover;
  max-width: 100%;
  min-height: 100%;
height: 100%;
    width: 100%;
}

.similar-container--item-block {
  font-family: 'M PLUS 1p Regular';
  color: #41474B;
  font-size: 21px;
  line-height: 29px;
  padding: 12px;
  background-color: #DBE3E9;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.similar-container--item-block--info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.house-content--place,
.house-content--price {
  font-family: 'M PLUS 1p Regular';
  font-weight: 400;
  font-size: 23px;
  line-height: 33px;
  color: #41474B;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #41474B;
}

.house-btn-block {
  margin-top: 60px;
}

.house-btn-white,
.house-btn-grey {
  font-family: 'Zen Kaku Gothic Antique Medium';
  display: block;
  text-align: center;
  font-size: 19px;
  line-height: 29px;
  border-radius: 3px;
  padding: 5px 0 7px 0;
  width: 200px;
  margin-top: 12px;
  text-decoration: none;
}

.house-btn-white {
  background-color: transparent;
  color: #41474B;
  border: 1px solid #41474B;
}

.house-btn-white:active {
  background-color: #41474B;
  color: #BCC7CF;
}

.house-btn-grey {
  background-color: #41474B;
  color: #BCC7CF;
  border: none;
}

.house-btn-grey:active {
  background-color: transparent;
  color: #41474B;
}

.nav-titles {
  display: flex;
  gap: 30px;
  margin-left: 37px;
  margin-top: 20px;
  margin-bottom: 20px;
  z-index: 2;
}

.nav-title {
  font-family: 'M PLUS 1p Regular';
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: #6A7278;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
  border-top: 2px solid transparent;
}

.nav-title.active {
  border-color: #6A7278;
  color: #41474B;
}

.swiper-button-next,
.swiper-button-prev {
  color: #4AB7AB !important;
}

.catalog-page--item-info--block {
  margin-top: 10px;
}





.swiper-container {
  position: relative;
  height: 500px;
}

.main-swiper {
  height: 80%;
}

.thumbs-swiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.thumbs-swiper .swiper-slide {
  opacity: 0.4;
  cursor: pointer;
}

.thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
}




@media (max-width:1200px) {
  .house-content--info {
    padding: 30px 40px;
  }

  .nav-title {
    font-size: 14px;
  }

  .similar-container--item-block {
    font-size: 12px;
    line-height: 15px;
  }
}

@media (max-width:996px) {
  .house.container {
    padding: 0;
  }

  .house-content--page .catalog-page--item-info-text {
    font-size: 16px;
    line-height: 27px;
  }

  .house-content--icon {
    margin-right: 5px;
    width: 22px;
  }

  .house-container h2 {
    margin-left: 40px;
  }

  .house-back {
    display: none;
  }

  .house-content {
    display: block;
  }

  .nav-titles {
    position: relative;
  }

  .house-content--slider {
    width: 100%;
  }

  .house-content--info {
    width: 100%;
  }

  .house-content--place {
    display: none;
  }

  .house-btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 45px;
  }

  .house-content--info-pad {
    display: inline-flex;
    align-items: start;
    width: 100%;
    padding-bottom: 40px;
    border-bottom: 1px solid #6A7278;
  }

  .catalog-page--item-info--block {
    margin-top: 0;
    margin-left: 30px;
  }

  .house-content--price {
    order: 2;
    padding: 0 0 5px 0;
    margin: 0 0 0 auto;
  }

  .similar-container {
    gap: 12px;
  }

  .similar-container--item-pic {
    height: 118px;
  }
}

@media (max-width: 700px) {
  .nav-titles {
    display: none;
  }

  .similar-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .similar-container--item-pic {
    height: 185px;
  }

  .house-btn-block {
    flex-direction: column;
  }

  .house-content--info {
    padding: 30px 10px;
  }


}

@media (max-width: 460px) {

  .similar-container--item-pic {
    height: 300px;
  }

  .similar-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .house-content--price {
    font-size: 15px;
    line-height: 20px;
  }

  .catalog-page--item-info--block {
    margin-left: 15px;
  }

  .swiper-slide.house-slide img {
    object-fit: cover;
  }

  .house-content--slider {
    height: 330px;
  }
}