/*BALKONY CONTSTRUCTOR*/

.section-balkony-constructor {
  padding: var(--sp) 0;
  background: var(--grey-100);
}

.section-balkony-constructor h2 {
  max-width: 650px;
  margin-bottom: 45px;
}

.constructor__scheme img {
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.constructor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.constructor__part {
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  max-width: 400px;
  width: 100%;
  padding: 30px;
  min-height: 670px;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: column;
}

.constructor__scheme {
  position: relative;
  width: 400px;
  height: 560px;
}

.constructor__scheme img {
  max-width: 100%;
}

/*    .constructor__scheme .bg {
      position: absolute;
      top: 0; }*/

.constructor__price {
  padding: 20px;
  padding-bottom: 10px;
  padding-top: 0;
}

.constructor__price_text {
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: #4D4D4F;
  margin-bottom: 10px;
}

.constructor__price_text b {
  margin: 0 5px;
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: #2b6cc0;
}

.constructor .block__header {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  position: relative;
}

.constructor .block__name {
  font-weight: 800;
  font-size: 16px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0;
  margin-right: 10px;
}

.constructor .block__price {
  font-size: 12px;
  margin: 0;
  line-height: 100%;
  color: var(--secondary);
}

.constructor .block__info {
  position: absolute;
  right: -14px;
  top: 0;
  z-index: 11;
}

.constructor .block__info:hover .block__info_text {
  display: block;
  opacity: 1;
}

.constructor .block__info_icon {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url("/wp-content/themes/awpt/img/constructor/block__info_icon.svg") 50% no-repeat;
  cursor: pointer;
}

.constructor .block__info_text {
  position: absolute;
  width: 300px;
  background: #fff;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  padding: 10px;
  font-size: 12px;
  line-height: 16px;
  right: 0;
  z-index: 10;
  border-radius: 5px;
  display: none;
  opacity: 0;
  transition: 0.5s ease;
}

.constructor .block .item {
  position: relative;
  text-align: center;
  min-width: 50px;
  width: 67px;
  cursor: pointer;
  padding-bottom: 28px;
}

.constructor .block .item__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 2px;
  border: 1px solid var(--grey-200);
  margin: 0 auto 8px;
}

.constructor .block .item__photo img {
  max-width: 100%;
}

.constructor .block .item__name {
  font-size: 12px;
  line-height: 120%;
  color: #4D4D4F;
  text-align: center;
  padding: 0 5px;
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
}

.constructor .block .item.active .item__photo {
  border: 1px solid var(--secondary);
}

.constructor .block__items {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  gap: 15px;
}

.constructor .swiper-container.block__items {
  position: relative;
  max-width: 300px;
}

.constructor .btn__order {
  width: 230px;
  line-height: 40px;
  background: #2b6cc0;
  border-radius: 60px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  color: #FFFFFF;
  display: block;
  transition: 0.3s ease;
  border: 1px solid #2b6cc0;
}

.constructor .btn__order:hover {
  background: #fff;
  color: #2b6cc0;
}

