.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-color: #ffffff12;
  background: #071426ef;
  box-shadow: 0 12px 40px #0003;
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(100% - 48px, 1320px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { display: block; width: 42px; height: 48px; object-fit: contain; }
.brand-name { color: #f8fafc; font: 800 14px Manrope, "Plus Jakarta Sans", sans-serif; white-space: nowrap; }
.brand-name span { color: #f5c451; font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 19px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: #e8e4f0bb;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #f5c451; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e8e4f0bb;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle[aria-expanded="true"] { color: #f5c451; }
.nav-dropdown-toggle svg { width: 13px; height: 13px; transition: transform .2s ease; }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: 100%;
  left: -14px;
  display: none;
  gap: 2px;
  min-width: 170px;
  margin: 0;
  padding: 9px;
  list-style: none;
  border: 1px solid #ffffff18;
  border-radius: 13px;
  background: #0d1d32f5;
  box-shadow: 0 16px 40px #0005;
  backdrop-filter: blur(18px);
}
.nav-submenu:not([hidden]) { display: grid; }
.nav-dropdown:hover .nav-submenu:not([hidden]), .nav-dropdown:focus-within .nav-submenu:not([hidden]) {
  display: grid;
}
.nav-submenu a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: #ffffff0d; }
.header-search-toggle {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #ffffff08;
  color: #f8fafc;
  cursor: pointer;
}
.header-search-toggle:hover, .header-search-toggle[aria-expanded="true"] { border-color: #f5c451; color: #f5c451; }
.header-search-toggle svg { width: 17px; height: 17px; }
.desktop-search {
  position: absolute;
  top: calc(100% - 5px);
  right: max(24px, calc((100vw - 1320px) / 2));
  display: flex;
  width: min(360px, calc(100vw - 32px));
  gap: 8px;
  padding: 9px;
  border: 1px solid #ffffff18;
  border-radius: 14px;
  background: #0d1d32f5;
  box-shadow: 0 16px 40px #0005;
  backdrop-filter: blur(18px);
}
.desktop-search[hidden] { display: none; }
.desktop-search input, .mobile-search input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #29425f;
  border-radius: 9px;
  background: #09182b;
  color: #f8fafc;
}
.desktop-search button, .mobile-search button {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  min-height: 40px;
  padding: 0;
  border: 1px solid #f5c451;
  border-radius: 9px;
  background: #f5c451;
  color: #071426;
  cursor: pointer;
}
.desktop-search button svg, .mobile-search button svg { width: 17px; height: 17px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.apply-link, .mobile-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  background: linear-gradient(130deg, #f5c451, #d9a832);
  color: #071426;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 26px #f5c4512b;
  transition: transform .2s ease, box-shadow .2s ease;
}
.customer-nav { display: flex; align-items: center; gap: 8px; }
.customer-nav form, .mobile-menu form { margin: 0; }
.account-link, .cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #ffffff08;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cart-link { border-color: #f5c4516b; color: #f5c451; }
.account-link:hover, .cart-link:hover { border-color: #f5c451; color: #f5c451; }
.apply-link:hover, .mobile-apply:hover { transform: translateY(-2px); box-shadow: 0 13px 30px #f5c45144; }
.apply-link svg, .mobile-apply svg { width: 15px; height: 15px; }
.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #ffffff17;
  border-radius: 12px;
  background: #ffffff0a;
  color: #f8fafc;
  cursor: pointer;
}
.menu-toggle svg { width: 21px; height: 21px; }
.mobile-menu { display: none; }
.mobile-menu:not([hidden]) {
  display: grid;
  gap: 0;
  width: min(100% - 28px, 520px);
  max-height: calc(100dvh - 84px);
  overflow: auto;
  margin: 0 auto 12px;
  padding: 12px 20px 18px;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: #0d1d32f5;
  box-shadow: 0 20px 55px #0006;
  backdrop-filter: blur(18px);
}
.mobile-search { display: flex; gap: 8px; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid #ffffff0d; }
.mobile-menu > a:not(.mobile-apply), .mobile-submenu-toggle {
  padding: 12px 2px;
  border-bottom: 1px solid #ffffff0d;
  color: #edeaf3;
  font-size: 13px;
  font-weight: 600;
}
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.mobile-submenu-toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
.mobile-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu > a:hover, .mobile-menu > a[aria-current="page"]:not(.mobile-apply) { color: #f5c451; }
.mobile-submenu {
  display: grid;
  margin: 0 0 5px 12px;
  padding-left: 12px;
  border-left: 1px solid #f5c45155;
}
.mobile-submenu[hidden] { display: none; }
.mobile-submenu a {
  padding: 9px 2px;
  color: #b8c5d4;
  font-size: 12px;
  font-weight: 600;
}
.mobile-submenu a:hover { color: #f5c451; }
.mobile-apply { justify-self: start; margin-top: 14px; }
@media (max-width: 1120px) {
  .nav-shell { width: min(100% - 36px, 1320px); }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 11px; }
  .brand-name { font-size: 12px; }
  .brand-mark { width: 39px; height: 39px; }
  .apply-link { padding: 0 13px; font-size: 11px; }
}
@media (max-width: 1050px) {
  .nav-shell { min-height: 72px; }
  .nav-links, .nav-shell > .apply-link { display: none; }
  .customer-nav { display: none; }
  .header-search-toggle { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .desktop-search { display: none; }
}
@media (max-width: 600px) {
  .nav-shell { width: calc(100% - 30px); min-height: 66px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 12px; }
}