/* Source-aligned Stanley wordmark, hover mega menu, and mobile drill-down. */
body.stanley-store{overflow-x:hidden}
.stanley-header__mark{gap:8px!important;color:#111!important;font-weight:800!important;letter-spacing:.08em!important}
body.stanley-store .stanley-header__mark .stanley-header__logo{display:block;width:180px;max-width:180px;height:44px;max-height:44px;object-fit:contain}
.stanley-header__column-toggle,.stanley-header__column-back,.stanley-header__column-panel>h3,.stanley-header__mobile-links{display:none}
@media(min-width:1200px){
 body.stanley-store .stanley-header__navigation{left:256px}
 body.stanley-store .stanley-header__mega{left:-256px}
 body.stanley-store .stanley-header__columns{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:start}
 body.stanley-store .stanley-header__column{margin:0}
 body.stanley-store .stanley-header__submenu-link{min-height:32px;padding:5px 0}
}
@media(max-width:1199px){
 body.stanley-store .stanley-header__navigation{inset:40px 0 0;height:calc(100dvh - 40px)}
 body.stanley-store .stanley-header__mobile-bar>span{width:32px;height:32px;background:url('../site-identity/source-logo-bear.svg') center/contain no-repeat;font-size:0}
 body.stanley-store .stanley-header__mark .stanley-header__logo{width:154px;max-width:154px;height:44px;max-height:44px}
 body.stanley-store .stanley-header__column{margin:0}
 body.stanley-store .stanley-header__column>h2{display:none}
 body.stanley-store .stanley-header__mega{height:calc(100% - 56px);min-height:0;max-height:calc(100% - 56px);overflow-y:auto;overscroll-behavior:contain}
 body.stanley-store .stanley-header__column-toggle{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #eee;background:#fff;padding:13px 0;color:#111;font-size:17px;text-align:left}
 body.stanley-store .stanley-header__column-toggle span{font-size:28px;font-weight:300}
 body.stanley-store .stanley-header__column-panel{display:none;position:absolute;inset:0;width:100%;min-height:100%;padding:0 32px 32px;background:#fff;z-index:6}
 body.stanley-store .stanley-header__column.is-column-open .stanley-header__column-panel{display:block}
 body.stanley-store .stanley-header__column-back{display:block;width:100%;min-height:52px;border:0;border-bottom:1px solid #ddd;background:#fff;padding:12px 0;color:#111;text-align:left}
 body.stanley-store .stanley-header__column-panel>h3{display:block;margin:22px 0 10px;font-size:24px;line-height:1.2}
 body.stanley-store .stanley-header__mobile-links{display:grid;gap:0;padding:70px 32px 40px}
 body.stanley-store .stanley-header__mobile-links a{min-height:64px;padding:20px 0;color:#111;font-size:15px;text-decoration:none}
}
@media(max-width:600px){body.stanley-store .stanley-header__column-panel,body.stanley-store .stanley-header__mobile-links{padding-left:16px;padding-right:16px}}

/* Pre-mounted off-canvas drawer: never replace the page with a freshly laid
   out white block while the menu contents wait for their first paint. */
@media (max-width:1199px) {
 body.stanley-store .stanley-header__navigation {
  display:block;
  opacity:0;
  pointer-events:none;
  transform:translate3d(-102%,0,0);
  contain:paint;
  will-change:transform,opacity;
  transition:transform 160ms cubic-bezier(.4,0,.2,1),opacity 120ms ease-out;
 }
 body.stanley-store .stanley-header.is-menu-open .stanley-header__navigation {
  opacity:1;
  pointer-events:auto;
  transform:translate3d(0,0,0);
 }
 html.stanley-menu-open,
 body.stanley-store.stanley-menu-open {overflow:hidden;overscroll-behavior:none}
}
@media (max-width:1199px) and (prefers-reduced-motion:reduce) {
 body.stanley-store .stanley-header__navigation {transition:none}
}
