﻿.aa-dropdown-menu {
  position: relative;
  top: -6px;
  border-radius: 3px;
  margin: 6px 0 0;
  padding: 0;
  text-align: left;
  height: auto;
  position: relative;
  background: white;
  border: none;
  width: calc( 100% + 47px);
  left: 0 !important;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}

  .aa-dropdown-menu:before {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    background: #fff;
    top: -7px;
    border-top: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    transform: rotate(-45deg);
    border-radius: 2px;
    z-index: 999;
    display: block;
    left: 24px;
  }

  .aa-dropdown-menu .aa-suggestions {
    position: relative;
    z-index: 1000;
  }

  .aa-dropdown-menu [class^="aa-dataset-"] {
    position: relative;
    border: solid 1px #D9D9D9;
    border-radius: 3px;
    overflow: auto;
    padding: 0;
    max-height: none;
  }

  .aa-dropdown-menu * {
    box-sizing: border-box;
  }

.aa-suggestions-header {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px 6px;
  color: #000;
  border-bottom: 1px solid #eee;
}

.aa-suggestion {
  font-size: 1.1em;
  padding: 0;
  display: block;
  width: calc((100% - 40px) / 6);
  flex: 0 0 calc((100% - 40px) / 6);
  min-width: 0;
  height: auto;
  clear: none;
  cursor: pointer;
  overflow: hidden;
}

.aa-suggestions {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px !important;
}

.aa-dataset-1 {
  padding: 0 !important;
}

.aa-suggestion.aa-cursor .algolia-suggestion {
  background: #f5f5f5;
}

.aa-suggestion em,
.algolia-suggestion .name em,
.no-result em {
  color: #4098CE;
  font-style: normal;
}

#small-search-box-form span {
  color: #000 !important;
  z-index: 1011;
}

.branding {
  text-align: center;
  width: 100%;
  font-size: 12px;
  padding: 10px;
  padding-bottom: 20px;
  margin-top: 10px;
}

  .branding img {
    height: 12px;
    display: inline-block;
    position: absolute;
    margin: 2px;
  }

.no-result {
  padding: 6px;
  width: 100%;
}

.ui-slider-range {
  /*  position: absolute;
  height: 8px;
  background: #4ea35d !important;*/
}

.main-range {
  font-size: 14px;
  color: #8c8c8c;
  padding-bottom: 10px;
}

.current-range .price-input {
  padding: 5px;
  background: #fff;
  font-weight: bold;
  font-size: 14px;
  color: #8c8c8c;
  border: none;
  overflow: hidden;
  color: #8c8c8c;
  font-weight: 700;
}

.search-box .search-box-button {
  float: right;
}

@media (min-width: 1025px) {
  .store-search-box span.search-box-text {
    width: 91%;
    width: -webkit-calc(100% - 47px);
    width: calc(100% - 45px);
  }
}

.product-filters .ui-slider {
  margin: 0 10px 10px !important;
}

input#small-searchterms {
  background: none !important;
}

.store-search-box span.search-box-text {
  display: inline-block;
  width: 86%;
  width: -webkit-calc(100% - 47px);
  width: calc(100% - 47px);
  vertical-align: top;
}

.search-box input.search-box-text {
  width: 89%;
  width: -webkit-calc(100% - 0px);
  width: calc(100% - 0px);
  vertical-align: top;
}

@media (max-width: 1024px) {
  .store-search-box span.search-box-text {
    width: calc(100% - 45px);
  }

  .search-box.store-search-box input {
  }
}

span.algolia-autocomplete {
  width: 100%;
}

.ui-slider-horizontal .ui-slider-handle {
  /*top: 50% !important;*/
}



.algolia-suggestion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

  .algolia-suggestion .image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    line-height: 0;
    background: #fff;
  }

    .algolia-suggestion .image img {
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center center;
      display: block;
    }

  .algolia-suggestion .sku {
    font-weight: bold;
    font-size: 12px;
    color: #000;
    line-height: 1.2;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .algolia-suggestion .name {
    font-size: 12px;
    color: #000;
    line-height: 14px;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    white-space: normal;
  }

  .algolia-suggestion .sku em {
    color: #4098CE;
    font-style: normal;
  }

.search-results .noresult-message {
  font-size: 15px;
  font-weight: normal;
  text-align: center;
}

@media (max-width: 1024px) {
  .aa-suggestion {
    width: calc(33.333% - 6px);
    flex: 0 0 calc(33.333% - 6px);
  }
}

@media (max-width: 480px) {
  .aa-suggestion {
    width: calc(50% - 4px);
    flex: 0 0 calc(50% - 4px);
  }
}
