/** Shopify CDN: Minification failed

Line 234:0 Unexpected "<"
Line 243:3 Unexpected "{"
Line 478:5 Unexpected "{"
Line 577:0 Unexpected "<"

**/
.predictive-search {
  display: none;
  position: absolute;
  top: calc(100% + 0.1rem);
  left: -0.1rem;
  border-width: var(--popup-border-width);
  border-style: solid;
  border-color: rgba(var(--color-foreground), var(--popup-border-opacity));
  background-color: rgb(var(--color-background));
  z-index: 3;
  border-bottom-right-radius: var(--popup-corner-radius);
  border-bottom-left-radius: var(--popup-corner-radius);
  box-shadow: var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius)
    rgba(var(--color-shadow), var(--popup-shadow-opacity));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.predictive-search--search-template {
  z-index: 2;
  width: calc(100% + 0.2rem);
}

.predictive-search__results-groups-wrapper {
  display: flex;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  padding-bottom: 1rem;
}

@media screen and (max-width: 749px) {
  .predictive-search--header {
    right: 0;
    left: 0;
    top: 100%;
  }

  .predictive-search__results-groups-wrapper {
    flex-direction: column;
  }

  .predictive-search__results-groups-wrapper:not(.predictive-search__results-groups-wrapper--no-suggestions) {
    /* On mobile, when there are no suggestions the first .predictive-search__results-groups-wrapper
     * is virtually empty due to a display: hidden on the predictive-search__pages-wrapper child.
     * This causes the gap to render and look like a big top margin */
    gap: 2rem;
  }
}

@media screen and (min-width: 750px) {
  .predictive-search {
    border-top: none;
    width: calc(100% + 0.2rem);
  }

  .header predictive-search {
    position: relative;
  }
}

predictive-search[open] .predictive-search,
predictive-search[loading] .predictive-search {
  display: block;
}

.predictive-search__result-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 2rem;
}

.predictive-search__result-group:first-child .predictive-search__pages-wrapper {
  display: none;
}

@media screen and (min-width: 750px) {
  .predictive-search__results-groups-wrapper--no-products .predictive-search__result-group:nth-child(2),
  .predictive-search__result-group:last-child .predictive-search__pages-wrapper {
    display: none;
  }
  .predictive-search__result-group:first-child .predictive-search__pages-wrapper {
    display: initial;
  }
  .predictive-search__result-group:first-child {
    flex: 0 0 20.4rem;
  }
  .predictive-search__results-groups-wrapper--no-products .predictive-search__result-group:first-child,
  .predictive-search__result-group:only-child {
    flex-grow: 1;
  }
}

.predictive-search__heading {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  margin: 0 2rem;
  padding: 1.5rem 0 0.75rem;
  color: rgba(var(--color-foreground), 0.7);
}

predictive-search .spinner {
  width: 1.5rem;
  height: 1.5rem;
  line-height: 0;
}

predictive-search:not([loading]) .predictive-search__loading-state,
predictive-search:not([loading]) .predictive-search-status__loading {
  display: none;
}

