:root{--bg:#f5f5f5;--dark:#333;--muted:#72777c;--line:#e5e5e5;--orange:#f47721;--pale:#fff5ed}
.utility{background:#f4f4f4;color:#737373;border-bottom:1px solid #e9e9e9}.utility-inner{min-height:32px;gap:20px}.utility button{color:#666;padding:8px 0}.demo-pill{color:#ad651c}.masthead{height:114px;gap:25px}.brand span{display:block;font-size:11px;letter-spacing:2px;color:#888;margin-top:7px}.search-area{flex:1;min-width:0;padding-top:20px}.search-area form{border-radius:0;height:42px}.search-area form .primary{min-width:88px}.hot-search{display:flex;gap:12px;align-items:center;min-height:27px;font-size:11px;color:#999;white-space:nowrap;overflow:hidden}.hot-search button{font-size:11px;padding:4px 0;color:#777}.hot-search button:hover{color:var(--orange)}.masthead .outline{font-size:13px;padding:11px 16px;border-color:#ddd;color:#555;border-radius:0}.cart-shortcut{border:1px solid #e5e5e5;background:#fafafa;padding:11px 16px}.cart-shortcut b{border-radius:8px;background:var(--orange);color:#fff;font-size:11px;padding:2px 6px}.nav{height:46px;border-bottom:2px solid var(--orange);gap:30px}.nav .all-categories{background:var(--orange);color:#fff;border-radius:0;width:190px}.nav .all-categories.active{color:#fff}.nav button{font-size:14px}.nav small{font-size:10px}.footer{margin-top:4px}.footer-bottom{line-height:1.8}.purchase-order-preview{margin-bottom:20px;background:#fff8f1;border:1px solid #ffd7b5;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.purchase-order-preview p{font-size:13px;margin:5px 0 0;color:#777}
@media(max-width:1080px){.masthead{gap:16px}.nav{gap:23px}.brand span{font-size:10px;letter-spacing:1px}.nav .all-categories{width:165px}.hot-search{gap:10px}}
@media(max-width:760px){.masthead{height:auto;gap:16px;padding:17px 18px 8px}.brand span{font-size:10px}.search-area{order:3;flex-basis:100%;padding-top:0}.masthead form{height:42px}.utility-inner{gap:13px}.utility button{font-size:10px}.utility-inner .demo-pill{font-size:10px}.cart-shortcut{font-size:12px;padding:10px 13px}.nav{height:44px;gap:23px}.nav button{font-size:12px}.nav .all-categories{display:none}.hot-search{font-size:10px;gap:8px}.hot-search button{font-size:10px}.purchase-order-preview{align-items:flex-start;flex-direction:column}}

/* Storefront content widths follow ZKH's desktop tiers. The 56px allowance
   keeps the existing 28px gutters outside the shared content width. */
@media(min-width:761px){
  body:not(.hm-mobile):not(.ss-staff-surface){--hm-storefront-width:1063px}
  body:not(.hm-mobile):not(.ss-staff-surface) .wrap,
  body:not(.hm-mobile):not(.ss-staff-surface) #app.wrap{
    width:100%;max-width:calc(var(--hm-storefront-width) + 56px);
    padding-left:28px;padding-right:28px;
  }
  body:not(.hm-mobile):not(.ss-staff-surface)>.masthead,
  body:not(.hm-mobile):not(.ss-staff-surface)>.nav{
    max-width:none;
    padding-left:max(28px,calc((100% - var(--hm-storefront-width))/2));
    padding-right:max(28px,calc((100% - var(--hm-storefront-width))/2));
  }
}
@media(min-width:1441px) and (max-width:1600px){
  body:not(.hm-mobile):not(.ss-staff-surface){--hm-storefront-width:1330px}
}
@media(min-width:1601px){
  body:not(.hm-mobile):not(.ss-staff-surface){--hm-storefront-width:1600px}
}
