@media (max-width: 767px) {
    body #dokan-content .dokan-store-products-filter-area {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        direction: rtl;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > :is(.product-name-search,.search-store-products,.orderby-search,.tedadbala-store-instock-control) {
        box-sizing: border-box !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        float: none !important;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > .product-name-search {
        grid-area: 1 / 1 !important;
        width: 100% !important;
        font-size: 16px;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > .search-store-products {
        grid-area: 1 / 2 !important;
        width: auto !important;
        min-width: 64px !important;
        padding-inline: 12px !important;
        white-space: nowrap;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > :is(.tedadbala-store-instock-control,.orderby-search) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > .tedadbala-store-instock-control {
        justify-content: flex-start !important;
        gap: 8px;
        padding-inline: 12px !important;
        white-space: normal;
    }

    body #dokan-content .dokan-store-products-filter-area form.dokan-store-products-ordeby > .tedadbala-store-instock-control input[type="checkbox"] {
        flex: 0 0 auto;
    }
}
