.header-inner { gap: 18px; }
.header-inner .brand-mark { padding: 0; letter-spacing: -.04em; font-size: 20px; font-weight: 800; color: #14213a; }
.header-inner .brand-name { max-width: none; white-space: nowrap; }
.footer-brand { font-size: clamp(24px, 3vw, 30px); overflow-wrap: anywhere; }
.primary-navigation { margin-left: auto; gap: clamp(14px, 1.7vw, 24px); }
.header-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.header-tool { width: 42px; height: 44px; display: inline-flex; align-items: center; justify-content: center; position: relative; color: #b9c0d4; border-radius: 12px; border: 1px solid #3a455a; background: #11162488; transition: background .2s, border-color .2s; }
.header-tool:hover, .header-tool[aria-current] { background: #101127; border-color: #6767a7; }
.cart-count { position: absolute; top: -4px; right: -5px; padding: 1px 5px; min-width: 18px; height: 18px; border-radius: 8px; font: 700 10px/16px var(--sans); background: #6b4dcc; color: #fff; }
.platform-context { align-items: center; gap: 7px 14px; padding-block: 13px; }
.platform-context a { border-radius: 9px; padding: 7px 11px; min-height: 38px; border: 1px solid transparent; }
.platform-context a:hover { background: #121725; text-decoration: none; }
.platform-context a[aria-current] { background: #160f28; border-color: #785eb1; color: #c2b7d7; font-weight: 650; }
.platform-context .context-logout { margin-left: auto; }
.commerce-preview-notice { padding: 16px 20px; margin-block: 20px; border-radius: 14px; border: 1px solid #38405c; color: #b9c2d4; background: #0e1629; font-size: 16px; }
.commerce-preview-notice strong { color: #dce1ea; }
.commerce-preview-notice p { margin: 4px 0; }
.commerce-preview-notice a { display: inline-block; margin-top: 5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.preview-readonly { border: 0; padding: 0; margin: 0; min-inline-size: 0; width: 100%; }
@media (min-width: 761px) and (max-width: 1200px) {
  .header-inner { height: 78px; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; border: 1px solid #36425e; border-radius: 10px; padding: 10px 11px; min-height: 44px; color: #b9bad4; background: #0e1228; font-size: 16px; }
  .menu-toggle-lines { display: block; position: relative; width: 17px; height: 12px; border-top: 1px solid #696ba1; border-bottom: 1px solid #696ba1; }
  .menu-toggle-lines::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: #696ba1; }
  .primary-navigation { position: absolute; top: 78px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 19px 30px 25px; border-bottom: 1px solid #344260; background: #0e1528f5; backdrop-filter: blur(20px); box-shadow: 0 18px 30px -22px #435b9455; font-size: 16px; }
  .js-enabled .primary-navigation { display: none; }
  .js-enabled .primary-navigation[data-open=true] { display: flex; }
  .primary-navigation > a:not(.nav-contact) { padding: 15px 0; border-bottom: 1px solid #dbe3f4; }
  .primary-navigation > a:not(.nav-contact)::after { display: none; }
  .primary-navigation .nav-contact { margin-top: 19px; justify-content: space-between; }
  .mobile-extra-links { display: flex; gap: 20px; margin-top: 18px; }
}
@media (max-width: 760px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 5px; }
  .header-tool { width: 36px; min-height: 44px; border-color: transparent; background: transparent; }
  .platform-context { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .platform-context a { white-space: nowrap; min-height: 44px; padding-inline: 9px; }
  .commerce-preview-notice { padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 420px) {
  .header-actions .menu-toggle-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .header-actions .menu-toggle { padding: 12px; min-width: 44px; min-height: 44px; }
  .header-inner .brand-name { font-size: 16px; }
  .header-inner .brand-name small { font-size: 16px; }
}

.header-tool { color: #d4e0f8; background: #18253b80; border-color: #3a4863; }
.header-tool:hover, .header-tool[aria-current] { color: #b4f1ff; background: #253551; border-color: #7771ad; }
.cart-count { font-size: 15px; line-height: 22px; min-width: 24px; height: 24px; padding-inline: 5px; border-radius: 9px; background: #7651c5; }
.platform-context { padding-block: 10px; font-size: 16px; }
.platform-context a { min-height: 44px; }
.platform-context a[aria-current] { color: #d9c6ff; background: #27213e; border-color: #645184; }
.menu-toggle { color: var(--ink); background: var(--surface-raised); border-color: var(--line); }
@media (max-width: 1200px) {
  .primary-navigation { background: #0d172bf7; border-color: var(--line); }
  .primary-navigation > a:not(.nav-contact) { border-color: var(--line); }
  .mobile-extra-links { flex-wrap: wrap; font-size: 16px; }
}
@media (max-width: 760px) {
  .header-tool { background: transparent; border-color: transparent; min-width: 38px; }
  .brand-name small { display: none; }
}

/* Keep the shop a named destination, also while the main menu is collapsed. */
.primary-navigation > a.nav-shop, .header-shop {
  color: #14213a; background: linear-gradient(115deg, #67d9ee, #b4a1ff 56%, #eda4e4);
  border: 1px solid #c0cbf0; border-radius: 11px; font-size: 17px; font-weight: 750;
  padding: 11px 19px; min-height: 44px; text-align: center; line-height: 1.3;
  box-shadow: 0 5px 22px #8461ed30; transition: box-shadow .2s, transform .2s;
}
.primary-navigation > a.nav-shop::after { display: none; }
.primary-navigation > a.nav-shop:hover, .header-shop:hover { transform: translateY(-1px); box-shadow: 0 8px 24px #8461ed50; }
.primary-navigation > a.nav-shop[aria-current], .header-shop[aria-current] { outline: 2px solid #b9ecff; outline-offset: 3px; }
.header-shop { display: none; align-items: center; justify-content: center; }
.primary-navigation .nav-contact { background: #1a263e; color: #e4eeff; border: 1px solid #506384; box-shadow: none; }
.page-wayfinding { padding-block: 13px 0; }
.page-wayfinding a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 11px; color: #d1dff6; background: #15233a80; font-size: 16px; font-weight: 550; }
.page-wayfinding a:hover { background: #253551; border-color: #7b83b5; color: #edf6ff; }
@media (max-width: 1200px) {
  .header-shop { display: inline-flex; }
  .primary-navigation > a.nav-shop { padding: 13px 16px; margin-bottom: 9px; border-bottom: 1px solid #c0cbf0; }
  .primary-navigation .nav-contact { margin-top: 15px; }
  .primary-navigation[data-open=true] { max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; }
  html:not(.js-enabled) .site-header { position: relative; }
  html:not(.js-enabled) .header-inner { height: auto; flex-wrap: wrap; padding-block: 14px; }
  html:not(.js-enabled) .header-actions { margin-left: auto; }
  html:not(.js-enabled) .primary-navigation { position: static; order: 3; width: 100%; padding: 15px 0 0; box-shadow: none; }
  html:not(.js-enabled) .menu-toggle { display: none; }
}
@media (max-width: 600px) {
  .header-inner { height: auto; min-height: 78px; flex-wrap: wrap; padding-block: 12px; row-gap: 10px; }
  .header-inner .brand { flex-basis: 100%; }
  .header-actions { width: 100%; justify-content: flex-end; }
  .header-shop { margin-right: auto; }
  .primary-navigation { top: 100%; }
  .primary-navigation[data-open=true] { max-height: calc(100dvh - 140px); }
  .header-account { display: none; }
  .header-actions { gap: 5px; }
  .header-shop { padding: 10px 12px; font-size: 16px; }
  .header-cart { width: 40px; min-width: 40px; }
}
@media (max-width: 760px) {
  .platform-context { flex-wrap: wrap; overflow: visible; gap: 5px; }
  .platform-context a { background: #14213a66; border-color: var(--line); padding: 7px 10px; }
}
@media (max-width: 359px) {
  .header-inner .brand { gap: 8px; }
  .header-inner .brand-name { line-height: 1.2; }
  .header-shop { padding-inline: 10px; }
  .header-actions { gap: 3px; }
}
