/*********************** Custom CSS for Boost Filter & Search  ************************/






/**************************** Place your custom css below  ****************************/
/* Layout */
.boost-pfs-container-default-box {
  padding: 0;
}

.boost-pfs-filter-left-col-inner {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.boost-pfs-filter-left-col {
  width: 20%;
  float: left;
}

.boost-pfs-filter-right-col {
  width: 80%;
  float: right;
  padding-left: 30px;
}

#boost-pfs-search-box-mobile:focus-visible {
  box-shadow: none;
}

.boost-pfs-filter-mobile-toolbar-left > a {
  display: block;
}

.boost-pfs-modal-backdrop,
.boost-pfs-minicart-backdrop,
.boost-pfs-minicart-wrapper.boost-pfs-minicart-active .boost-pfs-minicart-container {
  z-index: 9999999998;
}
.template-search .boost-pfs-filter-tree-desktop-button {
  padding-right: 20px;
  border-right: 1px solid #ebebeb;
}
.boost-pfs-search-no-result-body .sorting-wrapper {
  display: none;
}
/* Product */
@media (min-width: 768px) {
  #main-collection-product-grid {
    margin-top: 0;
  }

  .boost-pfs-filter-products {
    margin-left: -1rem;
  }

  .boost-pfs-filter-top-sorting {
    display: flex;
    justify-content: flex-end;
  }

  .collection-filters__item.sorting, .collection-product-count.light {
    align-self: center !important;
  }
}

/**** Custom Search result toolbar ****/
.boost-pfs-search-suggestion-header-view-all a,
.boost-pfs-search-suggestion-item a {
  color: var(--color-base-text-opacity-85-percent);
}

.template-search .filters-toolbar-wrapper {
  margin-top: 55px;
  margin-bottom: 55px;
}

.boost-pfs-search-result-toolbar {
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.boost-pfs-search-result-panel-controls {
  display: flex;
}

.boost-pfs-search-result-panel-item > button {
  font-size: 15px;
  cursor: pointer;
}

h3.boost-pfs-search-result-list-item-title {
  margin-top: 0
}

.boost-pfs-search-result-pages.boost-pfs-container-default-box {
  margin-top: 50px;
}

.sorting-wrapper {
  border-bottom: 1px solid #ededed;
}

.filters-toolbar__item-child {
  padding: 15px 0;
  display: flex;
  align-items: center;
}

.filters-toolbar__item-child > .boost-pfs-filter-top-sorting {
  position: relative;
  margin-bottom: 0;
  justify-content: flex-start;
}

.filters-toolbar__item-child .collection-filters__label {
  margin: 0;
  width: unset;
  margin-right: 20px;
}

.filters-toolbar__item-child .collection-filters__sort {
  width: 25rem;
  max-width: 100%;
}

.filters-toolbar__item-child svg {
  height: 0.6rem;
  pointer-events: none;
  position: absolute;
  top: calc(50% - 0.35rem);
  right: 1.5rem;
}

.template-search .boost-pfs-filter-tree {
  width: 20%;
  float: left;
}

.template-search .boost-pfs-filter-tree-h {
  width: 100%;
  margin-left: 0;
  margin-bottom: 30px;
}

.template-search .boost-pfs-filter-right {
  width: 80%;
  float: right;
  padding-left: 30px;
}

.boost-pfs-filter-message {
  padding: 0 1.5rem;
}
.predictive-search {
  display: none !important;
}
ul.boost-pfs-search-result-panel-controls>li button {
  cursor: pointer;
}
.boost-pfs-container-default .facets__form {
  margin-bottom: 1.5rem;
}

.boost-pfs-container-default-box:after {
  display: table;
  content: "";
  clear: both;
}


@media (max-width: 767px) {
  .boost-pfs-filter-right-col {
    width: 100%;
    float: none;
    padding-left: 0;
  }
  .facets__wrapper {
    display: none !important;
  }
  .collection-filters {
    grid-template-columns:repeat(1,auto) !important;
  }
  .collection-filters__item.sorting {
    padding: initial;
  }
  .boost-pfs-container-default .facets__form {
    gap: 0 2.5rem;
  }
  .template-search .boost-pfs-filter-tree-mobile-button > button {
    position: relative;
  }
  .filters-toolbar__item-child .collection-filters__sort {
    width: 100%;
  }
  .template-search .boost-pfs-filter-right {
    width: 100%;
    padding-left: 0;
  }
  .overflow-hidden-tablet .boost-pfs-filter-tree-mobile-button.boost-pfs-filter-stick {
  	z-index: 2;
  }
  .boost-pfs-filter-tree-mobile-button.boost-pfs-filter-stick {
  	width: calc(100% - 30px);
  }
}
.boost-pfs-search-result-collections .boost-pfs-search-result-list-item>a, .boost-pfs-search-result-pages .boost-pfs-search-result-list-item>a {
  text-decoration: none;
}

.collection-product-count__text.boost-pfs-filter-total-product {
  display: none!important;
}
}