.constructor .button__wrap {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.constructor .additional {
  width: 100%;
}

.constructor .additional .item {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 230px;
  height: 90px;
  background: #FFFFFF;
  border-radius: 10px;
  margin: 0 5px;
}

.constructor .additional .item__photo {
  background: grey;
  width: 90px;
  overflow: hidden;
  height: 90px;
}

.constructor .additional .item__photo img {
  width: 100%;
}

.constructor .additional .item__content {
  padding: 10px;
  max-width: 140px;
  width: 100%;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
}

.constructor .additional .item__name {
  font-weight: 800;
  font-size: 14px;
  line-height: 120%;
}

.constructor .additional .item__price {
  color: #4D4D4F;
  font-size: 14px;
  line-height: 120%;
}

.constructor .additional__title {
  font-weight: 800;
  font-size: 16px;
  line-height: 180%;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #2b6cc0;
}

.constructor .additional__items {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.constructor .rass {
  position: relative;
}

.constructor .rass:hover .rass__text {
  padding: 25px;
  opacity: 1;
  max-height: 500px;
}

.constructor .rass__text {
  position: absolute;
  background: #FFFFFF;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  width: 290px;
  padding: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 160%;
  border: 1px solid #FCE3D6;
  z-index: 2;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: 0.3s ease;
}

.constructor .rass__text:before {
  border: 0 25px 30px 25px solid transparent transparent #fff transparent;
  width: 0;
  height: 0;
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  z-index: -1;
  transform: translateX(-50%);
}

.constructor .rass__text_title {
  font-size: 14px;
  line-height: 100%;
  color: #2b6cc0;
  margin-bottom: 10px;
}

.constructor .rass__text_desc {
  color: #8E8E8E;
  margin-bottom: 15px;
}

.constructor .rass__text_link {
  display: inline-block;
  color: #2b6cc0;
  font-weight: bold;
  border-bottom: 1px solid #2b6cc0;
}

.constructor__part.scheme__part {
  padding: 0;
  max-width: 400px;
}

.block-innerskin,
.block-floor {
  position: relative;
}

.block-innerskin .swiper-button-next,
.block-floor .swiper-button-next {
  border-radius: 2px;
  background: rgba(209, 213, 219, 0.3) 50% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.5 12L9 4.5L7.95 5.55L14.4 12L7.95 18.45L9 19.5L16.5 12Z' fill='%239CA3AF'/%3E%3C/svg%3E");
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 0;
  top: 26px;
  right: -16px;
  transform: none;
  font-size: 0;
}

.constructor__choose {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 25px 20px;
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: var(--xs);
  line-height: 133.33%;
}

.constructor__choose .choose__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 685px;
  font-weight: bold;
  gap: 25px;
}

.constructor__choose .choose__info .choose__info_info {
  min-height: 44px;
}

.constructor__choose .choose__info p.choose_title {
  color: var(--secondary);
}

.constructor__choose .choose__info p + p {
  margin: 0;
}

.constructor__choose .price_title {
  font-size: var(--s);
  line-height: 157.143%;
  font-weight: bold;
}

.constructor__total_price span {
  color: var(--secondary);
  font-size: var(--l);
  line-height: 137.5%;
  font-weight: bold;
}

@media only screen and (max-width: 1260px) {
  .constructor__part.scheme__part {
    order: 2;
    max-width: 100%;
  }

  .constructor .additional {
    order: 3;
  }

  .constructor__scheme {
    margin: 0 auto;
  }

  .constructor__price {
    padding: 20px 150px;
  }

  .constructor__part {
    order: 1;
    margin-bottom: 20px;
    padding: 10px;
    max-width: 340px;
    min-height: 600px;
  }

  .constructor .block__info {
    right: -2px;
  }
}

@media (max-width: 1260px) {
  .constructor__choose {
    order: 3;
  }
}

@media (max-width: 760px) {
  .section-balkony-constructor h2 {
    margin-bottom: 30px;
  }

  .constructor__choose .choose__info .title {
    width: 100%;
  }

  .constructor__choose .choose__info .choose__info_info {
    width: 44%;
  }

  .constructor__choose .price_title {
    font-size: 14px;
  }

  .constructor__choose .choose_price {
    width: 100%;
    text-align: center;
  }

  .constructor__total_price span {
    font-size: 20px;
  }
}

@media only screen and (max-width: 760px) {
  .constructor__scheme {
    width: 100%;
    margin: 0;
    height: 450px;
  }

  .constructor__price {
    padding: 10px;
  }

  .constructor__part {
    min-height: 560px;
    margin-bottom: 10px;
  }

  .constructor .button__wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .constructor .rass,
  .constructor .garanty {
    margin: 20px;
    margin-bottom: 0;
  }

  .constructor .block__name {
    font-size: 12px;
  }

  .constructor .swiper-container.block__items {
    position: relative;
    max-width: 235px;
  }

  .block-innerskin .swiper-button-next,
  .block-floor .swiper-button-next {
    top: 23px;
    right: 2px;
  }
}