/* Owner-requested restoration, 12 October 2026. Pending visual confirmation.
   Extend the saved separate navigation/search rows to windows where the single
   row was compressing the links and turning the active pill into a circle. */
@media(min-width:761px) and (max-width:1440px){
 html body .site-header.site-header{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) repeat(6,auto)!important;
  grid-template-rows:46px 38px 42px!important;column-gap:7px!important;row-gap:5px!important;
  height:auto!important;min-height:141px!important;padding-top:4px!important;padding-bottom:6px!important;align-items:center!important;
 }
 html body .site-header.site-header>.brand.brand{grid-column:1!important;grid-row:1!important;margin-right:0!important}
 html body .site-header.site-header>.header-spacer.header-spacer{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:2!important;grid-row:1!important;min-width:0!important}
 html body .site-header.site-header>#iwMessagesBtn{grid-column:3!important;grid-row:1!important}
 html body .site-header.site-header>#iwCallBtn{grid-column:4!important;grid-row:1!important}
 html body .site-header.site-header>#iwNotificationsBtn{grid-column:5!important;grid-row:1!important}
 html body .site-header.site-header>#settingsBtn{grid-column:6!important;grid-row:1!important}
 html body .site-header.site-header>#iwSubscribeBtn{grid-column:7!important;grid-row:1!important}
 html body .site-header.site-header>button.login-btn:last-of-type{grid-column:8!important;grid-row:1!important}
 html body .site-header.site-header>.main-nav.main-nav{
  grid-column:1/-1!important;grid-row:2!important;display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;height:38px!important;gap:3px!important;
 }
 html body .site-header.site-header>.main-nav.main-nav .nav-btn{
  width:100%!important;max-width:none!important;height:34px!important;padding:0 3px!important;
  border-radius:999px!important;font-size:11px!important;white-space:nowrap!important;
 }
 html body .site-header.site-header>.header-search-shell.header-search-shell{
  grid-column:1/-1!important;grid-row:3!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
 }
}
@media(min-width:1441px){
 html body .site-header.site-header>.main-nav.main-nav{flex-shrink:0!important}
 html body .site-header.site-header>.main-nav.main-nav .nav-btn{flex-shrink:0!important;min-width:max-content!important}
}

/* Owner-requested alignment of the bell and settings cog with Messages/Call. */
@media(min-width:761px){
 html body .site-header.site-header>:is(#iwNotificationsBtn,#settingsBtn){
  display:grid!important;place-items:center!important;align-self:center!important;
  flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;
  padding:0!important;margin-block:0!important;line-height:1!important;
 }
 html body .site-header.site-header>#iwNotificationsBtn>svg{display:block}
}

/* Requested Contact us centring: use the flexible header space on desktop. */
@media(min-width:761px){
 html body .site-header.site-header>.brand.brand>.iw-prototype-badge-brand{display:none!important}
 html body .site-header.site-header>.header-spacer.header-spacer{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 108px!important;min-width:108px!important}
 html body .site-header.site-header>.header-spacer.header-spacer>.iw-prototype-badge-spacer{position:static!important;display:inline-grid!important;flex:0 0 108px!important;width:108px!important;min-width:108px!important;margin:0!important}
}

/* Fit Contact us into the existing desktop row before wrapping the header. */
@media(min-width:1441px){
 html body .site-header.site-header>.header-search-shell.header-search-shell{flex:1 1 150px!important;width:auto!important;min-width:90px!important;max-width:210px!important;margin:0!important}
 html body .site-header.site-header>.header-spacer.header-spacer{flex:1 0 108px!important}
 html body .site-header.site-header>.main-nav.main-nav{flex:0 0 auto!important}
}
