/* WC Product Filter */
.wcpf-filter { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:20px 22px; margin:0 0 24px; max-width:420px; box-sizing:border-box; }
.wcpf-filter * { box-sizing:border-box; }
.wcpf-title { font-size:20px; font-weight:700; color:#0f172a; cursor:pointer; list-style:none; }
.wcpf-title::-webkit-details-marker { display:none; }
.wcpf-title::after { content:"▾"; float:right; color:#64748b; font-size:16px; }
.wcpf-filter:not([open]) .wcpf-title::after { content:"▸"; }

.wcpf-group { padding:16px 0; border-bottom:1px solid #e2e8f0; }
.wcpf-group:first-of-type { margin-top:12px; border-top:1px solid #e2e8f0; }
.wcpf-group h4 { margin:0 0 10px; font-size:15px; font-weight:700; color:#0f172a; }

/* thickness buttons */
.wcpf-chips { display:flex; flex-wrap:wrap; gap:8px; }
.wcpf-chip { position:relative; }
.wcpf-chip input { position:absolute; opacity:0; pointer-events:none; }
.wcpf-chip span { display:inline-block; padding:8px 16px; border:1px solid #cbd5e1; border-radius:8px; font-size:14px; cursor:pointer; background:#fff; color:#0f172a; }
.wcpf-chip input:checked + span { background:#0f2447; border-color:#0f2447; color:#fff; }
.wcpf-chip input:focus-visible + span { outline:2px solid #2054d6; outline-offset:2px; }

/* wear class + brand checkboxes */
.wcpf-check { display:flex; align-items:center; gap:10px; padding:5px 0; font-size:15px; cursor:pointer; color:#0f172a; }
.wcpf-check input { accent-color:#d92d3f; width:18px; height:18px; margin:0; cursor:pointer; flex:none; }

/* price */
.wcpf-price-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.wcpf-label { display:block; font-size:13px; font-weight:600; color:#0f172a; margin-bottom:6px; }
.wcpf-input { width:100%; padding:10px 12px; border:1px solid #cbd5e1; border-radius:6px; font:inherit; font-size:14px; background:#fff; margin:0; }

/* buttons */
.wcpf-btn { display:block; width:100%; margin-top:10px; padding:12px 18px; border-radius:6px; font:inherit; font-weight:700; font-size:14px; text-align:center; text-decoration:none; cursor:pointer; }
.wcpf-btn-apply { margin-top:18px; background:#d92d3f; color:#fff; border:1px solid #d92d3f; }
.wcpf-btn-apply:hover { background:#b8232f; border-color:#b8232f; color:#fff; }
.wcpf-btn-clear { background:#fff; color:#0f172a; border:1px solid #cbd5e1; }
.wcpf-btn-clear:hover { background:#f1f5f9; color:#0f172a; }
