.brand__banner {
  background: url(/static/svg/main__bg.svg) no-repeat center;
  background-size: contain;
  height: 360px;
}

.brand__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;
  height: inherit;
}

.brand__banner-img {
  max-width: 630px;
  width: 100%;
  height: 320px;
  margin-right: -65px;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.brand__banner-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.brand__banner-text {
  max-width: 360px;
  width: 100%;
  margin-right: 20px;
}

.brand__banner-text h1 {
  font-weight: 800;
  font-size: 32px;
  line-height: 38px;
}

.brand__banner-text h1 span {
  font-weight: 800;
  font-size: 36px;
  line-height: 44px;
  color: var(--secondary-color);
}

.banner__form {
  min-width: 300px;
  background: var(--main-color);
}

.slider__form p span {
  color: var(--green-dark);
}

.brand__banner-offer {
  position: relative;
  border: 1px solid rgba(64, 180, 139, 0.3);
  padding: 10px;
  text-align: center;
  margin-top: 35px;
}

.brand__banner-offer::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 21px;
  height: 36px;
  background: url(/static/svg/promo.svg) no-repeat center;
  background-size: contain;
}

.brand__banner-offer p {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
}

.brand__banner-offer p span {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: var(--main-color);
}

.brand__banner-offer span {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--green-dark);
}

.brand__list-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;
  margin: 30px auto;
  gap: 20px;
}

.brand__list {
  -ms-grid-columns: 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr;
  grid-template-columns: repeat(9, 1fr);
  gap: 20px 0;
}

.brand__filter {
  display: none;
}

.brand__name p {
  font-weight: 600;
  font-size: 24px;
  line-height: 26px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.brand__name span {
  display: block;
  font-weight: 800;
  font-size: 32px;
  line-height: 34px;
  color: var(--secondary-color);
  text-align: right;
  margin-top: 10px;
}

.car__row {
  padding: 0;
}

.brand__form-top {
  position: relative;
}

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

.special__offer-row {
  background: url(/static/ex__credit.png) no-repeat center #566778;
  background-size: cover;
  background-blend-mode: darken;
  padding: 30px 0;
}

.special__offer-form {
  display: none;
}

.special__offer-mob {
  display: none;
}

.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.png) no-repeat center;
  background-size: cover;
  border-radius: 12px;
  max-width: 290px;
  width: 100%;
  height: 90px;
  padding: 10px;
}

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

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

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

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

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

.special__offer-block img {
  background: var(--green-main);
  border: 5px solid var(--green-main);
  box-shadow: 0px 4px 20px 6px rgba(127, 127, 127, 0.15);
  border-radius: 10px;
  width: 47px;
  height: 47px;
}

.brand__tradein {
  background: url(/static/bottom__bg.jpg) no-repeat center;
  background-size: cover;
  margin-top: 30px;
}

.brand__tradein-container {
  position: relative;
  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;
  padding: 50px 20px;
}

.brand__tradein-img h3 {
  font-weight: 800;
  font-size: 40px;
  line-height: 42px;
  color: var(--green-main);
  margin-bottom: 20px;
}

