body.storefront.tabs-ready .topbar :is(.cart-nav-button,.topbar-back-home){display:none}
/* Fixed, compact header aligned with the customer content frame. */
@media(min-width:861px){
 body.storefront .topbar{height:76px;border-bottom:1px solid var(--yst-line)}
 body.storefront .topbar-inner{position:relative;display:flex;align-items:center;gap:16px;width:min(1280px,calc(100% - 64px));max-width:1280px;height:76px;margin:0 auto;padding:0}
 body.storefront .topbar [data-region]{position:static;inset:auto;width:auto;height:auto;min-height:0;max-width:none;transform:none;flex:none}
 body.storefront .brand-mark{position:relative;display:grid;grid-template-columns:52px auto;grid-template-rows:28px 18px;align-items:center;gap:0 10px;margin-right:auto;flex:none;text-decoration:none}
 body.storefront .topbar [data-region=brand-logo]{width:52px;height:52px;grid-row:1/3}
 body.storefront .topbar [data-region=brand-name]{font:900 24px/1 YSTWordmark,sans-serif;letter-spacing:.025em}
 body.storefront .topbar [data-region=brand-caption]{font:400 13px/1.3 Encode,sans-serif}
 body.storefront .topnav,body.storefront.tabs-ready:not([data-active-tab=home]) .topnav{display:flex;position:static;align-items:center;gap:6px;width:auto;height:auto;max-width:none;margin:0 12px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;opacity:1;visibility:visible}
 body.storefront .topbar .topnav a{position:static;display:flex;width:auto;height:44px;min-height:44px;padding:10px 12px;gap:6px;border-radius:8px;font:700 17px/1.2 Encode,sans-serif}
 body.storefront .zalo-mark{width:20px;height:20px;font:700 8px/1 Encode,sans-serif}
 body.storefront #storeSearchButton{width:44px;height:44px;border-radius:9px;z-index:1}
 body.storefront #storeSearchButton .yst-icon{width:21px;height:21px}
 body.storefront .topbar .header-blue-wedge{display:block;position:absolute;left:calc(100% - 202px);right:calc((100% - 100vw)/2);top:0;width:auto;height:76px;clip-path:polygon(28px 0,100% 0,100% 100%,0 100%);z-index:0;pointer-events:none}
 body.storefront .topbar .header-contact{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;width:172px;height:44px;min-height:44px;margin-left:16px;border-radius:9px;font:700 16px/1.2 Encode,sans-serif;background:var(--yst-blue);z-index:1}
 body.storefront .header-contact .yst-icon{width:21px;height:21px}
}
@media(min-width:861px) and (max-width:1100px){
 body.storefront .topbar-inner{width:calc(100% - 40px);gap:12px}
 body.storefront .topbar .header-contact,body.storefront .topbar .header-blue-wedge{display:none}
 body.storefront .topnav{margin-right:0}
 body.storefront .topbar .topnav a{font-size:16px;padding:10px}
 body.storefront .topbar [data-region=brand-name]{font-size:22px}
}
@media(max-width:860px){
 body.storefront .topbar{height:68px}
 body.storefront .topbar-inner{height:68px;padding:10px 16px;gap:8px}
 body.storefront .brand-mark{grid-template-columns:44px auto;grid-template-rows:22px 16px;column-gap:8px}
 body.storefront .topbar [data-region=brand-logo]{width:44px;height:44px}
 body.storefront .topbar [data-region=brand-name]{font-size:19px}
 body.storefront .topbar [data-region=brand-caption]{font-size:12px}
 body.storefront .topnav,body.storefront.tabs-ready:not([data-active-tab=home]) .topnav{top:68px;max-height:calc(100dvh - 68px)}
 body.storefront .mobile-menu-backdrop{top:68px}
 body.storefront .topbar .topnav a{font-size:17px;min-height:44px}
}
