* {
  box-sizing: border-box;
}

.ranges-wrapper {
  margin-top: 40px;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}
.ranges-wrapper .wrap {
  position: relative;
  height: 93px;
}
.ranges-wrapper .wrap input {
  margin: 0;
  position: absolute;
  left: 0;
  bottom: 27px;
  width: 100%;
}
.ranges-wrapper .wrap .min, .ranges-wrapper .wrap .max {
  position: absolute;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.12px;
  text-align: left;
  color: rgb(115, 115, 115);
}
.ranges-wrapper .wrap .min {
  left: 0;
  bottom: 0;
}
.ranges-wrapper .wrap .max {
  right: 0;
  bottom: 0;
}

.input-wrapper {
  padding-top: 10.5px;
  padding-left: 16px;
  width: 100%;
  overflow: hidden;
  height: 64px;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 12px;
  position: relative;
}
.input-wrapper .border-bottom {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  height: 5px;
  background-color: rgb(229, 229, 229);
}
.input-wrapper label {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.12px;
  text-align: left;
  color: rgb(163, 163, 163);
  width: 100%;
  display: block;
}
.input-wrapper span {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21.86px;
  text-align: left;
  color: rgb(23, 23, 23);
  margin-top: 2px;
}

@media (max-width: 475px) {
  .ranges-wrapper {
    margin-top: 24px;
    gap: 10px;
  }
  .ranges-wrapper .wrap {
    position: relative;
    height: 90px;
  }
  .ranges-wrapper .wrap .min, .ranges-wrapper .wrap .max {
    font-size: 12px;
    line-height: 16.39px;
  }
  .input-wrapper {
    padding-top: 13.5px;
    padding-left: 16px;
    height: 64px;
  }
  .input-wrapper label {
    font-size: 12px;
    line-height: 16.39px;
  }
  .input-wrapper span {
    font-size: 14px;
    line-height: 19.12px;
  }
}
.ranges-wrapper .wrap input[type=range] {
  appearance: none;
  width: 100%;
  height: 8px;
  cursor: pointer;
  border-radius: 5px;
  background-color: transparent;
  z-index: 2;
}
.ranges-wrapper .wrap input[type=range]::-webkit-slider-thumb {
  position: relative;
  z-index: 4;
  appearance: none;
  width: 20px;
  height: 20px;
  background: rgb(41, 78, 71);
  border-radius: 100%;
}
.ranges-wrapper .wrap input[type=range]::-moz-range-thumb {
  position: relative;
  z-index: 4;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: rgb(41, 78, 71);
}
.ranges-wrapper .wrap .percent {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.36px;
  letter-spacing: -0.01em;
  text-align: left;
  color: rgb(41, 78, 71);
}
.ranges-wrapper .wrap .progress {
  z-index: 3;
  bottom: 0px;
  left: 0px;
  height: 5px;
  position: absolute;
  background-color: rgb(41, 78, 71);
  width: 50%;
  border-radius: 0px 0px 0px 90px;
  max-width: calc(100% - 4px);
}

.total {
  width: 100%;
  height: auto;
  min-height: 100px;
  border-radius: 24px;
  background-color: rgb(244, 244, 244);
  padding: 40px;
}
.total .indincators {
  display: flex;
  flex-direction: row;
  gap: 50px;
}
.total .first-wrap, .total .second-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.total .indicator-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.total .indicator-wrapper .indicator-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 21.86px;
  text-align: left;
  color: rgb(115, 115, 115);
}
.total .indicator-wrapper .indicator-value {
  color: rgb(23, 23, 23);
  font-size: 20px;
  font-weight: 400;
  line-height: 27.32px;
  text-align: left;
}
.total .indicator-wrapper .indicator-value.pay {
  font-family: Actay, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.05em;
  text-align: left;
  color: rgb(23, 23, 23);
}
.total .indicator-wrapper .indicator-value.cashback {
  font-size: 20px;
  font-weight: 700;
  line-height: 27.32px;
  text-align: left;
  color: rgb(0, 176, 7);
}
.total .button {
  margin-top: 24px;
}
.total .more {
  display: inline-block;
  margin-top: 31px;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.86px;
  text-align: left;
  color: rgb(41, 78, 71);
  cursor: pointer;
  padding-right: 30px;
  position: relative;
}
.total .more::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  display: block;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../vectors/icon.svg");
}
.total .text {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16.39px;
  text-align: left;
}
.total .payment-methods {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 27px;
}
.total .payment-methods .payment {
  width: auto;
  height: 27px;
}
.total .payment-methods .payment img {
  display: block;
  width: auto;
  height: 100%;
}

@media (max-width: 475px) {
  .total {
    padding: 20px;
  }
  .total .first-wrap, .total .second-wrap {
    gap: 16px;
  }
  .total .indicator-wrapper .indicator-label {
    font-size: 12px;
    line-height: 16.39px;
  }
  .total .indicator-wrapper .indicator-value {
    font-size: 16px;
    line-height: 21.86px;
  }
  .total .indicator-wrapper .indicator-value.pay {
    font-size: 26px;
    line-height: 26px;
  }
  .total .indicator-wrapper .indicator-value.cashback {
    font-size: 16px;
    line-height: 21px;
  }
  .total .button {
    margin-top: 16px;
  }
  .total .more {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    line-height: 19.12px;
  }
  .total .text {
    margin-top: 24px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.39px;
    text-align: left;
  }
  .total .payment-methods {
    margin-top: 16px;
  }
  .total .payment-methods .payment {
    width: auto;
    height: 27px;
  }
}
.calculator-container {
  margin-top: 70px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}
.calculator-container .text {
  margin-top: 14px;
}
.calculator-container .calculator-first-col {
  max-width: 100%;
  width: 610px;
}
.calculator-container .calculator-second-col {
  max-width: 100%;
  width: 558px;
}

@media (max-width: 475px) {
  .calculator-container {
    margin-top: 30px;
    gap: 24px;
    justify-content: unset;
    align-items: flex-start;
  }
}