/* One shared header shell. Only these named sections and their descendants are affected. */
.elementor-location-header:has(#mai-header-tools){display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff}
#mai-header-tools,#mai-header-brand,#mai-header-nav{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;left:auto!important;right:auto!important;transform:none!important;overflow:visible!important;font-family:'Open Sans',sans-serif!important}
#mai-header-tools{order:0;background:#fff!important;z-index:100052}
#mai-header-brand{order:1;background:#fff!important}
#mai-header-nav{order:2;background:#acdbcc!important;z-index:100049}
#mai-header-tools *,#mai-header-brand *,#mai-header-nav *{box-sizing:border-box}
#mai-header-tools>.elementor-container,#mai-header-brand>.elementor-container,#mai-header-nav>.elementor-container{width:90%!important;max-width:1680px!important;min-width:0!important;margin-inline:auto!important;padding:0!important}
#mai-header-tools>.elementor-container>.elementor-column,#mai-header-brand>.elementor-container>.elementor-column,#mai-header-nav>.elementor-container>.elementor-column{min-width:0!important;margin:0!important;padding:0!important}
#mai-header-tools .elementor-widget-wrap,#mai-header-brand .elementor-widget-wrap,#mai-header-nav .elementor-widget-wrap{margin:0!important;padding:0!important;align-content:center!important;gap:0!important}
#mai-header-tools .elementor-widget,#mai-header-brand .elementor-widget,#mai-header-nav .elementor-widget{margin:0!important;max-width:100%!important;min-width:0!important}
#mai-header-nav .mai-header-legacy{display:none!important;width:0!important;height:0!important;min-height:0!important;max-height:0!important;flex:0 0 0!important;margin:0!important;padding:0!important;overflow:hidden!important}
#mai-header-tools .elementor-widget-shortcode,#mai-header-tools .elementor-shortcode{width:100%!important}

/* Search and both baskets retain the existing shortcode, counters and actions. */
#mai-header-tools .mq-header-tools{width:100%!important;max-width:none!important;min-width:0!important;min-height:56px!important;margin:0!important;padding:6px 0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:12px!important}
#mai-header-tools .mfs-desktop{display:block!important;flex:0 1 420px!important;width:min(420px,36vw)!important;min-width:200px!important;max-width:420px!important;margin:0 6px 0 0!important}
#mai-header-tools .mfs-desktop form{width:100%!important;margin:0!important}
#mai-header-tools .mfs-search input[type=search]{height:44px!important;font:500 14px/1.4 'Open Sans',sans-serif!important}
#mai-header-tools .mfs-mobile-open{display:none!important}
#mai-header-tools .mq-header-basket{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;border:1px solid #bedbce!important;border-radius:7px!important;background:#fff!important;color:#0b7455!important;font:700 15px/1.4 'Open Sans',sans-serif!important;text-decoration:none!important;white-space:nowrap!important}
#mai-header-tools .mq-header-basket:hover{background:#eff8f3!important}
#mai-header-tools .mq-header-basket>svg{width:21px!important;height:21px!important;flex:0 0 21px!important;color:currentColor!important;fill:none!important}
#mai-header-tools .mq-header-basket .mq-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;padding:0 4px!important;margin:0!important;background:#0f976e!important;color:#fff!important;border-radius:50%!important;font:700 12px/1 'Open Sans',sans-serif!important;flex:none!important}
#mai-header-tools .mq-header-basket:focus-visible,#mai-header-tools .mfs-mobile-open:focus-visible{outline:3px solid #0b7455!important;outline-offset:3px!important}
#mai-header-tools .mfs-search .mfs-suggestions{right:0!important;left:auto!important}

/* Fixed logo sizing no longer depends on page-specific product/category classes. */
#mai-header-brand>.elementor-container{min-height:112px!important;align-items:center!important;padding-block:8px 16px!important}
#mai-header-brand .mai-header-logo-col{width:100%!important;flex:1 1 auto!important;min-width:0!important}
#mai-header-brand .mai-header-logo{width:330px!important;max-width:100%!important;flex:none!important;text-align:left!important}
#mai-header-brand .mai-header-logo>.elementor-widget-container{width:100%!important;margin:0!important;padding:0!important;text-align:left!important;line-height:0!important}
#mai-header-brand .mai-header-logo a{display:block!important;width:100%!important;max-width:100%!important;line-height:0!important}
#mai-header-brand .mai-header-logo img{display:block!important;width:330px!important;max-width:100%!important;height:auto!important;margin:0!important;object-fit:contain!important}
#mai-header-brand .mai-header-mobile-col{display:none!important}

/* A separated, single-colour hit area includes icon, label and toggle. */
@media(min-width:1201px){
 #mai-header-nav{display:block!important}
 #mai-header-nav>.elementor-container{min-height:80px!important;padding-block:12px!important;align-items:center!important}
 #mai-header-nav>.elementor-container>.elementor-column{width:100%!important;flex:0 0 100%!important}
 #mai-header-nav .mai-header-desktop-menu,#mai-header-nav .mai-header-desktop-menu>.elementor-widget-container,#mai-header-nav .elementor-nav-menu--main{width:100%!important;margin:0!important;padding:0!important}
 #mai-header-nav .elementor-nav-menu--main{display:block!important}
 #mai-header-nav .elementor-menu-toggle,#mai-header-nav .elementor-nav-menu--dropdown{display:none!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;margin:0!important;padding:0!important;gap:14px!important;list-style:none!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root{position:relative!important;display:flex!important;align-items:stretch!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#142e23!important;transition:background .15s,color .15s!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-ratgeber{margin-left:auto!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:52px!important;margin:0!important;padding:12px 14px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:inherit!important;font:700 15px/1.35 'Open Sans',sans-serif!important;text-transform:uppercase!important;letter-spacing:0!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-entry{padding-right:38px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-aux>.elementor-item{font-size:14px!important;padding-inline:12px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root:is(:hover,:focus-within,.mai-floor-open,.current-menu-ancestor){background:#0f976e!important;color:#fff!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item:is(:hover,:focus,.elementor-item-active){background:transparent!important;color:inherit!important}
 #mai-header-nav .mai-nav-icon{display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important;color:currentColor!important;fill:none!important;stroke:currentColor!important}
 #mai-header-nav .mai-nav-label{display:block!important;min-width:0!important;color:inherit!important;line-height:inherit!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-toggle{position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:34px!important;max-height:none!important;height:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:8px!important;border:0!important;border-radius:0 7px 7px 0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;cursor:pointer!important}
 #mai-header-nav .mai-floor-toggle>svg{display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important;color:currentColor!important;fill:none!important;stroke:currentColor!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item::before,#mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item::after{display:none!important;content:none!important}
 #mai-header-nav :is(.elementor-item,.mai-floor-toggle):focus-visible{outline:3px solid #173e2d!important;outline-offset:3px!important}
}

/* Keep the long labels usable just above the common desktop breakpoint. */
@media(min-width:1201px) and (max-width:1500px){
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu{gap:8px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item{font-size:13px!important;gap:7px!important;padding:11px 10px!important;min-height:50px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-entry{padding-right:31px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-aux>.elementor-item{font-size:12px!important;padding-inline:8px!important}
 #mai-header-nav .mai-nav-icon{width:18px!important;height:18px!important;flex-basis:18px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-toggle{width:29px!important;padding:6px!important}
}
@media(min-width:1201px) and (max-width:1300px){
 #mai-header-tools>.elementor-container,#mai-header-brand>.elementor-container,#mai-header-nav>.elementor-container{width:calc(100% - 40px)!important}
}

/* The same root symbols appear in the panel title and the touch menu. */
.mai-shop-panel .mai-shop-panel-title{display:flex!important;align-items:center;gap:10px}
.mai-shop-panel .mai-shop-panel-title>.mai-nav-icon{width:23px;height:23px;flex:0 0 23px;color:currentColor}
#mai-shop-mobile .mai-shop-item-label{display:inline-flex;align-items:center;gap:12px;min-width:0}
#mai-shop-mobile .mai-shop-item-label>.mai-nav-icon{width:20px;height:20px;flex:0 0 20px}

/* The phone/tablet header uses a logo row, then accessible search/basket tools. */
@media(max-width:1200px){
 #mai-header-brand{order:0!important}
 #mai-header-tools{order:1!important;border-bottom:1px solid #dceae2!important}
 #mai-header-nav{display:none!important;order:2!important}
 #mai-header-brand>.elementor-container{min-height:94px!important;padding-block:14px!important;flex-wrap:nowrap!important;align-items:center!important;gap:20px!important}
 #mai-header-brand .mai-header-logo-col{width:auto!important;flex:1 1 auto!important}
 #mai-header-brand .mai-header-logo{width:280px!important}
 #mai-header-brand .mai-header-logo img{width:280px!important}
 #mai-header-brand .mai-header-mobile-col{display:block!important;width:48px!important;max-width:48px!important;flex:0 0 48px!important}
 #mai-header-brand .mai-header-mobile-col .elementor-widget-wrap{display:flex!important;justify-content:flex-end!important;align-items:center!important;width:100%!important}
 #mai-header-brand .mai-header-mobile-menu{width:48px!important;max-width:48px!important}
 #mai-header-brand .mai-header-mobile-menu>.elementor-widget-container{margin:0!important;padding:0!important}
 #mai-header-brand .mai-header-mobile-menu .elementor-nav-menu--main,#mai-header-brand .mai-header-mobile-menu .elementor-nav-menu--dropdown{display:none!important}
 #mai-header-brand .mai-header-mobile-menu .elementor-menu-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin:0!important;padding:11px!important;border:1px solid #b9d8c9!important;border-radius:7px!important;background:#eff8f3!important;color:#0b7455!important;font-size:25px!important;box-shadow:none!important;cursor:pointer!important}
 #mai-header-brand .mai-header-mobile-menu .elementor-menu-toggle svg{width:25px!important;height:25px!important;fill:currentColor!important}
 #mai-header-brand .mai-header-mobile-menu .elementor-menu-toggle:focus-visible{outline:3px solid #0b7455!important;outline-offset:3px!important}
 #mai-header-tools .mq-header-tools{min-height:58px!important;padding:6px 0 10px!important;gap:10px!important}
 #mai-header-tools .mfs-desktop{flex:1 1 280px!important;width:auto!important;max-width:none!important;min-width:160px!important;margin:0!important}
 #mai-header-tools .mq-header-basket{font-size:14px!important;padding-inline:10px!important}
}
@media(max-width:767px){
 #mai-header-brand>.elementor-container{min-height:85px!important;gap:14px!important;padding-block:12px!important}
 #mai-header-brand .mai-header-logo{width:230px!important}
 #mai-header-brand .mai-header-logo img{width:230px!important}
 #mai-header-tools .mq-header-tools{display:grid!important;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;align-items:stretch!important;min-height:58px!important;padding:4px 0 10px!important}
 #mai-header-tools .mfs-desktop{display:none!important}
 #mai-header-tools .mfs-mobile-open{display:flex!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:10px!important;align-self:center!important;justify-content:center!important;border:1px solid #bedbce!important;border-radius:7px!important;background:#eff8f3!important;color:#0b7455!important}
 #mai-header-tools .mfs-mobile-open svg{width:22px!important;height:22px!important;flex:none!important}
 #mai-header-tools .mq-header-basket{width:100%!important;min-width:0!important;min-height:44px!important;gap:5px!important;padding:7px 6px!important;font-size:12px!important;line-height:1.35!important}
 #mai-header-tools .mq-header-basket>svg{width:18px!important;height:18px!important;flex-basis:18px!important}
 #mai-header-tools .mq-header-basket .mq-count{height:20px!important;min-width:20px!important;font-size:11px!important;padding-inline:3px!important}
 #mai-header-tools .ms-header-cart>span:not(.mq-count){display:inline!important}
}
@media(max-width:380px){
 #mai-header-brand>.elementor-container{gap:10px!important}
 #mai-header-brand .mai-header-logo{width:215px!important}
 #mai-header-brand .mai-header-logo img{width:215px!important}
 #mai-header-tools .mq-header-tools{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important}
 #mai-header-tools .mq-header-basket{flex-wrap:wrap!important;gap:4px!important;padding:6px 5px!important;font-size:13px!important;min-height:54px!important}
 #mai-header-tools .mq-header-basket>span:not(.mq-count){order:3!important;flex:0 0 100%!important;text-align:center!important}
 #mai-header-tools .mq-header-basket .mq-count{height:18px!important;min-width:18px!important;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){#mai-header-nav .mai-nav75-root{transition:none!important}}



/* Five principal ranges: retain readable links rather than squeezing the new range. */
@media(min-width:1201px) and (max-width:1700px){
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu{gap:8px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-root>.elementor-item{font-size:13px!important;gap:7px!important;padding:11px 10px!important;min-height:50px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-entry{padding-right:31px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-aux>.elementor-item{font-size:12px!important;padding-inline:8px!important}
 #mai-header-nav .mai-nav-icon{width:18px!important;height:18px!important;flex-basis:18px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-floor-mega>.mai-floor-toggle{width:29px!important;padding:6px!important}
}
@media(min-width:1201px) and (max-width:1500px){
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu{display:grid!important;grid-template-columns:repeat(5,max-content)!important;justify-content:space-between!important;column-gap:14px!important;row-gap:6px!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-aux{grid-row:2!important;justify-self:end!important;margin-left:0!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-ratgeber{grid-column:4!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-kontakt{grid-column:5!important}
 #mai-header-nav .elementor-nav-menu--main>.elementor-nav-menu>.mai-nav75-aux>.elementor-item{min-height:40px!important;padding-block:8px!important}
}
