/* Airzagas header. All rules are scoped to the replacement header. */
body #header{position:relative!important;top:auto!important;margin:0!important;background:#fff!important;z-index:110;min-height:0!important}
body #header .header-container{background:#fff!important;min-height:0!important}
#header .az-header-slot{height:145px;background:#fff}
#header .az-header{position:relative;z-index:110;--az-surface:#fff;--az-menu-blue:#2d719b;--az-nav:var(--az-menu-blue);--az-nav-text:#f3f6f7;--az-nav-hover:#245c7f;--az-text:#273238;--az-hover:#dce3e7;--az-accent:#2d719b;background:var(--az-surface);color:var(--az-text);border-bottom:3px solid var(--az-accent);line-height:1.4;text-align:left;width:100%;font-family:inherit}
#header .az-header *{box-sizing:border-box}
#header .az-header-main{max-width:1440px;height:88px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:40px}
#header .az-brand{display:block;flex:0 0 200px;position:relative;height:68px;overflow:hidden}
#header .az-brand-full{position:absolute;width:200px;max-width:none;height:100px;top:50%;left:0;transform:translateY(-50%)}
#header .az-brand-mark{display:none;height:36px;width:auto}
#header .az-icon-button,#header #cart-block .header>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;background:transparent;border:0;border-radius:8px;color:var(--az-text);padding:10px;cursor:pointer;text-decoration:none}
#header .az-icon-button:hover,#header #cart-block .header>a:hover{background:var(--az-hover);color:var(--az-text)}
#header .az-header a:focus-visible,#header .az-header button:focus-visible,#header .az-header input:focus-visible{outline:2px solid #2d719b;outline-offset:3px}
#header .az-icon-button svg,#header .az-cart-icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body #header .az-header #cart-block .az-cart-icon{color:var(--az-text)!important;stroke:var(--az-text)!important}
body#checkout.page-order #header .az-header #cart-block .cart-products-count{background:#2d719b!important;font-size:11px!important;line-height:18px!important;height:18px!important;min-width:18px!important;width:auto!important;right:0!important;top:0!important;padding:0 4px!important;border-radius:10px!important}
#header #search_widget.az-search{flex:1;max-width:640px;width:auto;margin:0 auto;float:none;position:relative}
#header .az-search form{display:flex!important;position:static!important;width:100%;height:48px;margin:0;padding:0;align-items:center;border:1px solid #cbd3d8;border-radius:6px;background:#fff;box-shadow:none}
#header #az-search-input{width:100%;min-width:0;height:46px;border:0;box-shadow:none;background:transparent;padding:0 0 0 16px;color:#273238;font-size:16px;text-overflow:ellipsis}
#header .az-search #az-search-input:focus-visible{outline:0;outline-offset:0}
#header #az-search-input::placeholder{color:#637078;opacity:1}
#header .az-search form:focus-within{border-color:var(--az-menu-blue);background:#fff;box-shadow:0 0 0 2px #2d719b33}
#header .az-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
#header .az-actions>.az-icon-button,#header .az-actions #cart-block .header>a{flex:0 0 40px;width:40px;min-width:40px;padding:8px}
#header .az-actions>.az-icon-button{color:var(--az-text)!important}
#header #cart-block{margin:0;padding:0;float:none;display:block;position:relative}
#header #cart-block .cart-preview{padding:0;margin:0;border:0}
#header #cart-block .header{padding:0;margin:0;position:relative}
#header #cart-block .cart-products-count{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;background:#2d719b;color:#fff;border-radius:10px;font-size:11px;line-height:18px;margin:0}
#header #cart-block .cart-count,#header #cart-block .zero{position:static!important;background:transparent!important;color:inherit!important;padding:0!important;font-size:inherit!important;line-height:inherit!important;display:inline!important}
#header #cart-block .title-cart,#header #cart-block .cart-count-title,#header #cart-block .totals-cart,#header #cart-block .empty{display:none!important}
#header .az-menu-toggle,#header .az-search-toggle,#header .az-menu-heading{display:none}
#header .az-navigation{border-top:1px solid #edf0f2;background:#fff}
#header .az-navigation .ets_mm_megamenu{position:static!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important;box-shadow:none!important;width:100%!important;transform:none!important}
#header .az-navigation .ets_mm_megamenu_content,#header .az-navigation .ets_mm_megamenu_content_content{background:#fff!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
#header .az-navigation .container{max-width:1440px;width:100%;padding:0 24px;background:#fff!important;margin:auto}
#header .az-navigation .mm_menus_ul{display:flex!important;justify-content:center;float:none!important;width:100%!important;background:#fff!important;position:static!important;transform:none!important;max-width:none!important;opacity:1!important;visibility:visible!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;height:auto!important}
#header .az-navigation .mm_menus_li{float:none!important;border:0!important;background:transparent!important;width:auto!important;flex:0 1 auto}
#header .az-navigation .mm_menus_li>a{color:#273238!important;background:transparent!important;padding:17px 20px!important;font-size:13px!important;font-weight:600;line-height:20px!important;border:0!important}
#header .az-navigation .mm_menu_content_title{color:inherit!important;font-size:inherit!important;line-height:inherit!important;padding:0!important;min-height:0!important;height:auto!important}
#header .az-navigation .mm_menus_li:hover>a,#header .az-navigation .mm_menus_li:focus-within>a{color:#2d719b!important;background:#f6f8fa!important}
#header .az-navigation .mm_columns_ul{--az-text:#273238;--az-hover:#e7ebed;color:var(--az-text);background:#fff!important;border:1px solid #e1e7ed!important;border-top:2px solid #2d719b!important;border-radius:0 0 6px 6px;box-shadow:0 12px 28px #12253615!important}
#header .az-navigation .mm_columns_ul a{color:var(--az-text)!important}
#header .az-navigation .mm_columns_ul .ets_mm_block_content>a.h4{color:var(--az-menu-blue)!important;border-bottom-color:var(--az-menu-blue)!important}
#header .az-navigation .mm_columns_ul a:hover,#header .az-navigation .mm_columns_ul a:focus-visible{color:var(--az-accent)!important}
#header .az-navigation .ybc-menu-toggle,#header .az-navigation .close_menu,#header .az-navigation .mm_menus_li>.arrow,#header .az-navigation .mm_arrow{display:none!important}
#header .az-submenu-toggle{display:none}
#header .az-header.az-compact{--az-surface:#fff;--az-nav:#fff;--az-nav-text:#273238;--az-nav-hover:#edf2f5;--az-text:#273238;--az-hover:#edf2f5;position:fixed;top:0;left:0;right:0;box-shadow:0 3px 14px #1225360c}
#header .az-compact .az-header-main{height:64px;gap:20px}
#header .az-compact .az-brand{flex-basis:36px;height:40px;display:flex;align-items:center;justify-content:center}
#header .az-compact .az-brand-full{display:none}
#header .az-compact .az-brand-mark{display:block}
#header .az-compact .az-menu-toggle{display:inline-flex}
#header .az-compact .az-navigation{display:none}
#header .az-compact.az-menu-open .az-navigation{display:block}
.az-header-backdrop{position:fixed;inset:0;border:0;background:#14202b66;z-index:109;cursor:pointer}
.az-header-backdrop[hidden]{display:none!important}
body.az-header-panel-open{overflow:hidden}
body:has(.az-header) .az-empty-cart{padding:28px 24px;color:#333;font-size:16px}
body:has(.az-header) .searchbar-autocomplete{z-index:120!important;max-width:calc(100vw - 32px);max-height:60dvh;overflow:auto}
body:has(.az-header)>.deo-nav-mobile,body:has(.az-header) .deo-nav-mobile{display:none!important}
@media(min-width:1200px){#header .az-navigation .mm_columns_ul{max-height:calc(100dvh - 170px);overflow-y:auto}#header .az-navigation .mm_menus_li{position:static!important}#header .az-navigation .ets_mm_megamenu_content_content{position:relative!important}#header .az-navigation .mm_menus_li:focus-within>.mm_columns_ul{visibility:visible!important;opacity:1!important;display:block!important}}
@media(max-width:1199px){
 #header .az-header-slot{height:79px}
 #header .az-header-main{height:76px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:76px;gap:0 8px;padding:0 16px}
 #header .az-menu-toggle{display:inline-flex;grid-column:1;grid-row:1}
 #header .az-brand{grid-column:2;grid-row:1;width:166px;max-width:100%;height:58px;justify-self:start}
 #header .az-brand-full{width:100%;height:auto}
 #header .az-actions{grid-column:3;grid-row:1;gap:0}
 #header .az-search-toggle{display:inline-flex}
 #header #search_widget.az-search{display:none;position:absolute;top:76px;left:0;width:100%;max-width:none;margin:0;padding:10px 16px;background:#fff;border-bottom:2px solid var(--az-accent);z-index:4}
 #header .az-header.az-search-open #search_widget{display:block}
 #header .az-navigation{--az-text:#273238;--az-hover:#e7ebed;color:var(--az-text);display:none;position:fixed;inset:0 auto 0 0;width:100vw;height:100dvh;overflow:auto;overscroll-behavior:contain;padding-bottom:calc(140px + env(safe-area-inset-bottom, 0px));box-sizing:border-box;z-index:3;border:0;box-shadow:8px 0 30px #12253622}
 #header .az-menu-open .az-navigation{display:block}
 #header .az-navigation .ets_mm_megamenu::before{display:none!important}
 #header .az-menu-heading{--az-text:#f3f6f7;--az-hover:#245c7f;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--az-menu-blue);color:var(--az-text);border-bottom:3px solid var(--az-accent);font-size:18px}
 #header .az-navigation .container{padding:0!important}
 #header .az-navigation .mm_menus_ul{display:block!important;min-height:0!important;overflow:visible!important}
 #header .az-navigation .mm_menus_li{display:block!important;width:100%!important;position:relative!important;border-bottom:1px solid #edf0f2!important}
 #header .az-navigation .mm_menus_li>a{display:flex!important;align-items:center!important;float:none!important;width:auto!important;z-index:1!important;min-height:54px!important;height:auto!important;padding:12px 60px 12px 16px!important;font-size:14px!important}
 body #header .az-navigation .mm_menus_ul .mm_menus_li:hover>a,body #header .az-navigation .mm_menus_ul .mm_menus_li:focus-within>a{background:transparent!important;color:#2d719b!important}
 #header .az-submenu-toggle{display:flex;position:absolute;z-index:5;right:8px;top:5px;font-size:24px}
 #header .az-navigation .az-submenu-toggle:hover,#header .az-navigation .az-submenu-toggle:focus-visible{background:transparent!important;color:#2d719b!important;box-shadow:none!important}
 #header .az-navigation .mm_menus_li>.mm_columns_ul{display:none!important;position:static!important;width:100%!important;max-width:none!important;transform:none!important;visibility:visible!important;opacity:1!important;box-shadow:none!important;border:0!important;padding:0 16px 16px!important;margin:0!important;background:#fff!important}
 #header .az-navigation .mm_menus_li.az-submenu-open>.mm_columns_ul{display:block!important;pointer-events:auto!important}
 #header .az-navigation .mm_columns_li{float:none!important;display:block!important;width:100%!important;padding:12px 4px!important}
 #header .az-navigation .mm_blocks_ul,#header .az-navigation .mm_blocks_li{float:none!important}
 #header .az-navigation .mm_columns_ul a{white-space:normal!important}
 #header .az-compact .az-header-main{display:flex;height:60px;padding:0 12px;gap:8px}
 #header .az-compact .az-brand{width:30px;flex:0 0 30px;height:38px}
 #header .az-compact .az-brand-mark{height:32px}
 #header .az-compact .az-search{display:none}
 #header .az-compact .az-search-toggle{display:inline-flex}
 #header .az-compact.az-search-open #search_widget{display:block;position:absolute;top:60px;left:0;width:100%;padding:10px 16px;background:#fff;border-bottom:2px solid #2d719b}
}
@media(min-width:600px) and (max-width:1199px){#header .az-header.az-search-open #search_widget{left:auto;right:16px;width:min(640px,calc(100% - 32px));border:1px solid #d6dfe5;border-top:0;border-radius:0 0 8px 8px;box-shadow:0 10px 24px #12253615}}
@media(max-width:359px){#header .az-header-main{padding-left:8px;padding-right:8px;column-gap:4px}#header .az-brand-full{width:100%;height:auto}#header .az-brand{width:145px}}
@media(prefers-reduced-motion:reduce){#header .az-header *{scroll-behavior:auto!important;transition:none!important}}

/* The blue navigation keeps its own palette in both desktop states. */
@media(min-width:1200px){
 #header .az-navigation,#header .az-navigation .ets_mm_megamenu,#header .az-navigation .ets_mm_megamenu_content,#header .az-navigation .ets_mm_megamenu_content_content,#header .az-navigation .container,#header .az-navigation .mm_menus_ul{background:var(--az-nav)!important}
 #header .az-navigation .mm_columns_ul{left:50%!important;right:auto!important;width:min(720px,calc(100% - 32px))!important;transform:translateX(-50%)!important}
 #header .az-navigation .mm_columns_ul:has(> .mm_columns_li:nth-child(2)){width:min(1040px,calc(100% - 32px))!important}
 #header .az-navigation .mm_columns_ul:has(> .mm_columns_li:nth-child(3)){width:min(1240px,calc(100% - 32px))!important}
 #header .az-header:not(.az-compact){border-bottom:0}
 #header .az-navigation{border-top:3px solid var(--az-accent)}
 #header .az-navigation .mm_menus_li>a{color:var(--az-nav-text)!important}
 #header .az-navigation .mm_menus_li:hover>a,#header .az-navigation .mm_menus_li:focus-within>a{color:var(--az-nav-text)!important;background:var(--az-nav-hover)!important}
 #header .az-navigation .mm_menus_li>a:focus-visible{outline-color:#9fcde8;outline-offset:-3px}
 #header .az-header.az-compact{display:grid;grid-template-columns:40px minmax(0,1fr) 152px;grid-template-rows:62px;align-items:center;gap:16px;padding:0 max(24px,calc((100vw - 1440px)/2 + 24px))}
 #header .az-header.az-compact{background:var(--az-surface);border-bottom-color:var(--az-accent)}
 #header .az-compact #cart-block .header>a{color:var(--az-text)!important}
 body #header .az-header.az-compact #cart-block .az-cart-icon{color:var(--az-text)!important;stroke:var(--az-text)!important}
 #header .az-compact .az-actions>.az-icon-button:hover,#header .az-compact #cart-block .header>a:hover{background:var(--az-hover)}
 body #header .az-header.az-compact #cart-block .cart-products-count,body#checkout.page-order #header .az-header.az-compact #cart-block .cart-products-count{background:var(--az-accent)!important;color:#fff!important}
 #header .az-compact a:focus-visible,#header .az-compact button:focus-visible{outline-color:var(--az-accent)}
 #header .az-compact .az-header-main{display:contents}
 #header .az-compact .az-brand{grid-column:1;grid-row:1;width:36px;justify-self:start}
 #header .az-compact .az-actions{grid-column:3;grid-row:1;gap:4px}
 #header .az-compact .az-menu-toggle{display:none}
 #header .az-compact .az-search-toggle{display:inline-flex}
 #header .az-compact #search_widget{display:none}
 #header .az-compact.az-search-open #search_widget{display:block;position:absolute;top:62px;right:max(24px,calc((100vw - 1440px)/2 + 24px));width:min(640px,calc(100vw - 48px));max-width:none;padding:14px;background:#fff;border:1px solid #d6dfe5;border-radius:0 0 8px 8px;box-shadow:0 10px 24px #12253615;z-index:4}
 #header .az-compact .az-navigation{display:block;grid-column:2;grid-row:1;min-width:0;border:0}
 #header .az-compact .az-navigation .container{padding:0}
 #header .az-compact .az-navigation .mm_menus_li>a{font-size:clamp(11px,.92vw,13px)!important;padding:21px 8px!important;white-space:nowrap}
 #header .az-compact .az-navigation .mm_columns_ul{max-height:calc(100dvh - 82px)}
}

/* Search remains a white field with a blue action in every header state. */
#header .az-search .az-icon-button{flex:0 0 48px;width:48px;min-width:48px;height:46px;min-height:46px;color:#fff;background:var(--az-accent);border-radius:0 5px 5px 0}
#header .az-search .az-icon-button:hover{color:#fff;background:#245c7f}
#header .az-search .az-icon-button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
#header .az-compact .az-icon-button:focus-visible,#header .az-compact a:focus-visible{outline-color:var(--az-accent)}
#header .az-search .az-icon-button:focus-visible,#header .az-navigation .mm_columns_ul a:focus-visible,#header .az-navigation .az-submenu-toggle:focus-visible{outline-color:var(--az-accent)}
#header .az-menu-heading .az-icon-button:focus-visible{outline-color:#9fcde8}
#header .az-header.az-compact .az-menu-heading .az-icon-button:focus-visible{outline-color:#9fcde8}
#header .az-header .az-search .az-icon-button:focus-visible{outline-color:#fff}

/* Keep the compact storage menu under its own desktop trigger (task 345). */
@media (min-width: 1200px) {
  #header .az-navigation .mm_menus_li:has(> a[href*="/241-"]) {
    position: relative !important;
  }
  #header .az-navigation .mm_menus_li:has(> a[href*="/241-"]) > .mm_columns_ul {
    left: auto !important; right: 0 !important; transform: none !important;
    width: min(480px, calc(100vw - 32px)) !important;
  }
}
