/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

@media (min-width: 769px) {
    body.tax-product_cat .wd-content-area {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    body.tax-product_cat .wd-content-area > .woocommerce-products-header {
        flex: 0 0 100%;
        width: 100%;
    }

    body.tax-product_cat .wd-content-area > .wd-show-sidebar-btn,
    body.tax-product_cat .wd-content-area > .wd-products-per-page,
    body.tax-product_cat .wd-content-area > .wd-products-shop-view {
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
    }

    body.tax-product_cat .wd-content-area > .woocommerce-ordering {
        flex: 0 0 260px;
        margin: 0 0 0 auto;
    }

    body.tax-product_cat .wd-content-area > .woocommerce-ordering select {
        width: 100%;
        max-width: none;
    }

    body.tax-product_cat .wd-content-area > .wd-active-filters,
    body.tax-product_cat .wd-content-area > .filters-area,
    body.tax-product_cat .wd-content-area > .woocommerce-notices-wrapper,
    body.tax-product_cat .wd-content-area > .term-description,
    body.tax-product_cat .wd-content-area > .products,
    body.tax-product_cat .wd-content-area > .woocommerce-pagination {
        flex: 0 0 100%;
        width: 100%;
    }

    body.tax-product_cat .shop-loop-head {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
    }

    body.tax-product_cat .shop-loop-head .wd-shop-tools {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px 18px !important;
        width: auto !important;
        max-width: none !important;
    }

    body.tax-product_cat .shop-loop-head .wd-shop-tools:first-child {
        flex: 0 0 auto !important;
    }

    body.tax-product_cat .shop-loop-head .wd-shop-tools:last-child {
        flex: 1 1 auto !important;
        justify-content: flex-start !important;
        min-width: 0 !important;
    }

    body.tax-product_cat .shop-loop-head .wd-show-sidebar-btn,
    body.tax-product_cat .shop-loop-head .wd-products-per-page,
    body.tax-product_cat .shop-loop-head .wd-products-shop-view {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.tax-product_cat .shop-loop-head .woocommerce-ordering {
        flex: 0 0 260px !important;
        margin: 0 0 0 auto !important;
    }

    body.tax-product_cat .shop-loop-head .woocommerce-ordering select {
        width: 100% !important;
        max-width: none !important;
    }
}
