/* Homepage-only navigation edition. Load after header.css and layout.css. */
#marsh-header-v07{--mh-panel-top:124px}
#marsh-header-v07 .utility{display:none}
#marsh-header-v07 .mainbar{height:76px}
#marsh-header-v07 .mainbar>.shell{min-height:76px;grid-template-columns:178px minmax(220px,1fr) auto;gap:24px}
#marsh-header-v07 .brand-symbol.brand-mark{width:42px;height:54px;padding:4px 6px;border-radius:9px}
#marsh-header-v07 .brand-symbol.brand-mark::before{display:none}
#marsh-header-v07 .brand-text b{font-size:18px;line-height:1.5}
#marsh-header-v07 .search-form{height:48px;min-height:48px;border-radius:9px}
#marsh-header-v07 .search-btn{padding-inline:20px;border-radius:8px;min-height:44px}
#marsh-header-v07 .desktop-actions{gap:10px}
#marsh-header-v07 .desktop-actions .tool-link{width:44px;min-width:44px;height:44px;padding:0;background:#f3f5f6;border-radius:8px}
#marsh-header-v07 .desktop-actions .tool-link span:not(.mh-cart-count){display:none}
#marsh-header-v07 .request-btn{height:48px;min-height:48px;padding-inline:15px}
#marsh-header-v07 .navbar{height:48px;border-top:0}
#marsh-header-v07 .navbar>.shell{min-height:48px;gap:16px}
#marsh-header-v07 .nav-links{gap:0}
#marsh-header-v07 :is(.nav-button,.nav-link){font-size:14px;min-height:44px;padding-inline:13px;border-radius:8px}
#marsh-header-v07 .nav-contact a{padding:8px 0;font-size:13px;background:transparent}
#marsh-header-v07 .nav-contact>.ico{display:none}
#marsh-header-v07 .m-header.scrolled .mainbar{height:68px}
#marsh-header-v07 .m-header.scrolled .mainbar>.shell{min-height:68px}
#marsh-header-v07 .mega{border-radius:0 0 18px 18px;max-height:calc(100dvh - var(--mh-panel-top) - 12px);scroll-padding-block:16px}
#marsh-header-v07 .mega>.shell{padding-block:20px}
#marsh-header-v07 .mega-titlebar{margin-bottom:16px;gap:20px}
#marsh-header-v07 .mega-titlebar h2{font-size:17px}
#marsh-header-v07 .mega-products-grid{grid-template-columns:205px minmax(0,1fr) 280px;gap:22px;min-height:0;align-items:stretch}
#marsh-header-v07 .mega-selector{padding:6px;background:#f1f4f4;border-radius:12px}
#marsh-header-v07 .mega-selector button{min-height:48px;padding:10px;font-size:14px}
#marsh-header-v07 .mega-selector-link{min-height:48px;line-height:1.8}
#marsh-header-v07 .mega-main{padding:4px 0}
#marsh-header-v07 .mega-main-head{gap:12px;margin-bottom:12px;padding-bottom:0}
#marsh-header-v07 .mega-main-head h3{font-size:16px;line-height:1.6}
#marsh-header-v07 .mega-main-head a{font-size:13px;line-height:1.8}
#marsh-header-v07 .mega-cats{gap:8px 12px}
#marsh-header-v07 .mega-cats a{min-height:44px;padding:10px 12px;background:#f5f6f6;border-radius:8px;color:#33434d;align-items:center;font-size:14px;line-height:1.7}
#marsh-header-v07 .mega-cats a::before{display:none}
#marsh-header-v07 .mega-cats a:is(:hover,:focus-visible){background:#fff1b7;color:#232e35;text-decoration:underline}
#marsh-header-v07 .mega-promo{padding:22px;background:#232e35;color:#fff;justify-content:flex-start;gap:12px}
#marsh-header-v07 .mega-promo h3{font-size:18px;line-height:1.65;margin:0;color:#fff}
#marsh-header-v07 .mega-promo p{font-size:14px;line-height:1.9;margin:0;color:#dce5e9}
#marsh-header-v07 .mega-promo>a:not(.mh5-promo-secondary){width:100%;min-height:48px;padding:10px 14px;justify-content:space-between;gap:10px;font-size:14px;line-height:1.7;margin-top:auto}
#marsh-header-v07 .mega-promo .mh5-promo-secondary{margin-top:0;min-height:36px;color:#f2f5f6!important}
#marsh-header-v07 .mega-promo .vr-mega-image{display:none}
#marsh-header-v07 .simple-mega{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
#marsh-header-v07 #mega-brands .simple-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#marsh-header-v07 #mega-brands .simple-grid>a{min-height:136px;padding:16px 18px;gap:5px;background:#f1f4f4;border:1px solid transparent;border-radius:12px}
#marsh-header-v07 #mega-brands .simple-grid>a:is(:hover,:focus-visible){background:#fff;border-color:#b5c0c6}
#marsh-header-v07 #mega-brands .mh-brand-logo{height:36px;margin:0 0 4px}
#marsh-header-v07 #mega-brands .mh-brand-logo img{width:118px;height:32px;max-width:100%;object-fit:contain;object-position:right center}
#marsh-header-v07 #mega-brands .mh-brand-wordmark{font-size:19px}
#marsh-header-v07 #mega-brands .mh-brand-name{font-size:13px}
#marsh-header-v07 #mega-brands .mh-brand-desc{font-size:13px;line-height:1.8;padding-inline-end:22px}
#marsh-header-v07 #mega-brands .mh-brand-open{bottom:16px;left:14px}
#marsh-header-v07 #mega-brands [data-marsh-brand="Heidenhain"] .mh-brand-logo{height:24px;padding:5px 8px;margin-bottom:10px}
#marsh-header-v07 #mega-brands [data-marsh-brand="Heidenhain"] .mh-brand-logo img{height:22px;width:112px}
#marsh-header-v07 #mega-brands .simple-aside{padding:22px;gap:12px}
#marsh-header-v07 #mega-brands .simple-aside .mh-aside-logo{display:none}
#marsh-header-v07 #mega-brands .simple-aside strong{font-size:18px;line-height:1.7}
#marsh-header-v07 #mega-brands .simple-aside p{font-size:14px;line-height:1.9}
#marsh-header-v07 #mega-brands .simple-aside a{display:flex;align-items:center;min-height:48px;line-height:1.7;margin-top:auto;font-size:14px}
#marsh-header-v07 .simple-mega.mh5-services-mega{grid-template-columns:minmax(0,1fr) 280px;gap:22px}
#marsh-header-v07 .mh5-services-mega .simple-grid{gap:8px 12px}
#marsh-header-v07 .mh5-services-mega .simple-grid a{min-height:80px;padding:12px 16px;font-size:14px;gap:5px}
#marsh-header-v07 .mh5-services-mega .simple-grid a:nth-child(7){min-height:68px}
#marsh-header-v07 .mh5-service-feature{min-height:0;padding:22px;gap:12px}
#marsh-header-v07 .mh5-feature-icon{width:28px;height:28px;margin:0}
#marsh-header-v07 .mh5-service-feature h3{font-size:21px;line-height:1.65}
#marsh-header-v07 .mh5-service-feature p{margin:0;color:#dce5e9;font-size:14px;line-height:1.9}
#marsh-header-v07 .mh5-feature-link{min-height:48px;padding:10px 14px;line-height:1.7}
#marsh-header-v07 .mh5-feature-secondary{min-height:36px;margin-top:0;font-size:14px}
@media(min-width:1025px) and (max-width:1280px){
 #marsh-header-v07 .mainbar>.shell{grid-template-columns:164px minmax(180px,1fr) auto;gap:16px}
 #marsh-header-v07 .brand-text b{font-size:17px}
 #marsh-header-v07 .nav-contact{display:none}
 #marsh-header-v07 :is(.nav-button,.nav-link){padding-inline:11px}
 #marsh-header-v07 .mega-products-grid{grid-template-columns:185px minmax(0,1fr) 240px;gap:16px}
 #marsh-header-v07 .mega-promo{padding:18px}
 #marsh-header-v07 .simple-mega,#marsh-header-v07 .simple-mega.mh5-services-mega{grid-template-columns:minmax(0,1fr) 235px;gap:16px}
 #marsh-header-v07 #mega-brands .simple-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 #marsh-header-v07 #mega-brands .simple-grid>a{padding:14px;min-height:142px}
 #marsh-header-v07 #mega-brands .mh-brand-wordmark{font-size:17px}
 #marsh-header-v07 .request-btn{padding-inline:12px}
}
@media(max-width:1024px){
 #marsh-header-v07 .mobile-top{height:60px;padding-block:4px}
 #marsh-header-v07 .mobile-top .shell{grid-template-columns:44px minmax(0,1fr) auto;gap:9px}
 #marsh-header-v07 .mobile-brand{gap:8px}
 #marsh-header-v07 .mobile-brand .brand-symbol.brand-mark{width:35px;height:46px;padding:4px 5px}
 #marsh-header-v07 .mobile-brand .brand-text b{font-size:17px}
 #marsh-header-v07 :is(.mobile-menu-trigger,.mobile-tool){height:44px;width:44px;min-height:44px}
 #marsh-header-v07 .mobile-actions{gap:8px}
 #marsh-header-v07 .mobile-actions .mobile-quote{height:44px;min-width:65px;font-size:13px;padding-inline:10px}
 #marsh-header-v07 .mobile-searchline{height:58px;padding-block:3px 7px}
 #marsh-header-v07 .m-search .search-form{height:48px;min-height:48px}
 #marsh-header-v07 .m-search .search-input{font-size:16px}
}
@media(max-width:359px){
 #marsh-header-v07 .mobile-top .shell{grid-template-columns:44px minmax(0,1fr) auto;gap:6px}
 #marsh-header-v07 .mobile-brand .brand-text b{font-size:15px}
 #marsh-header-v07 .mobile-brand .brand-symbol.brand-mark{width:30px;height:40px}
 #marsh-header-v07 .mobile-actions{gap:6px}
 #marsh-header-v07 .mobile-actions .mobile-quote{min-width:59px;padding-inline:7px}
}
@media(prefers-reduced-motion:reduce){#marsh-header-v07 *{transition:none!important;animation:none!important}}
/* Mobile recomposition: balanced identity row and an immediately available real search. */
@media(max-width:1024px){
 #marsh-header-v07 .mobile-top{height:54px;padding:4px 0}
 #marsh-header-v07 .mobile-top .shell{min-height:46px;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px}
 #marsh-header-v07 .mobile-brand{justify-self:center;gap:8px}
 #marsh-header-v07 .mobile-brand .brand-symbol.brand-mark{width:29px;height:38px;border-radius:7px;padding:3px 4px}
 #marsh-header-v07 .mobile-brand .brand-text b{font-size:16px}
 #marsh-header-v07 :is(.mobile-menu-trigger,.mobile-tool){width:44px;height:44px;min-height:44px;border-radius:9px;background:#f1f3ef}
 #marsh-header-v07 .uv-mobile-actions{display:flex;margin:0}
 #marsh-header-v07 .mobile-searchline{height:54px;padding:3px 0 7px}
 #marsh-header-v07 .m-search .search-form{height:44px;min-height:44px;border-radius:8px}
 #marsh-header-v07 .search-btn{height:44px;min-height:44px;padding-inline:16px;border-radius:7px}
 #marsh-header-v07 .m-search .search-input{font-size:16px;padding-block:8px}
 #marsh-header-v07 .drawer{transition:transform .3s cubic-bezier(.16,1,.3,1),visibility .3s}
 #marsh-header-v07 .drawer-scrim{transition:opacity .24s ease,visibility .24s}
}
@media(max-width:359px){#marsh-header-v07 .mobile-top .shell{gap:8px}#marsh-header-v07 .mobile-brand .brand-text b{font-size:15px}}
@media(prefers-reduced-motion:reduce){#marsh-header-v07 :is(.drawer,.drawer-scrim){transition:none}}
