.ga-home-search {
  position: relative;
  z-index: 6;
  max-width: 100%;
  margin: 0 0 18px;
  color: #293136;
}

.ga-home-search-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(100%);
  white-space: nowrap;
  border: 0;
}

.ga-home-search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 13px;
  border: 1px solid #dfe1e3;
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.ga-home-search-field > svg { color: #56606a; }

.ga-home-search-field input {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
}

.ga-home-search-field input::placeholder { color: #56606a; }
.ga-home-search-field:focus-within { border-color: #d63943; box-shadow: 0 0 0 3px #fbe9ea; }
.ga-home-search-field input:focus-visible { outline: none; }
.ga-home-search :is(button, a):focus-visible {
  outline: 2px solid #a32430;
  outline-offset: 2px;
}

.ga-home-search-field button {
  min-height: 48px;
  padding: 8px clamp(12px, 2vw, 22px);
  border: 0;
  border-radius: 10px;
  background: #d63943;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s;
}

.ga-home-search-field button:hover { background: #bd2933; }
.ga-home-search-field button:active { background: #a32430; }

.ga-home-search-results {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  max-height: min(440px, 58dvh);
  overflow: auto;
  padding: 13px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(41 49 54 / 16%);
}

.ga-home-search [hidden] { display: none; }
.ga-home-search-results :is(ul, p) { margin: 0; }
.ga-home-search-results ul { padding: 0; list-style: none; }
.ga-home-search-results li + li { border-top: 1px solid #dfe1e3; }
.ga-home-search-heading {
  padding: 3px 9px;
  color: #59636a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ga-home-search-results a {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border-radius: 6px;
  color: #a32430;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ga-home-search-results a:hover { background: #f6f6f5; }
.ga-home-search-results a span { color: #56606a; font-size: 14px; }
.ga-home-search-results .ga-home-search-all { font-weight: 700; }
.ga-home-search-results .ga-home-search-empty { padding: 8px 9px; }

@media (max-width: 760px) {
  .ga-home-search-field input { font-size: 15px; line-height: 21px; }
}
