/* Preserve the original storefront layout; keep only compact navigation rules. */
.header .nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;min-width:0;}
.header .nav>*{min-width:0;white-space:nowrap;}
.header .nav .catalog-menu-btn{display:flex!important;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:auto!important;min-width:0!important;max-width:100%;height:48px!important;min-height:48px!important;padding:12px 20px!important;flex:0 0 auto!important;font-size:14px;line-height:20px;}
.header .nav .catalog-menu-btn svg{width:20px;height:20px;flex-shrink:0;}
.header .nav .quick-nav{margin-left:auto;}
@media(max-width:760px){
 .header .nav{display:flex!important;flex-direction:column;align-items:stretch;gap:0!important;height:auto!important;min-height:0!important;padding-top:0;padding-bottom:0;position:relative;}
 .header .nav>:not(#catalog-menu-btn){display:none!important;}
 .header .nav #catalog-menu-btn{display:flex!important;width:100%!important;max-width:100%;min-width:0!important;height:48px!important;min-height:48px!important;margin:0!important;justify-content:space-between;position:static!important;transform:none!important;}
}

/* Uniform compact catalogue labels, including expandable groups. */
#mega{align-items:start!important;grid-auto-rows:min-content!important;}
#mega>a,#mega .catalogue-menu-group>summary,#mega .catalogue-menu-children>a{display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;min-height:52px!important;height:auto!important;box-sizing:border-box;min-width:0;}
#mega a>span,#mega summary>span:not(.catalogue-menu-chevron){min-width:0;flex:1;}
#mega b{display:block!important;font-size:14px!important;line-height:1.35!important;font-weight:600!important;overflow-wrap:normal;}
#mega small{display:none!important;}
#mega a>svg,#mega summary>svg{width:22px!important;height:22px!important;flex-shrink:0;}
#mega .catalogue-menu-chevron{flex:0 0 auto!important;margin-left:auto;}
@media(max-width:760px){
 #mega{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;padding:10px!important;}
 #mega>a,#mega .catalogue-menu-group>summary{padding:8px!important;gap:8px!important;}
 #mega .catalogue-menu-children{margin:0 0 8px 8px;padding-left:4px;}
 #mega .catalogue-menu-children>a{padding:8px!important;}
}
