.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-topbar {
  background: var(--color-primary);
  color: var(--color-sand);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.site-topbar__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.site-topbar__left,
.site-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header__main {
  padding: 24px 0 18px;
}

.site-header__row {
  display: grid;
  grid-template-columns: 340px auto max-content;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}

.site-header__search {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 340px;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 0 18px;
}

.site-search svg {
  flex: none;
  color: var(--color-primary);
}

.site-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 15px;
}

.site-search input::placeholder {
  color: var(--color-primary);
  opacity: 1;
}

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 25;
  max-height: 410px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
}

.site-search-results[hidden] {
  display: none;
}

.site-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: #000;
  border-bottom: 1px solid #eeeeee;
}

.site-search-result:last-child {
  border-bottom: 0;
}

.site-search-result:hover {
  background: #f6f6f6;
  color: #000;
}

.site-search-result__image {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
}

.site-search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-search-result__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  line-height: 1.25;
}

.site-search-result__content strong {
  color: #000;
  font-size: 13px;
  font-weight: 500;
}

.site-search-result__content span {
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.site-search-result__content del {
  color: #8d8d8d;
  font-weight: 400;
  margin-right: 5px;
}

.site-search-result__content ins {
  color: #000;
  text-decoration: none;
}

.site-search-results__empty {
  padding: 14px 16px;
  color: #000;
  font-size: 13px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
}

.site-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.site-brand__mark {
  width: 54px;
  height: 54px;
  flex: none;
  display: block;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-brand__text strong {
  font-size: 26px;
  line-height: 0.88;
  letter-spacing: 0;
  color: var(--color-gold);
}

.site-brand__text span {
  font-size: 26px;
  margin-top: -1px;
  color: var(--color-gold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-menu-toggle {
  display: none;
}

.action-link,
.action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: var(--color-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.action-link:hover,
.action-button:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.action-link svg,
.action-button svg {
  color: var(--color-primary);
}

.action-link__avatar {
  align-items: center;
  background: #f5f5f5;
  border-radius: 999px;
  color: #000;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 12px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  width: 26px;
}

.action-link:hover .action-link__avatar {
  background: #fff;
  color: #000;
}

.action-button--primary {
  background: var(--color-primary);
  color: var(--color-sand);
  border-color: var(--color-primary);
}

.action-button--primary svg {
  color: currentColor;
}

.action-link__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 2px;
}

.site-nav {
  border-top: 0;
  border-bottom: 0;
  background: #fff;
}

.site-nav__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.primary-nav {
  width: 100%;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-gold);
  text-transform: uppercase;
}

.primary-nav .current-menu-item > a,
.primary-nav a:hover {
  color: var(--color-primary);
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 1200;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.mobile-menu-drawer__header {
  align-items: center;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
}

.mobile-menu-drawer__header strong {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-menu-drawer__close {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  min-height: 34px;
  padding: 0 12px;
}

.mobile-menu-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 14px 20px 24px;
}

.mobile-nav__list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__list a {
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  color: #000;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: space-between;
  min-height: 52px;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-nav__list a::after {
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  content: "";
  height: 8px;
  transform: rotate(45deg);
  width: 8px;
}

@media (max-width: 1100px) {
  .site-header__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-brand {
    order: -1;
    justify-content: center;
  }

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

  .site-actions {
    justify-content: center;
  }

  .primary-nav ul {
    justify-content: center;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-topbar__inner {
    min-height: 36px;
  }

  .site-topbar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-topbar__right {
    display: none;
  }

  .site-topbar__left {
    justify-content: center;
  }

  .site-header__main {
    padding: 14px 0 12px;
  }

  .site-header__row {
    display: grid;
    grid-template-columns: 40% minmax(0, 60%);
    gap: 12px;
    align-items: center;
  }

  .site-brand {
    grid-column: 1;
    order: 1;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .site-brand__logo {
    width: 100%;
    justify-content: flex-start;
    gap: 7px;
  }

  .site-brand__logo img {
    width: 48px;
    height: auto;
  }

  .site-actions {
    grid-column: 2;
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    width: 100%;
  }

  .site-actions .action-link,
  .site-actions .action-button,
  .mobile-menu-toggle {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 42px;
  }

  .site-actions .action-link > svg,
  .site-actions .action-button > svg {
    color: #000;
  }

  .site-actions .action-button div,
  .site-actions .action-link__caret {
    display: none;
  }

  .site-actions .action-link {
    font-size: 0;
  }

  .site-actions .action-link__avatar {
    flex-basis: 24px;
    height: 24px;
    width: 24px;
    font-size: 11px;
  }

  .mobile-menu-toggle {
    align-items: center;
    background: #fff;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-menu-toggle span {
    background: currentColor;
    display: block;
    height: 1.5px;
    width: 17px;
  }

  .site-header__search {
    grid-column: 1 / -1;
    max-width: 100%;
    order: 3;
    width: 100%;
  }

  .site-search {
    min-height: 46px;
    width: 100%;
  }

  .site-nav {
    display: none;
  }

  .site-brand__text strong,
  .site-brand__text span {
    font-size: 20px;
  }
}
