/* ix.ua v227 — homepage desktop guest header only.
   IMPORTANT: all rules start at 901px, so the established tablet/mobile
   header logic (including Chat on the second mobile row) is untouched. */
@media (min-width:901px){
  body.landing.landing-guest .landing-head{
    width:min(1180px,calc(100% - 36px))!important;
    max-width:1180px!important;
    gap:28px!important;
  }

  body.landing.landing-guest .landing-head>nav{
    gap:22px!important;
    flex:0 1 auto!important;
    min-width:0!important;
  }

  body.landing.landing-guest .landing-head>nav>a{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    white-space:nowrap!important;
    line-height:1.15!important;
  }

  body.landing.landing-guest .landing-head>.landing-actions.index-header-actions{
    margin-left:auto!important;
    flex:0 0 auto!important;
    gap:7px!important;
  }

  /* Guest auth buttons: use only the space required by the text. */
  body.landing.landing-guest .index-header-actions>a.u-btn.secondary,
  body.landing.landing-guest .index-header-actions>a.u-btn:not(.secondary){
    width:auto!important;
    min-width:0!important;
    padding-left:11px!important;
    padding-right:11px!important;
    white-space:nowrap!important;
  }

  body.landing.landing-guest .index-header-actions>a.u-btn:not(.secondary){
    padding-left:13px!important;
    padding-right:13px!important;
  }

  body.landing.landing-guest .index-header-actions>.ix-community-chat-header{
    flex:0 0 auto!important;
    padding-left:11px!important;
    padding-right:11px!important;
    white-space:nowrap!important;
  }

  body.landing.landing-guest .index-header-actions>.language-switch{
    flex:0 0 auto!important;
  }
}
