<?php
/**
 * Name:  Header style 01
 **/
?>
<div class="header-desktop">
	<?php if ( ! wp_is_mobile() ) { ?>
        <div class="header-middle">
            <div class="container">
                <div class="header-middle-inner">
                    <div class="header-logo">
						<?php Draly_Dropshipping_Starter_Helper::get_logo(); ?>
                    </div>
                    <div class="header-search">
						<?php get_template_part( 'template-parts/header', 'search' ); ?>
                    </div>
                    <div class="header-control">
                        <div class="meta-woo">
							<?php
							get_template_part( 'template-parts/header', 'user' );
							do_action( 'draly_dropshipping_starter_header_mini_cart' );
							?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	<?php } ?>
	<?php
	$enable_vertical = Draly_Dropshipping_Starter_Helper::get_option( 'enable_vertical_menu' );
	if ( has_nav_menu( 'primary' ) || ( $enable_vertical == 1 && has_nav_menu( 'vertical_menu' ) ) ) { ?>
        <div class="header-desktop-wrap">
            <div class="header-position">
                <div class="header-nav">
                    <div class="container">
                        <div class="header-nav-inner">
							<?php get_template_part( 'template-parts/header', 'vertical' ); ?>
							<?php if ( has_nav_menu( 'primary' ) ) { ?>
                                <div class="box-header-nav">
									<?php
									wp_nav_menu( array(
											'menu'            => 'primary',
											'theme_location'  => 'primary',
											'depth'           => 3,
											'container'       => '',
											'container_class' => '',
											'container_id'    => '',
											'menu_class'      => 'draly-nav main-menu horizontal-menu',
											'megamenu_layout' => 'horizontal',
										)
									);
									?>
                                </div>
							<?php } ?>
							<?php
							do_action( 'draly_dropshipping_starter_header_wishlist' );
							get_template_part( 'template-parts/header', 'contact' );
							?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	<?php } else { ?>
        <div class="header-border"></div>
	<?php } ?>
</div>