<?php
/**
 * Name:  Header style 27
 **/
?>
<header id="header" class="header style-27">
    <div class="container">
        <div class="header-inner">
            <div class="logo"><?php ocolus_get_logo(); ?></div>
            <div class="box-header-nav megamenu-wrap">
                <?php
                if ( has_nav_menu( 'primary' ) )
                    wp_nav_menu( array(
                            'menu'            => 'primary',
                            'theme_location'  => 'primary',
                            'depth'           => 3,
                            'container'       => '',
                            'container_class' => '',
                            'container_id'    => '',
                            'menu_class'      => 'main-menu',
                        )
                    );
                ?>
            </div>
            <div class="header-control">
                <?php
                if ( function_exists( 'ocolus_header_mini_cart' ) ) ocolus_header_mini_cart();
                ocolus_user_link();
                ocolus_header_search( 'style-02' );
                ?>
                <div class="mobile-block block-menu-bar">
                    <a href="#" class="menu-bar menu-toggle">
                        <span class="icon"><span></span><span></span><span></span></span>
                    </a>
                </div>
            </div>
        </div>
    </div>
</header>