@charset "UTF-8";
.window-class-filter {
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 18px 50px;
  background: #eff6f9;
  border-radius: 10px;
  margin-top: 50px;
}
.window-class-filter__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
}
.window-class-filter__ribbon {
  position: absolute;
  top: -14px;
  left: 460px;
  width: 106px;
  height: 108px;
  background-image: url("/img/blocks/calc-block/ribbon.svg");
}

.class-filter {
  display: flex;
  gap: 10px;
}
.class-filter__button {
  display: block;
  padding: 11px 42px;
  font-size: 16px;
}

.cart {
  margin: 46px 0 0 0;
  padding: 34px 60px;
  background: #eff6f9;
  border-radius: 10px;
}
.cart__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
}

.product-description {
  display: grid;
  align-items: center;
}
.product-description__title-block {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.product-description__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
}
.product-description__size {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
}
.product-description__text {
  align-items: flex-start;
  width: 490px;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
}

.cart-product {
  display: flex;
  align-items: stretch;
  padding: 20px 35px;
  background: #fff;
  border-radius: 7px;
  gap: 33px;
}
.cart-product .divider-v_white {
  opacity: 0.2;
}
.cart-product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 117px;
}
.cart-product__price {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 24px;
  line-height: 160%;
}
.cart-product__price .ts-icon-close {
  cursor: pointer;
}
.cart-product__price .ts-icon-close::before {
  content: "Удалить";
  position: absolute;
  left: -46px;
  top: 1px;
  z-index: 10;
  display: none;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  font-style: normal;
  color: #3aad81;
}
.cart-product_green {
  background: #3aad81;
  color: #fff;
}
.cart-product__white {
  position: relative;
}

.product-total {
  font-size: 30px;
  align-self: center;
  line-height: 160%;
}
.product-total__text {
  font-weight: 400;
}
.product-total__price {
  font-weight: 700;
}

.total-params {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.total-params__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
}
.total-params__item:hover {
  background: #2e9970;
}
.total-params__title {
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
}
.total-params__value {
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
}

.calc-block {
  display: flex;
  align-items: stretch;
  gap: 32px;
}
.calc-block__left-part {
  width: 40%;
}
.calc-block__right-part {
  width: 57%;
}
.calc-block__img {
  position: relative;
}
.calc-block__filter-item:first-child .calc-filter-item__title, .calc-block__filter-item:last-child .calc-filter-item__title {
  max-width: 126px;
}

.calc-filter-item {
  display: flex;
  max-height: 68px;
  align-items: center;
}
.calc-filter-item__img-hidden {
  display: none;
  width: 100%;
}
.calc-filter-item__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 70px;
  background: linear-gradient(90deg, #37ad80 0.05%, #2ec68b 100.05%);
  border-radius: 6px;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: #fff;
}
.calc-filter-item__number-wrap {
  display: flex;
  gap: 23px;
  align-items: center;
}
.calc-filter-item__title {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
}
.calc-filter-item__setting {
  margin-left: auto;
  padding-top: 10px;
  max-width: 327px;
  width: 327px;
  height: 54px;
}
.calc-filter-item__setting:last-child {
  align-self: flex-start;
}
.calc-filter-item__setting-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-filter-item__setting-item {
  position: relative;
  z-index: 0;
}
.calc-filter-item__setting-item::before {
  content: "";
  position: absolute;
  left: -11px;
  right: -11px;
  top: -17px;
  bottom: -10px;
  z-index: -1;
  opacity: 0;
  border-radius: 8px;
  border: 1px solid #b0decd;
  background-color: #e1f2ee;
  transition: opacity 0.3s ease-in-out;
}
.calc-filter-item__setting-item:hover::before {
  opacity: 1;
}
.calc-filter-item__setting-item:not(:last-child) {
  margin-right: 24px;
}
.calc-filter-item__setting-img {
  object-fit: cover;
  cursor: pointer;
}
.calc-filter-item__setting .choices {
  position: relative;
  padding: 0;
  max-width: 327px;
  border-radius: 10px;
}
.calc-filter-item__setting .choices__inner {
  border-radius: 10px;
  padding-left: 16px;
  background-color: #eff6f9;
  border: none;
}
.calc-filter-item__setting .choices__list--dropdown .choices__item {
  padding-left: 10px;
}
.calc-filter-item__setting .choices__list--dropdown,
.calc-filter-item__setting .choices__list[aria-expanded] {
  background-color: #eff6f9;
}
.calc-filter-item__setting .choices__list .choices__list--dropdown .is-active {
  background-color: #eff6f9;
}
.calc-filter-item__setting .choices__list--dropdown,
.calc-filter-item__setting .choices__list[aria-expanded] {
  border: 1px solid #eff6f9;
  border-radius: 10px;
}
.calc-filter-item__setting .is-open .choices__inner {
  position: relative;
}
.calc-filter-item__setting .choices__placeholder {
  opacity: 1;
}
.calc-filter-item__setting .choices[data-type*=select-one]::after {
  border: none;
}
.calc-filter-item__setting .choices__item {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: #242424;
  background-color: #eff6f9;
}
.calc-filter-item__setting .choices__list--dropdown .choices__item {
  font-weight: 400;
}
.calc-filter-item__setting .choices::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  bottom: 0;
  height: 6px;
  width: 10px;
  background-image: url("/img/blocks/calc-block/tick-open.svg");
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.3s ease-in-out;
}
.calc-filter-item__setting .choices.is-open::before {
  z-index: 5;
  transform: rotate(180deg);
}

