.bread__crumbs {
  margin: 0;
  padding: 10px 0;
  background: linear-gradient(90deg, #EBFAFF 0%, #EBFAFF 50%, transparent 50%, transparent 100%);
}

.main {
  background: linear-gradient(90deg, #EBFAFF 0%, #EBFAFF 50%, transparent 50%, transparent 100%);
}

main::before {
  top: 40%;
  left: 33%;
  background: url(/static/svg/c-bg2.svg) no-repeat center;
  background-size: contain;
  width: 616px;
  height: 625px;
}

main::after {
  bottom: 0;
  right: 0;
  background: url(/static/svg/c-bg3.svg) no-repeat center;
  background-size: contain;
  width: 463px;
  height: 253px;
}

.bg {
  display: block;
  position: relative;
}

.bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: url(/static/svg/c-bg1.svg) no-repeat center;
  background-size: contain;
  width: 248px;
  height: 488px;
  z-index: -1;
  pointer-events: none;
}

.credit__form-content {
  padding: 40px 0;
  width: 50%;
}

.credit__form {
  max-width: 410px;
  width: 100%;
  height: 100%;
}

.label {
  display: block;
  background: #fff;
  padding: 0;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.label::before {
  top: 15px;
  padding-left: 20px;
}

.select__arrow {
  top: 16px;
}

.form__select,
.main__form-input {
  max-width: 410px;
  width: 100%;
  height: 40px;
  background: #fff;
  border: 0.5px solid var(--main-color);
  border-radius: 2px;
  padding-left: 20px;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: var(--main-color);
}

/* .credit__form .form__select {
  margin-bottom: 20px;
} */

.top__title {
  font-size: 24px;
  line-height: 26px;
  color: var(--green-dark);
  margin-bottom: 40px;
}

.filter__title {
  font-size: 20px;
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}

.main__form-btn {
  width: 220px;
  margin-left: auto;
  display: block;
  background: var(--green-dark);
}

.credit__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 40px;
}

.credit__col {
  position: relative;
  width: 45%;
  padding-bottom: 20px;
}

/* .credit__col::before {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 0;
  background: url(/static/svg/logo-grey.svg) no-repeat center;
  width: 124px;
  height: 40px;
} */

.col__section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.credit__top-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 50px;
}

.credit__block {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 250px;
}

.credit__block img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 10px;
}

.credit__block h3 {
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: var(--secondary-color);
}

.view__car,
.credit__btn-next,
.credit__btn-back {
  display: none;
}

.view__car,
.credit__section {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 40px;
}

.credit__section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

.output-car-name {
  font-weight: 600;
  font-size: 26px;
  line-height: 26px;
  margin-bottom: 20px;
}

.view__car-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.view__car-img {
  max-width: 370px;
  width: 100%;
}

.view__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.view__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-width: 100px;
  width: 100px;
}

.view__row img {
  width: 25px;
  height: 25px;
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 5px;
}

.view__row p {
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
}

.output-car-foto {
  position: relative;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.credit__list-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.credit__list-item {
  text-align: center;
  padding: 6px 15px;
  background: #fff;
  border: 1px solid var(--main-color);
  border-radius: 2px;
}

.credit__list-item span {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--secondary-color);
}

.output-first,
.output-payment,
.output-time {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
}

.first__row,
.payment__row,
.range__time-block label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
  height: 40px;
  background: #fff;
  padding: 4px 15px;
}

.credit__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  margin-bottom: 10px;
}

.credit__title-min {
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
}

.tradein__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 26px;
  color: var(--green-dark);
}

.credit__text {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  padding-left: 12px;
}

.credit__text::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--main-color);
  border-radius: 50%;
}

.credit__p {
  padding: 0;
}

.credit__p::before {
  content: none;
}

.tradein__text {
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  text-indent: 15px;
  text-align: justify;
}

.tradein__text span {
  font-weight: 700;
  color: var(--green-dark);
}

.credit__text span {
  font-weight: 700;
}

.tradein__text-middle {
  font-weight: 700;
  color: var(--secondary-color);
}

.credit__list li {
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  text-align: justify;
}

.credit__list li:not(:last-of-type) {
  margin-bottom: 10px;
}

/* --------------- custom range slider items --------- */

.irs--round.irs-with-grid {
  margin-bottom: 20px;
}

.irs--round .irs-line {
  top: 32px;
  height: 7px;
  border-radius: 6px;
  background: #fff;
  /* background: url(/static/svg/line.svg) no-repeat center;
  background-size: contain; */
}

.irs--round .irs-bar {
  top: 32px;
  height: 7px;
  background: var(--green-dark);
  border-radius: 6px;
  /* background: url(/static/svg/line2.svg) no-repeat center #ecf7f3;
  background-size: cover; */
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  background: #fff;
  border-radius: 48px;
  color: var(--main-color);
  font-weight: 700;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
  content: none;
}

.irs--round .irs-handle {
  top: 20px;
  width: 30px;
  height: 30px;
  background: var(--green-dark);
  border-radius: 50%;
  /* top: calc(50% - 10px);
  width: 17px;
  height: 24px;
  background: url(/static/svg/handle.svg) no-repeat center;
  background-size: cover; */
  border: none;
  cursor: pointer;
  /* box-shadow: none;
  border-radius: 0;
  margin-left: 5px; */
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  background: var(--green-dark);
  /* background: url(/static/svg/handle.svg) no-repeat center; */
  background-size: cover;
}

