/* === FILTER / SORT FIXES === */

/* Keep only ONE sort bar - hide the duplicate at bottom */
.shoptimizer-sorting.sorting-end .woocommerce-ordering,
.shoptimizer-sorting.sorting-end .woocommerce-result-count {
  display: none !important;
}

/* Style the sort bar properly */
.shoptimizer-sorting {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 0 !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.shoptimizer-sorting .woocommerce-ordering {
  margin: 0 !important;
}

.shoptimizer-sorting select.orderby {
  border: 1px solid #C4B5A8 !important;
  border-radius: 0 !important;
  padding: 10px 36px 10px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  color: #1A1A1A !important;
  background: transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  cursor: pointer !important;
}

.shoptimizer-sorting .woocommerce-result-count {
  font-size: 13px !important;
  color: #8B8078 !important;
  margin: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Hide fake star ratings */
.woocommerce ul.products li.product .star-rating {
  display: none !important;
}

/* Hide old category labels (show new ones) */
.woocommerce ul.products li.product .product__categories a {
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #C4A882 !important;
  text-decoration: none !important;
}

/* Only show first category, hide duplicates */
.woocommerce ul.products li.product .product__categories a:not(:first-child)::before {
  display: none !important;
}
.woocommerce ul.products li.product .product__categories a:not(:first-child) {
  display: none !important;
}

/* WooCommerce notices wrapper - remove empty space */
.woocommerce-notices-wrapper:empty {
  display: none !important;
}
