.cars__filter {
  padding-bottom: 20px;
}

.filter {
  height: auto;
}

.cars__text {
  background: var(--main-background);
  -webkit-box-shadow: var(--main-shadow);
  box-shadow: var(--main-shadow);
  border-radius: 75px;
  padding: 30px 70px;
  margin-bottom: 30px;
}

.cars__text h2 {
  font-size: 26px;
  line-height: 28px;
  text-align: right;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.cars__text p {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 15px;
  text-indent: 30px;
}

.cars__text h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
}

.cars__text h2 span,
.cars__text h3 span,
.cars__text p span {
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.cars__text ul {
  margin-top: 10px;
}

.cars__text ul li {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}

/* ---------------- special offer ------------------ */

.special__offer-row {
  background: var(--secondary-color);
  padding: 20px 0;
}

.special__offer-container {
  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;
  gap: 10px;
}

.special__offer-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  background: url(/static/offer1.webp) no-repeat center;
  background-size: contain;
  max-width: 290px;
  width: 100%;
  height: 90px;
  padding: 10px;
}

.special__offer-block:nth-child(2) {
  background: url(/static/offer2.webp) no-repeat center;
  background-size: contain;
}

.special__offer-block:nth-child(3) {
  background: url(/static/offer3.webp) no-repeat center;
  background-size: contain;
}

.special__offer-block:nth-child(4) {
  background: url(/static/offer4.webp) no-repeat center;
  background-size: contain;
}

.special__offer-block h3 {
  color: #fff;
  background: transparent;
  font-weight: 500;
  font-size: 18px;
  line-height: 18px;
}

.special__offer-block img {
  width: 30px;
  height: 30px;
}

.special__offer-block h3 b {
  display: block;
  font-weight: 800;
}

.china__row {
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}

@media (max-width: 860px) {
  .brand__list {
    -ms-grid-columns: 1fr 0 1fr 0 1fr 0 1fr 0 1fr;
    grid-template-columns: repeat(5, 1fr);
  }

  .special__offer-block {
    height: 70px;
  }

  .special__offer-block img {
    width: 20px;
    height: 20px;
  }

  .special__offer-block h3 {
    font-size: 14px;
    line-height: 14px;
  }
}

@media (max-width: 768px) {
  .cars__filter {
    padding: 0;
  }

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

  .filter {
    max-width: 575px;
    width: 100%;
    margin: 0 auto;
  }

  .filter__title {
    font-size: 18px;
    line-height: 18px;
    margin: 0 0 10px;
  }

  .inputs__row:first-of-type {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }

  .label {
    width: 100%;
  }

  .brand__list {
    gap: 15px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
  }

  .brand__item {
    max-width: 22%;
    margin-right: 0;
  }

  .cars__text {
    padding: 20px 30px;
    border-radius: 37px;
  }

  .cars__text h2 {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 20px;
  }

  .cars__text p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .cars__text h3 {
    font-size: 20px;
    line-height: 20px;
  }

  .cars__text ul {
    margin-top: 5px;
  }

  .cars__text ul li {
    font-size: 16px;
    line-height: 20px;
  }

  .special__offer-container {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .special__offer-block {
    width: 48%;
  }
}

@media (max-width: 767px) {
  .cars__text {
    padding: 10px;
    border-radius: 10px;
  }

  .cars__text h2 {
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .cars__text p {
    font-size: 14px;
    line-height: 16px;
  }

  .cars__text h3 {
    text-align: center;
  }

  .cars__text ul {
    margin-top: 10px;
  }

  .cars__text ul li {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .brand__item {
    max-width: 33%;
  }
}

@media (max-width: 429px) {
  .brand__item {
    padding-left: 10px;
  }

  .brand__item::before {
    left: 0;
  }
}

@media screen and (max-width: 425px) {
  .brand__list {
    gap: 10px 15px;
  }

  .special__offer-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .special__offer-block {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: 100%;
    height: 90px;
    padding-left: 30px;
  }

  .special__offer-block img {
    width: 30px;
    height: 30px;
  }

  .special__offer-block h3 {
    font-size: 18px;
    line-height: 18px;
  }

  .special__offer-block h3 b {
    display: initial;
  }
}

@media (max-width: 320px) {
  .cars__text h2 {
    font-size: 16px;
  }

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

  .cars__text ul {
    margin-top: 5px;
  }

  .cars__text ul li {
    font-size: 14px;
    line-height: 18px;
  }
}