/* Scoped to Balacchi Modern's complete header navigation. */
.header.bn-header{position:relative;z-index:30;gap:24px;padding:0 4%;border-bottom:1px solid #e5e8e9}
.bn-header .brand{flex-shrink:0}.bn-header .brand>span{font-size:20px}.bn-header .brand small{font-size:6.5px}
.bn-header #balacchi-full-navigation{display:flex;position:static;margin:0 0 0 auto;padding:0;height:100%;gap:0;border:0;box-shadow:none;background:#fff;font-size:13px;color:#122b3e}
#balacchi-full-navigation *{box-sizing:border-box}
#balacchi-full-navigation ul{list-style:none;margin:0;padding:0}
#balacchi-full-navigation .bn-top-list{display:flex;gap:16px;height:100%;align-items:stretch}
#balacchi-full-navigation .bn-top-row{display:flex;align-items:center;height:100%;gap:1px;white-space:nowrap}
#balacchi-full-navigation .bn-top-row>a{display:flex;align-items:center;min-height:44px;font-weight:600;padding:5px 0}
#balacchi-full-navigation .bn-trigger{display:flex;align-items:center;justify-content:center;gap:9px;min-width:28px;min-height:44px;padding:10px 7px;border:0;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer}
#balacchi-full-navigation .bn-label-trigger{padding-left:0}
#balacchi-full-navigation .bn-chevron{display:inline-block;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 1px 0 2px;flex-shrink:0;transition:transform .15s}
#balacchi-full-navigation .bn-trigger[aria-expanded=true]{color:#d22e35}
#balacchi-full-navigation .bn-trigger[aria-expanded=true] .bn-chevron{transform:rotate(225deg);margin-top:3px}
#balacchi-full-navigation .bn-panel{position:absolute;top:100%;left:var(--bn-left,4%);width:320px;max-width:calc(100vw - 32px);max-height:var(--bn-available,calc(100dvh - 120px));overflow:auto;padding:18px;background:#fff;border:1px solid #dce2e6;border-top:3px solid #d22e35;box-shadow:0 20px 45px #0c233526;z-index:31;text-align:left;white-space:normal}
#balacchi-full-navigation [hidden]{display:none!important}
#balacchi-full-navigation .bn-mega{width:920px;padding:28px}
#balacchi-full-navigation .bn-mega-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px}
#balacchi-full-navigation .bn-accessories{border-left:1px solid #e0e5e8;padding-left:26px}
#balacchi-full-navigation .bn-products>summary{display:flex;align-items:center;justify-content:space-between;font-family:Manrope,Arial,sans-serif;font-size:22px;letter-spacing:-.5px;font-weight:700;list-style:none;cursor:pointer;margin-bottom:16px;min-height:40px;padding:0 8px}
#balacchi-full-navigation summary::-webkit-details-marker{display:none}
#balacchi-full-navigation .bn-products[open]>summary .bn-chevron{transform:rotate(225deg)}
#balacchi-full-navigation .bn-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
#balacchi-full-navigation .bn-link-list a,#balacchi-full-navigation .bn-product-list a{display:block;padding:10px 9px;min-height:40px;font-size:13px;line-height:1.5;font-weight:500;overflow-wrap:anywhere;border-radius:2px}
#balacchi-full-navigation .bn-product-list a{font-weight:600;border-bottom:1px solid #edf0f2}
#balacchi-full-navigation a:hover,#balacchi-full-navigation .bn-trigger:hover{color:#c62d34}
#balacchi-full-navigation .bn-panel a:hover{background:#f3f5f6}
#balacchi-full-navigation .bn-section-label{font-size:10px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;line-height:1.6;color:#687884;padding:10px 9px;margin:0 0 12px}
#balacchi-full-navigation .bn-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;font-weight:700;padding:17px 9px 2px;margin-top:16px;color:#c62d34;border-top:1px solid #dce2e6}
#balacchi-full-navigation .bn-applications{width:720px;padding:22px}
#balacchi-full-navigation .bn-applications>.bn-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
#balacchi-full-navigation .bn-machines{width:520px;padding:14px 22px}
#balacchi-full-navigation .bn-category+.bn-category{border-top:1px solid #e2e7e9}
#balacchi-full-navigation .bn-category-details>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;padding:8px 10px;font-size:15px;line-height:1.5;font-weight:600;list-style:none;cursor:pointer}
#balacchi-full-navigation .bn-category-details>summary>a{flex:1;padding:10px 0}
#balacchi-full-navigation .bn-category-details>summary>.bn-chevron{margin-right:5px}
#balacchi-full-navigation .bn-category-details[open]>summary>.bn-chevron{transform:rotate(225deg)}
#balacchi-full-navigation .bn-category-single>a,#balacchi-full-navigation .bn-category-single>.bn-unlinked{display:block;min-height:60px;padding:19px 10px;font-size:15px;line-height:1.5;font-weight:600}
#balacchi-full-navigation .bn-unlinked{color:#687884;cursor:default}
#balacchi-full-navigation .bn-category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0 8px 16px!important}
#balacchi-full-navigation .bn-category-links a{display:block;min-height:44px;padding:11px 8px;font-size:13px;line-height:1.5;overflow-wrap:anywhere;border-bottom:1px solid #edf0f2}
#balacchi-full-navigation :is(a,button,summary):focus-visible{outline:2px solid #d22e35;outline-offset:3px}
.bn-header .menu-toggle:focus-visible{outline:2px solid #d22e35;outline-offset:4px}
@media(max-width:1180px){
 .header.bn-header{height:80px;padding:0 5%;gap:15px}
 .bn-header .menu-toggle{display:block;margin-left:auto;border:0;background:none;font-size:26px;color:#122b3e;min-width:44px;min-height:44px}
 .bn-header #balacchi-full-navigation{display:none;position:absolute;left:0;right:0;top:100%;height:auto;max-height:var(--bn-mobile-available,calc(100dvh - 80px));overflow-y:auto;margin:0;padding:12px 5% 24px;background:#fff;border-top:1px solid #e0e5e8;box-shadow:0 18px 30px #0c233526}
 .bn-header #balacchi-full-navigation.open{display:block}
 #balacchi-full-navigation .bn-top-list{display:block;height:auto}
 #balacchi-full-navigation .bn-top-row{height:auto;min-height:52px;border-bottom:1px solid #e2e7e9;gap:12px;font-size:15px}
 #balacchi-full-navigation .bn-top-row>a{flex:1;min-height:48px}
 #balacchi-full-navigation .bn-trigger{min-width:48px;min-height:48px}
 #balacchi-full-navigation .bn-label-trigger{width:100%;justify-content:space-between;padding-left:0}
 #balacchi-full-navigation .bn-panel{position:static;left:auto;top:auto;width:100%;max-width:none;max-height:none;overflow:visible;background:#f5f7f8;box-shadow:none;border:0;border-left:2px solid #d22e35;margin:8px 0 18px;padding:12px 16px}
 #balacchi-full-navigation .bn-mega-grid{display:block}
 #balacchi-full-navigation .bn-products>summary{font-size:18px;margin:0;min-height:48px}
 #balacchi-full-navigation .bn-products[open]>summary{margin-bottom:8px}
 #balacchi-full-navigation .bn-accessories{border:0;border-top:1px solid #dce2e6;padding:14px 0 0;margin-top:16px}
 #balacchi-full-navigation .bn-section-label{margin-bottom:0}
 #balacchi-full-navigation .bn-link-list a,#balacchi-full-navigation .bn-product-list a{min-height:44px;padding:11px 8px}
 #balacchi-full-navigation .bn-overview{padding-bottom:12px}
}
@media(max-width:600px){
 #balacchi-full-navigation .bn-category-links{grid-template-columns:1fr}
 #balacchi-full-navigation .bn-category-details>summary{gap:12px;font-size:14px;padding:6px 4px}
 #balacchi-full-navigation .bn-category-single>a,#balacchi-full-navigation .bn-category-single>.bn-unlinked{font-size:14px;padding:18px 4px}
 #balacchi-full-navigation .bn-product-list,#balacchi-full-navigation .bn-applications>.bn-link-list{grid-template-columns:1fr}
 .bn-header .brand>span{font-size:18px}.bn-header .brand small{font-size:6px}
}
@media(prefers-reduced-motion:reduce){#balacchi-full-navigation .bn-chevron{transition:none}}

/* Nested accessory groups inside a machine category. */
#balacchi-full-navigation .bn-category-links > .bn-subcategory { grid-column: 1 / -1; margin-top: 8px; border-top: 1px solid #dce2e6; }
#balacchi-full-navigation .bn-subcategory-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 8px; font-size: 14px; line-height: 1.5; font-weight: 700; list-style: none; cursor: pointer; }
#balacchi-full-navigation .bn-subcategory-details[open] > summary > .bn-chevron { transform: rotate(225deg); }
#balacchi-full-navigation .bn-subcategory .bn-category-links { padding: 0 0 8px !important; }
