<div class="main-navigation header-style-3" <?php if(!empty(get_theme_mod( 'charsoogh_general_sticky_header')) && get_theme_mod( 'charsoogh_general_sticky_header') != 'no' ) : echo 'id="sticky"'; else: echo ''; endif; ?>>
        <nav class="navbar navbar-expand-lg navbar-light justify-content-between">
          <div class="container">
            <a class="navbar-brand" href="<?php echo site_url(); ?>">
                <img src="<?php if (get_theme_mod( 'charsoogh_general_logo' )) : echo get_theme_mod( 'charsoogh_general_logo'); else: echo get_template_directory_uri().'/assets/img/logo.png'; endif; ?>" alt="<?php echo get_theme_mod('charsoogh_main_general_title'); ?>">
            </a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbar">
                <!--Main navigation list-->
                <?php
                wp_nav_menu( array(
                  'theme_location'  => 'main-menu',
                  'depth'	          => 10,
                  'container'       => false,
                  'menu_class'      => 'navbar-nav',
                  'fallback_cb'     => 'WP_Bootstrap_Navwalker::fallback',
                  'walker'          => new WP_Bootstrap_Navwalker(),
                ) );
                ?>
            </div>
          <?php get_template_part( 'template/header/nav-left-btn' ); ?>
            <?php if(!is_home() && !is_search() && !is_page_template('page-elementor.php')){ ?>
            <a href="#collapseMainSearchForm" class="main-search-form-toggle collapsed" data-toggle="collapse" aria-expanded="false" aria-controls="collapseMainSearchForm">
                <i class="fa fa-search"></i>
                <i class="fa fa-close"></i>
                <span><?php _e('Search' , 'charsoogh'); ?></span>
            </a>
          <?php } ?>
          </div>
        </nav>
        <div class="container">
        <?php if(!is_home() && !is_page_template('page-elementor.php')){ woocommerce_breadcrumb(); } ?>
        </div>
</div>
