/* WEB-314: keep registration feedback in its field and search controls on one row. */
#accountcreate .field > .messages {
    position: static;
    width: auto;
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
}
#accountcreate .newsletter > input {
    flex: 0 0 17px;
}
#accountcreate .newsletter > label,
#accountcreate .ws-terms > label {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    /* Keep consent text clear of the existing fixed reCAPTCHA badge. */
    #accountcreate .newsletter,
    #accountcreate .ws-terms {
        padding-inline-end: 4rem;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .ws-filter-toolbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .ws-mobile-sort,
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .ws-mobile-sort select {
        width: 100%;
        min-width: 0;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .toolbar-products {
        display: flex;
        align-items: center;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .toolbar-sorter {
        width: auto;
        min-height: 44px;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .toolbar-sorter label {
        display: none;
    }
}
@media (max-width: 460px) {
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] {
        grid-template-columns: minmax(0, 1fr);
        gap: .25rem;
    }
    .catalogsearch-result-index .ws-search-mobile-controls[data-arranged="true"] .toolbar-products {
        justify-self: end;
    }
}
