.wcdmf-filter{--wcdmf-accent:#2563eb;--wcdmf-border:#e5e7eb;--wcdmf-text:#111827;--wcdmf-count-bg:#f1f5f9;--wcdmf-count-text:#475569;box-sizing:border-box;width:100%;max-width:100%;-webkit-text-size-adjust:100%}
.wcdmf-filter *,.wcdmf-filter *::before,.wcdmf-filter *::after{box-sizing:border-box}
.wcdmf-filter .wcdmf-title{font-size:16px;font-weight:700;line-height:1.3;color:var(--wcdmf-text);margin:0 0 10px}
.wcdmf-filter .wcdmf-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.wcdmf-filter .wcdmf-item{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--wcdmf-border);border-radius:8px;transition:border-color .15s ease,box-shadow .15s ease}
.wcdmf-filter .wcdmf-item::before,.wcdmf-filter .wcdmf-item::after{display:none}
.wcdmf-filter .wcdmf-item:hover{border-color:var(--wcdmf-accent)}
.wcdmf-filter .wcdmf-label{display:flex;align-items:center;gap:12px;margin:0;padding:12px 14px;width:100%;cursor:pointer;font-weight:inherit;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.wcdmf-filter .wcdmf-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:0;padding:0;border:1.5px solid var(--wcdmf-accent);border-radius:4px;background:#fff;position:relative;display:inline-block;cursor:pointer;box-shadow:none;outline:0;vertical-align:middle}
.wcdmf-filter .wcdmf-checkbox::before{display:none}
.wcdmf-filter .wcdmf-checkbox:checked{background:var(--wcdmf-accent)}
.wcdmf-filter .wcdmf-checkbox:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.wcdmf-filter .wcdmf-checkbox:focus-visible{box-shadow:0 0 0 3px rgba(37,99,235,.3)}
.wcdmf-filter .wcdmf-name{flex:1 1 auto;min-width:0;font-size:14px;font-weight:600;line-height:1.35;color:var(--wcdmf-text);word-break:break-word}
.wcdmf-filter .wcdmf-count{flex:0 0 auto;font-size:12px;font-weight:600;line-height:1;color:var(--wcdmf-count-text);background:var(--wcdmf-count-bg);padding:5px 8px;border-radius:6px}
@supports selector(:has(*)){.wcdmf-filter .wcdmf-item:has(.wcdmf-checkbox:checked){border-color:var(--wcdmf-accent);box-shadow:0 0 0 1px var(--wcdmf-accent) inset}}
.wcdmf-filter .wcdmf-clear{margin-top:10px;padding:8px 14px;border:1px solid var(--wcdmf-border);border-radius:8px;background:#fff;color:var(--wcdmf-text);font-size:13px;font-weight:600;cursor:pointer;line-height:1.2}
.wcdmf-filter .wcdmf-clear[hidden]{display:none}
.wcdmf-filter .wcdmf-clear:hover{border-color:var(--wcdmf-accent);color:var(--wcdmf-accent)}
.wcdmf-filter.wcdmf-is-loading{opacity:.7;pointer-events:none}
.wcdmf-is-loading-grid{opacity:.45;transition:opacity .15s ease;pointer-events:none}
@media (max-width:767px){
	.wcdmf-filter .wcdmf-label{padding:14px}
	.wcdmf-filter .wcdmf-checkbox{flex-basis:20px;width:20px;height:20px;min-width:20px}
	.wcdmf-filter .wcdmf-checkbox:checked::after{left:6px;top:2px}
}
@media (min-width:768px){.wcdmf-filter{backface-visibility:hidden}}
@media (max-width:767px){.wcdmf-filter{transform:none!important}}
