.wcaf {  margin: 12px 0; background: #fff; border-radius: 10px; }
.wcaf .wcaf-title { display:block; margin: 0 0 8px; font-weight: 600; }
.wcaf .wcaf-block { margin: 12px 0; }
.wcaf .wcaf-list { display: grid; gap: 6px; }
.wcaf .wcaf-option { display:flex; gap: 10px; align-items:center; }
.wcaf .wcaf-actions { display:flex; gap: 10px; }
.wcaf .wcaf-actions-top { margin-bottom: 12px; }
.wcaf .wcaf-select { min-width: 240px; padding: 10px 12px; border-radius: 10px; border: 1px solid #ddd; background: #fff; }

/* Tick labels under slider */
.wcaf-ticks { position: relative; height: 16px; margin: 8px 6px 0; pointer-events: none; }
.wcaf-tick { position: absolute; transform: translateX(-50%); font-size: 12px; opacity: .55; top: 0; white-space: nowrap; }

/* noUiSlider spacing */
.wcaf-price .wcaf-slider { margin: 14px 6px 0; }

/* noUiSlider theme */
.wcaf-price .noUi-target {
  border: 0;
  box-shadow: none;
  background: #e6e6e6;
  border-radius: 999px;
}
.wcaf-price .noUi-horizontal { height: 6px; }
.wcaf-price .noUi-connect { background: #d90000; }

.wcaf-price .noUi-handle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  right: -10px; /* center the handle */
  top: -7px;
  border: 3px solid #d90000;
  background: #fff;
  box-shadow: none;
  cursor: ew-resize;
}
.wcaf-price .noUi-handle:before,
.wcaf-price .noUi-handle:after { display: none; }

/* Tooltips (red price boxes) */
.wcaf-price .noUi-tooltip {
  background: #d90000;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
}
.wcaf-price .noUi-horizontal .noUi-tooltip { bottom: 28px; }

/* Stock segmented */
.wcaf-segment { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wcaf-segment-input { position: absolute; opacity: 0; pointer-events: none; }
.wcaf-segment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: all .15s ease;
  font-size: 14px;
}
#wcaf-stock-in:checked + .wcaf-segment-btn,
#wcaf-stock-out:checked + .wcaf-segment-btn {
  border-color: #111;
  background: #111;
  color: #fff;
}


.noUi-horizontal .noUi-handle {
    width: 30px !important;
}


/* === Price slider track + selected range bar (between handles) === */
.wcaf-price .wcaf-slider {
  position: relative;
  height: 6px !important;
  background: #e6e6e6 !important;  /* track color */
  border: 0 !important;
  border-radius: 999px !important;
}

.wcaf-price wcaf-slider {
  position: absolute;
  height: 100% !important;
  background: #d90000 !important;  /* selected range color */
  border: 0 !important;
  border-radius: 999px !important;
  z-index: 1 !important;
}
.wcaf-price{
	padding-top:25px;
}
.wcaf-price .wcaf-slider {
    margin: 8px 0px 18px !important;
}
.wcaf-main{
	 
	padding:0;
	border:none;
}
.wcaf-title{
	     font-family: "Unbounded", Sans-serif !important;
}
.wcaf-price .ui-slider-handle {
  z-index: 2 !important;           /* handles above range */
}
.wcaf-actions button  , .wcaf-actions a{
	margin:0px !important;
}
.wcaf .wcaf-actions {
    flex-wrap: wrap;
  
}
/* If any parent is hiding it */
.wcaf-price,
.wcaf-price .wcaf-slider,
.wcaf-price .ui-slider,
.wcaf-price .ui-slider-range,
.wcaf-price .ui-slider-handle {
  overflow: visible !important;
}


/* ---- SelectWoo / Select2 styling for tags (chips + search) ---- */
.wcaf .select2-container {
  width: 100% !important;
}
.wcaf .select2-container--default .select2-selection--multiple {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 6px 8px;
}
.wcaf .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #111;
  border: 0;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 6px;
}
.wcaf .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 6px;
}
.wcaf .select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 8px;
}

/* SelectWoo multi-select (tags) */
.wcaf .select2-container { width: 100% !important; }
.wcaf .select2-container--default .select2-selection--multiple {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 6px 8px;
}
.wcaf .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #111;
  border: 0;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 6px;
}
.wcaf .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 6px;
}


/* =========================
   WCAF AJAX loading state
   ========================= */
.wl-filterable-products-content.wcaf-is-loading {
  position: relative;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.wl-filterable-products-content.wcaf-is-loading::after {
  content: "Loading…";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9999;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
}

/* Hide Apply button if it still exists somewhere */
.wcaf .wcaf-apply {
  display: none !important;
}

/* Make Reset look clickable even without Apply */
.wcaf .wcaf-actions-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Ensure SelectWoo looks like a dropdown (not listbox) */
.wcaf .wcaf-tags-select {
  width: 100%;
}


.wcaf-price .wcaf-ticks{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  font-size:12px;
  color:#6b6b6b;
}
.wcaf-price .wcaf-tick{ white-space:nowrap; }
