.mobile-site-nav,.mobile-catalog-title,.mobile-menu-title{display:none}
@media(max-width:1199px){
  .desktop-menu-title{display:none}
  .mobile-menu-title{display:inline}
  .mega-heading{margin-bottom:20px}
  .mobile-site-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:28px}
  .mobile-site-nav>a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:52px;padding:13px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:13px;font-weight:500;line-height:1.4;letter-spacing:-.015em}
  .mobile-site-nav>a>.icon{width:16px;height:16px;flex-shrink:0;color:var(--accent)}
  .mobile-site-nav>a:hover,.mobile-site-nav>a[aria-current=page]{border-color:var(--accent);color:var(--accent);background:#e5f2ee}
  .mobile-catalog-title{display:block;font-size:20px;font-weight:600;line-height:1.3;letter-spacing:-.035em;margin-bottom:18px}
  .mega-inner{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(min-width:768px) and (max-width:1199px){
  .mobile-site-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1024px) and (max-width:1199px){
  .topbar{display:block;height:44px}
  .topbar .shell>span,.topbar nav>a{display:none}
  .topbar nav,.header-phone-group{width:100%;justify-content:space-between}
  .topbar .top-phone{margin-left:0;white-space:nowrap}
  .header-row{height:72px;gap:12px}
  .mobile-menu,.mobile-search{display:inline-flex;flex-shrink:0}
  .brand{width:182px;margin-right:auto}
  .catalog-toggle,.comparison-link,.project-link>span{display:none}
  .project-link{padding-left:0;border:0;gap:6px}
  .project-link>.icon{width:25px;height:25px}
  .header .search{display:none;position:absolute;left:40px;right:40px;top:calc(100% + 8px);background:#fff;z-index:43;min-width:0;box-shadow:0 8px 20px #173f4120}
  .header.search-open .search{display:flex}
  .search input{font-size:16px}
  .search-results{width:100%;max-height:60vh}
  .mega-menu{position:fixed;inset-inline:0;width:auto;max-width:100%;top:var(--menu-top,116px);height:calc(100vh - var(--menu-top,116px));height:calc(100dvh - var(--menu-top,116px));max-height:none;border-radius:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y}
  .mega-heading .icon-button{display:inline-flex}
  .mega-heading h2{font-size:26px}
  .mega-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1200px){
  .topbar .shell>span,.topbar nav{white-space:nowrap}
  .topbar nav{flex-shrink:0}
}

@media(max-width:359px){
  .mobile-site-nav>a{padding-inline:12px}
  .mobile-site-nav>a>.icon{display:none}
}

/* Clearer utility navigation and a consistent call action across screen sizes. */
.topbar{height:56px;background:#f1f5f1;border-bottom-color:#d7e3dc;font-size:15px}
.topbar .shell{gap:24px}
.topbar .shell>span{min-width:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.4;color:#63776c}
.topbar nav{gap:20px}
.topbar nav>a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.3;font-weight:500;white-space:nowrap;color:#36554a;transition:color .16s ease}
.topbar nav>a:hover{color:var(--accent)}
.topbar .header-phone-group{flex-shrink:0;gap:12px}
.topbar .top-phone{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;margin:0;padding:8px 14px;border:1px solid #c4d8cc;border-radius:999px;background:#e4eee7;color:#214f43;font-size:16px;font-weight:600;line-height:1.2;letter-spacing:-.02em;white-space:nowrap;font-variant-numeric:tabular-nums;transition:background .16s ease,border-color .16s ease,color .16s ease}
.topbar .top-phone>.icon{width:18px;height:18px;flex-shrink:0}
.topbar .top-phone:hover{background:#d6e7dc;border-color:#9dbdad;color:#153e31}
@media(min-width:1200px) and (max-width:1279px){
 .topbar nav{gap:18px}
}
@media(max-width:1199px){
 .topbar{height:52px}
 .topbar .shell>span,.topbar nav>a{display:none}
 .topbar .top-phone{font-size:15px;padding-inline:12px}
}
@media(max-width:767px){
 .topbar .top-phone{font-size:14px;padding-inline:10px;gap:7px}
 .topbar .top-phone>.icon{width:16px;height:16px}
 .topbar .header-phone-group{gap:8px}
}
@media(prefers-reduced-motion:reduce){
 .topbar nav>a,.topbar .top-phone{transition:none}
}

@media(min-width:1200px) and (max-width:1399px){
  .topbar .shell>span{display:block;flex:1 1 auto;font-size:10.5px}
  .topbar .shell{justify-content:space-between;gap:16px}
  .topbar nav{gap:14px}
  .topbar nav>a{font-size:14px}
}

/* Keep the manufacturer note visible whenever the header has desktop space. */
@media(min-width:1024px){
 .topbar .shell>.header-supply-note{display:block;flex:1 1 auto;min-width:0;white-space:nowrap;font-size:11px}
 .topbar nav,.topbar .header-phone-group{width:auto}
 .topbar .shell{justify-content:space-between}
}
@media(min-width:1024px) and (max-width:1399px){
 .topbar .shell>.header-supply-note{font-size:10.5px}
}
