.feature-badge-highlight,.feature-badge-link.feature-badge-highlight{background:#fff2c6;border:1px solid #bc8935;color:#5b4217;font-weight:700}
.feature-badge-link.feature-badge-highlight:hover{background:#ffe5a0;border-color:#906524;color:#49330f}
.feature-filter-open{white-space:nowrap;gap:8px}
.feature-filter-open[hidden]{display:none}
.feature-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;font-size:12px}
.selected-feature-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px}
.selected-feature-filters>a{font-size:14px}
.selected-feature-filters .product-filter-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--pale);overflow-wrap:anywhere;max-width:100%;min-height:40px;text-decoration:none}
.product-filter-chip>span{font-size:20px;line-height:1;flex-shrink:0}
.selected-feature-filters>.text-link{margin-left:4px}
.feature-filter-dialog{width:min(600px,calc(100% - 32px));height:min(900px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:#fff;overflow:hidden;box-shadow:0 12px 48px #0003}
.feature-filter-dialog[open]{display:flex;flex-direction:column}
.feature-filter-dialog::backdrop{background:rgba(20,38,39,.45)}
.feature-filter-is-open{overflow:hidden}
.feature-filter-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 22px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}
.feature-filter-header h2{font-size:22px;margin:0}
.feature-filter-header .button{min-height:44px;padding:8px 14px;font-size:14px}
.feature-filter-form{min-height:0;display:flex;flex:1;flex-direction:column;margin:0}
.product-filter-sections{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px;scroll-padding-block:16px}
.product-filter-section{border:0;border-top:1px solid var(--line);margin:0;padding:16px 0 18px;min-width:0}
.product-filter-section:first-child{border-top:0}
.product-filter-section legend{float:left;width:100%;font-weight:700;font-size:17px;margin:0 0 10px;padding:0}
.product-filter-section legend+*{clear:both}
.product-filter-choices,.feature-filter-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.product-filter-choice,.feature-filter-choice{display:flex;align-items:center;gap:8px;min-height:46px;cursor:pointer;overflow-wrap:anywhere;line-height:1.5;padding:9px 10px;font-size:14px}
.product-filter-choice,.feature-filter-row{border:1px solid var(--line);border-radius:5px;min-width:0}
.product-filter-choice:has(input:checked),.feature-filter-row:has(input:checked){background:var(--pale);border-color:var(--green)}
.product-filter-choice input,.feature-filter-choice input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}
.product-filter-choice span,.feature-filter-choice span{min-width:0}
.feature-filter-row:has(select:not([hidden])){grid-column:1/-1}
.feature-filter-select{display:block;width:calc(100% - 20px);min-height:44px;padding:8px;margin:0 10px 10px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:16px}
.feature-filter-select[hidden]{display:none}
.filter-section-help{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 10px}
.product-filter-price{display:flex;align-items:flex-end;gap:10px;min-width:0}
.product-filter-price>label{flex:1;min-width:0;font-size:13px}
.product-filter-price>span{padding-bottom:10px}
.product-filter-price-input{display:flex;align-items:center;gap:6px;padding:9px 10px;border:1px solid var(--line);border-radius:5px;margin-top:5px;background:#fff;min-height:46px}
.product-filter-price-input input{border:0;background:transparent;width:100%;min-width:0;font-size:16px;color:var(--ink);padding:0}
.product-filter-price-input>span{flex-shrink:0}
.product-filter-error{color:#a02d23;font-size:14px;margin:8px 0 0}
.product-filter-error[hidden]{display:none}
.feature-filter-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px 22px 16px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
.feature-filter-actions>a{align-self:flex-end;text-decoration:underline;font-size:13px;min-height:32px;display:flex;align-items:center}
.feature-filter-actions .button{width:100%;min-height:48px;padding:10px 12px;text-align:center}
.feature-filter-actions .button:disabled{opacity:.55;cursor:not-allowed}
.feature-filter-fallback{margin:16px 0;border:1px solid var(--line);border-radius:8px}
.feature-filter-fallback summary{padding:12px;font-weight:700;cursor:pointer}
.feature-filter-fallback .product-filter-sections{overflow:visible}
@media(max-width:600px){.feature-filter-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;height:min(930px,calc(100dvh - 50px));max-height:calc(100dvh - 50px);margin:0;border:0;border-radius:18px 18px 0 0}.feature-filter-header{padding:12px 18px}.feature-filter-header h2{font-size:21px}.product-filter-sections{padding:0 18px}.feature-filter-actions{padding:10px 18px max(12px,env(safe-area-inset-bottom))}.product-filter-choice,.feature-filter-choice{font-size:14px;padding:8px;gap:7px}.product-filter-price{gap:7px}}
