/* R192 — centralizar a busca na área livre do cabeçalho Desktop.
   Nada muda em Mobile/PWA, Admin, ícones, histórico ou conteúdo do campo.
   Corrige o deslocamento fixo de 48–52 px criado pela R181. */
@media (min-width:821px) {
  html.gg-profile-desktop body:not(.r22-admin-mode)>.top .wrap.nav {
    gap:clamp(10px,1.1vw,18px)!important;
  }
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch,
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch.r93-search-ready {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    flex:0 1 450px!important;
    width:450px!important;
    min-width:0!important;
    max-width:450px!important;
    margin:0 auto!important;
    z-index:6!important;
  }
  html.gg-profile-desktop body:not(.r22-admin-mode) #ggEnhancedNav {
    flex:0 0 auto!important;
    margin-left:0!important;
  }
  /* O texto pode encolher antes de chegar aos botões e nunca sobrepõe a navegação. */
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch form,
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch form #r86DesktopSearchInput {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
/* Nas janelas Desktop menores, respeitar as áreas do logo e de navegação. */
@media (min-width:821px) and (max-width:1100px) {
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch,
  html.gg-profile-desktop body:not(.r22-admin-mode) #r86DesktopSearch.r93-search-ready {
    flex-basis:320px!important;
    width:320px!important;
  }
}
