.predictive-search {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -1px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 1);
    background-color: rgb(255, 255, 255);
    z-index: 3;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    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% + 2px);
  }
  
  .predictive-search__results-groups-wrapper {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
  }
  
  .predictive-search__heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0 20px;
    padding: 15px 0 7.5px;
    color: rgba(0, 0, 0, 0.7);
  }
  .predictive-search__results-list {
    list-style: none;
    margin: 0px;
  }
  .predictive-search__list-item[aria-selected='true'] > *,
  .predictive-search__list-item:hover > *,
  .predictive-search__item[aria-selected='true'],
  .predictive-search__item:hover {
    color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 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: 3px;
  }
  
  .predictive-search__item {
    display: flex;
    padding: 10px 20px;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }
  
  .predictive-search__item--link-with-thumbnail {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-column-gap: 20px;
    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: 9px;
  }
  
  .predictive-search__item-heading {
    margin: 0;
  }
  
  .predictive-search__item .price {
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
  }
  
  .predictive-search__item-vendor + .predictive-search__item-heading,
  .predictive-search .price {
    margin-top: 5px;
  }
  
  .predictive-search__item--term {
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    word-break: break-all;
    line-height: 1.4;
  }
  
  .predictive-search__image {
    grid-area: product-image;
    object-fit: contain;
    font-family: 'object-fit: contain';
  }
  
  .predictive-search__loading-state {
    display: none;
    justify-content: center;
    padding: 10px;
  }
  
  .predictive-search.is-loading .predictive-search__loading-state {
    display: flex;
  }
  
  .predictive-search.is-active {
    display: block;
  }
  
  /* Media Queries */
  @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) {
      gap: 20px;
    }
  }
  
  @media screen and (min-width: 750px) {
    .predictive-search {
      border-top: none;
      width: calc(100% + 2px);
    }
  
    .predictive-search__item--term {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  
    .predictive-search__item--term .icon-arrow {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      margin-left: 20px;
      color: rgb(0, 0, 0);
    }
  }