<?php
$storex_footer_copyright = get_theme_mod(
    'storex_footer_copyright',
    'Copyright &copy; [current_year] [site_title] | Powered by [theme_author]'
);
?>
<footer class="main-footer">
    <div class="large-container">
        <div class="widget-section">
            <?php if ( is_active_sidebar( 'storex-footer-widget-area' ) ) : ?>
                <div class="row row-cols-1 row-cols-lg-5 row-cols-sm-2 clearfix">
                    <?php dynamic_sidebar( 'storex-footer-widget-area' ); ?>
                </div>
            <?php endif; ?>
        </div>
        <div class="footer-bottom">
            <div class="bottom-inner">
                <div class="copyright">
                    <?php
                    $storex_copyright_allowed_tags = array(
                        '[current_year]' => esc_html( date_i18n( 'Y' ) ),
                        '[site_title]'   => esc_html( get_bloginfo( 'name' ) ),
                        '[theme_author]' => '<a href="' . esc_url( 'https://burgerthemes.com' ) . '">Burger Software</a>',
                    );
                    ?>
                    <p>
                        <?php
                        echo apply_filters(
                            'storex_footer_copyright',
                            wp_kses_post(
                                storex_str_replace_assoc(
                                    $storex_copyright_allowed_tags,
                                    $storex_footer_copyright
                                )
                            )
                        );
                        ?>
                    </p>
                </div>
                <?php do_action( 'storex_footer_card' ); ?>
            </div>
        </div>
    </div>
</footer>
<!-- main-footer end -->

<!-- Scroll to top -->
<div class="scroll-to-top">
    <svg class="scroll-top-inner" viewBox="-1 -1 102 102">
        <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98"></path>
    </svg>
</div>

<?php wp_footer(); ?>
</body>
</html>