<?php
/**
 * The template part for Top Header
 *
 * @package Auction Bidding 
 * @subpackage auction-bidding
 * @since auction-bidding 1.0
 */
?>
<!-- Top Header -->
<?php if( get_theme_mod( 'auction_bidding_topbar_hide_show', true) == 1 || get_theme_mod( 'auction_bidding_responsive_topbar_hide', true) == 1) { ?>
  <div class="top-header container">
    <div class="row">
      <div class="col-lg-2 col-md-4 col-12 mt-lg-0 mt-md-0 mt-3 text-lg-start text-md-start text-center align-self-center">
        <span class="call-box">
          <?php if(get_theme_mod('auction_bidding_phone_number') != ''){ ?>
            <span class="phone-number"><i class="fas fa-phone me-2"></i><a href="tel:<?php echo esc_attr( get_theme_mod('auction_bidding_phone_number','') ); ?>"><?php echo esc_html(get_theme_mod('auction_bidding_phone_number',''));?></a></span>
          <?php }?>
        </span>
      </div>
      <div class="col-lg-4 col-md-4 col-12 mt-lg-0 mt-md-0 mt-3 text-lg-start text-md-start text-center align-self-center">
        <span class="text-lg-start text-md-start text-center email-box">
          <?php if(get_theme_mod('auction_bidding_email_address') != ''){ ?>
            <span class="adress"><i class="fas fa-envelope me-2"></i> <a href="mailto:<?php echo esc_attr(get_theme_mod('auction_bidding_email_address',''));?>"><?php echo esc_html(get_theme_mod('auction_bidding_email_address',''));?></a></span>
          <?php }?>
        </span>
      </div>
      <div class="col-lg-2 col-md-4 col-12 mt-lg-0 mt-md-0 mt-3 text-lg-end text-md-end text-center align-self-center">
        <?php if( get_theme_mod( 'auction_bidding_tracking_order_hide_show', true) == 1) { ?>
          <?php if(class_exists('woocommerce')){ ?>
            <div class="order-track position-relative">
              <span>Tracking Order</span>
              <div class="order-track-hover text-left">
                <?php echo do_shortcode('[woocommerce_order_tracking]','auction-bidding'); ?>
              </div>
            </div>
          <?php }?>
        <?php }?>
      </div>
      <div class="col-lg-2 col-md-6 col-12 mt-lg-0 mt-md-3 mt-3 text-lg-end text-md-end text-center align-self-center">
        <?php if(class_exists('woocommerce')){ ?>
          <div class="currency-box d-md-inline-block me-3">
            <?php echo do_shortcode( '[woocommerce_currency_switcher_drop_down_box]' );?>
          </div>
        <?php } ?>
      </div>
      <div class="col-lg-2 col-md-6 col-12 mt-lg-0 mt-md-3 mt-3 text-lg-start text-md-start text-center align-self-center gtranslate">
        <?php if( class_exists( 'GTranslate' ) ) { ?>
          <div class="translate-lang position-relative d-md-inline-block me-3">
            <?php echo do_shortcode( '[gtranslate]' );?>
          </div>
        <?php }?>
      </div>
    </div>
  </div>
<?php }?> 