.eflc-refine-bar {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:15px 0;
}

.eflc-refine-btn {
  border:1px solid #ddd;
  background:#fff;
  padding:9px 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}

.eflc-refine-quick-row {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0 16px;
  padding:8px 10px;
  border:1px solid #e1e1e1;
  border-radius:10px;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.eflc-refine-quick-label {
  font-size:13px;
  font-weight:700;
  color:#333;
  margin-right:2px;
}

.eflc-refine-quick-chip {
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid #ddd;
  background:#fafafa;
  padding:7px 10px;
  border-radius:6px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
}

.eflc-refine-quick-chip i {
  font-size:13px;
}

.eflc-refine-quick-chip.is-active {
  border-color:#d40000;
  color:#d40000;
  background:#fff5f5;
}

.eflc-refine-quick-more {
  margin-left:auto;
  background:#eb0000;
  color:#fff;
  border-color:#eb0000;
}

.eflc-refine-overlay {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:999998;
}

.eflc-refine-overlay.is-open {
  display:block;
}

.eflc-refine-drawer {
  position:fixed;
  top:0;
  right:0;
  width:420px;
  max-width:92vw;
  height:100vh;
  background:#fff;
  z-index:999999;
  padding:22px;
  overflow:auto;
  box-shadow:none;
  transform:translateX(110%);
  transition:transform .25s ease;
  padding-bottom:90px;

}

.eflc-refine-drawer.is-open {
  transform:translateX(0);
  box-shadow:-8px 0 24px rgba(0,0,0,.22);
}

.eflc-refine-close {
  position:absolute;
  top:14px;
  right:14px;
  border:0;
  background:#111;
  color:#fff;
  border-radius:50%;
  width:34px;
  height:34px;
  font-size:22px;
  line-height:30px;
  cursor:pointer;
}

.eflc-refine-drawer h3 {
  margin:0 45px 10px 0;
  font-size:22px;
}

.eflc-refine-sort-row {
  display:flex;
  gap:10px;
  margin:10px 0 18px;
  flex-wrap:wrap;
}

.eflc-refine-sort-pill {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #ddd;
  background:#fff;
  padding:8px 13px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  font-size:14px;
}

.eflc-refine-sort-pill i {
  font-size:14px;
}

.eflc-refine-sort-pill.is-active {
  border-color:#d40000;
  color:#d40000;
}

.eflc-refine-drawer h4 {
  margin:22px 0 10px;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.eflc-refine-option {
  display:block;
  padding:9px 0;
  border-bottom:1px solid #eee;
}

.eflc-refine-apply {
  width:100%;
  background:#d40000;
  color:#fff;
  border:0;
  padding:13px 18px;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  margin-top:22px;
  position:sticky;
  bottom:30px;
  z-index:1000001;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
}

@media (max-width: 700px) {
  .eflc-refine-drawer {
    top:auto;
    bottom:0;
    left:0;
    right:0;
    width:auto;
    max-width:none;
    height:auto;
    max-height:82vh;
    border-radius:18px 18px 0 0;
    transform:translateY(110%);
    transition:transform .25s ease;
    box-sizing:border-box;
    padding:18px 14px;
  }

  .eflc-refine-drawer.is-open {
    transform:translateY(0);
    box-shadow:0 -8px 24px rgba(0,0,0,.22);
  }

  .eflc-refine-quick-row {
    position:fixed;
    bottom:8px;
    left:8px;
    right:8px;
    width:auto;
    z-index:999997;
    margin:0;
    padding:6px;
    justify-content:flex-start;
    box-sizing:border-box;
    overflow-x:auto;
    flex-wrap:nowrap;
  }

  .eflc-refine-quick-label {
    display:none;
  }

  .eflc-refine-quick-chip {
    padding:7px 8px;
    font-size:12px;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .eflc-refine-quick-more {
    margin-left:0;
  }

  .eflc-refine-apply {
    bottom:10px;
    margin-top:14px;
    padding:11px 14px;
  }

  .eflc-refine-colours {
    grid-template-columns:1fr;
  }

  .eflc-refine-checklist {
    max-height:150px;
  }
}
.eflc-refine-checklist {
  max-height:180px;
  overflow:auto;
  border:1px solid #ddd;
  border-radius:8px;
  padding:8px 10px;
  background:#fafafa;
}

.eflc-refine-checklist .eflc-refine-option {
  border-bottom:0;
  padding:6px 0;
  font-size:14px;
}

.eflc-refine-colours {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.eflc-refine-colour-option {
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid #eee;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}

.eflc-refine-swatch {
  display:inline-block;
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid #bbb;
  flex:0 0 18px;
}
input[type=checkbox] {visibility: visible;}
