/* KhoRevit • WooCommerce Family filters, independent of theme V8.5.0. */
.khvbf-filter{box-sizing:border-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;padding:20px;margin:16px 0 24px;background:#f7fbff;border:1px solid #dce8f4;border-radius:15px;box-shadow:0 5px 18px rgba(20,70,120,.05);width:100%;max-width:100%;}
.khvbf-filter *, .khvbf-filter *:before,.khvbf-filter *:after{box-sizing:border-box;}
.khvbf-filter label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;}
.khvbf-filter label span{font-size:13px;color:#345475;font-weight:650;line-height:1.3;}
.khvbf-filter input[type="search"],.khvbf-filter select{display:block;width:100%;max-width:100%;min-height:43px;font:inherit;font-size:15px;color:#173755;background:#fff;border:1px solid #cbdbea;border-radius:9px;padding:9px 12px;box-shadow:none;margin:0;}
.khvbf-filter input:focus,.khvbf-filter select:focus{outline:2px solid #3479c9;outline-offset:1px;}
.khvbf-filter .khvbf-keywords{grid-column:span 2;}
.khvbf-filter .khvbf-actions{display:flex;gap:12px;align-items:center;justify-content:flex-start;grid-column:span 2;min-width:0;flex-wrap:wrap;}
.khvbf-filter .khvbf-actions button{color:#fff;background:#1167ae;border:0;border-radius:9px;font-weight:700;font-size:15px;min-height:43px;padding:9px 18px;margin:0;cursor:pointer;}
.khvbf-filter .khvbf-actions button:hover{background:#07508d;}
.khvbf-filter .khvbf-actions a{color:#285c8f;font-size:14px;text-decoration:underline;text-underline-offset:3px;}
.khvbf-category-tag{display:table;max-width:calc(100% - 18px);background:#e8f3ff;border:1px solid #d3e8ff;color:#155b9a;border-radius:999px;padding:4px 9px;margin:7px 9px 4px;font-size:12px;line-height:1.2;font-weight:700;text-align:left;white-space:normal;}
.khvbf-single-tags{margin:5px 0 12px;}
.khvbf-single-tags a{display:inline-block;background:#e8f3ff;color:#155b9a;border:1px solid #d3e8ff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;text-decoration:none;}
.khvbf-single-tags a:hover{background:#d5eaff;color:#09426d;}
.khvbf-empty-help{font-size:15px;line-height:1.6;}
@media(max-width:860px){.khvbf-filter{grid-template-columns:repeat(2,minmax(0,1fr));}.khvbf-filter .khvbf-keywords{grid-column:span 2;}}
@media(max-width:480px){.khvbf-filter{padding:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.khvbf-filter label span{font-size:12px;}.khvbf-filter input[type="search"],.khvbf-filter select{font-size:14px;min-height:41px;padding:8px;}.khvbf-filter .khvbf-actions{grid-column:span 2;}.khvbf-filter .khvbf-actions button{flex:1 1 100%;}.khvbf-category-tag{font-size:11px;margin-left:6px;margin-right:6px;}}
