.model {
  margin-bottom: 80px;
}
.model__head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.model__title {
  line-height: 1.1;
  font-size: 68px;
  position: relative;
  z-index: 2;
  font-weight: bold;
}
.model__title::after {
  content: attr(data-name);
  position: absolute;
  left: 158px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 215px;
  color: #000;
  opacity: 0.17;
  white-space: nowrap;
}

.model__price {
  display: inline-block;
  margin-left: 20px;
  font-size: 30px;
  line-height: 1.1;
}

.model__labels {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.model__label {
  background-color: #000000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 43px;
  font-size: 18px;
}

.model__item {
  margin-bottom: 166px;
}

.model__wrapper {
  margin-top: 60px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.model__content {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-right: 50px;
}

.model__buttons {
  margin-top: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.model__button {
  width: 100%;
}
.model__button .btn {
  margin: 0;
  max-width: 100%;
}
.model__button-gift {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1.1;
}
.model__button-gift svg {
  margin-right: 4px;
}

.model__benefit {
  padding: 25px 0;
  border-bottom: 1px solid #ccc;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.model__benefit-label {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: #000;
  font-size: 18px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.model__benefit-label svg {
  margin-right: 18px;
}
.model__benefit-value {
  font-size: 36px;
  line-height: 1.1;
}

.model__images {
  width: 400px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.model__colors {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 18px;
}

.model__color {
  width: 40px;
  height: 40px;
  border: 1px solid #ededed;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
  position: relative;
}
.model__color.active:after {
  content: '';
  width: 48px;
  height: 48px;
  display: block;
  position: absolute;
  left: -9px;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
  top: -9px;
  border: 4px solid #ccc;
  border-radius: 50%;
}
.model__color.black {
  background-color: #000;
}
.model__color.purple {
  background-color: #8d96ad;
}
.model__color.white {
  background-color: #fff;
}
.model__color.blue {
  background-color: #3d5a78;
}
.model__color.red {
  background-color: #af0d2a;
}
.model__color.silver {
  background-color: #adaeb2;
}
.model__color.grey {
  background-color: #424651;
}
.model__color.green {
  background-color: #394d56;
}
.model__color.purple {
  background-color: #593653;
}

.model__thumbs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 90%;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 15px;
  gap: 15px;
}

.model__thumb {
  cursor: pointer;
  opacity: 0.2;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}
.model__thumb.active {
  opacity: 1;
}
.model__thumb img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 1730px) {
  .model__content {
    width: 45%;
  }
  .model__images {
    width: 55%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 1200px) {
  .model {
    margin-top: 66px;
  }
  .model__head {
    display: block;
  }
  .model__labels {
    margin-top: 37px;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .model__title {
    line-height: 1.1;
    font-size: 68px;
    position: relative;
  }
  .model__title::after {
    left: 65px;
    font-size: 180px;
  }
  .model__wrapper {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .model__images {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
    width: 100%;
  }
  .model__content {
    margin-top: 30px;
    width: 100%;
  }
  .model__buttons {
    margin-top: 50px;
  }
  .model__item {
    margin-bottom: 150px;
  }
}

@media only screen and (max-width: 760px) {
  .model {
    margin-top: 50px;
  }
  .model__title {
    font-size: 36px;
  }
  .model__title:after {
    left: 45px;
    font-size: 85px;
    top: 20px;
  }
  .model__price {
    display: block;
    margin-top: 7px;
    font-size: 20px;
  }
  .model__labels {
    margin-top: 20px;
    gap: 5px;
  }
  .model__label {
    padding: 6px 12px;
    font-size: 12px;
  }
  .model__wrapper {
    margin-top: 26px;
  }
  .model__colors {
    gap: 10px;
    top: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
  .model__color {
    width: 15px;
    height: 15px;
  }
  .model__color.active:after {
    width: 19px;
    height: 19px;
    border-width: 2px;
    left: -5px;
    top: -5px;
  }
  .model__thumb img {
    display: block;
    width: 100%;
    height: auto;
  }
  .model__content {
    margin-top: 30px;
    margin-right: 0px;
  }
  .model__benefit {
    padding: 11px 0;
  }
  .model__benefit-label svg {
    width: 24px;
    height: 24px;
    margin-right: 9px;
  }
  .model__benefit-label span {
    font-size: 14px;
  }
  .model__benefit-value {
    font-size: 18px;
  }
  .model__buttons {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 0;
    gap: 0;
    width: 100%;
  }

  .model__button .cars-list-item-info-power-item {
    margin-bottom: 0px;
  }

  .model__button {
    width: 100%;
    margin-top: 10px;
  }
  .model__button-gift {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .model__button-gift svg {
    width: 24px;
    height: 24px;
    margin-right: 11px;
  }
  .model__button-gift span {
    font-size: 14px;
  }
  .model__item {
    margin-bottom: 91px;
  }
}