.irs--round .irs-min,
.irs--round .irs-max {
  background: none;
}

.irs--round .irs-grid-pol {
  background: #fff;
}

.irs--round .irs-grid-text {
  font-weight: 700;
  color: var(--main-color);
}

/* ----------------- @media ---------------------- */

@media screen and (max-width: 1440px) {
  main::before {
    width: 416px;
    height: 425px;
  }

  main::after {
    width: 363px;
    height: 200px;
  }

  .bg::before {
    width: 182px;
    height: 368px;
  }
}

@media screen and (max-width: 1199px) {
  .top__title {
    font-size: 22px;
  }

  .filter__title {
    font-size: 16px;
  }

  .credit__top-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
  }

  .credit__block {
    width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  .credit__main {
    gap: 20px;
  }

  .credit__col {
    width: 48%;
  }

  .credit__form {
    padding-right: 20px;
  }

  .credit__section,
  .view__car {
    margin-top: 20px;
  }

  .credit__block p {
    font-size: 18px;
    line-height: 18px;
  }

  .output-car-name {
    text-align: center;
    font-size: 22px;
    line-height: 22px;
  }

  .credit__list-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .credit__list-item {
    padding: 5px;
  }

  .credit__list-item p {
    font-size: 18px;
    line-height: 18px;
  }

  .output-price,
  .output-sale {
    font-size: 22px;
    line-height: 26px;
  }

  .credit__text,
  .credit__section ul li,
  .tradein__text {
    font-size: 16px;
    line-height: 20px;
  }
}

@media screen and (max-width: 768px) {
  .bread__crumbs {
    background: #EBFAFF;
  }

  .main {
    background: none;
  }

  main::before {
    top: 50%;
    left: -90px;
    width: 316px;
    height: 325px;
  }

  main::after {
    width: 263px;
    height: 145px;
  }

  .bg::before {
    top: 360px;
  }

  .credit__form-content {
    background: #EBFAFF;
    margin-left: -20px;
    margin-right: -20px;
    padding: 10px 0;
    width: auto;
  }

  .top__title {
    margin: 0;
    padding: 0 20px;
  }

  .credit__btn-next,
  .credit__btn-back {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    background: var(--green-main);
    border-radius: 3px;
  }

  .credit__btn-next {
    padding: 14px 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .credit__btn-back {
    border-radius: 5px;
    padding: 5px 0;
    max-width: 100px;
    width: 100%;
    margin-bottom: 10px;
  }

  .credit-section:not(:first-of-type),
  .credit__section-hide {
    display: none;
  }

  .col__section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .credit__main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 40px;
    gap: 0;
  }

  .credit__section {
    padding: 0;
    margin: 0;
  }

  .credit__form {
    padding: 10px;
    margin: 0 auto;
    width: 100%;
  }

  .credit__col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-top: 10px;

    padding-bottom: 0;
  }

  .credit__col::before {
    top: 10px;
    right: -20px;
  }

  .section__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .credit__top-section {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-top: 10px;
  }

  .credit__block {
    width: 48%;
  }

  .view__car {
    margin: 0px;
    padding: 0;
  }

  .credit__list-group {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

@media screen and (max-width: 580px) {
  .credit__top-section {
    gap: 10px;
  }

  .credit__block {
    width: 100%;
    border: none;
  }

  .credit__block::before {
    bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .credit__list-item p {
    font-size: 16px;
    line-height: 16px;
  }

  .output-price,
  .output-sale {
    font-size: 18px;
    line-height: 18px;
  }

  .credit__block img {
    width: 30px;
  }

  .credit__block h3 {
    font-size: 16px;
    line-height: 18px;
  }

  /* .irs--round .irs-line,
  .irs--round .irs-bar {
    top: 33px;
    height: 10px;
  } */

  .first__row,
  .payment__row,
  .range__time-block label {
    font-size: 14px;
    padding: 2px 5px;
  }

  .output-first,
  .output-payment,
  .output-time {
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (max-width: 460px) {
  main::before {
    top: 60%;
  }

  .output-car-name {
    text-align: left;
  }

  .view__car-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0;
  }

  .view__car-img {
    margin: 20px 0;
  }

  .view__col {
    max-width: 280px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tradein__title {
    font-size: 18px;
    line-height: 22px;
  }

  .credit__list-group {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 375px) {
  .credit__form-content {
    margin-left: -10px;
    margin-right: -10px;
  }

  .top__title {
    padding: 0 10px;
  }

  .credit__block img {
    width: 30px;
    height: 30px;
  }

  .view__row p {
    font-size: 14px;
  }

  .credit__list-group {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 15px 5px;
  }

  .credit__list-item p {
    font-size: 14px;
    line-height: 14px;
  }

  .credit__list-item span {
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (max-width: 359px) {
  .credit__list-group {
    justify-content: flex-start;
    gap: 15px;
  }

  .credit__list-item p {
    font-size: 16px;
    line-height: 16px;
  }

  .credit__list-item span {
    font-size: 16px;
    line-height: 22px;
  }
}