/* Existing site-head category-label rules, preserved verbatim. */
@media(max-width:1199px){html .machine-nav-strip .menu-wrapper.container-large.custom{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:relative;width:100%;min-width:0;gap:4px!important;padding:6px!important}.machine-nav-strip .menulink_dropdown-wrapper{position:static;min-width:0;margin:0}.machine-nav-strip .menu-wrapper .menulink-block{flex-direction:row!important;gap:6px!important;padding:6px!important;min-height:52px!important;width:100%;min-width:0;box-sizing:border-box;align-items:center!important;justify-content:flex-start!important}.machine-nav-strip .menu-wrapper .menulink-block>.hide-tablet{display:block!important;flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:100%;font-size:13px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere;hyphens:manual;min-height:0;text-align:left}.machine-nav-strip .menu-wrapper .icon-link{display:block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important}}@media(max-width:599px){html .machine-nav-strip .menu-wrapper.container-large.custom{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(min-width:1200px){html .machine-nav-strip .menu-wrapper.container-large.custom:has(>[href$="/ersatzteile"]){grid-template-columns:repeat(9,minmax(0,1fr))!important}}

/* ETC navigation presentation only. Keeps native links, dialog controls and cart/search handlers. */
/* Existing SVGs remain the default; the two equipment categories reuse existing ETC machine assets. */
html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block > .icon-link {
  display:block!important; flex:0 0 28px!important; width:28px!important; min-width:28px!important; height:28px!important;
  margin:0!important; color:#79293f;
}
html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block > .icon-link > svg {
  display:block!important; width:100%!important; height:100%!important;
}
html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > a[href$="/softeis"] > .icon-link {
  background:url("https://cdn.prod.website-files.com/67cec957b3c31a709840c52d/6a33e33e0ee5ae6c4ff47cc6_Softeismaschinen.avif") center/contain no-repeat;
}
html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > a[href$="/collection/eismaschinen"] > .icon-link {
  background:url("https://cdn.prod.website-files.com/67cec957b3c31a709840c52d/68eb8d2db5965c782a62d8b4_Labotronic%20HE_intera-frontale_1.avif") center/contain no-repeat;
}
html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > a:is([href$="/softeis"],[href$="/collection/eismaschinen"]) > .icon-link > svg {
  visibility:hidden!important;
}
html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary > svg {
  display:block!important; flex:none!important; width:28px!important; height:28px!important;
}
@media (max-width:991px) {
  /* One useful service line replaces the three stacked promotional rows on small screens. */
  html[lang] body #etc-service-benefits {
    display:flex!important; flex-wrap:nowrap!important; min-height:44px!important; gap:0!important;
    padding:0 12px!important; grid-template-rows:none!important; font-size:10px!important; line-height:1.25!important;
  }
  html[lang] body #etc-service-benefits > span { display:none!important; }
  html[lang] body #etc-service-benefits > .etc-benefit-shipping {
    display:flex!important; align-items:center; justify-content:center; flex:1 1 auto!important; grid-area:auto!important; grid-row:auto!important;
    min-height:44px!important; padding:4px 0!important; margin:0!important; white-space:normal!important;
  }
  html body .navbar-fixed_wrapper { --etc-header-gutter:12px; }
  html body .navbar-fixed_wrapper .custom-block-wrapper .navigation-wrapper-menus.container-large {
    display:flex!important; flex-wrap:wrap!important; gap:6px!important; padding:8px 12px!important;
  }
  html body .navbar-fixed_wrapper .navigation-wrapper-menus > .nav-logo-wrapper.desktop-hidden {
    flex:0 0 100%!important; width:100%!important; margin:0!important;
  }
  html body .navbar-fixed_wrapper .nav-logo-wrapper.desktop-hidden .navbar7_logo-link { gap:8px!important; }
  html body .navbar-fixed_wrapper .nav-logo-wrapper.desktop-hidden .navbar7_logo {
    width:52px!important; height:38px!important; max-height:38px!important; padding:0!important; object-fit:contain;
  }
  html body .navbar-fixed_wrapper .nav-logo-wrapper.desktop-hidden .navbar7_logo-link > div > span:first-child {
    font-size:20px!important; line-height:1.15!important; white-space:nowrap!important;
  }
  html body .navbar-fixed_wrapper .nav-logo-wrapper.desktop-hidden .navbar7_logo-link > div > span[lang] {
    font-size:9px!important; line-height:1.3!important; white-space:normal!important;
  }
  html body .navbar-fixed_wrapper .navigation-wrapper-menus > .navigation-right-wrapper-desktop {
    display:grid!important; grid-template-columns:minmax(0,1fr) 60px 60px!important; grid-template-rows:48px!important;
    align-items:center!important; gap:6px!important; width:100%!important; min-width:0!important;
  }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop > .display-inlineflex-new {
    grid-area:1/1!important; display:flex!important; align-items:center; justify-content:space-between!important;
    gap:4px!important; min-width:0!important; width:100%!important;
  }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop > .etc-languages,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop:not(:has(>.etc-languages))::after {
    grid-area:1/2!important; width:60px!important; min-width:60px!important; height:48px!important;
    flex:0 0 60px!important; margin:0!important; justify-self:stretch!important;
  }
  html body .navbar-fixed_wrapper .etc-languages > summary {
    width:60px!important; min-width:60px!important; height:48px!important; min-height:48px!important;
    padding:6px!important; gap:5px!important;
  }
  html body .navbar-fixed_wrapper .etc-languages .etc-language-full { display:none!important; }
  html body .navbar-fixed_wrapper .etc-languages .etc-language-short { display:inline!important; font-size:13px!important; }
  html body .navbar-fixed_wrapper .etc-languages > nav { left:auto!important; right:0!important; }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop > .navbar7_menu-button {
    grid-area:1/3!important; width:60px!important; min-width:60px!important; height:48px!important; min-height:48px!important;
    padding:5px!important; gap:3px!important; margin:0!important;
  }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop > .navbar7_menu-button::after { font-size:10px!important; }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop > .navbar7_menu-button .menu-icon { width:19px!important; }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .etc-account-nav,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper > .component-wrapper-4,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper .sm-modal-details-2,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper summary.sm-hollow-button-2,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .mini-cart_button {
    width:48px!important; min-width:48px!important; max-width:48px!important; min-height:48px!important; height:48px!important;
    padding:8px!important; margin:0!important; box-sizing:border-box;
  }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper > .component-wrapper-4,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper .sm-modal-details-2 { padding:0!important; }
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .etc-account-nav-label,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper .etc-search-label,
  html body .navbar-fixed_wrapper .navigation-right-wrapper-desktop .search-wrapper summary.sm-hollow-button-2::after { display:none!important; }
  /* Two rows: all-categories spans the first column, eight category links fill the remaining cells. */
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom {
    display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; grid-template-rows:repeat(2,minmax(64px,auto))!important;
    grid-auto-flow:row!important; gap:3px!important; padding:5px 0!important; overflow:visible!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > .menulink_dropdown-wrapper {
    grid-column:1!important; grid-row:1/span 2!important; align-self:stretch!important; min-width:0!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > .menulink_dropdown-wrapper > .menulink-block {
    height:100%!important; justify-content:center!important; border-radius:7px!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > :not(.menulink_dropdown-wrapper) {
    grid-column:auto!important; grid-row:auto!important; min-width:0!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block,
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary {
    box-sizing:border-box!important; flex-direction:column!important; justify-content:center!important; align-items:center!important;
    min-height:64px!important; height:100%!important; padding:4px 2px!important; gap:3px!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block > .hide-tablet,
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary > span {
    display:block!important; flex:0 0 auto!important; width:100%!important; min-width:0!important; max-width:100%!important;
    min-height:0!important; font-size:11px!important; line-height:1.2!important; text-align:center!important;
    white-space:normal!important; overflow-wrap:anywhere!important; word-break:normal!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav { height:100%!important; min-width:0!important; width:100%!important; box-sizing:border-box; }
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary::after { display:none!important; }
}
@media (min-width:600px) and (max-width:991px) {
  html body .navbar-fixed_wrapper .custom-block-wrapper .navigation-wrapper-menus.container-large { flex-wrap:nowrap!important; }
  html body .navbar-fixed_wrapper .navigation-wrapper-menus > .nav-logo-wrapper.desktop-hidden { flex:1 1 auto!important; width:auto!important; }
  html body .navbar-fixed_wrapper .navigation-wrapper-menus > .navigation-right-wrapper-desktop { flex:0 0 294px!important; width:294px!important; }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom {
    grid-template-columns:repeat(9,minmax(0,1fr))!important; grid-template-rows:minmax(72px,auto)!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom > .menulink_dropdown-wrapper {
    grid-column:auto!important; grid-row:auto!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block,
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary { min-height:72px!important; }
}
@media (min-width:992px) {
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block,
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary {
    flex-direction:column!important; gap:4px!important; padding:7px 3px!important; min-height:72px!important;
  }
  html body .navbar-fixed_wrapper .machine-nav-strip .menu-wrapper.container-large.custom .menulink-block > .hide-tablet,
  html body .navbar-fixed_wrapper .machine-nav-strip .etc-buyback-nav > summary > span {
    width:100%!important; flex:0 1 auto!important; text-align:center!important; font-size:13px!important; line-height:1.25!important;
  }
}

/* v2: the opened mobile menu had an intrinsic 392.92px contact row at 320px.
   Allow the same existing phone/hours/service nodes to shrink and wrap.
   Closed navigation, category icons, dropdown logic, links and desktop are unchanged. */
@media (max-width:991px) {
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] > .nav-middle,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-container-grid,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-middle-wrapper,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .text-block-middle,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .text-block-middle > .link-block {
    box-sizing:border-box!important; width:100%!important; max-width:100%!important; min-width:0!important;
  }
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-container-grid,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-middle-wrapper {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-grid-text {
    display:grid!important; grid-template-columns:24px minmax(0,1fr)!important; align-items:center!important;
    width:100%!important; max-width:100%!important; min-width:0!important; gap:8px!important;
  }
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .nav-grid-text > :last-child,
  html body .navbar-fixed_wrapper .grid-new-nav .nav-menu[data-nav-menu-open] .text-block-middle .text-size-extra-small {
    min-width:0!important; max-width:100%!important; white-space:normal!important;
    overflow-wrap:anywhere!important; word-break:normal!important; text-align:left!important;
  }
}
