<div class="wpdevart-woo-shop-by-sections-heading">
    <?php if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_title' ))) { ?>
        <h3 class="wpdevart-woo-sections-title"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_title' ) ); ?></h3>
    <?php } ?>
</div>


<div class="woo-shop-by-category-container">
    <div class="woo-shop-by-category-content">
        <?php if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image1' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category1_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image1' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category1_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category1_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image2' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category2_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image2' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category2_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category2_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image3' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category3_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image3' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category3_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category3_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image4' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category4_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image4' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category4_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category4_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image5' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category5_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image5' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category5_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category5_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image6' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category6_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image6' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category6_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category6_text' ) ); ?></a></p></div>
                </div>
            <?php }
            if (!empty(get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image7' ))) { ?>
                <div class="woo-shop-by-category-item">
                    <a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category7_url' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category_image7' ) ); ?>"></a>
                    <div class="woo-shop-by-category-text"><p><a href="<?php echo esc_url( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category7_url' ) ); ?>"><?php echo esc_html( get_theme_mod( 'wpdevart_ai_and_saas_agency_wda_woo_shop_by_category7_text' ) ); ?></a></p></div>
                </div>
        <?php } ?>
    </div>
</div>