.header-contact__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  flex: 0 0 auto !important;
}

.header-top-wrapper {
  gap: 10px;
}

.header-contact__image {
  width: 50px;
  flex-shrink: 0;
}

.header-contact__image img {
  width: 100%;
}

.header-contact__rating {
  margin-bottom: 5px;
}

.header-contact__item,
.header-contact__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contact__stars {
  display: flex;
  align-items: center;
}

.header-contact__star {
  position: relative;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ecb911'%3E%3Cpath d='M12 2l2.9 6.26 6.85.62-5.17 4.54 1.53 6.7L12 16.9l-6.11 3.22 1.53-6.7L2.25 8.88l6.85-.62z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.header-contact__star::before {
  content: none;
}

.header-contact__percent {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}

.header-contact__phone {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}

.header-contact__descr {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  color: #747474;
}

.header-contact__text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: black;
}

@media (max-width: 1200px) {
  .header-contact__image {
    width: 40px;
  }

  .header-contact__item,
  .header-contact__rating {
    gap: 5px;
  }

  .header-contact__percent {
    font-size: 14px;
  }

  .header-contact__descr {
    width: max-content;
  }
}

@media (min-width: 768px) {
  .header-top-wrapper {
    flex-wrap: nowrap !important;
  }

  .header-top-wrapper > .site-name,
  .header-top-wrapper > .header-contact__wrapper,
  .header-top-wrapper > .navigation-buttons {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .header-top-wrapper > .search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }
}

@media (max-width: 767px) {
  .header-contact__wrapper {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1440px) {
  .header-top,
  .header-top-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  .header-top-wrapper {
    padding: 10px 0 !important;
    align-items: center;
    flex-wrap: wrap !important;
    gap: 16px;
    justify-content: space-between;
  }

  .header-top-wrapper > .search {
    order: 10;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
}