.header_mobile_search_wrapper {
  display: none !important;
}

.sw-mobile-header-search-close {
  display: none !important;
}

.sw-mobile-header-search-toggle {
  align-items: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 46px;
}
.sw-mobile-header-search-toggle:hover, .sw-mobile-header-search-toggle:focus, .sw-mobile-header-search-toggle:focus-visible {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline-offset: 2px;
}
.sw-mobile-header-search-toggle img {
  display: block;
  height: 46px;
  -o-object-fit: contain;
     object-fit: contain;
  width: 46px;
}

@media screen and (max-width: 821px) {
  .header_mobile_search_wrapper {
    align-items: center;
    display: flex !important;
    flex: 0 0 46px;
    justify-content: center;
    max-width: 46px;
    width: 46px;
  }
  header .header_top_sec .header_search_wrapper {
    background: #000;
    bottom: 0;
    display: flex !important;
    height: auto !important;
    left: 0;
    max-height: none;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    pointer-events: none;
    position: fixed;
    right: 0;
    top: var(--sw-mobile-search-top, 0);
    transform: translateY(-20px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    visibility: hidden;
    width: 100vw !important;
    z-index: 9998;
  }
  header .header_top_sec .header_search_wrapper[hidden] {
    display: none !important;
  }
  header .header_top_sec .header_search_wrapper > .elementor-element,
  header .header_top_sec .header_search_wrapper > .elementor-widget,
  header .header_top_sec .header_search_wrapper > .elementor-widget-shortcode {
    width: 100%;
  }
  header .header_top_sec .header_search_wrapper .header_search,
  header .header_top_sec .header_search_wrapper .elementor-widget-container,
  header .header_top_sec .header_search_wrapper .sw-products-search-form {
    width: 100%;
  }
  header .header_top_sec .header_search_wrapper .sw-products-search-form {
    align-items: center;
    display: flex;
    gap: 12px;
  }
  header .header_top_sec .header_search_wrapper .elementor-search-form__container {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    position: relative;
  }
  header .header_top_sec .header_search_wrapper .sw-mobile-header-search-close {
    align-items: center;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    flex: 0 0 42px;
    font-size: 36px;
    font-weight: 300;
    height: 50px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 42px;
  }
  header .header_top_sec .header_search_wrapper .sw-mobile-header-search-close:hover, header .header_top_sec .header_search_wrapper .sw-mobile-header-search-close:focus, header .header_top_sec .header_search_wrapper .sw-mobile-header-search-close:focus-visible {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    outline-offset: 2px;
  }
  header .header_top_sec .header_search_wrapper #sw-product-search-suggestions {
    left: 0;
    margin-top: 50px;
    max-height: calc(100vh - var(--sw-mobile-search-top, 0px) - 130px);
    padding: 20px;
    position: absolute;
    width: 100%;
    z-index: 2;
  }
  header .header_top_sec .header_search_wrapper .sw-trending-keywords {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  header .header_top_sec.is-mobile-search-open {
    z-index: 10000;
  }
  header .header_top_sec.is-mobile-search-open .header_search_wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  header .header_top_sec.is-mobile-search-open .header_search_wrapper .sw-products-search-form > .sw-mobile-header-search-close {
    display: flex !important;
  }
  body.sw-mobile-search-modal-open {
    overflow: hidden;
  }
  .header_msearch_wrapper.header_msearch_wrapper {
    display: flex !important;
  }
  .header_search_wrapper {
    padding: 24px 40px !important;
  }
  .sw-trending-keywords {
    flex-direction: column !important;
    flex-wrap: wrap;
    margin-top: 30px !important;
    font-size: 1em;
  }
  .sw-trending-keywords p {
    font-size: 1em;
  }
  .sw-trending-keywords-list {
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
    font-size: 1em !important;
  }
  .sw-trending-keywords-list a {
    font-size: inherit !important;
    text-decoration: none !important;
    padding: 10px 0;
    border-bottom: 1px solid #FFF;
  }
  .header_search_wrapper #sw-product-search-input {
    border-radius: 23px 0 0 23px;
  }
  .header_search_wrapper button.elementor-search-form__submit {
    border-radius: 0 23px 23px 0 !important;
  }
}
@media screen and (max-width: 767.9px) {
  .header_search_wrapper {
    padding: 24px 30px !important;
  }
}
@media (max-width: 640px) {
  .header_search_wrapper {
    padding: 24px 20px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  header .header_top_sec .header_search_wrapper {
    transition: none;
  }
}
