/* Incollare IN FONDO al CSS aggiuntivo del tema MYASNOVICH 1.2. */
/* Ricerca più bassa, con estremità ovali. */
body.tg-site .tg-header .tg-header-inner.tg-header-expanded > .tg-header-search {
  min-height: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
}

body.tg-site .tg-header .tg-header-expanded .tg-header-search input[type="search"] {
  height: 38px;
  padding: 8px 0 8px 14px;
  border-radius: 999px;
}

body.tg-site .tg-header .tg-header-expanded .tg-header-search button {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

/* Computer e tablet: ricerca subito dopo Prodotti, sulla stessa riga. */
@media (min-width: 801px) {
  body.tg-site .tg-header .tg-header-inner.tg-header-expanded {
    grid-template-columns: auto auto minmax(100px, 1fr) auto auto auto;
    grid-template-areas: "logo primary search language cart more";
    gap: 8px;
    min-height: 100px;
    padding-block: 8px;
  }

  body.tg-site .tg-header .tg-header-inner.tg-header-expanded > .tg-header-search {
    width: 100%;
    max-width: 220px;
    justify-self: start;
  }

  body.tg-site .tg-header .tg-header-expanded .tg-quick-links {
    gap: 0;
  }

  body.tg-site .tg-header .tg-header-expanded .tg-quick-links a {
    padding-inline: 7px;
    font-size: 13px;
  }

  body.tg-site .tg-header .tg-header-expanded .tg-header-search input::placeholder {
    font-size: 12px;
  }
}
