/* D8.2.1: mobile panel appearance only; native visibility and event handlers remain intact. */
@media (max-width: 767.98px) {
  body#category #search_filters_wrapper:has(#search_filters .facet) {
    box-sizing: border-box; padding-inline: 10px !important;
    max-width: 100%; background: #fff !important;
  }
  body#category #search_filters_wrapper #search_filters:has(.facet) {
    box-sizing: border-box; padding: 0 12px 12px !important;
    margin: 0 !important; border: 1px solid #dbe3ec !important;
    border-radius: 9px; max-width: 100%; background: #fff !important;
  }
  body#category #search_filters_wrapper #search_filter_controls:has(.ok) {
    box-sizing: border-box; padding: 12px 2px !important;
    margin: 0 !important; text-align: center;
  }
  body#category #search_filter_controls .yb-d821-heading {
    color: #102846 !important; font-size: 17px !important; line-height: 1.35;
    font-weight: 700 !important; text-align: left; text-transform: none !important;
    border-bottom: 1px solid #102846; padding: 0 0 10px !important; margin: 0 0 12px !important;
  }
  body#category #search_filter_controls button.ok {
    box-sizing: border-box; width: 100% !important; max-width: 100% !important;
    min-height: 44px !important; padding: 10px 12px !important; margin: 0 !important;
    font-size: 14px !important; line-height: 1.4 !important; white-space: normal !important;
  }
  body#category #search_filters .facet {
    padding: 0 !important; margin: 0 !important;
    border-bottom: 1px solid #e1e7ef !important;
  }
  body#category #search_filters .facet:last-of-type { border-bottom: 0 !important; }
  body#category #search_filters .facet .facet-title {
    font-size: 15px !important; line-height: 1.4 !important; font-weight: 700 !important;
    margin: 0 !important;
  }
  body#category #search_filters .facet .title {
    box-sizing: border-box; min-height: 46px; padding: 11px 0 !important;
    margin: 0 !important; color: #102846 !important;
  }
  body#category #search_filters .facet .title .facet-title { padding: 0 !important; }
  body#category #search_filters .facet .title .navbar-toggler { color: #102846 !important; }
  body#category #search_filters .facet ul { padding: 0 0 8px !important; }
  body#category #search_filters .facet li { padding: 7px 0 !important; }
  body#category #search_filters .facet .facet-label { min-height: 30px; }
  body#category #search_filters .facet .facet-label a { font-size: 13px !important; }
  body#category #search_filters .facet .custom-checkbox { margin-right: 6px; }
  body#category #search_filter_controls button.clear,
  body#category #search_filters :is(.js-search-filters-clear-all,.clear-all-wrapper button) {
    min-height: 44px !important; margin-top: 8px !important;
    border: 1px solid #d4dfeb !important; border-radius: 7px !important;
    background: #f0f4f8 !important; color: #102846 !important;
    font-size: 13px !important; font-weight: 600 !important;
  }
}
