@media (max-width: 767.98px) {
  .mobile-facets-footer:not([hidden]) {
    flex: 0 0 auto;
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-body-bg, #fff);
  }

  .mobile-facets-apply {
    width: 100%;
    min-height: 2.75rem;
  }

  #offcanvas-faceted:has(.mobile-facets-footer) .faceted-price-inputs__submit {
    display: none;
  }
}

@media (min-width: 768px) {
  .mobile-facets-footer {
    display: none;
  }
}
