/* Phone and tablet share one full-height side menu. */
.h88-drawer-layer[hidden],.h88-drawer-view[hidden],.h88-back-to-top[hidden]{display:none!important}
:root{--h88-drawer-width:min(390px,78vw)}
.h88-drawer-layer{position:fixed;inset:0;z-index:100000;font-family:inherit;color:#344151}
.h88-drawer-backdrop{position:absolute;inset:0 0 0 var(--h88-drawer-width);background:rgb(3 27 73 / 28%)}
.h88-site-drawer{position:absolute;inset:0 auto 0 0;display:flex;flex-direction:column;width:var(--h88-drawer-width);height:100vh;height:100dvh;margin:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box;border:0;background:#fff;box-shadow:3px 0 15px rgb(0 24 52 / 13%);overflow:hidden;animation:h88-drawer-enter .2s ease-out}
.h88-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:76px;padding:16px 24px 8px;box-sizing:border-box}
.h88-drawer-brand{display:block;flex:0 1 150px;min-width:0}
.h88-drawer-brand img{display:block;width:150px;max-width:100%;height:auto;margin:0;border:0;filter:none}
.h88-drawer-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:#fff;color:#344151;cursor:pointer}
.h88-drawer-close .dashicons{width:26px;height:26px;font-size:26px}
.h88-drawer-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 24px 24px;scrollbar-width:thin}
.h88-drawer-view{display:block;margin:0;padding:0}
.h88-drawer-account{display:flex;align-items:center;justify-content:center;min-height:44px;margin:8px 0 24px;padding:10px 14px;box-sizing:border-box;border-radius:24px;background:#075bd3;color:#fff;font-size:16px;font-weight:500;line-height:1.4;text-align:center;text-decoration:none}
.h88-drawer-account:hover,.h88-drawer-account:focus-visible{background:#034fb9;color:#fff;text-decoration:none}
.h88-drawer-group{margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid #dce3eb}
.h88-drawer-group--last{margin:0;padding:0;border:0}
.h88-drawer-row{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;margin:0;padding:12px 0;box-sizing:border-box;border:0;border-radius:0;background:transparent;color:#344151;font-family:inherit;font-size:16px;font-weight:400;line-height:1.45;text-align:left;text-decoration:none;cursor:pointer}
.h88-drawer-row>.dashicons{width:23px;height:23px;flex:0 0 23px;font-size:23px;color:#344151}
.h88-drawer-row>span:nth-child(2){flex:1;min-width:0}
.h88-drawer-row .h88-drawer-chevron{margin-left:auto;font-size:18px}
.h88-drawer-row:hover,.h88-drawer-row:focus-visible{color:#00366c;background:#f5f8fc;text-decoration:none}
.h88-drawer-back{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;margin:0 0 10px;padding:6px 0;border:0;background:#fff;color:#075bd3;font-family:inherit;font-size:16px;font-weight:500;line-height:1.4;cursor:pointer}
.h88-drawer-back .dashicons{font-size:20px;width:20px;height:20px}
.h88-drawer-section-title{margin:6px 0 14px;font-family:inherit;font-size:23px;font-weight:500;line-height:1.3;color:#182635}
.h88-site-drawer :focus-visible{outline:2px solid #075bd3;outline-offset:3px}
.h88-back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));z-index:800;display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin:0;padding:0;border:1px solid #e0e6ec;border-radius:50%;background:#fff;color:#00366c;box-shadow:0 3px 12px rgb(0 25 56 / 15%);cursor:pointer;touch-action:manipulation}
.h88-back-to-top .dashicons{width:23px;height:23px;font-size:23px}
.h88-back-to-top:hover{background:#f5f8fc;color:#00366c}
.h88-back-to-top:focus-visible{outline:2px solid #075bd3;outline-offset:3px}
@keyframes h88-drawer-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@keyframes h88-storefront-push{from{translate:0 0}to{translate:var(--h88-drawer-width) 0}}
@media(max-width:1199px), (any-pointer:coarse){
 .h88-page-pushed{translate:var(--h88-drawer-width) 0;animation:h88-storefront-push .2s ease-out}
 .site-header .main-header .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;grid-column:1;grid-row:1;width:44px;height:48px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;cursor:pointer}
 .site-header .main-header .mobile-menu-toggle .dashicons{width:28px;height:28px;font-size:28px}
 .site-header .main-header .mobile-menu-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
 .h88-drawer-ready .site-header .department-nav,.h88-drawer-ready .site-header .department-nav.is-open{display:block!important}
}
@media(min-width:768px) and (max-width:1199px), (min-width:768px) and (any-pointer:coarse){
 .site-header .main-header.shell{grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;row-gap:10px;min-height:0;padding-block:10px 14px}
 .site-header .main-header .brand{grid-column:2;grid-row:1;width:190px;max-width:100%;justify-self:start}
 .site-header .header-actions{grid-column:3;grid-row:1}
 .site-header .header-search-block{grid-column:1/-1;grid-row:2;width:100%;margin-top:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.h88-site-drawer,.h88-page-pushed{animation:none}}

.h88-mobile-nav{display:none}
@media(max-width:767px){
 :root{--h88-drawer-width:78vw}
 .h88-drawer-header{padding:12px 16px 8px;min-height:68px}
 .h88-drawer-scroll{padding:8px 16px 20px}
 .h88-drawer-row{min-height:48px;gap:10px}
 .h88-drawer-account{font-size:16px;border-radius:5px;margin-bottom:20px}
}

/* Small symbols retain generous, named controls. */
.site-header .main-header .mobile-menu-toggle{flex-direction:column;gap:1px}
.site-header .main-header .mobile-menu-toggle .dashicons{width:20px;height:20px;font-size:20px}
.site-header .main-header .h88-menu-label{font-size:14px;line-height:1.2;font-weight:600}
.h88-drawer-row>.dashicons{width:20px;height:20px;flex-basis:20px;font-size:20px}

/* Same persistent controls on phones and tablets; spacing adapts to available width. */
@media(max-width:1199px), (any-pointer:coarse){
 .hardware-club-theme:not(.h88-auth-page-active){padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 .h88-mobile-nav{position:fixed;inset:auto 0 0;z-index:700;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e5ea}
 .h88-mobile-nav a,.h88-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:48px;color:#67707b;font-size:12px;font-weight:500;line-height:1.4;text-align:center;text-decoration:none}
 .h88-mobile-nav a[aria-current=page]{color:#06265f;font-weight:700}
 .h88-mobile-nav .dashicons{width:23px;height:23px;font-size:23px}
 .h88-mobile-nav a:focus-visible,.h88-mobile-nav button:focus-visible{outline:2px solid #075bd3;outline-offset:-2px;border-radius:4px}
 .h88-back-to-top{bottom:calc(82px + env(safe-area-inset-bottom));right:12px;width:42px;height:42px}
 .h88-mobile-nav button{margin:0;padding:0;border:0;border-radius:0;background:transparent;font-family:inherit;cursor:pointer}
}
