.header-top > div.site-name-wrapper a {
  display: block;
  width: 100%;
}
.overall-wrapper {
  overflow: hidden;
}
.search-form::before {
  width: 26px;
  height: 26px;
  left: 5px;
  font-size: 18px;
}
.compact-form .form-control {
  padding: 12px 80px 12px 40px;
}
.compact-form .btn {
  width: auto;
  min-width: 80px;
  font-size: 12px;
}
.top-nav-button, .btn.cart-count .cart-price {
font-weight: 400;
}

.header-top > div.search {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header-top > div.search .form-control {
  border-radius: 28px;
}
#header .search-form .btn {
  top: 0;
  right: 0;
  height: 56px;
  font-weight: 600;
  background-color: #239d38;
  border-radius: 0 28px 28px 0;
  border-color: #239d38;
  text-transform: none;
  transition: all 0.3s ease-in-out;
}
#header .search-form .btn:hover {
  background-color: #34bf4c !important;
  border-color: #34bf4c;
}
.search-form::before {
  border-right: 0px;
}
@media (min-width: 768px) {
  #navigation {
    position: relative;
    overflow: visible;
  }
  #navigation::before,
  #navigation::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 62px;
    top: 0;
    background-color: #239d38;
    z-index: -1;
  }
  #navigation::before {
    left: -50%;
  }
  #navigation::after {
    right: -50%;
  }
  .navigation-in.menu {
    background-color: #239d38;
  }
  .menu-helper::after,
  .navigation-in > ul > li > a,
  .submenu-arrow::after {
    color: white;
  }
  .header-top {
    gap: 10px;
    justify-content: space-between;
  }
  #header .site-name {
    padding: 0;
  }
  .header-top > div,
  .header-top > div.search {
    flex: 0 0 auto;
    width: max-content;
  }
  .header-top > div.site-name-wrapper {
    flex: 0 0 20%;
  }
}

.header__wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  flex: 0 0 auto !important;
}

.header__image {
  width: 50px;
  flex-shrink: 0;
}

.header__image img {
  width: 100%;
}

.header__rating {
  margin-bottom: 5px;
}

.header__item,
.header__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__stars {
  display: flex;
  align-items: center;
}
.header__star {
  position: relative;
  width: 14px;
  height: 14px;
}
.header__star::before {
  content: "\e907";
  color: #ecb911;
  position: absolute;
  left: 0;
  top: 2px;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: "ikony";
  line-height: 13px;
}
.header__percent {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}
.header__phone {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 0.5;
  color: black;
}
.header__descr {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 0.5;
  color: #747474;
}
.header__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 0.5;
  color: black;
}
@media (max-width: 1200px) {
  .top-nav-button {
    width: auto;
    padding: 15px 10px 0;
    font-size: 12px;
    font-weight: 400;
  }
  #header .cart-count {
    min-width: auto;
    padding: 15px 10px 0;
    font-size: 12px;
  }
  .header__image {
    width: 30px;
  }
  .header__item,
  .header__rating {
    gap: 5px;
  }
  .header__star {
    width: 10px;
    height: 10px;
  }
  .header__star::before {
    font-size: 10px;
    line-height: 10px;
  }
  .header__percent {
    font-size: 14px;
  }
  .header__phone {
    font-size: 12px;
  }
  .header__descr {
    width: max-content;
    font-size: 10px;
  }
  .header__text {
    font-size: 10px;
  }
  .header-top > div.site-name-wrapper {
    flex: 0 0 15%;
  }
  .compact-form .form-control {
    padding-left: 45px;
    padding-right: 100px;
  }
  .form-control,
  #header .search-form .btn {
    height: 45px;
  }
  .search-form::before {
    font-size: 18px;
    top: 6px;
  }
  .top-nav-button::before,
  .btn.cart-count::before,
  a.btn.cart-count::before {
    font-size: 22px;
  }
  .btn.cart-count .cart-price {
    font-weight: 400;
  }
}
@media (max-width: 992px) {
  .header-top {
    height: auto;
  }
  .header-top > div.search {
    width: 100% !important;
    padding: 0 0 10px;
    order: 10;
  }
  .top-nav-button,
  #header .cart-count {
    border: 0;
  }
}
@media (max-width: 767px) {
  .header__wrapper {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
  }
  #header .cart-count {
    padding: 0;
  }
  #header .site-name a img {
    margin: 0;
  }
  #header .site-name {
    width: 20%;
  }
    #header .search-form .btn {
        height: 40px;
    }
}

@media (max-width: 600px) {
  .header__wrapper {
    display: none;
  }
}
