/* =====================================================================
   cabecalho-2026.css — o MESMO cabeçalho em todas as abas do site.
   Carregado por último em cada página com o cabeçalho oficial.

   Antes, cada aba tinha uma regra própria: a busca do topo sumia em
   Natal, Réveillon, Explorar, home e byElarah (catalogo-2026.css /
   app-skin.css), tinha outra largura na Presentear (presentear-2026.css)
   e as páginas sem identidade-2026.css usavam um contêiner mais estreito.
   Aqui vale uma regra só para todas.

   Celular (≤768px) não muda: a busca do topo já fica oculta em todas as
   páginas (styles.css) e o app segue igual.
   ===================================================================== */

/* Mesma largura do contêiner da identidade 2026 (≈92% da tela). */
@media (min-width: 1025px) {
  html:root .header .header__inner {
    max-width: min(92vw, 1760px) !important;
    width: min(92vw, 1760px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  html:root .header .header__logo-img { margin-left: 0 !important; }
}

/* Busca do topo: sempre visível, mesma largura e mesmo texto. */
@media (min-width: 769px) {
  html:root:root:root .header .header__search {
    display: flex !important;
    align-items: center;
    flex: 0 1 330px;
    width: 330px;
    max-width: 330px;
    min-width: 0;
  }
  html:root:root:root .header .header__search-input { width: 100%; min-width: 0; text-overflow: ellipsis; }
}

/* Texto inteiro cabendo e o mesmo desenho em todas as páginas. */
@media (min-width: 769px) {
  html:root:root:root .header .header__search-input { font-size: 14px; }
  html:root:root:root .header .header__search-btn { display: none; }
}
/* Notebook (1281–1499px): menu completo no topo não deixa espaço — a busca
   do topo sai em TODAS as páginas igualmente (a da página continua). */
@media (min-width: 1281px) and (max-width: 1499px) {
  html:root:root:root .header .header__search { display: none !important; }
}
/* Notebook: o menu completo cabe sem empurrar o "Entrar" para fora da tela. */
@media (min-width: 1281px) and (max-width: 1499px) {
  html:root .header .header__inner { gap: 14px; }
  html:root .header .header__nav { gap: 2px; }
  html:root .header .header__nav-link { padding-left: 8px; padding-right: 8px; }
}
