<?php
/**
 * The template for displaying the footer
 *
 * @package Storecraft
 * @since 1.0
 */
?>
	<footer id="colophon" class="site-footer hbs-footer" role="contentinfo">
		<?php get_template_part( 'template-parts/footer/footer', 'main' ); ?>
		<div class="hbs-footer-bottom copyright">
			<div class="container">
				<?php get_template_part( 'template-parts/footer/site', 'info' ); ?>
			</div>
		</div>
	</footer>

	<?php if ( get_theme_mod( 'storecraft_show_back_totop', true ) ) : ?>
		<button type="button" class="back-to-top" aria-label="<?php esc_attr_e( 'Back to top', 'storecraft' ); ?>">
			<span class="back-to-top-icon" aria-hidden="true">
				<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" focusable="false">
					<path d="M12 6.5 19 17H5L12 6.5z"></path>
				</svg>
			</span>
		</button>
	<?php endif; ?>

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