/* Extract-safe: always load this AFTER main.css so search cannot stay 36px wide or hidden. */
.header-search-wrap {
  position: relative !important;
  z-index: 1200 !important;
  overflow: visible !important;
}

.header-search-toggle,
#header-search-toggle {
  position: relative !important;
  z-index: 1201 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.header-search-wrap .header-search,
.header-search-wrap .header-search.search-live,
#header-search {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  width: min(22rem, calc(100vw - 2rem)) !important;
  max-width: min(22rem, calc(100vw - 2rem)) !important;
  min-width: min(18rem, calc(100vw - 2rem)) !important;
  z-index: 1300 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.header-search-wrap .header-search.is-open,
#header-search.is-open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.header-search-wrap .header-search.is-open[hidden],
#header-search.is-open[hidden] {
  display: flex !important;
}

.header-search-wrap .header-search:not(.is-open),
#header-search:not(.is-open) {
  display: none !important;
}

.site-header,
.header-inner,
.header-actions {
  overflow: visible !important;
}
