<?php $options = kaveh_get_options(); ?>
<!-- Start Nav -->
<header class="nav-mobile-four nav-mobile-sticky">
  <div class="container">
    <div class="nav-mobile-four-wrapper d-flex align-items-center">
      <!-- Start Logo -->
      <div class="nav-mobile-four-logo position-relative">
        <a href="<?php echo home_url(); ?>" class="stretched-link" aria-label="logo"></a>
        <img class="imnavmo" src="<?php echo $options['kaveh_logo_up'] ?>" alt="logo">
      </div>
      <!-- End Logo -->
      <?php if (class_exists('woocommerce')): ?>
      <!-- Start Cart -->
      <a data-open-cart="true" href="javascript:void(0)"
        class="nav-mobile-four-btn nav-mobile-four-cart d-flex align-items-center justify-content-center ms-auto"
        aria-label="cart">
        <i class="icon-shopping-cart"></i>
      </a>
      <!-- End Cart -->
      <?php endif; ?>
      <!-- Start Search -->
      <button type="button"
        class="top-header-four-btn-search nav-mobile-four-btn nav-mobile-four-search d-flex align-items-center justify-content-center p-0"
        aria-label="search">
        <i class="icon-search-3"></i>
      </button>
      <!-- End Search -->
      <div class="top-header-four-search">
            <div class="backdrop"></div>
            <form method="get" action="#" class="position-relative">
              <input id="maninpu" type="text" name="search" class="form-control maninpu" placeholder="<?php _e('Search', 'kavehTheme'); ?>">
              <button type="submit">
                <i class="icon-search"></i>
              </button>
            </form>
          </div>

      <!-- Start Auth -->
      <a <?php if (!is_user_logged_in() && $options['kaveh_login_redirect'] === '1'): ?> data-auth-toggle="modal"
                          data-auth-target="auth-gajmarket" <?php else: ?>
                          href="<?php echo get_permalink(get_option('woocommerce_myaccount_page_id')); ?>" <?php endif; ?> class="nav-mobile-four-btn nav-mobile-four-auth d-flex align-items-center justify-content-center"
        aria-label="auth">
        <i class="icon-user-3"></i>
      </a>
      <!-- End Auth -->

      <!-- Start Btn Nav -->
      <button type="button"
        class="btn-nav-header btn-nav-kkheader position-relative pe-0"
        aria-label="btn nav">
        <i class="icon-grid-2"></i>
      </button>
      <!-- End Btn Nav -->
    </div>
 
  </div>
</header>
<!-- End Nav -->