/**
 * Sidebar / list filters: custom.css sets all input[type=checkbox] to height:0.
 * Clicks on the painted ::before box miss the control in WebKit/Chromium (touch + mouse).
 * Scoped to filter cards only — not sitewide custom.css.
 */

html body .filter-card label.checkbox input[type="checkbox"],
html body .filter-section label.checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    margin: 0;
    align-self: flex-start;
}

html body .filter-card--compact .filter-checkbox-grid label.checkbox input[type="checkbox"]::before,
html body .filter-section label.checkbox input[type="checkbox"]::before {
    top: 0;
    left: 0;
}

/* Filter drawer: panel above dim backdrop so checkboxes receive clicks */
@media (max-width: 1199.98px) {
    html body .tabs__content_left:not(.cotinder-mnav--cabinet) .top-filter__close-background {
        z-index: 0;
    }

    html body .tabs__content_left:not(.cotinder-mnav--cabinet) .tabs__content_left-wrapper {
        position: relative;
        z-index: 2;
    }

    html body .tabs__content_left:not(.cotinder-mnav--cabinet) .filter-close {
        position: relative;
        z-index: 3;
    }
}