/* Header */
.site-header {
  background: #171135;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 24px;
  min-height: 56px;
}

.site-header__logo {
  width: 200px;
  flex: 0 0 200px;
  height: 40px;
  display: flex;
  align-items: center;
}

.site-header__logo-widget img {
  width: 140px;
  height: 35px;
  object-fit: contain;
  display: block;
  margin: 2px 0;
}

.site-header__search {
  flex: 1 1 auto;
  max-width: 840px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.site-header__search-category {
  display: flex;
  align-items: center;
  height: 40px;
  background: #e5e7eb;
  border-radius: 6px 0 0 6px;
  min-width: 72px;
  width: 72px;
}

.site-header__search-category select {
  width: 80%;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 0 6px;
  outline: none;
}

.site-header__search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: none;
  outline: none;
  padding: 0 12px;
  border-radius: 0;
}

.site-header__search button {
  height: 40px;
  border: none;
  background: #f59e0b;
  color: #111827;
  border-radius: 0 6px 6px 0;
  padding: 0 14px;
  cursor: pointer;
}

.site-header__links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  white-space: nowrap;
}

.site-header__links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header__links a:hover {
  color: #f8fafc;
  text-decoration: none;
}

.site-header__wishlist-link,
.site-header__cart-link {
  padding-right: 10px;
}

.site-header__wishlist-count,
.site-header__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  z-index: 4;
}

.site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-header__toggle i {
  color: #fff;
  font-size: 18px;
}

.site-header__bottom {
  display: block;
  background: #2f234f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__nav {
  margin: 0;
  padding: 5px 24px;
}

.site-header__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__menu li {
  margin: 0;
  padding: 0;
}

.site-header__menu a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 6px;
}

.site-header__menu a:hover,
.site-header__menu .current-menu-item > a,
.site-header__menu .current_page_item > a {
  background: #f59e0b;
  color: #111827;
}

.site-header__wishlist-hidden {
  display: none;
}

@media (max-width: 1200px) {
  .site-header__top {
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .site-header__logo {
    order: 1;
    width: auto;
    flex: 0 0 auto;
  }

  .site-header__toggle {
    order: 2;
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__links {
    display: none;
  }

  .site-header__search {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .site-header__bottom {
    display: none;
    width: 260px;
    position: absolute;
    right: 12px;
    top: 100%;
    z-index: 70;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
  }

  .site-header.is-menu-open .site-header__bottom {
    display: block !important;
  }

  .site-header__nav {
    padding: 10px 14px;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header__menu a {
    width: 100%;
    border-radius: 0;
    padding: 10px 12px;
  }
}
