.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.4rem 0 1.85rem;
  z-index: 500;
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
.header_extra {
  padding: 0 0 1.5rem;
}
.header_extra .header__phone:not(:last-child) {
  margin-right: 1rem;
}
.header_extra .header__phone-link {
  font-size: 1.3rem;
}
.header_extra .city-select {
  margin-bottom: 0;
}
.header__top {
  background-color: #1e5d9d;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__content .city-select-mobile {
  display: none;
}
.header__content-min .header__nav {
  margin-right: 0;
  margin-left: -6rem;
}
.header__content-min .header__info {
  width: 26%;
}
.header__content-min .header__phone-address {
  margin-right: 1rem;
}
.header__logo {
  width: 20.4rem;
}
.header__nav {
  flex-grow: 0.6;
  display: flex;
  justify-content: space-between;
}
.header__action {
  display: flex;
  margin-left: 3rem;
  align-items: center;
}
.header__action-item-img {
  width: 3.2rem;
  height: 3.2rem;
  background-color: #fafafa;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}
.header__action-item-img svg {
  width: 100%;
  height: 100%;
  stroke: #1e5d9d;
}
.header__action-item-count {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0.2rem;
  right: 0.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: #1e5d9d;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.header__action-item-text {
  display: none;
}
.header__action-item:not(:last-child) {
  margin-right: 2rem;
}
.header__action-item_active .header__action-item-count {
  display: flex;
}
.header__info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.header__phone {
  display: flex;
  align-items: center;
}
.header__phone-group {
  margin: -0.6rem 0;
  position: relative;
  z-index: 3;
}
.header__phone-group-heading {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #f1f8fd;
  border-radius: 0.6rem;
}
.header__phone-group-heading_active {
  border-radius: 0.6rem 0.6rem 0 0;
}
.header__phone-group-heading_active .header__phone-group-arrow {
  transform: rotate(-180deg);
}
.header__phone-group .header__phone {
  margin: 0 !important;
}
.header__phone-group-arrow {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-left: 1rem;
  cursor: pointer;
  transition: 0.25s;
}
.header__phone-group-arrow svg {
  width: 100%;
  height: 100%;
}
.header__phone-group-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1.5rem 1.5rem 2rem;
  background-color: #f1f8fd;
  border-radius: 0 0 0.6rem 0.6rem;
}
.header__phone-group-dropdown-item {
  font-size: 1.4rem;
  line-height: 1.45;
}
.header__phone-group-dropdown-item:not(:last-child) {
  margin-bottom: 1rem;
}
.header__phone_column {
  flex-direction: column;
  align-items: baseline;
  position: relative;
  padding-right: 1.3rem;
}
.header__phone_column .header__phone-icon {
  position: absolute;
  top: 0;
  right: -0.5rem;
}
.header__phone-text {
  color: #fff;
}
.header__phone_column .header__phone-text {
  transform: translateY(-0.2rem);
}
.header__phone-list {
  display: flex;
  align-items: center;
}
.header__phone-icon {
  display: none;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-right: 0.4rem;
}
.header__phone-link {
  display: inline-block;
  font-size: 1.2rem;
  color: #fff !important;
}
.header__phone-address {
  font-size: 1.1rem;
  color: #fff;
  padding-bottom: 7px;
  opacity: 0.8;
}
.header__car {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid #eaeaeb;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
  transform: translateY(-300%);
  transition: transform 0.25s;
  z-index: -1;
}
.header__car_active {
  transform: translateY(0);
}
.header__car-content {
  display: flex;
  justify-content: space-between;
}
.header__car-text {
  width: 45%;
}
.header__car-title {
  max-width: 56rem;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.header__car-block {
  display: flex;
}
.header__car-link {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}
.header__car-link_phone {
  text-decoration: underline;
}
.header__car-link:not(:last-child) {
  margin-right: 1.6rem;
}
.header__car-link-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  margin-right: 0.4rem;
}
.header__car-link-icon svg {
  width: 100%;
  height: 100%;
}
.header__car-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: auto;
  gap: 10px;
  padding-top: 0.5rem;
}
.header__car-price {
  font-size: 2.2rem;
  font-weight: 600;
}
.header__car-button.button {
  padding: 0 2.4rem;
  font-size: 1.4rem;
}
.header__car-price-info {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  z-index: 20;
}
.header__car-price-old {
  margin-top: 0.2rem;
  margin-right: 1.6rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2rem;
  text-decoration: line-through;
  color: #6f6f71;
}
.header__price-tag {
  margin-top: 0.2rem;
  margin-right: 0.8rem;
  padding: 0.3rem 0.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2rem;
  letter-spacing: -0.07em;
  color: #fff;
  border-radius: 0.5rem;
  background: linear-gradient(81.55deg, #3cbe72 6.09%, #6fcf97 72.59%);
}
.header__price-tag svg {
  width: 0.8rem;
  height: 0.8rem;
}
.header__price-text {
  margin-left: 0.4rem;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2rem;
  color: #073767b2;
}
.header__arrow-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-left: 1rem;
  border: 1px solid #eaeaeb;
  background-color:
    linear-gradient(0deg, #eaeaeb, #eaeaeb),
    linear-gradient(0deg, rgba(182, 182, 182, 0.1), rgba(182, 182, 182, 0.1));
  border-radius: 0.4rem;
  cursor: pointer;
}
.header__arrow-block svg {
  width: 1.32rem;
  height: 1.32rem;
  stroke: #272727;
  transition: 0.35s;
}
.header__car-info-wrap {
  position: relative;
  z-index: 21;
}
.header__car-info-wrap_show-all .header__car-price-info-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 40rem;
}
.header__car-info-wrap_show-all .header__car-price-info-wrap::before {
  content: "";
  position: absolute;
  top: -3rem;
  left: -3rem;
  right: -3rem;
  bottom: -3rem;
  border-radius: 1.6rem;
  background-color: #fff;
  box-shadow: 0 10px 20px 0 #0000001a;
  z-index: 10;
}
.header__car-info-wrap_show-all .header__hidden-block {
  display: flex;
  flex-direction: column;
}
.header__car-info-wrap_show-all .header__arrow-block {
  background-color: #1e5d9d;
}
.header__car-info-wrap_show-all .header__arrow-block svg {
  transform: rotate(180deg);
  stroke: #fff;
}
.header__hidden-block {
  width: 100%;
  display: none;
  position: relative;
  z-index: 12;
  margin-top: 2.6rem;
}
.header__checkbox-block {
  margin-bottom: 1rem;
  cursor: pointer;
}
.header__checkbox-block input {
  display: none;
}
.header__checkbox-block
  input:checked
  + .header__checkbox-wrap
  .header__checkbox-text {
  position: relative;
}
.header__checkbox-block
  input:checked
  + .header__checkbox-wrap
  .header__checkbox-text::before {
  background-color: #1e5d9d;
  border-color: #1e5d9d;
}
.header__checkbox-block
  input:checked
  + .header__checkbox-wrap
  .header__checkbox-text::after {
  position: absolute;
  top: 0.4rem;
  left: 0.3rem;
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.1rem;
  background-image: url(../img/content/check.svg);
  background-size: 1.5rem 1.1rem;
}
.header__checkbox-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.3rem;
  border: 1px solid #c1c1c2;
  border-radius: 1rem;
}
.header__checkbox-text {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5rem;
}
.header__checkbox-text::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  border-radius: 0.3rem;
  border: 1px solid #c1c1c2;
}
.header__checkbox-price {
  margin-left: auto;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.1rem;
}
.header__profit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  padding-right: 1rem;
}
.header__profit-text {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2.1rem;
}
.header__profit-price {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 2.6rem;
}
.header__buttons-block {
  display: flex;
  flex-wrap: wrap;
}
.header__offer-btn {
  width: 100%;
}
.header__buttons-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
}
.header__buttons-row .button {
  width: 48%;
}
.header__buttons-row .button svg {
  display: block;
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
}
@media (max-width: 48em) {
  .header {
    padding: 0;
  }
  .header__top {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 12rem 3rem;
    background-color: rgba(39, 39, 39, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: -1;
  }
  .header__top_active {
    display: block;
  }
  .header__top .container {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem;
  }
  .header__top .header__phone {
    flex-wrap: wrap;
    justify-content: center;
  }
  .header__top .header__phone:not(:last-child) {
    margin-right: 0;
    margin-bottom: 3rem;
  }
  .header__top .header__phone-list {
    display: block;
    width: 100%;
    padding: 9rem 3rem;
    background-color: #fff;
    border-radius: 3.4rem;
    position: relative;
  }
  .header__top .header__phone-list-close {
    position: absolute;
    top: 2.4rem;
    right: 2.4rem;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
  }
  .header__top .header__phone-list-close svg {
    width: 100%;
    height: 100%;
  }
  .header__top .header__phone-icon {
    background: 0 0;
  }
  .header__top .header__phone-icon img {
    width: 6rem;
  }
  .header__top .header__phone-link {
    font-size: 3.4rem;
    font-weight: 500;
    text-decoration: underline;
    color: #1e5d9d;
  }
  .header__top .header__phone-text {
    display: block;
  }
  .header__top .header__phone-address {
    text-align: center;
    width: 100%;
    margin: 0.4rem 0 0;
    font-size: 2.7rem;
  }
  .header .container {
    padding: 0;
  }
  .header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eaeaeb;
  }
  .header__content {
    flex-wrap: wrap;
    padding: 1.8rem 3rem 1.6rem;
    background-color: #fff;
  }
  .header__content .city-select-mobile {
    display: block;
    margin: 0 auto 0 30px;
  }
  .header__content-min {
    padding: 1.8rem 1.6rem 1.6rem;
  }
  .header__content-min .header__nav {
    margin-left: 0;
  }
  .header__content-min .header__info {
    width: 75%;
  }
  .header__content-min .city-select__text {
    padding-left: 3.8rem;
    padding-right: 2.6rem;
    font-size: 1.5rem;
  }
  .header__content-min .city-select__icon {
    width: 3rem;
    height: 3rem;
  }
  .header__content-min .city-select__arrow {
    width: 1.4rem;
    height: 1.4rem;
  }
  .header__content-min .city-select__confirm-button,
  .header__content-min .city-select__confirm-text {
    font-size: 1.8rem;
  }
  .header__content-min .header__phone-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .header__content-min .header__phone {
    flex-direction: row-reverse;
  }
  .header__content-min .header__phone:first-child {
    margin-bottom: 0.5rem;
  }
  .header__content-min .header__phone-icon {
    width: 3.4rem;
    height: 3.4rem;
  }
  .header__content-min .header__phone-icon img {
    width: 2.4rem;
  }
  .header__content-min .burger {
    width: 4.8rem;
    height: 4.8rem;
  }
  .header__logo {
    width: 7.2rem;
  }
  .header__nav {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: -2;
    transform: translateY(-150%);
    transition: 0.4s;
    padding: 10.2rem 0 10rem;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .header__nav_active {
    transform: translateY(0);
  }
  .header__action {
    flex-direction: column;
    margin-left: 0;
    padding: 3rem;
    order: -1;
    align-items: unset;
  }
  .header__action-item {
    display: flex;
    align-items: center;
  }
  .header__action-item-img {
    width: 6rem;
    height: 6rem;
    border-radius: 2rem;
    flex-shrink: 0;
    margin-right: 2rem;
  }
  .header__action-item-count {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.6rem;
  }
  .header__action-item-text {
    display: block;
    font-size: 2rem;
  }
  .header__action-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .header__button {
    width: auto !important;
    display: flex !important;
    margin: 4rem 3rem 0;
    flex-shrink: 0;
  }
  .header__info {
    width: 70%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .header__phone-group {
    margin: 0 0 -6rem;
    padding: 1.5rem 2rem 3rem;
    background-color: #f1f8fd;
    border-radius: 3rem;
  }
  .header__phone-group-heading {
    padding: 0;
    background: 0 0;
    border-radius: 0;
  }
  .header__phone-group-arrow {
    display: none;
  }
  .header__phone-group-dropdown {
    display: block !important;
    position: static;
    padding: 4rem 0 0;
    border-radius: 0;
  }
  .header__phone-group-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2.7rem;
  }
  .header__phone-group-dropdown-item:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .header__phone_column {
    flex-direction: row;
    align-items: center;
    padding-right: 0;
  }
  .header__phone_column .header__phone-icon {
    position: static;
  }
  .header__phone_column .header__phone-text {
    transform: none;
  }
  .header__phone-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    background-color: #f1f8fd;
  }
  .header__phone-icon img {
    width: 4.4rem;
  }
  .header__phone-text {
    display: none;
  }
  .header__car {
    position: fixed;
    top: auto;
    bottom: 0;
    padding: 3rem 3rem;
    border: none;
    border-radius: 3.2rem 3.2rem 0 0;
    box-shadow: none;
    transform: translateY(100%);
  }
  .header__car_active {
    transform: translateY(0);
  }
  .header__car-content {
    flex-wrap: wrap;
  }
  .header__car-text {
    width: 100%;
  }
  .header__car-title {
    display: none;
  }
  .header__car-link {
    font-size: 2.4rem;
  }
  .header__car-link_phone {
    display: none;
  }
  .header__car-link-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0.8rem;
  }
  .header__car-info {
    width: 100%;
    padding-top: 0;
    order: -1;
    margin-bottom: 2.5rem;
  }
  .header__car-price {
    display: none;
  }
  .header__car-button.button {
    width: 100%;
    height: 10rem;
    font-size: 3.2rem;
    margin-left: 0;
  }
  .header__arrow-block,
  .header__car-price-old,
  .header__price-tag,
  .header__price-text {
    display: none;
  }
  .header__car-info-wrap {
    display: none;
  }
}
.header__line {
  margin: 0 20px;
  height: 30px;
  width: 1px;
  background-color: #fff;
  opacity: 0.2;
}
.nav__link_first {
  color: #1e5d9d;
  position: relative;
}
@media (min-width: 49em) {
  .nav__list .nav__link_first::after {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 11px;
    top: 8px;
    left: -25px;
    background-image: url("/local/templates/main/assets/img/svg/car-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%) rotate(0deg);
  }
}
.nav__link__single {
  font-weight: 700;
  text-transform: uppercase;
}

.online-buy {
  margin-left: 1rem;
}
.online-buy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 0.4rem;
  padding: 0.8rem;
  background-color: #1f51e4;
  height: 4rem;
  transition: background-color 0.15s ease;
}

.online-buy__btn:hover {
  background-color: #f1117e;
}

.online-buy__btn span {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

.online-buy__btn svg {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.header__online {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  opacity: 0.8;
}

.header__nav--online {
  flex-grow: 0.8;
}

.buy-insurance {
  margin-left: auto;
  cursor: pointer;
}
.buy-insurance__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 0.4rem;
  padding: 0.8rem;
  background-color: #249154;
  height: 4rem;
  transition: background-color 0.15s ease;
}

.buy-insurance__btn span {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 1200px) {
  .online-buy {
    display: none;
  }
  .buy-insurance {
    display: none;
  }
}
