/* Shared storefront fixes managed by MegaSync. */
#header #searchbox,
#header #avasearch_block {
  width: 100%;
  max-width: 100%;
}

#header #searchbox {
  display: flex;
  min-width: 0;
}

#header #searchbox #search_category {
  flex: 0 0 168px;
  width: 168px;
  max-width: 36%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#header #searchbox .input-wrapper,
#header #searchbox .search_query {
  min-width: 0;
}

#header #searchbox .input-wrapper {
  flex: 1 1 auto;
}

.megasync-search-row-placeholder {
  display: none;
  width: 100%;
}

.megasync-search-row-placeholder.is-active {
  display: block;
}

#header .megasync-search-row-fixed {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  margin: 0;
  background: var(--palette7, #fff);
  box-shadow: 0 4px 14px rgba(17, 24, 39, .14);
}

#header .megasync-search-row-fixed > .elementor-container {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767.98px) {
  #header #searchbox #search_category {
    flex-basis: 112px;
    width: 112px;
    max-width: 34%;
    padding-right: 22px;
    padding-left: 10px;
  }
}
