.af-filter-row{border:0;border-bottom:1px solid #edf0f5;padding:14px 0;margin:0;min-width:0;display:block}
.af-filter-row legend{float:left;width:100px;line-height:38px;font-size:14px;color:#53657c}
.af-filter-row .filter-options{margin-left:100px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0}
.af-filter-row button,.af-chip,.af-match-choices button{border:1px solid #e1e7f0;border-radius:7px;padding:7px 12px;font:inherit;font-size:14px;color:#53657c;background:#fff;cursor:pointer;line-height:1.5}
.af-filter-row button[aria-pressed=true]{background:#fff1e8;border-color:#ff713b;color:#ed652c}
.af-selected{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.af-selected[hidden]{display:none}
.af-chip{color:#d85d2b;background:#fff5ee;border-color:#ffd7c3}
.af-product-labels{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}
.af-product-tag{padding:3px 7px;font-size:12px;background:#f0f5fa;color:#657b91;border-radius:4px}
.af-product-labels:empty,.af-product-labels[hidden]{display:none!important}
.af-match-notice{padding:14px 16px;background:#fff5ed;border:1px solid #ffdec6;border-radius:10px;font-size:14px;margin:12px 0}
.af-match-notice p{margin:0 0 8px}
.af-match-choices{display:flex;gap:8px;flex-wrap:wrap}

/* All configured catalogue options stay in the same wrapping row. */
.catalog-filter-panel .af-filter-row{padding:16px 0;border-top:0}
.catalog-filter-panel .af-filter-row:last-child{border-bottom:0}
.catalog-filter-panel .af-filter-row legend{width:100px;color:#263951;font-weight:600;line-height:38px}
.catalog-filter-panel .af-filter-row .filter-options{margin-left:100px;gap:8px}
.catalog-filter-panel .af-filter-row button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:38px;max-width:100%;padding:7px 12px;color:#40536c}
.catalog-filter-panel .af-filter-row button>span{min-width:0;overflow-wrap:anywhere}
.catalog-filter-panel [data-af-count]{font-size:12px;color:#8794a6;min-width:10px;line-height:1.2;flex-shrink:0}
.catalog-filter-panel button[aria-pressed=true]{background:#fff3ea;border-color:#ff8c61;color:#e66026;font-weight:600}
.catalog-filter-panel button[aria-pressed=true] [data-af-count]{color:#da6c39}
.af-zero [data-af-count]{opacity:.65}
@media(max-width:700px){
 .catalog-filter-panel{padding:4px 16px}
 .af-filter-row legend,.catalog-filter-panel .af-filter-row legend{float:none;width:auto;padding:0;line-height:1.6;font-weight:600}
 .af-filter-row .filter-options,.catalog-filter-panel .af-filter-row .filter-options{margin:0;padding-top:10px;gap:8px;clear:both}
 .catalog-filter-panel .af-filter-row button{min-height:38px;padding:7px 11px;gap:7px}
 .af-filter-content{padding-bottom:8px}
 .af-match-choices button{max-width:100%;text-align:left;overflow-wrap:anywhere}
}
