/* Auction filters: mobile action dock stays clear of the floating assistant. */
@media (max-width: 800px) {
  /* The drawer must stack above the floating assistant, not beneath it. */
  .a114-listing .a114-backdrop:not([hidden]) {
    z-index: 30019;
  }
  .a114-listing .a114-filters {
    z-index: 30020;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .a114-listing .a114-filter-form {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
  }
  /* Keep the two actions near the lower edge, within the device safe area. */
  .a114-listing .a114-filter-actions {
    position: sticky;
    bottom: 0;
    margin: auto -19px 0;
    padding: 14px 19px max(16px, env(safe-area-inset-bottom, 0px));
    gap: 10px;
    background: var(--a114-card);
    box-shadow: 0 -12px 28px rgba(0, 0, 0, .08);
    z-index: 3;
  }
  .a114-listing .a114-filter-actions > a,
  .a114-listing .a114-filter-actions > button {
    min-height: 48px;
  }
  /* While the filter drawer is open, the assistant is temporarily hidden. */
  body:has(.a114-filters.is-open) .auktra-ai-float {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
