/* One public masthead and one primary mark, shared by brand and consumer pages. */
.bgn-header{background:#191b1d;color:#fff}
.bgn-header>.announcement{background:#a41f35;color:#fff;text-align:center;font-size:12px;line-height:20px;letter-spacing:.6px;padding:3px 16px;overflow-wrap:anywhere}
.bgn-header .bgn-header-inner{display:flex;align-items:center;gap:20px;min-height:88px;width:min(1440px,calc(100% - 64px))}
.bgn-header .logo img{width:148px;height:auto;max-height:46px;object-fit:contain}
.bgn-header .nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.4vw,22px);flex:1;min-width:0;font-size:14px}
.bgn-header .nav>a{padding:28px 0;white-space:nowrap;border-bottom:2px solid transparent;color:#e3e7ea}
.bgn-header .nav>a[aria-current=page]{color:#80cbe9;border-bottom-color:#25a6d1}
.bgn-header .header-search{width:220px;min-width:180px;max-width:220px;flex:0 1 220px;order:0;height:40px;border:1px solid #52636e;border-radius:6px;overflow:hidden;background:#293137}
.bgn-header .header-search input{padding:9px 12px;font-size:12px;background:transparent;border-radius:0}
.bgn-header .header-search button{width:40px;border-radius:0;background:#177da6}
.bgn-header .bga-account{gap:8px;min-height:40px;flex-shrink:0}
.bgn-header .bga-account>.bga-guest-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #566874;border-radius:6px;font-size:13px;line-height:1.4;text-decoration:none}
.bgn-header .bga-account>.bga-service-entry{color:#fff;font-weight:500;background:#177da6;border-color:#177da6}
.bgn-header .bga-account>.bga-service-entry:hover{background:#12678b;border-color:#12678b}
.bgn-header .bga-account>.bga-business-entry{color:#d2dfe7;background:transparent;font-weight:400}
.bgn-header .bga-business-entry:hover{background:#30404b;color:#fff}
.bgn-header .bga-label{max-width:120px}.bgn-header .bga-label strong{font-size:14px}.bgn-header .bga-label small{font-size:11px}
.bgn-header .bga-menu summary{min-height:44px;padding:4px 0}
.bgn-header .menu-button{display:none}
.bgn-parts{max-width:1100px}.bgn-parts-search{display:flex;gap:10px;max-width:600px;margin:24px 0}
.bgn-parts-search input{flex:1;min-width:0;padding:10px 14px;border:1px solid #c7d5dd;border-radius:5px}
.bgn-parts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}
.bgn-part{padding:20px;border:1px solid #dce5ea;border-radius:9px;background:#fff;min-width:0}
.entry .bgn-part h2{font-size:20px;margin:16px 0 10px}.entry .bgn-part p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.bgn-part-image{height:190px;display:grid;place-items:center;background:#f5f8fa;border-radius:5px;color:#748792}
.bgn-part-image img{width:100%;height:100%;object-fit:contain}.bgn-part-price{display:block;font-size:19px;color:#136f92}
.bgn-parts-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-top:30px}
.entry .bgn-parts-actions .button{color:#fff;text-decoration:none}
@media(max-width:1100px){
 .bgn-header .bgn-header-inner{display:grid;grid-template-columns:minmax(100px,1fr) auto auto;gap:8px 14px;padding:12px 0;min-height:120px}
 .bgn-header .logo{grid-column:1;grid-row:1}.bgn-header .logo img{width:138px;max-height:38px}
 .bgn-header .bga-account{grid-column:2;grid-row:1;margin:0;gap:8px}
 .bgn-header .menu-button{display:block;grid-column:3;grid-row:1;min-height:40px;padding:6px 9px;border:1px solid #73818a;color:#fff;background:transparent;border-radius:4px;font-size:13px}
 .bgn-header .header-search{grid-column:1/-1;grid-row:2;display:flex;width:100%;max-width:none;height:40px;margin:0;order:0}
 .bgn-header .nav{grid-column:1/-1;grid-row:3;display:none;width:100%;padding:8px 0 0;gap:6px;min-width:0}
 .bgn-header .nav.is-open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .bgn-header .nav>a{padding:12px 8px;text-align:center;background:#242a2f;border-radius:4px}
}
@media(max-width:600px){
 .bgn-header>.announcement{font-size:11px;letter-spacing:.3px}
 .bgn-header .bgn-header-inner{width:calc(100% - 32px);gap:8px 10px}
 .bgn-header .logo img{width:116px}.bgn-header .bga-account{gap:6px;min-height:36px}.bgn-header .bga-account>.bga-guest-link{min-height:36px;padding:6px;font-size:11px}.bgn-header .menu-button{min-height:36px;padding:6px 8px}
 .bgn-header .bga-label{max-width:100px}.bgn-header .bga-menu summary>svg{display:none}.bgn-header .nav.is-open{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bgn-parts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bgn-part{padding:14px}.bgn-part-image{height:130px}.entry .bgn-part h2{font-size:17px}.bgn-parts-search .button{padding:10px 14px}
}
@media(max-width:360px){.bgn-header .bgn-header-inner{grid-template-columns:minmax(72px,1fr) auto auto;gap:8px}.bgn-header .logo img{width:90px}.bgn-header .bga-account{gap:8px}.bgn-header .bga-business-entry{padding:7px 5px}.bgn-parts-grid{grid-template-columns:1fr}}

/* Old UI highlighted the last nav item unconditionally; only the current page is emphasized. */
.bg-komz-ui .bgn-header .nav>a:last-child{color:#e3e7ea}.bg-komz-ui .bgn-header .nav>a[aria-current=page]{color:#80cbe9}

/* Allow header controls to shrink inside narrow grid tracks without clipping. */
.bgn-header .bgn-header-inner,.bgn-header .logo,.bgn-header .header-search,.bgn-header .header-search input{min-width:0;box-sizing:border-box}
@media(max-width:1100px){.bgn-header .header-search{flex:none}.bgn-header .header-search input{width:0;flex:1 1 0}.bgn-header .bga-account{min-width:0}}
@media(max-width:360px){.bgn-header .bgn-header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:8px 6px}.bgn-header .logo img{max-width:100%}.bgn-header .bga-account{gap:6px}.bgn-header .menu-button{padding:6px}}
