/* Fall back to the wrapped toolbar only when the archive content area is too
   narrow to keep every desktop filter comfortably on the same row. */
@container mm-page-host (max-width: 1320px) {
    .archive-page .archive-toolbar {
        flex-wrap: wrap !important;
    }

    .archive-page .archive-search {
        flex: 1 1 18rem;
        width: auto;
        max-width: none;
    }

    .archive-page .archive-toolbar__context {
        flex: 1 1 100% !important;
        width: 100%;
        margin-inline-start: 0 !important;
        justify-content: flex-end;
    }
}
