.yb-facets.yb-facets{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;padding:0;background:transparent;border:0;box-shadow:none;color:#16243a;direction:rtl}
.yb-facets *{box-sizing:border-box}
.yb-facets [hidden]{display:none!important}
.yb-facets .yb-facet-total{margin:0;padding:14px;border-radius:12px;background:#eaf3ff;color:#15447b;font-size:13px}
.yb-facets .yb-facet-total strong{font-size:20px;margin-inline-end:5px}
.yb-facets .yb-facet{margin:0;background:#fff;border:1px solid #dce5ef;border-radius:12px;overflow:hidden;min-width:0}
.yb-facets .yb-facet summary{display:flex;align-items:center;gap:9px;min-height:52px;padding:12px;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:#16243a}
.yb-facets .yb-facet summary::-webkit-details-marker{display:none}
.yb-facets .yb-facet summary>span:first-child{flex:1;overflow-wrap:anywhere}
.yb-facets .yb-facet-badge{display:inline-flex;justify-content:center;align-items:center;min-width:27px;padding:2px 7px;border-radius:8px;background:#edf3fa;color:#244b76;font-size:12px}
.yb-facets .yb-facet[open]>summary{background:#f3f8ff;border-bottom:1px solid #e5edf6}
.yb-facets .yb-facet-chevron{width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);margin:0 3px 4px;flex-shrink:0}
.yb-facets .yb-facet[open] .yb-facet-chevron{transform:rotate(135deg);margin-top:6px}
.yb-facets .yb-facet-body{padding:8px}
.yb-facets .yb-facet-options{max-height:275px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5cbe3 #f4f7fb}
.yb-facets.yb-facets .yb-facet-option{display:flex;flex-direction:row;align-items:center;gap:9px;min-height:44px;margin:0;padding:9px 6px;border-radius:7px;cursor:pointer;font-size:13px;font-weight:400;line-height:1.7;overflow-wrap:anywhere}
.yb-facets .yb-facet-option:hover{background:#f2f7ff}
.yb-facets .yb-facet-option:has(input:checked){background:#eaf3ff;color:#0d55ad;font-weight:700}
.yb-facets .yb-facet-option input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;accent-color:#1268e5;width:18px;height:18px;min-width:18px;margin:0;flex-shrink:0}
.yb-facets .yb-facet-option>span:first-of-type{flex:1;min-width:0}
.yb-facets .yb-option-count{font-variant-numeric:tabular-nums;color:#4c627b;font-size:12px;white-space:nowrap}
.yb-facets input.yb-local-search{width:100%;height:44px;border:1px solid #bccce0;border-radius:8px;background:#fff;padding:8px 10px;font:inherit;margin:0 0 7px}
.yb-facets .yb-active-filters{display:flex;flex-wrap:wrap;gap:6px}
.yb-facets .yb-active-filters:empty{display:none}
.yb-facets .yb-facet-chip{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;max-width:100%;padding:8px 10px;border:1px solid #b9d6fa;border-radius:9px;background:#eef5ff;color:#174b8a;font-size:12px;overflow-wrap:anywhere}
.yb-facets .yb-facet-chip span{font-size:22px;line-height:1;flex-shrink:0}
.yb-facets .yb-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.yb-facets .yb-price-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0}
.yb-facets .yb-price-fields input{width:100%;min-width:0;height:44px;border:1px solid #bccce0;border-radius:8px;background:#fff;padding:7px;font:inherit}
.yb-facets .yb-facet-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.yb-facets .yb-facet-actions button{min-height:46px;flex:1;background:#1268e5;color:#fff;border:0;border-radius:10px;padding:10px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.yb-facets .yb-clear-all{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px;color:#315273;font-size:12px;text-decoration:underline}
.yb-facets .yb-facet-empty,.yb-facets .yb-local-empty,.yb-facets .yb-facet-error{margin:6px 0;padding:10px;font-size:12px;line-height:1.9;color:#775019;background:#fff8e8;border-radius:8px}
.yb-facets .yb-facet-error a{color:#184f94;text-decoration:underline}
.yb-facets :is(summary,input,button,a):focus-visible{outline:3px solid #1268e5;outline-offset:2px}
.yb-facets[aria-busy=true] .yb-facet-total{background:#fff3d2}
.yb-facets[aria-busy=true] .yb-facet-total:after{content:' • در حال بروزرسانی…';font-size:11px}
.yb-live-facets-page .cpw-desktop-product-filters{min-width:0}
@media(max-width:767px){.yb-facets .yb-facet-options{max-height:235px}.yb-facets .yb-facet summary{min-height:54px}}
