/* ITM-MOB-V8: phone bottom nav compact + product breadcrumb (<=767px) */
@media (max-width:767px){
/* bottom nav, compact: 5 equal columns (4 icons + LINE), plain icons (no boxes), labels clear of the rounded screen corners / home bar */
body #mobile-menu.bottom-menu:has(> a > .mobile-main-button){display:flex !important;align-items:stretch !important;justify-content:space-between !important;gap:0 !important;padding:3px 12px calc(3px + env(safe-area-inset-bottom, 0px)) !important;min-height:0 !important;height:auto !important;box-sizing:border-box !important}
body #mobile-menu.bottom-menu:has(> a > .mobile-main-button) > a{flex:1 1 0 !important;min-width:0 !important;max-width:none !important;margin:0 !important;padding:3px 0 !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:2px !important;border-radius:10px !important}
body #mobile-menu.bottom-menu:has(> a > .mobile-main-button) > a:active{background:rgba(0,0,0,.06) !important}
body #mobile-menu.bottom-menu > a > .mobile-main-button{width:28px !important;height:26px !important;min-width:0 !important;min-height:0 !important;background:none !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;padding:0 !important;margin:0 !important;line-height:26px !important}
body #mobile-menu.bottom-menu > a > .mobile-main-button i{color:#222 !important;font-size:23px !important;line-height:26px !important}
body #mobile-menu.bottom-menu > a > .mobile-text{font-size:11px !important;font-weight:600 !important;line-height:1.2 !important;color:#222 !important;margin:0 !important;padding:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:100% !important}
body #mobile-menu.bottom-menu:has(> a > .mobile-main-button) > a[href*="lin.ee"]{flex:1.15 1 0 !important;margin-left:4px !important}
body #mobile-menu.bottom-menu > a[href*="lin.ee"] img{width:100% !important;max-width:92px !important;height:auto !important;border-radius:8px !important;display:block !important}
}
/* iPhone: labels clear of the home-indicator strip (env() is 0 without viewport-fit=cover, so a fixed minimum) */
@media (max-width:767px){
html.itm-ios body #mobile-menu.bottom-menu:has(> a > .mobile-main-button){padding-bottom:max(14px, env(safe-area-inset-bottom, 0px)) !important}
html.itm-ios body #mobile-menu.bottom-menu:not(:has(> a > .mobile-main-button)){padding-bottom:max(14px, env(safe-area-inset-bottom, 0px)) !important}
/* product page breadcrumb = category page breadcrumb (full path, one line, swipe) - the spans are wrapped into .itm-bc by the script below */
body .itm-bc.itm-bc-p{display:block !important;width:100% !important;flex:0 0 100% !important;margin:6px 0 0 !important}
body .itm-bc-p a{color:#9a7b00 !important}
}
