/* Deliberately scoped to the mobile header and its own native modal. */
@media(max-width:1100px){
  .cs-mobile-menu-ready .mainnav #navigation,.cs-mobile-menu-ready header>.mega{display:none!important}
  .cs-mobile-menu-ready .mainnav .mobile{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:44px;min-height:44px;flex:none;padding:10px 12px;border:1px solid #0075a8;border-radius:8px;background:#0075a8;color:#fff;font:500 16px/1.2 Ubuntu,Arial,sans-serif;cursor:pointer}
  .cs-mobile-menu-ready .mainnav .mobile:hover{background:#00638e}
  .cs-mobile-menu-ready .mainnav .mobile:focus-visible{outline:3px solid #0075a8;outline-offset:3px}
  .cs-menu-lines{width:22px;display:grid;gap:5px}
  .cs-menu-lines i{display:block;height:2px;width:22px;background:currentColor;border-radius:2px}
}
@media(max-width:360px){.cs-mobile-menu-ready .mainnav .brandimg{width:80px;height:51px}}
@media(max-width:600px){.cs-mobile-menu-ready .mainnav .cs-menu-label{display:none}}
#cs-mobile-menu{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;padding:0;border:0;border-radius:16px 0 0 16px;width:min(88vw,420px);max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;background:#293239;color:#f5f8fa;box-shadow:-12px 0 40px #0003;overflow:hidden;font:400 16px/1.5 Ubuntu,Arial,sans-serif;transform:translateX(100%);transition:transform 180ms ease-out}
#cs-mobile-menu[open]{display:flex;flex-direction:column}
#cs-mobile-menu.cs-menu-visible{transform:translateX(0)}
#cs-mobile-menu[open]:not([data-ready]){pointer-events:none}
#cs-mobile-menu::backdrop{background:rgba(15,25,31,.58)}
#cs-mobile-menu,#cs-mobile-menu *{box-sizing:border-box}
#cs-mobile-menu .cs-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:calc(16px + env(safe-area-inset-top,0px)) calc(20px + env(safe-area-inset-right,0px)) 16px 20px;border-bottom:1px solid #ffffff26;background:#293239}
#cs-mobile-menu .cs-menu-logo{background:#fff;border-radius:6px;padding:7px 10px;line-height:0}
#cs-mobile-menu .cs-menu-logo img{display:block;object-fit:contain;width:115px;height:73px;max-width:100%}
#cs-mobile-menu .cs-menu-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:9px;border:1px solid #ffffff55;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
#cs-mobile-menu .cs-menu-close svg{width:24px;height:24px}
#cs-mobile-menu .cs-menu-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:6px calc(20px + env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) 20px;scrollbar-width:thin;scrollbar-color:#7e9ca9 #293239}
#cs-mobile-menu nav{display:block;position:static;padding:0;margin:0;background:transparent;box-shadow:none}
#cs-mobile-menu a,#cs-mobile-menu button{font:inherit;color:inherit;text-decoration:none;white-space:normal;word-break:normal;overflow-wrap:anywhere;hyphens:none;text-align:left}
#cs-mobile-menu nav>a,#cs-mobile-menu .cs-menu-toggle,#cs-mobile-menu .cs-menu-calculator{display:flex;align-items:center;width:100%;min-height:56px;padding:14px 2px;border:0;border-bottom:1px solid #ffffff26;background:transparent;font-size:19px;line-height:1.4;font-weight:500;cursor:pointer}
#cs-mobile-menu .cs-menu-toggle{justify-content:space-between;gap:16px}
#cs-mobile-menu .cs-menu-toggle::after{content:'';width:8px;height:8px;flex:none;margin-right:7px;border-right:2px solid #78cbe9;border-bottom:2px solid #78cbe9;transform:rotate(45deg);transition:transform 150ms ease}
#cs-mobile-menu .cs-menu-toggle[aria-expanded=true]::after{transform:rotate(225deg)}
#cs-mobile-menu .cs-menu-toggle[aria-expanded=true]{border-bottom-color:transparent}
#cs-mobile-menu .cs-menu-sub{padding:0 0 16px 12px;border-left:2px solid #4dbbdc;margin:0 0 8px}
#cs-mobile-menu .cs-menu-sub[hidden]{display:none}
#cs-mobile-menu .cs-menu-sub a{display:flex;align-items:center;min-height:44px;padding:10px 8px;font-size:16px;line-height:1.4;color:#e7eef2;border-radius:4px}
#cs-mobile-menu .cs-menu-section{font-size:12px;font-weight:500;letter-spacing:.07em;line-height:1.5;color:#a6c5d1;margin:20px 8px 5px}
#cs-mobile-menu a[aria-current=page],#cs-mobile-menu .cs-menu-current-group{color:#8fe0fa}
#cs-mobile-menu .cs-menu-calculator{font-size:16px;color:#8fe0fa}
#cs-mobile-menu .cs-menu-contact{padding-top:24px;display:grid;gap:4px}
#cs-mobile-menu .cs-menu-inquiry{width:100%;min-height:48px;border:1px solid #64c9eb;border-radius:6px;background:#0075a8;color:#fff;text-align:center;font-weight:500;padding:12px;margin-bottom:10px;cursor:pointer}
#cs-mobile-menu .cs-menu-contact a{min-height:44px;display:flex;align-items:center;padding:8px 2px;font-size:17px}
#cs-mobile-menu a:focus-visible,#cs-mobile-menu button:focus-visible{outline:3px solid #8fe0fa;outline-offset:2px}
@media(hover:hover){#cs-mobile-menu a:hover,#cs-mobile-menu button:hover{background-color:#364a55}#cs-mobile-menu .cs-menu-inquiry:hover{background:#00638e}}
@media(max-width:340px){#cs-mobile-menu{width:94vw}#cs-mobile-menu .cs-menu-head{padding-left:16px;padding-right:16px}#cs-mobile-menu .cs-menu-scroll{padding-left:16px;padding-right:16px}}
@media(max-height:460px){#cs-mobile-menu .cs-menu-logo img{width:80px;height:51px}#cs-mobile-menu .cs-menu-head{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){#cs-mobile-menu,#cs-mobile-menu .cs-menu-toggle::after{transition:none}}

/* Short landscape only: the contact row scrolls away; navigation stays reachable.
   Its real height is measured once/on resize, never via a scroll handler. */
@media(max-width:1100px) and (max-height:500px) and (orientation:landscape){
 header{top:calc(-1 * var(--cs-contactbar-height,0px))}
 header .mainnav{min-height:64px;padding-top:4px;padding-bottom:4px;gap:16px}
 header .mainnav .brandimg{width:86px;height:55px;object-fit:contain}
 header .mainnav .cs-mobile-price{margin-right:0}
 header .mainnav .mobile{min-width:44px;min-height:44px}
}
