/* 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;
}

#header .elementor-element-3046c05 > .elementor-column-wrap > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: minmax(190px, 235px) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
}

#header .elementor-element-80e0457 {
  width: auto;
  min-width: 0;
  max-width: none;
}

.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: #24384a;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .22);
}

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

@media (max-width: 1199.98px) {
  #header .elementor-element-3046c05 > .elementor-column-wrap > .elementor-widget-wrap {
    display: flex;
  }

  #header .elementor-element-80e0457 {
    flex: 1 1 100%;
  }
}

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