.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(14, 12, 11, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.site-header::after {
  display: none;
}

.site-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1320px);
  height: 78px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 38px);
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
  width: 68px;
  height: 62px;
}

.site-header .logo_header {
  display: block;
  width: 64px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  transition: transform 220ms ease;
}

.site-header-logo:hover .logo_header {
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
}

.site-header .header_nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
}

.site-header .transfer_header,
.mobile-menu .transfer_header {
  position: relative;
  padding: 9px 3px;
  color: rgba(255, 250, 244, 0.76);
  background-image: linear-gradient(90deg, #85583d, #f1b17e);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-size 180ms ease, transform 180ms ease;
}

.site-header .transfer_header::after,
.mobile-menu .transfer_header::after {
  display: none;
}

.site-header .transfer_header:hover,
.mobile-menu .transfer_header:hover {
  color: #fffaf4;
  background-size: 100% 2px;
}

.site-header .cart-btn,
.mobile-menu .cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .cart-btn > span,
.mobile-menu .cart-btn > span {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding-inline: 5px;
  border-radius: 999px;
  color: #fff;
  background: #85583d;
  font-size: 11px;
}

.site-header .cart-btn:hover,
.mobile-menu .cart-btn:hover {
  border-color: #9f6b4a;
  background: #85583d;
  box-shadow: 0 10px 28px rgba(133, 88, 61, 0.28);
  transform: translateY(-2px);
}

.site-header .account-nav-link.is-authenticated,
.mobile-menu .account-nav-link.is-authenticated {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(188, 137, 91, 0.55);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4eadf;
  background:
    radial-gradient(circle at 35% 28%, rgba(218, 174, 128, 0.28), transparent 45%),
    linear-gradient(145deg, #6f4329, #2b1a12);
  background-size: auto;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
}

.site-header .account-nav-link.is-authenticated:hover {
  border-color: #d8a879;
  background-size: auto;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.site-header .account-nav-icon,
.mobile-menu .account-nav-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .account-nav-link.is-authenticated .account-nav-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header .burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.site-header .burger span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #fffaf4;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header .burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header .burger.is-open span:nth-child(2) {
  opacity: 0;
}

.site-header .burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 70px 12px auto;
  z-index: 999;
  display: none;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(19, 17, 16, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 5px;
}

.mobile-menu .transfer_header {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background-image: none;
}

.mobile-menu .transfer_header:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu .account-nav-link.is-authenticated {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 12px;
}

.mobile-menu .account-nav-link.is-authenticated .account-nav-label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.mobile-menu .cart-btn {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .site-header,
  .site-header-container {
    height: 70px;
  }

  .site-header .header_nav {
    display: none;
  }

  .site-header .burger {
    display: block;
  }

  .site-header .logo_header {
    width: 56px;
    height: 50px;
  }
}
