/* Compact modern shell on phones and tablets; desktop continues from 992px. */
@media(max-width:991.98px){
 html body{padding-top:60px!important}
 html body #oct-wrap>.top-panel{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;margin:0!important;z-index:1000000}
 html body #oct-wrap>.top-panel .top-panel-ul,html body #oct-wrap>.top-panel .top-panel-div{display:none!important}
 html body #oct-wrap>.container>header.row,html body #megamenu-menu{display:none!important}
 html body #pb-mobile-menu:not([hidden]){display:block!important}
 html body:has(#pb-mobile-menu:not([hidden])) .megamessage,html body:has(#pb-mobile-menu:not([hidden])) #leadia-widget{display:none!important}
}
@media(min-width:768px) and (max-width:991.98px){
 html body #oct-wrap>.container{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:15px!important;padding-right:15px!important;box-sizing:border-box}
 html body #oct-wrap>.container #container{margin-top:8px;padding-top:0}
 html body #oct-wrap>.top-panel .search-box-top{position:fixed!important;top:60px!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(100vh - 60px)!important;height:calc(100dvh - 60px)!important;margin:0!important;box-sizing:border-box;z-index:1000001}
}
/* PB: balanced light mobile header; existing menu and contact handlers retained. */
@media(max-width:991.98px){
 html body #oct-wrap>.top-panel{height:60px!important;min-height:60px;box-sizing:border-box;background:#fff!important;border-bottom:1px solid #e7e7e7;box-shadow:0 2px 10px rgba(0,0,0,.055);color:#303238}
 html body #oct-wrap>.top-panel>.container{width:100%!important;height:60px;margin:0!important;padding:0 8px!important;box-sizing:border-box}
 html body #oct-wrap>.top-panel>.container>.row{display:grid!important;grid-template-columns:40px minmax(0,1fr) 120px;align-items:center;gap:0;width:100%!important;height:60px;margin:0!important;padding:0!important;box-sizing:border-box}
 html body #oct-wrap>.top-panel>.container>.row::before,html body #oct-wrap>.top-panel>.container>.row::after{display:none!important;content:none!important}
 html body #oct-wrap>.top-panel #sidebar-toggle{display:flex!important;align-items:center;justify-content:center;float:none;width:40px!important;height:44px!important;margin:0!important;padding:0!important;color:#303238!important;line-height:1}
 html body #oct-wrap>.top-panel #sidebar-toggle>svg{width:24px;height:24px}
 html body #oct-wrap>.top-panel .mobile-logo{display:flex!important;align-items:center;justify-content:center;float:none;min-width:0;width:auto!important;height:60px!important;margin:0!important;padding:0 6px!important;line-height:1;box-sizing:border-box}
 html body #oct-wrap>.top-panel .mobile-logo img{display:block!important;width:160px!important;max-width:100%!important;height:52px!important;max-height:52px!important;margin:0!important;padding:0!important;object-fit:contain}
 html body #oct-wrap>.top-panel .mobile-icons-top{display:flex!important;align-items:center;justify-content:space-between;float:none;width:120px!important;height:60px!important;margin:0!important;padding:0!important;gap:0}
 html body #oct-wrap>.top-panel .mobile-icons-top>.hidden-lg.hidden-md{display:flex!important;align-items:center;justify-content:center;width:40px;height:44px;line-height:1}
 html body #oct-wrap>.top-panel .mobile-icons-top>.hidden-lg.hidden-md>a[href^="tel:"],
 html body #oct-wrap>.top-panel #search-top,
 html body #oct-wrap>.top-panel .cart-top-mobile{position:relative;display:inline-flex!important;align-items:center;justify-content:center;float:none;flex:none;box-sizing:border-box;width:40px!important;min-width:40px;height:44px!important;margin:0!important;padding:0!important;background:transparent!important;border:0;box-shadow:none;color:#303238!important;line-height:1;text-decoration:none}
 html body #oct-wrap>.top-panel #search-top>span,
 html body #oct-wrap>.top-panel .cart-top-mobile>span{display:flex;align-items:center;justify-content:center;line-height:1;color:inherit!important}
 html body #oct-wrap>.top-panel #search-top i,
 html body #oct-wrap>.top-panel .cart-top-mobile i{font-size:24px!important;color:inherit;line-height:1}
 html body #oct-wrap>.top-panel .mobile-icons-top>.hidden-lg.hidden-md>a[href^="tel:"]>i{font-size:25px!important;color:#303238}
 html body #oct-wrap>.top-panel .mobile-icons-top>.hidden-lg.hidden-md>a[href^="tel:"][aria-expanded="true"]>i,
 html body:has(#pb-mobile-menu:not([hidden])) #oct-wrap>.top-panel .mobile-icons-top>.hidden-lg.hidden-md>a[href^="tel:"]>i{color:#303238}
 html body #oct-wrap>.top-panel .cart-top-mobile .cart-cols{position:absolute!important;top:4px!important;right:0!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:17px;height:17px;padding:0 3px!important;border:2px solid #fff;border-radius:10px;background:#c62828!important;color:#fff!important;font-family:Roboto,Arial,sans-serif;font-size:10px!important;font-weight:700;line-height:13px!important;opacity:1!important}
 html body #oct-wrap>.top-panel :is(#sidebar-toggle,#search-top,.cart-top-mobile,.mobile-icons-top>.hidden-lg.hidden-md>a[href^="tel:"]):focus-visible{outline:2px solid #555;outline-offset:0;border-radius:8px}
 @keyframes pb-mobile-phone-colours{0%,100%{color:#303238}20%{color:#238348}40%{color:#986300}60%{color:#177b9d}80%{color:#aa3671}}
}
