﻿

.ui-accordion .ui-accordion-content {
  padding: 1em 1.2em !important;
}

.searchText {
  margin-bottom: 5px;
}

.filter-section {
  margin-top: 12px;
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  box-shadow: 3px 2px 5px rgba(228, 231, 234, 0.5);
  border-radius: 5px;
}

.filter-result-count {
  font-size: 18px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.filter-section .title {
  background-color: white;
  border: none;
}

.filter-section .listbox {
  padding: 0em 1.2em !important;
}

.ajaxfilter-title {
  font-weight: bold;
  color: #444;
  background-color: white;
  font-size: 15px
}

  .ajaxfilter-title i.fa-undo {
    font-size: 13px;
    float: right;
    margin-right: 20px;
    line-height: 15px;
    color: #124395;
    display: none;
  }

  .ajaxfilter-title i,
  .block-manufacturer-navigation i.fa-angle-down,
  .block-category-navigation i.fa-angle-down,
  .block-recently-viewed-products i.fa-angle-down,
  .block-popular-tags i.fa-angle-down {
    color: #b8b8b8;
  }

    .ajaxfilter-title i.fa-angle-down {
      display: none;
    }

.ajaxfilter-price-range-section {
  font-size: 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.ajaxfilter-price-range {
  font-size: 18px;
  display: flex;
  margin-top: 5px;
  flex-direction: row;
  justify-content: space-between;
}


.ajaxfilter-price-section {
  display: flex;
  flex-direction: column;
}

#slider-range {
  margin: 8px auto 8px;
  max-width: calc(100% - 30px);
}

.ajaxfilter-clear-price {
  margin-top: 8px;
}

.man-filter-section .title {
  background-color: white;
  border: none;
}

#price-current-min,
#price-current-max {
  width: 72px;
  max-width: calc(50% - 4px);
  height: 32px;
  border: 1px solid #cccccc;
  text-align: center;
  float: left;
  font-size: 14px;
  line-height: 30px;
  /* Theme sets input { padding: 0 20px; height: 45px } which clips numbers in these narrow fields */
  padding: 0 6px !important;
  box-sizing: border-box;
}

#price-current-max {
  float: right;
}


.selected-filter-list-box ul li {
  background: #f0f0f0;
  padding: 10px 14px;
  display: inline-block;
  font-size: 13px;
  color: #222;
  font-weight: bold;
  margin-top: 6px;
  margin-right: 4px;
  margin-bottom: 3px;
  line-height: 15px;
}

.floated-icon {
  width: 20px;
  background-color: blue;
}

.count-clear {
  display: flex;
  justify-content: space-between;
}

.clear-filter-all {
  color: #4ab2f1;
  cursor: pointer;
  font-size: 15px;
}

.clear-filter-rating {
  color: #4ab2f1;
  cursor: pointer;
  font-size: 15px;
  margin-bottom: 5px;
}


.applied-title {
  margin-top: 20px;
}


.min115 {
}

.min180 {
  min-height: 180px !important;
}

li:has(> a.showControl) {
  margin-top: 5px !important;
  color: #4ab2f1 !important;
  cursor: pointer;
}


.showControl {
  color: #4ab2f1 !important;
}

li[class^='showControl'] {
  margin-top: 5px;
  color: #4ab2f1;
  cursor: pointer;
}

.filter-section .ui-icon.ui-accordion-header-icon {
  background: none;
  margin: 0;
  text-indent: 0;
  height: auto;
  width: auto;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
}

  .filter-section .ui-icon.ui-accordion-header-icon::before {
    content: "-";
    display: inline-block;
    font-size: 24px;
  }

.filter-section .ui-icon.ui-icon-triangle-1-e::before {
  content: "+";
}

.filter-section .listbox li {
  position: relative;
  padding-right: 30px;
  margin-bottom: 6px;
}

  .filter-section .listbox li i {
    font-style: normal;
  }

  .filter-section .listbox li .count {
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
  }

.ProductRating-section .productsec label {
  border-bottom: 1px solid #ddd9d9;
  display: block;
}

.nop-ajax-filters {
  padding-bottom: 15px;
}

.ui-widget-content {
  border: none;
}

.filter-section .listbox.ui-accordion-content-active::before, .filter-section .listbox.ui-accordion-content-active::after {
  content: '';
  display: block;
  height: 1em;
}

#PriceyNavigation {
  overflow: hidden !important;
}

  #PriceyNavigation::after {
    content: '';
    display: block;
    height: 2em;
  }
