header {
  background: #174627;
  position: sticky;
  top: 0;
  z-index: 3;
}
header a {
  color: #fff;
  transition: color 0.2s ease-out;
}
header a:hover {
  color: #fecc00;
}
#logo {
  padding: 10px 0;
}
#logo a, #logo > span {
  display: flex;
  cursor: pointer;
  position: relative;
  color: #fff;
  align-items: center;
}
.logo svg {
  width: 100%;
  height: auto;
  max-width: 48px;
}
.logo {
  margin-right: 10px;
  line-height: 1;
}
.logo-text span {
  display: block;
  line-height: 1;
}
.logo-name {
  font-weight: 700;
  font-size: 24px;
}
.logo-slogan {
  font-size: 14px;
  color: #a7d6b7;
  padding-top: 5px;
}
.count {
  display: block;
  position: absolute;
  min-width: 16px;
  height: 16px;
  background: #e30016;
  line-height: 1;
  padding: 2px;
  font-size: 12px;
  border-radius: 8px;
  top: -7px;
  right: calc(50% - 24px);
  transition: all 0.3s ease;
  transform: scale(0);
  color: #fff;
}
.count.shown {
  transform: scale(1);
}
#geo .icon {
  color: #f15a24;
  margin-right: 10px;
}
#geo > div span {
  display: block;
}
.geo-title {
  font-size: 13px;
}
.geo-city {
  border-bottom: 1px dotted;
  display: inline-block !important;
  transition: color 0.2s ease;
}
.main-phone a {
  display: inline-block;
  font-size: 24px;
  font-weight: 300;
}
.main-phone .phone-trigger {
  width: 20px;
  height: 20px;
  background: #dcdcdc;
  display: inline-block;
  border-radius: 50%;
  margin-left: 10px;
  transition: background 0.2s ease;
  top: 1px;
}
.main-phone .phone-trigger:hover {
  background: #3E61CC;
}
.main-phone .phone-trigger:after {
  content: "";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid #939393;
  border-right: 1px solid #939393;
  transform: rotate(45deg);
  top: 5px;
  left: 6px;
}
.phone-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  color: #fecc00;
  margin-right: 15px;
}
.header-phones a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.email-link {
  color: #3E61CC;
  font-size: 14px !important;
  margin-right: 35px;
}
#mobile-menu {
  display: none;
}
#mobile-menu-trigger {
  opacity: 0;
  visibility: hidden;
}
#main-menu #mobile-menu a, #main-menu #mobile-menu .cart-icon {
  color: #777;
  transform: scale(0.9);
}
.navbar-item, .navbar-link {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}
#search .modal-close {
  top: initial;
  bottom: 15px;
  right: calc(50% - 16px);
}
.search {
  padding: 15px;
}
#search input[name="search"] {
  padding-left: 36px;
}
#search input[name="search"]:active {
  border-color: #fff !important;
}
#search .clear-search {
  width: 2.5em;
  padding: 7px;
  color: #cc0f35;
  transition: transform 0.2s ease;
  transform: scale(0);
}
.search-results {
  min-height: 60px;
  margin-top: 5px;
  background: #ffffff;
  border-radius: 5px;
  position: absolute;
  width: calc(100% - 30px);
  z-index: 9;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 20%);
}
.search-example {
  padding: 20px;
}
.header-msgs a {
  display: block;
  width: 30%;
  line-height: 1;
  padding: 3px 10px 1px;
  border-radius: 7px;
  color: #fff !important;
}


@media(max-width: 768px) {
  #logo {
      padding: 0.75rem;
  }
  .slogan {
    font-size: 11px;
  }
  .main-phone {
    display: none;
  }
  .header-search {
    position: fixed;
    transform: translateY(-70px);
  }
  .search {
    padding: 0;
    background: #fff;
  }
  #search .modal-content {
    margin: 0;
    max-height: calc(100vh - 65px);
  }
  #search input[name="search"] {
    padding-left: 36px;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
  }
  .search-results {
    margin-top: 0;
  }
  header {
    position: relative;
  }
}
