<?php $options = kaveh_get_options(); ?>

<div class="nav-bottom nav-bottom-three position-fixed bottom-0 end-0 w-100 d-flex align-items-center justify-content-between">
    <a <?php if (is_front_page()): ?>style="color:<?php echo $options['opt-color-5']; ?>" <?php endif; ?>
        href="<?php echo $options['kaveh_foomobile_url_icon1']['url']; ?>">
        <i class="<?php echo $options['kaveh_foomobile_icon1']; ?>"></i>
        <?php if ($options['kaveh_footer_mobile_texten'] === '1'): ?>
            <?php echo $options['kaveh_foomobile_text1']; ?>
        <?php endif; ?>
    </a>
    <?php if (class_exists('woocommerce')): ?>
        <a <?php if (is_shop()): ?>style="color:<?php echo $options['opt-color-5']; ?>" <?php endif; ?>
            href="<?php echo $options['kaveh_foomobile_url_icon2']['url']; ?>">
            <i class="<?php echo $options['kaveh_foomobile_icon2']; ?>"></i>
            <?php if ($options['kaveh_footer_mobile_texten'] === '1'): ?>
                <?php echo $options['kaveh_foomobile_text2']; ?>
            <?php endif; ?>
        </a>
    <?php endif; ?>
    <?php if (class_exists('woocommerce')): ?>
        <a href="javascript:void(0)" data-open-cart="true">
            <i class="<?php echo $options['kaveh_foomobile_icon3']; ?>"></i>
            <span class="tot-mob"> <?php echo WC()->cart->get_cart_contents_count(); ?> </span>
        </a>
    <?php endif; ?>
    <a <?php if (is_home()): ?>style="color:<?php echo $options['opt-color-5']; ?>" <?php endif; ?>
        href="<?php echo $options['kaveh_foomobile_url_icon4']['url']; ?>">
        <i class="<?php echo $options['kaveh_foomobile_icon4']; ?>"></i>
        <?php if ($options['kaveh_footer_mobile_texten'] === '1'): ?>
            <?php echo $options['kaveh_foomobile_text4']; ?>
        <?php endif; ?>
    </a>
    <?php if (class_exists('woocommerce')): ?>
        <a <?php if (is_account_page()): ?>style="color:<?php echo $options['opt-color-5']; ?>" <?php endif; ?>
            href="<?php echo $options['kaveh_foomobile_url_icon5']['url']; ?>">
            <i class="<?php echo $options['kaveh_foomobile_icon5']; ?>"></i>
            <?php if ($options['kaveh_footer_mobile_texten'] === '1'): ?>
                <?php echo $options['kaveh_foomobile_text5']; ?>
            <?php endif; ?>
        </a>
    <?php endif; ?>
</div>