/* One horizontal desktop row. Long menus collapse rather than wrap. */
.ms-header{box-shadow:0 4px 24px #0c305109;border-bottom:1px solid #e6edf4}
.ms-header .ms-header-row{width:min(1440px,calc(100% - 48px));display:flex;flex-wrap:nowrap;gap:24px;min-height:96px;padding-block:0}
.ms-header .ms-brand{flex:0 0 132px}.ms-header .ms-brand img{width:132px;height:86px}
.ms-header .ms-nav{order:0;width:auto;flex:1 1 auto;margin-left:auto;min-width:0}
.ms-header .ms-menu{display:flex;flex-wrap:nowrap;justify-content:center;gap:6px;padding:0;align-items:center}
.ms-header .ms-menu>li{position:relative;display:flex;align-items:center;flex:0 0 auto}
.ms-header .ms-menu a{font-size:13px;line-height:1.4;font-weight:600;padding:16px 10px;white-space:nowrap;border-radius:8px;transition:color .18s,background-color .18s}
.ms-header .ms-menu>li>a:hover,.ms-header .ms-menu>li.current-menu-item>a,.ms-header .ms-menu>li.current-menu-ancestor>a{background:#edf5ff;color:#0865ce}
.ms-header .ms-menu .sub-menu{display:block;position:absolute;top:100%;left:0;min-width:248px;max-width:min(360px,calc(100vw - 48px));box-sizing:border-box;background:#fff;border:1px solid #e2eaf3;border-radius:12px;padding:8px;box-shadow:0 18px 42px #102a4326;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s,transform .18s;z-index:50}
.ms-header .ms-menu .sub-menu li{position:relative;display:flex;align-items:center}
.ms-header .ms-menu .sub-menu a{display:block;flex:1;white-space:normal;padding:12px;line-height:1.5}
.ms-header .ms-menu .sub-menu a:hover{background:#edf5ff}
.ms-header .ms-menu .sub-menu .sub-menu{top:0;left:100%}
.ms-header .ms-menu .ms-align-end>.sub-menu{left:auto;right:0}
.ms-header .ms-menu .sub-menu .ms-align-end>.sub-menu{right:100%;left:auto}
.ms-header:not(.ms-has-js) .ms-menu li:hover>.sub-menu,.ms-header:not(.ms-has-js) .ms-menu li:focus-within>.sub-menu,.ms-header.ms-has-js .ms-menu .ms-submenu-open>.sub-menu{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.ms-header .ms-submenu-toggle{display:grid;place-items:center;flex:0 0 28px;width:28px;height:36px;padding:0;margin-left:-6px;margin-right:3px;border:0;border-radius:6px;background:transparent;cursor:pointer;color:#41617e}
.ms-submenu-toggle::after{content:'';width:6px;height:6px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s}
.ms-submenu-toggle[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}
.ms-header .ms-header-actions{margin-left:0;gap:12px;flex-shrink:0}
.ms-header .ms-account{padding:12px 16px;border-radius:9px;box-shadow:0 4px 12px #0967d21a;white-space:nowrap}
.ms-header .ms-cart{height:42px;min-width:42px;padding:0 5px;box-sizing:border-box;background:#f1f6fb;border:1px solid #e2eaf3;border-radius:9px;font-size:13px}
.ms-header button:focus-visible{outline:3px solid #168cf1;outline-offset:3px}
.ms-header .ms-menu-toggle{display:none}
/* The compact mode also handles unusually long saved WordPress menus. */
.ms-header.ms-compact .ms-header-row{flex-wrap:wrap;padding-block:8px;gap:10px 16px;min-height:78px}
.ms-header.ms-compact .ms-menu-toggle{display:block;margin-left:auto}
.ms-header.ms-compact .ms-nav{order:4;flex-basis:100%;width:100%;margin:0}
.ms-header.ms-compact.ms-has-js .ms-nav{display:none}
.ms-header.ms-compact.ms-has-js .ms-nav-open{display:block}
.ms-header.ms-compact .ms-menu{display:block;padding:8px 0}
.ms-header.ms-compact .ms-menu>li{display:flex;flex-wrap:wrap;border-top:1px solid #edf2f7}
.ms-header.ms-compact .ms-menu a{flex:1;white-space:normal;padding:13px 10px;font-size:15px}
.ms-header.ms-compact .ms-submenu-toggle{width:44px;height:44px;flex-basis:44px;margin:0}
.ms-header.ms-compact .ms-menu .sub-menu,.ms-header.ms-compact .ms-menu .sub-menu .sub-menu{display:none;position:static;flex-basis:100%;width:100%;min-width:0;max-width:none;padding:0 0 0 16px;box-shadow:none;border:0;border-radius:0;transform:none;transition:none;background:#f7faff}
.ms-header.ms-compact .ms-menu .sub-menu li{flex-wrap:wrap}
.ms-header.ms-compact.ms-has-js .ms-menu .ms-submenu-open>.sub-menu,.ms-header.ms-compact:not(.ms-has-js) .ms-menu li:focus-within>.sub-menu,.ms-header.ms-compact:not(.ms-has-js) .ms-menu li:hover>.sub-menu{display:block}
@media(max-width:1199px){.ms-header:not(.ms-has-js) .ms-header-row{flex-wrap:wrap}.ms-header:not(.ms-has-js) .ms-nav{flex-basis:100%}.ms-header:not(.ms-has-js) .ms-menu{flex-wrap:wrap}.ms-header .ms-brand img{height:70px}}
@media(max-width:600px){.ms-header .ms-header-row{width:calc(100% - 28px);gap:8px}.ms-header .ms-brand{flex-basis:92px}.ms-header .ms-brand img{width:92px;height:64px}.ms-header .ms-header-actions{gap:6px}.ms-header .ms-account{padding:10px;font-size:12px}.ms-header .ms-account span{display:none}.ms-header .ms-cart{min-width:36px}.ms-header .ms-menu-toggle{font-size:12px;padding:8px}.ms-header.ms-compact .ms-header-row{gap:8px}}
@media(prefers-reduced-motion:reduce){.ms-header .ms-menu a,.ms-header .ms-menu .sub-menu,.ms-submenu-toggle::after{transition:none}}

.ms-header .ms-register{font-size:13px;font-weight:600;color:#0966cf;text-decoration:none;white-space:nowrap}.ms-header .ms-nav-register{display:none}.ms-header.ms-compact .ms-nav-register{display:block;padding:12px 10px;border-top:1px solid #edf2f7;color:#0966cf;text-decoration:none;font-weight:600}
@media(max-width:600px){.ms-header .ms-register{display:none}}
