.rar-hlf { --rar-hlf-gap: .55rem; }
/* Layout only: the site's actual Impreza button styles supply its colours. */
.rar-hlf .w-filter-list,
.rar-hlf .w-filter-item,
.rar-hlf .w-filter-item-content,
.rar-hlf .w-filter-item-values { width: 100%; min-width: 0; }
.rar-hlf .w-filter-item-values { display: flex !important; flex-direction: column; gap: var(--rar-hlf-gap); }
.rar-hlf .rar-hlf-parents,
.rar-hlf .rar-hlf-children { display: flex; flex-wrap: wrap; gap: var(--rar-hlf-gap); align-items: stretch; }
.rar-hlf .rar-hlf-children { justify-content: center; padding-top: 0; border-top: 0; }
.rar-hlf [hidden] { display: none !important; }
.rar-hlf .w-filter-item-value { max-width: 100%; flex: 0 1 auto; position: relative; }
.rar-hlf .rar-hlf-parents > .w-filter-item-value { flex: 1 1 auto; }
.rar-hlf .w-filter-item-value label { display: block; margin: 0; color: inherit; cursor: pointer; }
.rar-hlf .w-filter-item-value-label { white-space: normal; overflow-wrap: anywhere; }
.rar-hlf .w-filter-item-value:has(:focus-visible) { outline: 3px solid currentColor; outline-offset: 3px; }
.rar-hlf .w-filter-item-value.rar-parent-active {
    background: var(--btn-hover-background, transparent);
    border-color: var(--btn-hover-border-color, transparent);
    color: var(--rar-active-text, inherit) !important;
}
.rar-hlf .w-filter-item-value.rar-parent-active::before { background: none; }
.rar-hlf .w-filter-item-value.rar-parent-active::after { opacity: 0; }
.rar-hlf .w-filter-item-value.disabled { opacity: .45; cursor: not-allowed; }
.rar-hlf .rar-hlf-status { font-size: .9rem; margin: .75rem 0 0; }
.rar-hlf .rar-hlf-status:empty { display: none; }
.rar-hlf.loading .w-filter-list { opacity: .5; }
.rar-hlf.rar-hlf-error .w-filter-list { opacity: .5; }
@media (max-width: 600px) {
    .rar-hlf .w-filter-item-value { min-height: 44px; }
    .rar-hlf { --rar-hlf-gap: .45rem; }
}

/* Scoped by the controller to matching Product Lists only. */
.w-filter .rar-hlf-category-suppressed,
.w-filter.rar-hlf-filter-suppressed { display: none !important; }
