.site-header,
.site-header * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(214px, 1fr) auto auto;
  min-height: 76px;
  align-items: center;
  gap: 24px;
  padding: 12px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(6, 7, 16, 0.9);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  backdrop-filter: blur(18px);
}

.site-header .brand {
  display: inline-flex;
  min-width: 214px;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.site-header .brand img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 195, 79, 0.42);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.site-header .brand > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.site-header .brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
}

.site-header .brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.2;
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-header .site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a.active,
.site-header .site-nav a[aria-current="page"] {
  border-color: rgba(242, 195, 79, 0.68);
  color: #fff;
  background: rgba(242, 195, 79, 0.12);
}

.site-header .site-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.site-header .site-member-button,
.site-header .header-favorites-button,
.site-header .header-cart-button {
  position: static;
  z-index: auto;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.site-header .site-member-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-header .site-member-button:hover,
.site-header .site-member-button.active {
  border-color: rgba(242, 195, 79, 0.62);
  background: rgba(242, 195, 79, 0.1);
}

.site-header .header-favorites-button {
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-header .header-favorites-button:hover,
.site-header .header-favorites-button.active {
  border-color: rgba(242, 195, 79, 0.68);
  background: rgba(242, 195, 79, 0.12);
}

.site-header .header-favorites-icon {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.site-header .header-favorites-button b {
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #111217;
  background: #f2c34f;
  font-size: 12px;
}

.site-header .header-cart-button {
  gap: 8px;
  border: 1px solid rgba(242, 195, 79, 0.58);
  color: #111217;
  background: #f2c34f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), 0 14px 36px rgba(242, 195, 79, 0.12);
}

.site-header .header-cart-button span {
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #15151a;
  font-size: 12px;
}

.site-header [data-group-break-hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-header .site-nav {
    gap: 6px;
  }

  .site-header .site-nav a {
    padding: 0 10px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 10px 24px 12px;
    background: #060710;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  }

  .site-header .site-header-actions {
    grid-row: 1;
    grid-column: 2;
  }

  .site-header .site-nav a {
    min-width: 0;
    padding: 0 8px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
    padding: 10px 14px 12px;
  }

  .site-header .brand img {
    width: 42px;
    height: 42px;
  }

  .site-header .brand strong {
    font-size: 19px;
  }

  .site-header .brand small {
    display: none;
  }

  .site-header .site-header-actions {
    gap: 6px;
  }

  .site-header .site-member-button,
  .site-header .header-favorites-button,
  .site-header .header-cart-button {
    min-height: 40px;
    padding: 0 9px;
    font-size: 11px;
  }

  .site-header .header-cart-button {
    gap: 6px;
  }

  .site-header .header-cart-button span {
    min-width: 22px;
    min-height: 22px;
  }

  .site-header .header-favorites-label {
    display: none;
  }

  .site-header .header-favorites-button b {
    min-width: 22px;
    min-height: 22px;
  }

  .site-header .site-nav {
    gap: 6px;
  }

  .site-header .site-nav a {
    min-height: 38px;
    padding: 0 4px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand img {
    width: 36px;
    height: 36px;
  }

  .site-header .brand strong {
    font-size: 17px;
  }

  .site-header .site-member-button,
  .site-header .header-favorites-button,
  .site-header .header-cart-button {
    min-height: 38px;
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a {
    transition: none;
  }
}
