.product-filter-sidebar {
  background: #f7f8fb;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  padding: 14px;
}

@media (min-width: 992px) {
  .product-filter-sidebar {
    position: sticky;
    top: 116px;
    max-height: none;
    overflow: visible;
  }
}

.product-filter-sidebar .widgets-area {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dde5ee;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 12px !important;
  padding: 0 0 12px !important;
}

.product-filter-sidebar .widgets-area:last-child {
  border-bottom: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.product-filter-sidebar .widgets-title {
  color: #2f3a46;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px !important;
}

.product-filter-sidebar #widgets-searchbox {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 8px 0 12px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #f1f3f6;
}

.product-filter-sidebar #widgets-searchbox .input-field {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3f4b5f;
  font-size: 14px;
}

.product-filter-sidebar #widgets-searchbox .input-field:focus {
  outline: 0;
}

.product-filter-sidebar #widgets-searchbox .widgets-searchbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  border-left: 1px solid #d2dae4;
  border-radius: 0;
  background: transparent;
  color: #1f2937;
  font-size: 20px;
  line-height: 1;
}

.product-filter-sidebar #widgets-searchbox .widgets-searchbox-btn i {
  display: block;
  line-height: 1;
}

.product-filter-sidebar .category-filter-list {
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.product-filter-sidebar .category-filter-list .widgets-category {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
}

.product-filter-sidebar .category-filter-list .widgets-category li {
  margin: 0 !important;
}

.product-filter-sidebar .category-filter-list .widgets-category a {
  display: flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #dce3eb;
  border-radius: 6px;
  background: #fff;
  color: #3f4b5f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-filter-sidebar .category-filter-list .widgets-category a:hover {
  border-color: #526171;
  color: #2f3a46;
  background: #f8f9fa;
}

.product-filter-sidebar #catList a.active,
.product-filter-sidebar #catList a.active:hover {
  border-color: #405060;
  background: #405060;
  color: #fff;
  text-decoration: none;
}

.product-filter-sidebar .fitment-filter-list {
  display: grid;
  gap: 8px;
}

.product-filter-sidebar .fitment-filter-field {
  display: grid;
  gap: 3px;
  color: #65758b;
  font-size: 13px;
  font-weight: 600;
}

.product-filter-sidebar .fitment-filter-field select {
  min-height: 39px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #3f4b5f;
  background: #fff;
}

.product-filter-sidebar .fitment-filter-field select:disabled {
  color: #9aa6b2;
  background: #f8f9fa;
}

.product-filter-sidebar .fitment-clear {
  min-height: 34px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  color: #3f4b5f;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.product-filter-sidebar .fitment-clear:disabled {
  color: #9aa6b2;
  cursor: not-allowed;
  background: #f8f9fa;
}

.product-filter-sidebar .fitment-filter-list:last-child {
  margin-bottom: 0;
}

.shop-listing-area {
  padding-top: 28px !important;
}

.shop-listing-area .product-topbar {
  margin-bottom: 0;
}

.shop-listing-area .product-topbar > ul {
  gap: 12px;
  margin: 0;
}

.shop-listing-area .product-topbar > ul > li:not(:last-child) {
  margin-bottom: 0;
}

.shop-listing-area .product-topbar > ul li.page-count,
.shop-listing-area .product-topbar > ul li.product-view-wrap {
  padding: 16px 20px;
}

.shop-listing-area .product-topbar > ul li.product-view-wrap > ul li:not(:last-child) {
  padding-right: 14px;
}

.shop-listing-area .product-view-wrap a {
  cursor: pointer;
}

.shop-listing-area .product-topbar > ul li.short {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 60px;
  padding: 0;
  overflow: visible;
}

.shop-listing-area .product-topbar > ul li.short::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #8b96a8;
  border-bottom: 2px solid #8b96a8;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.shop-listing-area #sort-select {
  width: 100%;
  height: 100%;
  padding: 0 42px;
  border: 0;
  outline: 0;
  background: transparent;
  background-image: none !important;
  color: #65758b;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  text-align-last: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.shop-listing-area #sort-select option {
  text-align: left;
}

.shop-listing-area #sort-select::-ms-expand {
  display: none;
}

.shop-listing-area .product-topbar > ul li.short .nice-select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 42px;
  border: 0;
  background: transparent;
  color: #65758b;
  font-size: 15px;
  line-height: 1;
  text-align: center !important;
}

.shop-listing-area .product-topbar > ul li.short .nice-select::after {
  right: 22px;
}

.shop-listing-area .product-topbar > ul li.short .nice-select .current {
  display: block;
  width: 100%;
  text-align: center;
}

.shop-listing-area .product-topbar > ul li.short .nice-select .list {
  left: auto;
  right: 0;
  text-align: left;
}

.shop-listing-area .tab-content.text-charcoal {
  padding-top: 22px !important;
}

@media (max-width: 575.98px) {
  .shop-listing-area .product-topbar > ul {
    gap: 10px;
  }

  .shop-listing-area .product-topbar > ul li.page-count,
  .shop-listing-area .product-topbar > ul li.product-view-wrap {
    padding: 14px 18px;
  }

  .shop-listing-area .product-topbar > ul li.short {
    width: min(176px, 100%);
    height: 58px;
  }
}