.calc-additional {
  position: relative;
  top: -20px;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
}
.calc-additional__item:not(:nth-child(3n)) {
  margin-bottom: 6px;
}
.calc-additional__label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  margin-bottom: 0;
}
.calc-additional__checkbox-descr {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
  color: #242424;
}
.calc-additional__input {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.calc-additional__input + .calc-additional__checkbox {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #eff6f9;
  border-radius: 3px;
  border: 1px solid rgba(198, 226, 238, 0.5882352941);
}
.calc-additional__input + .calc-additional__checkbox::before {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 3.5px;
  width: 12px;
  height: 12px;
  z-index: 10;
  background-color: #3aad81;
  border-radius: 2px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.calc-additional__input:checked + .calc-additional__checkbox::before {
  opacity: 1;
}

.calc-nav-block {
  width: 100%;
  padding: 12px 25px 20px;
  color: #fff;
  background: linear-gradient(90deg, #37ad80 0.05%, #2ec68b 100.05%);
  border-radius: 7px;
}
.calc-nav-block__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-nav-block__price {
  font-weight: 700;
  font-size: 24px;
  line-height: 160%;
}
.calc-nav-block__params {
  display: flex;
  gap: 40px;
}
.calc-nav-block__param-title {
  font-weight: 500;
  font-size: 12px;
  line-height: 160%;
}
.calc-nav-block__param-price {
  font-weight: 700;
  font-size: 14px;
  line-height: 160%;
}
.calc-nav-block__buttons {
  display: flex;
  gap: 12px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #eff6f9;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 1024px){
  .window-class-filter {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
  .window-class-filter__title {
    font-size: 18px;
  }
  .window-class-filter__ribbon {
    right: 10px;
    left: unset;
  }
  .cart-product {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-product .divider-v {
    width: 100%;
    height: 1px;
    opacity: 0.2;
    border-bottom: 1px solid #ffffff !important;
  }
  .cart-product__white .cart-product__price {
    position: absolute;
    top: 32px;
    right: 16px;
  }
  .cart-product__white .divider-v {
    display: none !important;
  }
  .product-total {
    align-self: flex-start;
  }
  .calc-block {
    flex-direction: column-reverse;
    overflow: hidden;
  }
  .calc-block__filter-item:nth-child(3) .calc-filter-item {
    max-height: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .calc-block__left-part {
    width: 100%;
  }
  .calc-block__right-part {
    width: 100%;
  }
  .calc-block__img {
    display: none;
  }
  .calc-filter-item__img-hidden {
    display: block;
  }
}

@media (max-width: 768px){
  .window-class-filter {
    padding: 32px 16px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .window-class-filter__title {
    font-size: 16px;
  }
  .cart {
    padding: 16px;
  }
  .product-description__text {
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 14px;
  }
  .cart-product {
    padding: 15px 16px;
    gap: 10px;
  }
}

@media (max-width: 576px){
  .window-class-filter {
    margin-bottom: 0;
  }
  .window-class-filter__title {
    font-size: 14px;
    line-height: 150%;
  }
  .window-class-filter__ribbon {
    right: -10px;
    top: -28px;
    transform: scale(0.6);
  }
  .class-filter {
    width: 100%;
  }
  .class-filter__button {
    font-weight: 600;
    font-size: 12px;
    line-height: 160%;
    padding: 8px 13px;
  }
  .cart {
    margin: 32px 0 0 0;
  }
  .cart__title {
    font-size: 18px;
    line-height: 27px;
  }
  .product-description__title-block {
    flex-direction: column;
    gap: 8px;
  }
  .product-description__title-block .divider-v {
    display: none;
  }
  .product-description__title {
    font-size: 14px;
    line-height: 22px;
  }
  .product-description__size {
    font-size: 12px;
    line-height: 19px;
  }
  .cart-product {
    align-items: stretch;
  }
  .cart-product__image {
    width: 81px;
  }
  .cart-product__price {
    font-size: 20px;
    line-height: 32px;
  }
  .cart-product__price .ts-icon-close {
    position: relative;
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .cart-product__price .ts-icon-close::before {
    display: block;
  }
  .cart-product__price .btn {
    padding: 8px 24px;
  }
  .cart-product_green .cart-product__price {
    font-size: 10px;
    line-height: 15px;
  }
  .cart-product__white {
    padding: 32px 16px 15px 16px;
  }
  .product-total {
    display: flex;
    align-items: center;
  }
  .product-total__text {
    margin-right: 8px;
    font-size: 18px;
    line-height: 29px;
  }
  .product-total__price {
    font-size: 20px;
    line-height: 32px;
  }
  .total-params {
    gap: 18px;
  }
  .total-params__title {
    font-size: 10px;
    line-height: 14px;
  }
  .total-params__value {
    font-size: 14px;
    line-height: 22px;
  }
  .calc-block {
    margin: 0;
  }
  .calc-block .separator-horizontal.my-15 {
    margin: 24px 0 !important;
  }
  .calc-block__filter-item:first-child .calc-filter-item__title, .calc-block__filter-item:last-child .calc-filter-item__title {
    max-width: none;
  }
  .calc-filter-item__number {
    font-size: 12px;
    font-weight: 800;
    line-height: 19px;
    width: 29px;
    height: 27px;
  }
  .calc-filter-item__number-wrap {
    gap: 9px;
  }
  .calc-filter-item__title {
    font-size: 12px;
    line-height: 19px;
  }
  .calc-filter-item__setting-item::before {
    left: -10px;
    right: -10px;
    top: -15px;
    bottom: -10px;
  }
  .calc-filter-item__setting-item:not(:last-child) {
    margin-right: 22px;
  }
  .calc-nav-block {
    padding: 16px;
  }
  .calc-nav-block__title {
    border: none;
  }
  .calc-nav-block__price {
    font-size: 18px;
    line-height: 29px;
  }
  .calc-nav-block__buttons {
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
  }
  .calc-nav-block__buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 50px;
    width: auto;
    font-size: 10px;
    line-height: 15px;
  }
}

@media (max-width: 1200px){
  .window-class-filter__ribbon {
    left: 38%;
  }
  .product-description {
    flex-shrink: 1;
  }
  .product-description__text {
    width: auto;
    max-width: 490px;
  }
  .cart-product {
    gap: 20px;
  }
  .cart-product__price {
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: center;
    font-size: 20px;
  }
  .cart-product__price .ts-icon-close {
    margin-bottom: 16px;
  }
  .product-total__text {
    font-size: 22px;
  }
  .product-total__price {
    font-size: 24px;
  }
  .calc-block__img {
    object-fit: cover;
    height: auto;
    width: auto;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
  .calc-nav-block .btn {
    padding: 14px 20px;
  }
}

@media (max-width: 600px){
  .calc-filter-item {
    gap: 10px;
    flex-direction: column;
    max-height: none;
    align-items: flex-start;
  }
  .calc-filter-item__setting {
    margin-left: 0;
    width: 100%;
    height: auto;
  }
  .calc-additional {
    position: static;
  }
}