.selected-filter-list-box span.ajaxfilter-selectedclose {
  cursor: pointer;
  padding-left: 8px;
  color: #d60000;
}

.ajaxfilter-mobile-close {
  display: none;
  margin-left: 8px;
  background: none;
  border: 0;
  color: #444;
  cursor: pointer;
}

@media (max-width: 999px) {
  .ajaxfilter-mobile-close {
    display: inline-block;
  }
}

/* Checkbox UI: Emporium draws the box via input[type=checkbox] + label:before.
   Hide plugin <span class="square"> so only one checkbox shows. */
.nop-ajax-filters .ajaxfilter-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nop-ajax-filters .ajaxfilter-section li,
.nop-ajax-filters .ajaxfilter-section.productsec {
  position: relative;
  margin: 0 0 6px;
  padding: 2px 28px 2px 0;
  min-height: 22px;
  line-height: 1.35;
}

.nop-ajax-filters .ajaxfilter-section label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 20px;
  padding: 1px 0;
  margin: 0;
  user-select: none;
  gap: 0;
}

/* Keep theme checkbox box sized and spaced from the label text */
.nop-ajax-filters .ajaxfilter-section input[type="checkbox"] + label:before,
.nop-ajax-filters .ajaxfilter-section input[type="radio"] + label:before {
  flex-shrink: 0;
  margin-right: 10px;
  margin-top: 1px;
}

.nop-ajax-filters .ajaxfilter-section label .square {
  display: none !important;
}

/* Bootstrap .d-none fights theme checkbox styling; keep inputs off-screen instead. */
.nop-ajax-filters .ajaxfilter-section input[type="checkbox"].d-none,
.nop-ajax-filters .ajaxfilter-section input[type="radio"].d-none {
  display: block !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

.nop-ajax-filters .ajaxfilter-option-search {
  margin: 0 0 10px;
  align-items: center;
  gap: 6px;
}

.nop-ajax-filters .ajaxfilter-option-search .searchText {
  flex: 1;
  width: 100%;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Products-only AJAX busy (NopTemplates productPanelAjaxBusy) — not full-page, non-blocking for rest of site */
.ajax-products.ajaxfilter-products-host,
.ajax-products {
  position: relative;
}

.ajax-products .productPanelAjaxBusy,
.ajax-products .ajaxfilter-products-busy {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.55);
  pointer-events: none; /* keep page scroll + chrome usable */
}

.ajax-products .productPanelAjaxBusy:before,
.ajax-products .productPanelAjaxBusy:after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border: 0 solid #0aa13f;
  border-radius: 50%;
  animation: ajaxfilter-loader 1.6s cubic-bezier(0, 0, 0.09, 0.99) infinite;
}

.ajax-products .productPanelAjaxBusy:after {
  animation-delay: .8s;
}

@keyframes ajaxfilter-loader {
  0% {
    border-width: 0;
    opacity: 1;
  }
  100% {
    border-width: 16px;
    opacity: 0;
  }
}

/* Mobile FILTERS button + side drawer (Emporium parity; works without SevenSpikes CSS) */
@media all and (max-width: 1024px) {
  body.nopstation-ajaxfilter-enabled .product-selectors > div.filters-button-wrapper {
    float: none;
    display: block !important;
    margin: 0 0 8px;
    width: 100%;
  }

  body.nopstation-ajaxfilter-enabled .filters-button {
    position: relative;
    display: block !important;
    padding: 0 25px;
    height: 50px;
    width: 100%;
    border: none;
    font-size: 15px;
    line-height: 50px;
    border-radius: 3px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }

  body.nopstation-ajaxfilter-enabled .filters-button:before {
    content: "\e904";
    font-family: "emporium-icons";
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 -25px;
    text-transform: none;
    font-size: 22px;
    line-height: normal;
    color: #fff;
    font-weight: normal;
  }

  .nop-ajax-filters.nopAjaxFilters7Spikes,
  .nop-ajax-filters {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 1070;
    width: 320px;
    max-width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    transition: left .3s ease;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }

  .nop-ajax-filters.nopAjaxFilters7Spikes.open,
  .nop-ajax-filters.open {
    left: 0;
  }

  .nop-ajax-filters .close-side-menu-text:before {
    content: "\e904";
    font-size: 21px;
  }

  .nop-ajax-filters .filtersPanel {
    max-height: calc(100vh - 97px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 24px;
  }

  .nop-ajax-filters .filter-title {
    display: none;
  }
}

@media all and (min-width: 1025px) {
  .nop-ajax-filters .close-side-menu {
    display: none !important;
  }
}
