.search-container .search-list {
  min-width: 300px;
  max-width: calc(100% - 190px);

  @include respond-to-down(smm) {
    width: 100%;
    max-width: none;
  }

  @include respond-to-down(md) {
    min-width: 100%;
  }

  .customer-address-form & {
    @media all and (min-width: 992px) and (max-width: 1200px) {
      width: 100%;
      max-width: none;
      min-width: 100%;
    }
  }

  select {
    border-color: $input-border-focus-color;
    border-style: dashed;
    margin-top: 4px;

    @include respond-to-down(smm) {
      font-size: $font-size-xs;
    }

    .customer-address-form & {
      @media all and (min-width: 992px) and (max-width: 1200px) {
        font-size: $font-size-xs;
      }
    }
  }

  ul {
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: inherit;
    max-width: inherit;
    max-height: 200px;
    overflow-y: scroll;
    color: $search-autocomplete-color;
    background: $search-autocomplete-bg;
    border-left: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
  }

  li {
    padding: $search-autocomplete-padding-x $search-autocomplete-padding-y;
    cursor: pointer;
    margin-bottom: 0;
    text-align: left;
    font-size: $font-size-sm;

    &:hover {
      background-color: $search-autocomplete-hover-bg;
    }

    &:first-child {
      border-top: none;
    }

    &:last-child {
      border-bottom: none;
    }
  }
}