.moke-site-header {
  position: sticky;
  z-index: 1200;
  top: 0;
  width: 100%;
  min-height: 72px;
  border-bottom: 1px solid rgba(225,224,204,.12);
  background: rgba(9,10,9,.92);
  color: #e1e0cc;
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}
body:has(> .moke-site-header[data-moke-shared-navigation]) { padding-top: 0 !important; }
.moke-site-header *, .moke-site-header *::before, .moke-site-header *::after { box-sizing: border-box; }
.moke-site-header-inner {
  width: min(100% - 40px, 1440px);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px,1fr) auto minmax(214px,1fr);
  align-items: center;
  gap: 24px;
}
.moke-site-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font: 800 15px/1 "Almarai","Noto Sans SC",sans-serif;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}
.moke-site-brand > span { width: 10px; height: 10px; border-radius: 50%; background: #d50012; box-shadow: 0 0 18px rgba(213,0,18,.35); }
.moke-site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px,2.2vw,34px); }
.moke-site-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: rgba(225,224,204,.68);
  font: 600 11.7px/1.1 "Noto Sans SC",sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}
.moke-site-nav a::after { content:""; position:absolute; right:0; bottom:17px; left:0; height:2px; border-radius:2px; background:#d50012; transform:scaleX(0); transition:transform .18s ease; }
.moke-site-nav a:hover, .moke-site-nav a.active { color: #fff; }
.moke-site-nav a.active::after { transform: scaleX(1); }
.moke-site-controls {
  justify-self: end;
  min-width: 214px;
  height: 38px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  border: 1px solid rgba(225,224,204,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.moke-site-controls > button:not(.moke-theme-toggle) { min-width: 31px; height: 26px; padding:0 7px; border:0; border-radius:999px; background:transparent; color:rgba(225,224,204,.68); font:700 10px/1 "Noto Sans SC",sans-serif; cursor:pointer; }
.moke-site-controls > button.active { background:#e1e0cc; color:#0b0c0b; }
.moke-site-controls .moke-theme-toggle { width:26px; min-width:26px; height:26px; min-height:26px; flex-basis:26px; }
.moke-site-controls .moke-account-link { min-width:86px; max-width:126px; height:26px; padding:0 11px; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; border-radius:999px; color:#e1e0cc; font:600 11px/1 "Noto Sans SC",sans-serif; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }
.moke-site-controls .moke-account-link.is-loading { color:transparent; background:rgba(225,224,204,.08); }
.moke-site-controls .moke-account-link.is-loading::after { content:""; width:42px; height:7px; border-radius:8px; background:rgba(225,224,204,.18); }
.moke-nav-toggle { display:none; }
html[data-theme="light"] .moke-site-header { border-color:rgba(0,0,0,.1); background:rgba(255,255,255,.94); color:#101010; }
html[data-theme="light"] .moke-site-brand, html[data-theme="light"] .moke-site-nav a { color:rgba(0,0,0,.62) !important; }
html[data-theme="light"] .moke-site-brand, html[data-theme="light"] .moke-site-nav a:hover, html[data-theme="light"] .moke-site-nav a.active { color:#050505 !important; }
html[data-theme="light"] .moke-site-controls { border-color:rgba(0,0,0,.14); background:#050505 !important; color:#fff !important; }
html[data-theme="light"] .moke-site-controls .moke-account-link { color:#fff !important; }
@media (max-width: 1200px) {
  .moke-site-header-inner { min-height:64px; grid-template-columns: minmax(0,1fr) auto auto; gap:10px; }
  .moke-site-controls { min-width:0; }
  .moke-nav-toggle { grid-column:3; grid-row:1; width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(225,224,204,.18); border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
  .moke-nav-toggle i, .moke-nav-toggle i::before, .moke-nav-toggle i::after { width:16px; height:1px; display:block; background:currentColor; content:""; transition:transform .18s ease; }
  .moke-nav-toggle i::before { transform:translateY(-5px); }
  .moke-nav-toggle i::after { transform:translateY(4px); }
  .moke-site-nav { position:absolute; top:64px; right:20px; left:20px; padding:12px; display:none; flex-direction:column; align-items:stretch; gap:2px; border:1px solid rgba(225,224,204,.14); border-radius:16px; background:rgba(9,10,9,.98); box-shadow:0 22px 60px rgba(0,0,0,.28); }
  .moke-site-header.is-open .moke-site-nav { display:flex; }
  .moke-site-nav a { padding:12px 14px; border-radius:10px; }
  .moke-site-nav a::after { top:9px; right:auto; bottom:9px; left:4px; width:2px; height:auto; transform:scaleY(0); }
  .moke-site-nav a.active::after { transform:scaleY(1); }
  .moke-site-controls { grid-column:2; grid-row:1; justify-self:end; justify-content:flex-end; }
  .moke-site-header.is-open .moke-nav-toggle i { background:transparent; }
  .moke-site-header.is-open .moke-nav-toggle i::before { transform:translateY(0) rotate(45deg); }
  .moke-site-header.is-open .moke-nav-toggle i::after { transform:translateY(-1px) rotate(-45deg); }
  html[data-theme="light"] .moke-nav-toggle {
    border-color: rgba(48,35,35,.2);
    background: #f7f3f1;
    color: #211b1b;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  }
  html[data-theme="light"] .moke-site-header.is-open .moke-nav-toggle {
    border-color: rgba(159,32,38,.34);
    background: rgba(159,32,38,.07);
    color: #8e1d22;
  }
  html[data-theme="light"] .moke-site-nav {
    border-color: rgba(48,35,35,.14);
    background: rgba(255,255,255,.985);
    box-shadow: 0 22px 60px rgba(49,31,31,.18), 0 1px 0 rgba(255,255,255,.9) inset;
  }
  html[data-theme="light"] .moke-site-nav a {
    color: #514747 !important;
  }
  html[data-theme="light"] .moke-site-nav a:hover,
  html[data-theme="light"] .moke-site-nav a:focus-visible {
    background: #f5efec;
    color: #211b1b !important;
  }
  html[data-theme="light"] .moke-site-nav a.active {
    background: rgba(159,32,38,.075);
    color: #71191d !important;
  }
}
@media (max-width: 560px) {
  .moke-site-header-inner { width:calc(100% - 24px); }
  .moke-site-brand { font-size:13px; }
  .moke-site-controls .moke-account-link { min-width:76px; max-width:102px; }
  .moke-site-nav { right:12px; left:12px; }
}
@media (prefers-reduced-motion: reduce) { .moke-site-header * { transition:none !important; } }

/* Keep main navigation pinned to the viewport throughout page scrolling. */
.moke-site-header[data-moke-shared-navigation]{position:fixed;top:0;left:0;right:0;transform:none;z-index:1200}
body:has(> .moke-site-header[data-moke-shared-navigation]){padding-top:72px!important}
@media(max-width:1080px){body:has(> .moke-site-header[data-moke-shared-navigation]){padding-top:64px!important}}
