:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-mobile-directions{display:none}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer{display:none!important}
@media(max-width:767px){
html body #spbox-brand-parts.sac-root.spc-root .sac-main>.sac-toolbar,:is(#spbox-hammers,#sb-bucket-catalog,html) .sac-root .sac-toolbar{display:none!important}

:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-mobile-directions{display:flex!important;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:0;box-sizing:border-box;max-width:100%;min-width:0}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-mobile-directions a{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:7px 11px;border:1px solid #dfe4e9;border-radius:999px;background:#fff;color:#4e5963;text-decoration:none;font-size:13px;line-height:1.3;font-weight:600;box-sizing:border-box;transition:background .15s,border-color .15s}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-mobile-directions a[aria-current]{color:#a84c0d;background:#fff3e9;border-color:#ffc18e}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-mobile-directions a:active{background:#ffead8;border-color:#f98a35}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer[open]{display:flex!important;flex-direction:column!important;position:fixed!important;inset:0 auto 0 0!important;margin:0!important;width:min(90vw,380px)!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;padding:0!important;border:0!important;border-radius:0 14px 14px 0!important;background:#fff!important;color:#292d30!important;box-shadow:12px 0 36px #1a222b26!important;box-sizing:border-box!important;overflow:hidden!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer::backdrop{background:rgba(25,32,39,.38)!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:16px!important;border-bottom:1px solid #e8ecef!important;background:#fff!important;flex:0 0 auto!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-head strong{font-size:18px!important;font-weight:700!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-head button{border:1px solid #e1e6eb!important;border-radius:7px!important;background:#fff3e9!important;color:#292d30!important;font-size:13px!important;font-weight:700!important;padding:9px 11px!important;white-space:nowrap!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body{overflow-y:auto!important;overscroll-behavior:contain!important;padding:14px 16px max(24px,env(safe-area-inset-bottom))!important;flex:1!important;min-height:0!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body>section,:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body>div{display:block!important;position:static!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body nav,:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body .spbox-cat-list{display:flex!important;flex-direction:column!important;gap:5px!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body nav a,:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body .spbox-cat-list a{font-size:16px!important;line-height:1.4!important;text-decoration:none!important;color:#4e5963!important;padding:11px 10px!important;border:1px solid transparent!important;border-radius:7px!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body nav a[aria-current],:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body nav a[aria-checked=true]{background:#fff3e9!important;border-color:#ffbf8a!important;color:#a84c0d!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body .sac-subcategory{padding-left:23px!important;font-size:15px!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body .sac-nav-parent{font-weight:700!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body h2,:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body .sbl-side-title{display:none!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body a.sac-back,:is(#spbox-hammers,#sb-bucket-catalog,html) .spbox-category-drawer-body a.sbl-back{display:block!important;color:#7a858e!important;font-size:13px!important;padding:4px 0 12px!important}:is(#spbox-hammers,#sb-bucket-catalog,html) .sch-mega-pane .sch-mega-links{grid-template-columns:1fr!important}
}

/* Immediate feedback while a native page navigation waits for the server. */
#spbox-shared-header .sch-catalog-btn,#spbox-shared-header .sch-catalog-btn:focus,#spbox-shared-header .sch-catalog-btn:active{background:linear-gradient(#2c323c,#1b1e24)!important;color:#fff!important}
#spbox-header-mega .sch-navigation-status{padding:10px 16px;border-bottom:1px solid #ffcb9e;background:#fff3e9;color:#292d30;font-size:14px;font-weight:600}
#spbox-header-mega a.sch-is-loading{background:#fff3e9!important;outline:1px solid #f47b20!important;outline-offset:-1px}
#spbox-header-mega a.sch-is-loading::after{content:'';width:14px;height:14px;flex:0 0 14px;border:2px solid #f47b2055;border-top-color:#c65a0b;border-radius:50%;animation:spbox-nav-spin .75s linear infinite}
@keyframes spbox-nav-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#spbox-header-mega a.sch-is-loading::after{animation:none}}

.spbox-section-search-fold{margin:0;padding:0;border:0;background:transparent}.spbox-section-search-fold>summary{display:none}
@media(max-width:767px){html body .sac-root .spbox-section-search-fold>summary{display:flex!important;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:10px 12px;margin:0 0 12px;border:1px solid #dfe4e9;border-radius:8px;background:#fff;color:#4e5963;font-size:14px;font-weight:600}html body .spbox-section-search-fold>summary::-webkit-details-marker{display:none}html body .spbox-section-search-fold>summary:after{content:'⌄';color:#a84c0d}html body .spbox-section-search-fold[open]>summary:after{content:'⌃'}}

.spbox-mobile-directions a.is-loading,.spbox-category-drawer a.spbox-category-link-loading{background:#fff3e9!important;border-color:#f47b20!important}.spbox-mobile-directions a.is-loading:after{content:'';width:11px;height:11px;border:2px solid #f47b2055;border-top-color:#c65a0b;border-radius:50%;animation:spbox-nav-spin .75s linear infinite}

.spbox-quote-item{display:flex;align-items:center;gap:12px;margin:12px 0 18px}.spbox-quote-item img{width:80px;height:70px;object-fit:contain;background:#fff;border-radius:6px;flex:0 0 80px}.spbox-quote-item strong{font-size:15px;line-height:1.4}.spbox-quote-item .sku{margin:5px 0 0;color:#7b858e;font-size:13px}

.spbox-quote-price{margin:6px 0 0;font-size:14px;font-weight:700;color:#292d30}

/* The shared menu controller supports both the is-open class and open attribute.
   Page scripts may normalise open on a div; keep the visible state consistent. */
#spbox-shared-header .sch-catalog.is-open #spbox-header-mega{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* Parts catalogues use pc-close instead of the older close/sph-close classes.
   Keep the existing dialog and click handler; only place its close control. */
html body dialog.spbox-standard-dialog.pc-dialog > button.pc-close{position:absolute!important;inset:10px 10px auto auto!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#68717d!important;font:400 28px/1 Arial,Helvetica,sans-serif!important;box-shadow:none!important;cursor:pointer!important;z-index:2}
html body dialog.spbox-standard-dialog.pc-dialog > button.pc-close:focus-visible{outline:2px solid #e96d0a!important;outline-offset:1px!important}
html body dialog.spbox-standard-dialog.pc-dialog > :is(.bp-eyebrow,.spbox-standard-kicker){display:block!important;padding-right:40px!important}