predictive-search[loading] .predictive-search__loading-state {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

predictive-search[loading] .predictive-search__search-for-button {
  display: none;
}

predictive-search[loading] .predictive-search__results-groups-wrapper ~ .predictive-search__loading-state {
  display: none;
}

predictive-search[loading] .predictive-search__results-groups-wrapper ~ .predictive-search__search-for-button {
  display: initial;
}

.predictive-search__list-item[aria-selected='true'] > *,
.predictive-search__list-item:hover > *,
.predictive-search__item[aria-selected='true'],
.predictive-search__item:hover {
  color: rgb(var(--color-foreground));
  background-color: rgba(var(--color-foreground), 0.04);
}

.predictive-search__list-item[aria-selected='true'] .predictive-search__item-heading,
.predictive-search__list-item:hover .predictive-search__item-heading {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.predictive-search__item {
  display: flex;
  padding: 1rem 2rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.predictive-search__item--link-with-thumbnail {
  display: grid;
  grid-template-columns: 5rem 1fr;
  grid-column-gap: 2rem;
  grid-template-areas: 'product-image product-content';
}

.predictive-search__item-content {
  grid-area: product-content;
  display: flex;
  flex-direction: column;
}

.predictive-search__item-content--centered {
  justify-content: center;
}

.predictive-search__item-vendor {
  font-size: 0.9rem;
}

.predictive-search__item-heading {
  margin: 0;
}

.predictive-search__item-query-result *:not(mark) {
  font-weight: bolder;
}

.predictive-search__item-query-result mark {
  color: rgba(var(--color-foreground), 0.75);
}

.predictive-search__item-query-result mark {
  background-color: transparent;
}

.predictive-search__item .price {
  color: rgba(var(--color-foreground), 0.7);
  font-size: 1.2rem;
}

.predictive-search__item-vendor + .predictive-search__item-heading,
.predictive-search .price {
  margin-top: 0.5rem;
}

.predictive-search__item--term {
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 2rem;
  word-break: break-all;
  line-height: calc(1 + 0.4 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .predictive-search__item--term {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.predictive-search__item--term .icon-arrow {
  width: calc(var(--font-heading-scale) * 1.4rem);
  height: calc(var(--font-heading-scale) * 1.4rem);
  flex-shrink: 0;
  margin-left: calc(var(--font-heading-scale) * 2rem);
  color: rgb(var(--color-link));
}

.predictive-search__image {
  grid-area: product-image;
  object-fit: contain;
  font-family: 'object-fit: contain';
}
<style>
  /* =======================================
     Header Search
  ======================================= */

  [hidden] {
    display: none;
  }

   {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: #fff;
    padding: 20px 40px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  }

  
  .custom-header-search__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

   main-search,
   predictive-search {
    display: block;
    flex: 1;
    min-width: 0;
  }

  
  .search {
    width: 100%;
  }


  /* =======================================
     Close Button
  ======================================= */

  
  .custom-header-search__close {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #0a0a0a;
    font-size: 28px;
    line-height: 44px;
    cursor: pointer;
  }


  /* =======================================
     Predictive Search
  ======================================= */

  
  .predictive-search--header {
    max-height: 70vh;
    overflow-y: auto;
  }

  /*
   * PC：
   * Products 左侧
   * Suggestions 右侧
   */
  
  .predictive-search__results-groups-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 100rem;
    padding: 10px 0 30px;
    margin: 0 auto;
  }

  
  .predictive-search__result-group {
    min-width: 0;
  }

  /*
   * Products
   *
   * 75% - 20px
   * Suggestions 25% - 20px
   * 中间 gap 40px
   */
  
  .predictive-search__result-group--products {
    order: 1;
    flex: 0 0 calc(75% - 20px);
    width: calc(75% - 20px);
  }

  
  .predictive-search__result-group--suggestions {
    order: 2;
    flex: 0 0 calc(25% - 20px);
    width: calc(25% - 20px);
  }


  /* =======================================
     No Suggestions
  ======================================= */

  
  .predictive-search__results-groups-wrapper--no-suggestions {
    justify-content: center;
  }

  
  .predictive-search__results-groups-wrapper--no-suggestions
  .predictive-search__result-group--products {
    flex: 0 0 calc(75% - 20px);
    width: calc(75% - 20px);
  }


  /* =======================================
     No Products
  ======================================= */

  
  .predictive-search__results-groups-wrapper--no-products {
    justify-content: center;
  }

  
  .predictive-search__results-groups-wrapper--no-products
  .predictive-search__result-group--suggestions {
    flex: 0 0 calc(75% - 20px);
    width: calc(75% - 20px);
  }


  /* =======================================
     Predictive Search Products
  ======================================= */

  
  .predictive-search__products-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 1rem 2rem 0;
  }

  
  .predictive-search__product-card {
    flex: 0 0 calc((100% - 30px) / 4);
    min-width: 0;
  }

  
  .predictive-search__results-groups-wrapper--no-suggestions
  .predictive-search__products-grid {
    justify-content: center;
  }


  /* =======================================
     Product Card
  ======================================= */

  
  .predictive-search__product-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
  }

  
  .predictive-search__product-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f7f7f7;
  }

  
  .predictive-search__product-image {
    display: block;
    width: 100%;
    height: auto;
  }

  
  .predictive-search__product-content {
    padding-top: 6px;
  }

  
  .predictive-search__product-title {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
  }


  /* =======================================
     Product Price
  ======================================= */

  
  .predictive-search__product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.4;
  }

  
  .predictive-search__product-price-current {
    color: #d60000;
  }


  /* =======================================
     Mobile
  ======================================= */

  @media screen and (max-width: 749px) {
     {
      padding: 14px;
    }

    /*
     * 移动端取消左右双栏。
     */
    
    .predictive-search__results-groups-wrapper {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /*
     * Products 始终排第一。
     */
    
    .predictive-search__result-group--products {
      order: 1;
    }

    
    .predictive-search__result-group--suggestions {
      order: 2;
    }

    /*
     * 移动端取消 PC 的 75% / 25%。
     */
    
    .predictive-search__result-group--products,
    
    .predictive-search__result-group--suggestions,
    
    .predictive-search__results-groups-wrapper--no-suggestions
    .predictive-search__result-group--products,
    
    .predictive-search__results-groups-wrapper--no-products
    .predictive-search__result-group--suggestions {
      flex: 0 0 auto;
      width: 100%;
    }

    /*
     * Products 移动端一行两个。
     */
    
    .predictive-search__products-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      width: 100%;
    }

    
    .predictive-search__product-card {
      flex: 0 0 calc((100% - 10px) / 2);
      min-width: 0;
    }

    /*
     * 无 Suggestions 且商品数量不足一行时居中。
     */
    
    .predictive-search__results-groups-wrapper--no-suggestions
    .predictive-search__products-grid {
      justify-content: center;
    }

    /*
     * 移动端 Predictive Search
     *
     * 不使用 fixed。
     * 搜索框保持现有位置。
     * 下拉区域横向铺满 viewport。
     * 高度由 JS 动态计算到 viewport 底部。
     *
     * 不隐藏滚动条。
     */
    
    .predictive-search--header {
      position: absolute;

      width: 100vw;
      max-width: none;
      left:-14px;
      top:calc(100% + 2px);

      margin: 0;
      border-radius: 0;

      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;

      background: #fff;
    }
  }
</style>