.brand__tradein-img img {
  max-width: 490px;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.brand__tradein-text {
  position: absolute;
  top: 40%;
  left: 45%;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
}

.brand__tradein-text span {
  font-weight: 900;
}

.slider__form-input {
  width: 100%;
  height: 35px;
  background: #fff;
  padding-left: 20px;
}

.brand__tradein .credit__bottom-title br {
  display: none;
}

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

@media screen and (max-width: 1199px) {
  .brand__list-container {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .brand__list {
    grid-template-columns: repeat(6, 1fr);
  }

  .brand__tradein .credit__bottom-title {
    font-size: 44px;
  }
}

@media screen and (max-width: 1024px) {
  .brand__banner-text {
    max-width: 280px;
  }

  .brand__banner-text h1 {
    font-size: 26px;
    line-height: 32px;
  }

  .brand__banner-text h1 span {
    font-size: 24px;
    line-height: 28px;
  }

  .brand__banner-offer {
    padding-left: 25px;
    margin-top: 25px;
  }

  .brand__banner-offer p,
  .brand__banner-offer p span {
    font-size: 16px;
    line-height: 20px;
  }

  .brand__banner-offer span {
    font-size: 16px;
    line-height: 18px;
  }

  .brand__banner-img {
    margin-right: -30px;
  }

  .brand__tradein .slider__form {
    min-width: 280px;
    gap: 10px;
    padding: 15px;
  }

  .brand__tradein-container {
    padding: 30px 20px;
  }

  .brand__tradein .credit__bottom-text {
    font-weight: 600;
    margin-bottom: 20px;
  }
}

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

  .brand__tradein-img h3 {
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 40px;
  }

  .brand__tradein-img img {
    max-width: 360px;
    margin-left: 20px;
  }

  .brand__tradein-text {
    top: 20%;
    left: 28%;
  }

  .brand__tradein .credit__bottom-title {
    font-size: 40px;
    line-height: 44px;
  }

  .brand__tradein .credit__bottom-title br {
    display: block;
  }

  .special__offer-block {
    padding: 5px;
  }

  .special__offer-block h3 {
    font-size: 16px;
  }
}

@media screen and (max-width: 860px) {
  .brand__banner {
    height: auto;
  }

  .brand__container {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .brand__banner-text {
    max-width: 100%;
    text-align: center;
    margin: 0;
  }

  .brand__banner-img {
    margin-right: auto;
    max-width: 460px;
  }

  .brand__banner-offer {
    margin-top: 0;
    border: none;
    padding: 0;
  }

  .brand__banner-offer::before {
    content: none;
  }

  .brand__banner-offer p,
  .brand__banner-offer p span {
    font-size: 22px;
    line-height: 28px;
    color: var(--secondary-color);
  }

  .brand__banner-offer p {
    margin-bottom: 30px;
  }

  .brand__banner-offer .sale__offer {
    position: relative;
    margin-left: 58px;
  }

  .brand__banner-offer .sale__offer::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -70px;
    width: 58px;
    height: 100px;
    background: url(/static/svg/promo-mob.svg) no-repeat center;
  }

  .banner__form {
    position: absolute;
    bottom: 20px;
    right: 20px;
    min-width: auto;
    max-width: 320px;
    width: 100%;
  }

  .special__offer-row {
    padding: 15px 0;
    margin-bottom: 20px;
  }

  .special__offer-block {
    height: 70px;
    gap: 8px;
  }

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

@media screen and (max-width: 768px) {
  .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 screen and (max-width: 767px) {
  .brand__banner {
    background: url(/static/svg/main__bg.svg) no-repeat 51% 25%;
    background-size: contain;
  }

  .brand__banner-img {
    margin: 0 auto;
  }

  .banner__form {
    /* position: initial;
    margin-bottom: 20px;
    max-width: 400px; */
    display: none;
  }

  .brand__name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
  }

  .brand__name p {
    font-size: 20px;
    line-height: 22px;
  }

  .brand__name span {
    font-size: 26px;
    line-height: 28px;
    margin: 0;
    color: var(--green-dark);
  }

  .brand__filter {
    display: block;
    max-width: 400px;
    width: 100%;
  }

  .brand__list-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 0;
  }

  .label {
    width: 100%;
    background: transparent;
    padding: 12px 0;
  }

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

  .select__arrow {
    top: 18px;
  }

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

  /* .brand__tradein,
  .special__offer-row {
    display: none;
  } */

  /* .special__offer-mob {
    display: block;
    margin-top: 20px;
  } */

  .brand__tradein-container {
    flex-direction: column;
    gap: 0;
  }

  .brand__tradein .credit__bottom-title,
  .brand__tradein .credit__bottom-text {
    text-align: center;
  }

  .brand__tradein-img img {
    max-width: 400px;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .special__offer-form {
    display: flex;
    max-width: 590px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
    box-shadow: 0px 0px 28.4px 0px rgba(255, 255, 255, 0.79);
  }

  .special__offer-form p {
    line-height: 20px;
    max-width: 340px;
  }
}

@media screen and (max-width: 540px) {
  .brand__banner-img {
    height: auto;
    margin: 10px 0;
  }

  .brand__tradein .credit__bottom-title {
    font-size: 38px;
    line-height: 44px;
  }
}

@media screen and (max-width: 425px) {
  .brand__banner-offer p {
    margin-bottom: 20px;
  }

  .brand__banner-offer .sale__offer {
    margin-left: 40px;
  }

  .brand__banner-offer .sale__offer::before {
    top: -40px;
    left: -35px;
    width: 30px;
  }

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

  .special__offer-block h3 {
    display: flex;
    gap: 5px;
  }

  .special__offer-block h3 br {
    display: none;
  }

  .brand__tradein .credit__bottom-title {
    font-size: 28px;
    line-height: 32px;
  }

  .special__offer-form p {
    max-width: 215px;
  }
}