.wcf-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: none;
  padding: 0 0 2rem;
  justify-content: space-between;
}

.wcf-sort-container {
  padding: 0 0 0 1rem;
  border-left: 1px solid #DADEE0;
}

button.wcf-sort-button.custom-sort-btn:hover,
button.wcf-sort-button.custom-sort-btn:active,
button.wcf-sort-button.custom-sort-btn:focus {
  color: #AF9166;
  background: #f7efe3;
}

.wcf-trigger {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.wcf-trigger.no-filters {
  color: #5d676c;
  background: transparent;
  border: 1px solid #dadee0;
}

.wcf-trigger.has-filters {
  color: #AF9166;
  background: #f7efe3;
  border: 1px solid #AF9166;
}

.wcf-trigger svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

button.wcf-trigger {
  border-radius: 100px;
  font-size: 16px;
  background: none;
}

.wcf-trigger-count {
  background: #AF9166;
  color: #fff;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

span.wcf-badge {
  color: #AF9166;
  background: #f7efe3;
  border: 1px solid #AF9166;
  border-radius: 100px;
  font-size: 16px;
  padding: 0.5rem 1rem;
}

.wcf-bar-badges {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.wcf-bar-badges .wcf-badge {
  cursor: pointer;
}

.wcf-sort-native {
  display: none;
}

button.wcf-sort-button {
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: #AF9166;
  background: transparent;
  font-weight: 500;
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.wcf-sort-button svg {
  width: 1rem;
  height: 1rem;
  fill: #AF9166;

}

.wcf-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}

.wcf-popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 480px;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 1rem;
  z-index: 999;
}

.wcf-popup.is-open {
  display: block;
}

.wcf-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wcf-popup-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.wcf-popup-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #000000;
}

.wcf-popup-close:hover {
  background-color: transparent;
  color: #000000;
}

.wcf-selected-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .5rem 0;
}

.wcf-reset-filters {
  background: none;
  border: none;
  font-weight: 400;
  color: #BB1818 !important;
}

.wcf-reset-filters:hover {
  text-decoration: underline;
  color: #BB1818 !important;
  background-color: transparent;
}

button.wcf-reset-filters i {
  font-size: 14px;
  margin-right: 2px;
}

.wcf-selected-list .wcf-badge {
  margin: .25rem;
}

.wcf-section-title {
  font-weight: bold;
  margin: 1rem 0 .5rem;
}

.wcf-cat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wcf-cat-list li {
  cursor: pointer;
  border: 1px solid #eee;
  padding: .4rem;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
}

.wcf-cat-imgs {
  display: flex;
  justify-content: center;
  gap: .2rem;
  margin-top: .3rem;
}

.wcf-cat-imgs img,
.category-images img {
  width: 50px;
  border-radius: 1000px !important;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px 0px !important;
  margin-left: -12px;
  object-fit: scale-down;
  padding: 5px;
  background-color: white;
}

button.wcf-apply-filters {
  display: block;
  width: 100%;
  margin-top: 1rem !important;
  padding: .6rem !important;
  text-align: center !important;
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  width: 460px !important;
  border: none !important;
  border-radius: .3rem !important;
  cursor: pointer !important;
  color: white !important;
  background: #AF9166 !important;
}

.wcf-loading {
  opacity: .4;
  pointer-events: none;
  position: relative;
}

.wcf-loading::after {
  content: attr(data-loading);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

p.woocommerce-result-count {
  display: none;
}

form.woocommerce-ordering {
  display: none;
}

.product-category-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* jede Zelle bekommt nur unten und rechts einen „Border“ */
.product-category-item {
  padding: 0.5rem 1rem;
  color: #000;
  /* statt überall einen Border, nur bottom+right */
  border: 1px solid #DADEE0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 75px;
  border-radius: 6px;
}

.custom-sort-list li {
  cursor: pointer;
}

ul.custom-sort-list {
  position: absolute;
  z-index: 996;
  padding: 1rem;
  background-color: white;
  list-style: none;
  width: auto;
  top: 60px;
  right: 0px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.01) 0px 0px 12px, rgba(0, 0, 0, 0.06) 0px 0px 10px, rgba(0, 0, 0, 0.1) 0px 2px 4px -1px;
  font-size: 18px;
  font-weight: 400;
}