/* ==========================================================
   TEXAS · סרגל סוג+מיון מובייל · tx-cs · Forest · RTL
   ========================================================== */
.tx-cs{font-family:'Heebo','Assistant',Arial,sans-serif;color:#1F1F1F;direction:rtl;margin:10px 0 4px}
.tx-cs *{box-sizing:border-box}
.tx-cs__row{display:flex;gap:9px;align-items:flex-start}
.tx-cs__filter{position:relative;flex:1}
.tx-cs__sortwrap{position:relative;flex:1}
.tx-cs__btn{width:100%;height:46px;border-radius:11px;border:1.5px solid #E6E2D8;background:#FFF;display:flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:800;font-size:13.5px;color:#1F1F1F;cursor:pointer}
.tx-cs__btn>svg:first-child{width:16px;height:16px;fill:none;stroke:#003D29;stroke-width:2;flex:0 0 auto}
.tx-cs__chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;transition:transform .2s}
.tx-cs__btn[aria-expanded="true"] .tx-cs__chev{transform:rotate(180deg)}
.tx-cs__cnt{background:#0A6B46;color:#fff;font-size:10px;font-weight:800;border-radius:999px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center}
.tx-cs__cnt[hidden]{display:none}
.tx-cs__panel{position:absolute;z-index:30;top:52px;right:0;left:0;background:#FFF;border:1px solid #E6E2D8;border-radius:13px;box-shadow:0 14px 34px rgba(0,0,0,.13);overflow:hidden}
.tx-cs__panel[hidden]{display:none}
.tx-cs__panel-h{display:flex;align-items:center;padding:13px 15px 9px}
.tx-cs__panel-h b{font-size:13.5px;font-weight:800}
.tx-cs__clr{margin-inline-start:auto;background:none;border:0;font:inherit;font-size:12px;font-weight:700;color:#0A6B46;cursor:pointer;display:flex;align-items:center;gap:4px}
.tx-cs__clr svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2}
.tx-cs__list{padding:2px 8px 8px;max-height:300px;overflow-y:auto}
.tx-cs__opt{display:flex;align-items:center;gap:11px;padding:11px 9px;border-radius:9px;cursor:pointer;border-bottom:1px solid #f3f1ea}
.tx-cs__opt:last-child{border-bottom:0}
.tx-cs__opt:hover{background:#E7F1EC}
.tx-cs__box{width:22px;height:22px;border-radius:6px;border:2px solid #E6E2D8;flex:0 0 auto;display:grid;place-items:center;transition:.15s}
.tx-cs__box svg{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:3;opacity:0;transition:.15s}
.tx-cs__opt.is-on .tx-cs__box{background:#0A6B46;border-color:#0A6B46}
.tx-cs__opt.is-on .tx-cs__box svg{opacity:1}
.tx-cs__name{flex:1;font-size:14px;font-weight:600}
.tx-cs__opt.is-on .tx-cs__name{font-weight:800;color:#003D29}
.tx-cs__optcnt{font-size:11.5px;color:#6B7280;font-weight:600}
.tx-cs__panel-f{padding:10px 12px 12px;border-top:1px solid #E6E2D8}
.tx-cs__apply{width:100%;height:46px;background:#0A6B46;color:#fff;border:0;border-radius:10px;font:inherit;font-weight:800;font-size:14.5px;cursor:pointer}
.tx-cs__sortmenu{position:absolute;z-index:30;top:52px;right:0;left:0;background:#FFF;border:1px solid #E6E2D8;border-radius:13px;box-shadow:0 14px 34px rgba(0,0,0,.13);overflow:hidden;padding:6px}
.tx-cs__sortmenu[hidden]{display:none}
.tx-cs__sortopt{width:100%;text-align:right;background:none;border:0;font:inherit;font-size:13.5px;font-weight:600;color:#1F1F1F;padding:11px 12px;border-radius:8px;cursor:pointer}
.tx-cs__sortopt:hover{background:#E7F1EC}
.tx-cs__sortopt.is-on{background:#E7F1EC;color:#003D29;font-weight:800}
.tx-cs__applied{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.tx-cs__applied:empty{display:none}
.tx-cs__atag{display:inline-flex;align-items:center;gap:6px;background:#E7F1EC;border:1px solid #cfe2d8;color:#003D29;border-radius:999px;padding:5px 8px 5px 11px;font-size:11.5px;font-weight:700;text-decoration:none}
.tx-cs__atag-x{width:15px;height:15px;border-radius:50%;background:#0A6B46;display:grid;place-items:center;cursor:pointer}
.tx-cs__atag-x svg{width:8px;height:8px;fill:none;stroke:#fff;stroke-width:3}
/* הסתר toolbar ישן במובייל — tx-cs כולל מיון משלו */
@media (max-width:767px){
  .catalog-category-view .tx-toolbar{display:none!important}
  .catalog-category-view .toolbar{display:none!important}
}
/* תיקון 3 — button{background:#222} גלובלי דורס → כפיית רקע לבן */
.tx-cs .tx-cs__btn,
.tx-cs .tx-cs__btn:hover,
.tx-cs .tx-cs__btn:focus,
.tx-cs .tx-cs__btn:active,
.tx-cs .tx-cs__btn[aria-expanded="true"]{
  background:#FFF!important;
  color:#1F1F1F!important;
}
.tx-cs .tx-cs__apply,
.tx-cs .tx-cs__apply:hover,
.tx-cs .tx-cs__apply:focus{
  background:#0A6B46!important;
  color:#fff!important;
}
.tx-cs .tx-cs__sortopt{background:none!important;color:#1F1F1F!important}
.tx-cs .tx-cs__sortopt:hover,.tx-cs .tx-cs__sortopt.is-on{background:#E7F1EC!important;color:#003D29!important}
/* תיקון 2 — החלף מיקום: סוג מימין, מיון משמאל (RTL) */
.tx-cs__row{flex-direction:row-reverse}
