.mph-header{--mph-bg:#0c2857;--mph-nav:#204c8b;--mph-accent:#c2daf6;--mph-text:#fff;--mph-muted:#c2daf6;--mph-max:none;position:relative;z-index:50;width:100%;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;color:var(--mph-text);text-align:left;isolation:isolate}
.mph-header,.mph-header *{box-sizing:border-box}
.mph-header [hidden]{display:none!important}
.mph-header a{color:inherit;text-decoration:none}
.mph-header button,.mph-header input{font:inherit;letter-spacing:normal;text-transform:none;margin:0}
.mph-header button{cursor:pointer;border:0;box-shadow:none;border-radius:5px;min-height:44px}
.mph-header a:focus-visible,.mph-header button:focus-visible,.mph-header input:focus-visible{outline:3px solid var(--mph-accent);outline-offset:3px}
.mph-header .mph-container{width:100%;max-width:var(--mph-max);margin:0 auto;padding:0 28px}
.mph-header .mph-top{background:var(--mph-bg)}
.mph-header .mph-top-inner{display:flex;align-items:center;gap:26px;min-height:106px;padding-top:18px;padding-bottom:18px}
.mph-header .mph-brand{display:flex;flex-direction:column;flex:0 0 185px;gap:4px;min-width:0}
.mph-header .mph-wordmark{font-size:25px;font-weight:800;line-height:1.05;letter-spacing:-1px}
.mph-header .mph-wordmark>span{color:var(--mph-accent)}
.mph-header .mph-wordmark small{display:block;font-size:10px;letter-spacing:4px;margin-top:7px}
.mph-header .mph-tagline{color:var(--mph-muted);font-size:10px;letter-spacing:.7px}
.mph-header .mph-logo-image{display:block;max-width:190px;width:auto;height:auto;max-height:58px;object-fit:contain;object-position:left center}
.mph-header .mph-search{position:relative;flex:1;min-width:180px}
.mph-header .mph-search-form{display:flex;background:#fff;border-radius:7px;padding:3px;min-height:52px;border:1px solid #dce2e8}
.mph-header .mph-search-form:focus-within{outline:3px solid var(--mph-accent);outline-offset:2px}
.mph-header .mph-search-input{flex:1;width:100%;min-width:0;background:#fff;color:#172331;border:0;border-radius:5px;padding:10px 13px;font-size:14px;box-shadow:none;height:auto}
.mph-header .mph-search-input:focus-visible{outline:0}
.mph-header .mph-search-input::placeholder{color:#5c6671;opacity:1}
.mph-header .mph-search-submit{display:flex;align-items:center;justify-content:center;flex:0 0 50px;background:var(--mph-accent);color:var(--mph-bg)}
.mph-header .mph-search-submit:hover{filter:brightness(1.08)}
.mph-header .mph-search-results{position:absolute;z-index:20;inset:calc(100% + 8px) 0 auto;background:#fff;color:#172331;border-radius:8px;box-shadow:0 12px 30px #0003;max-height:65vh;overflow:auto}
.mph-header .mph-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.mph-header .mph-action{display:flex;align-items:center;gap:8px;min-height:48px;padding:4px 5px;border-radius:5px}
.mph-header .mph-action:hover{background:#ffffff10}
.mph-header .mph-action-text{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.mph-header .mph-action-text>span{font-size:11px;color:var(--mph-muted)}
.mph-header .mph-action-text strong{font-size:13px;font-weight:700;color:var(--mph-text)}
.mph-header .mph-greeting{max-width:120px;overflow:hidden;text-overflow:ellipsis}
.mph-header .mph-icon{display:block;flex-shrink:0}
.mph-header .mph-cart-icon{position:relative;padding:5px 3px 0 0}
.mph-header .mph-cart-count{position:absolute;top:-9px;right:-6px;min-width:19px;padding:1px 4px;border-radius:12px;background:var(--mph-accent);color:var(--mph-bg);font-size:11px;font-weight:800;text-align:center}
.mph-header .mph-bottom{background:var(--mph-nav);border-top:1px solid #ffffff08}
.mph-header .mph-menu,.mph-header .sub-menu{list-style:none!important;margin:0!important;padding:0!important}
.mph-header .mph-menu{display:flex;flex-wrap:wrap;align-items:stretch;gap:4px}
.mph-header .mph-menu li{position:relative;list-style:none!important;margin:0;padding:0}
.mph-header .mph-menu>li{display:flex;align-items:center;flex-wrap:wrap}
.mph-header .mph-menu a{display:flex;align-items:center;min-height:48px;padding:10px 14px;font-size:13px;font-weight:600;border-radius:3px;line-height:1.4}
.mph-header .mph-menu a{color:var(--mph-text);box-shadow:none;border-bottom:0;background:transparent}
.mph-header .mph-menu a:hover{background:#ffffff0e;color:var(--mph-accent)}
.mph-header .mph-menu .current-menu-item>a{box-shadow:none;border-bottom:0}
.mph-header .mph-menu-toggle{display:none;align-items:center;gap:10px;background:transparent;color:var(--mph-text);padding:8px 0;font-weight:700}
.mph-header .mph-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;background:transparent;color:var(--mph-muted)}
.mph-header .mph-submenu-toggle:hover{background:#ffffff15}
.mph-header .mph-submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.mph-header .sub-menu{min-width:230px;background:var(--mph-nav);border:1px solid #ffffff20;border-radius:6px}
.mph-header .mph-enhanced{display:block}
.mph-header.mph-enhanced .sub-menu{position:absolute;top:100%;left:0;z-index:10;box-shadow:0 12px 24px #0003;padding:6px!important;max-width:calc(100vw - 56px)}
.mph-header .sub-menu li{display:flex;align-items:center;flex-wrap:wrap}
.mph-header .sub-menu a{flex:1;min-width:0;overflow-wrap:anywhere}
.mph-header.mph-enhanced .sub-menu .sub-menu{position:static;flex-basis:100%;min-width:0;margin-left:12px!important;box-shadow:none;border:0;border-left:2px solid #ffffff20;border-radius:0}
.mph-header .mph-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:768px){.mph-header .mph-menu>li:last-child>.sub-menu{left:auto;right:0}}
@media(max-width:1100px){.mph-header .mph-top-inner{flex-wrap:wrap;gap:18px}.mph-header .mph-brand{flex:1}.mph-header .mph-actions{margin-left:auto}.mph-header .mph-search{flex-basis:100%;order:3}.mph-header .mph-top-inner{padding-top:14px;padding-bottom:14px}.mph-header .mph-menu a{padding-left:10px;padding-right:10px}}
@media(max-width:767px){.mph-header .mph-container{padding-left:16px;padding-right:16px}.mph-header .mph-top-inner{gap:16px 10px}.mph-header .mph-brand{flex:1 1 125px}.mph-header .mph-wordmark{font-size:21px}.mph-header .mph-wordmark small{font-size:9px;letter-spacing:3px}.mph-header .mph-tagline{font-size:9px}.mph-header .mph-logo-image{max-width:145px;max-height:48px}.mph-header .mph-actions{gap:4px}.mph-header .mph-action{flex-direction:column;gap:3px;padding:3px 5px}.mph-header .mph-action-text strong{font-size:10px}.mph-header .mph-action-text>span{display:none}.mph-header .mph-cart .mph-action-text>span{display:block;font-size:10px}.mph-header .mph-action-text{align-items:center}.mph-header .mph-account .mph-action-text strong{max-width:65px;white-space:normal;text-align:center}.mph-header .mph-search-input{font-size:16px;padding-left:9px}.mph-header .mph-search-submit{flex-basis:44px}.mph-header.mph-enhanced .mph-menu-toggle{display:flex;width:100%}.mph-header .mph-menu{display:block;padding-bottom:10px!important}.mph-header .mph-menu>li{display:flex;flex-wrap:wrap}.mph-header .mph-menu a{flex:1;padding:12px 10px;font-size:14px}.mph-header .mph-submenu-toggle{min-width:44px}.mph-header.mph-enhanced .sub-menu{position:static;flex-basis:100%;width:100%;min-width:0;max-width:none;box-shadow:none;margin-left:12px!important;padding:0!important;border:0;border-left:2px solid #ffffff20;border-radius:0}.mph-header .mph-search-results{max-height:55vh}}
@media(prefers-reduced-motion:no-preference){.mph-header .mph-submenu-toggle svg{transition:transform .15s ease}}
.mph-header .mph-account-dropdown{position:relative}
.mph-header .mph-account-dropdown summary{cursor:pointer;list-style:none}
.mph-header .mph-account-dropdown summary::-webkit-details-marker{display:none}
.mph-header .mph-account-dropdown summary:focus-visible{outline:2px solid #c2daf6;outline-offset:4px;border-radius:4px}
.mph-header .mph-account-links{position:absolute;right:0;top:calc(100% + 10px);min-width:210px;z-index:1000;background:#fff;border:1px solid #d5e2f2;border-radius:8px;padding:6px;box-shadow:0 8px 24px #0002}
.mph-header .mph-account-links a{display:block;padding:10px 14px;color:#183555!important;text-decoration:none;font-size:14px;line-height:1.4;border-radius:4px;white-space:nowrap}
.mph-header .mph-account-links a:hover,.mph-header .mph-account-links a:focus-visible{background:#edf2fa}
.mph-header .mph-account-links .mph-account-logout{border-top:1px solid #e2e8f0;margin-top:4px;border-radius:0}

/* Full brand name remains legible with the Divi-managed vector logo. */
.mph-header .mph-brand{flex-basis:280px}
.mph-header .mph-logo-image{width:280px;max-width:100%;max-height:80px}
@media(max-width:767px){.mph-header .mph-brand{flex-basis:260px}.mph-header .mph-logo-image{width:260px;max-height:72px}}
/* Compact narrow-window header: logo and actions share a row; search has its own row. */
@media(max-width:1100px){
 .mph-header .mph-top-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;min-height:0;padding-top:12px;padding-bottom:12px}
 .mph-header .mph-brand{min-width:0;flex-basis:auto;width:260px;max-width:100%;grid-column:1;grid-row:1}
 .mph-header .mph-logo-image{width:260px;max-width:100%;max-height:66px}
 .mph-header .mph-actions{grid-column:2;grid-row:1;margin-left:0}
 .mph-header .mph-search{grid-column:1/-1;grid-row:2;order:initial;min-width:0;width:100%}
}
@media(max-width:767px){
 .mph-header .mph-container{padding-left:12px;padding-right:12px}
 .mph-header .mph-top-inner{gap:10px 10px}
 .mph-header .mph-brand{width:205px;flex-basis:auto}
 .mph-header .mph-logo-image{width:205px;max-height:56px}
 .mph-header .mph-actions{gap:2px}
 .mph-header .mph-action{min-width:40px;min-height:44px;padding:3px;gap:3px}
 .mph-header .mph-icon{width:21px;height:21px}
 .mph-header .mph-action-text strong{font-size:9px}
 .mph-header .mph-account .mph-action-text strong{max-width:56px}
 .mph-header .mph-cart-subtotal{display:none!important}
 .mph-header .mph-search-form{min-height:46px}
 .mph-header .mph-search-input{padding-top:8px;padding-bottom:8px}
 .mph-header .mph-search-submit{min-height:38px}
 .mph-header .mph-menu-toggle{min-height:44px;padding:8px 0}
}
