.wcae-filters{
  --wcae-gap:10px;
  --wcae-btn-bg:#fff;
  --wcae-btn-color:#111;
  --wcae-btn-border:#111;
  --wcae-btn-radius:0px;

  --wcae-btn-hover-bg:#111;
  --wcae-btn-hover-color:#fff;
  --wcae-btn-hover-border:#111;

  --wcae-pop-bg:#fff;
  --wcae-pop-border:rgba(0,0,0,.15);
  --wcae-pop-width:260px;

  --wcae-slider:#111;

  --wcae-item-hover-bg:rgba(0,0,0,.06);
  --wcae-item-hover-color:#111;

  position: relative;
  width: 100%;
}

.wcae-filters__bar{
  display:flex;
  gap:var(--wcae-gap);
  align-items:center;
  flex-wrap:wrap;
}

/* wrapper de cada filtro (âncora do dropdown) */
.wcae-filters .wcae-filter{
  position:relative;
  display:inline-flex;
}

/* Botão (aumentei especificidade) */
.wcae-filters .wcae-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--wcae-btn-border);
  background:var(--wcae-btn-bg);
  color:var(--wcae-btn-color);
  border-radius:var(--wcae-btn-radius);
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  user-select:none;
  transition: all .15s ease;
}

/* ✅ Hover/Active com !important para não ser sobrescrito pelo tema */
.wcae-filters .wcae-btn:hover{
  background: var(--wcae-btn-hover-bg) !important;
  color: var(--wcae-btn-hover-color) !important;
  border-color: var(--wcae-btn-hover-border) !important;
}

.wcae-filters .wcae-btn.is-active{
  background: var(--wcae-btn-hover-bg) !important;
  color: var(--wcae-btn-hover-color) !important;
  border-color: var(--wcae-btn-hover-border) !important;
}

.wcae-filters .wcae-caret{ font-size:12px; line-height:1; }

/* Popover ancorado no botão */
.wcae-filters .wcae-popover{
  position:absolute;
  z-index:9999;
  display:none;
  top: calc(100% + 8px);
  left: 0;
}

.wcae-filters .wcae-popover.is-open{ display:block; }

.wcae-filters .wcae-popover__content{
  width:var(--wcae-pop-width);
  background:var(--wcae-pop-bg);
  border:1px solid var(--wcae-pop-border);
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  padding:14px;
}

/* Select */
.wcae-filters .wcae-select{
  width:100%;
  border:1px solid rgba(0,0,0,.25);
  padding:10px 10px;
  background:#fff;
  font-size:13px;
}

/* RANGE labels */
.wcae-filters .wcae-range__row{
  display:flex;
  justify-content:space-between;
  margin-bottom:8px;
}

.wcae-filters .wcae-range__value{
  font-size:12px;
  color:#111;
}

/* Double range */
.wcae-filters .wcae-double-range{
  position:relative;
  height:26px;
  margin:8px 0 4px;
}

.wcae-filters .wcae-double-range input[type="range"]{
  position:absolute;
  left:0;
  top:2px;
  width:100%;
  pointer-events:none;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  height:22px;
  margin:0;
}

.wcae-filters .wcae-double-range input[type="range"]::-webkit-slider-runnable-track{
  height:4px;
  background:rgba(0,0,0,.25);
  border-radius:999px;
}

.wcae-filters .wcae-double-range input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  pointer-events:auto;
  width:18px;
  height:18px;
  border-radius:999px;
  border:3px solid var(--wcae-slider);
  background:var(--wcae-slider);
  margin-top:-7px;
}

/* Dims blocks */
.wcae-filters .wcae-mini-range{ margin-bottom:14px; }

.wcae-filters .wcae-mini-range__title{
  font-size:13px;
  color:#111;
  margin-bottom:6px;
}

.wcae-filters .wcae-mini-range__labels{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:rgba(0,0,0,.7);
  margin-bottom:6px;
}

/* ✅ Lista (Coleção) — forçar 1 por linha */
.wcae-filters .wcae-list{
  display:flex !important;
  flex-direction:column !important;
  gap:6px;
}

.wcae-filters .wcae-item{
  display:flex !important;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:8px;
  cursor:pointer;
  user-select:none;
  transition: all .12s ease;
  width:100% !important;
}

.wcae-filters .wcae-item:hover{
  background: var(--wcae-item-hover-bg);
  color: var(--wcae-item-hover-color);
}

.wcae-filters .wcae-item input[type="radio"]{
  width:16px;
  height:16px;
  accent-color: var(--wcae-slider);
  cursor:pointer;
  flex:0 0 auto;
}

.wcae-filters .wcae-item__text{
  font-size:14px;
  line-height:1.2;
}

/* Loading */
.wcae-grid-loading{ opacity:.45; transition:opacity .15s ease; }