{**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 *}

{if isset($deo_is_mobile) && $deo_is_mobile && isset($deo_header_mobile) && $deo_header_mobile}
	{block name='deo_header_mobile'}
		<div class="deo-header-mobile">
			{if isset($fullwidth_hook.displayDeoHeaderMobile) AND $fullwidth_hook.displayDeoHeaderMobile == 0}
				<div class="container">
			{/if}
					<div class="inner">{hook h='displayDeoHeaderMobile'}</div>
			{if isset($fullwidth_hook.displayDeoHeaderMobile) AND $fullwidth_hook.displayDeoHeaderMobile == 0}
				</div>
			{/if}
		</div>
	{/block}
{else}
	{block name='header_banner'}
		<div class="header-banner">
			{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
				<div class="container">
			{/if}
					<div class="inner">{hook h='displayBanner'}</div>
			{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
				</div>
			{/if}
		</div>
	{/block}

	{block name='header_nav'}
		<nav class="header-nav">
			<div class="topnav">
				{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
					<div class="container">
				{/if}
						<div class="inner">{hook h='displayNav1'}</div>
				{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
					</div>
				{/if}
			</div>
			<div class="bottomnav">
				{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
					<div class="container">
				{/if}
						<div class="inner">{hook h='displayNav2'}</div>
				{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
					</div>
				{/if}
			</div>
		</nav>
	{/block}

	{block name='header_top'}
		<div class="header-top">
			{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
				<div class="container">
			{/if}
					<div class="inner">{hook h='displayTop'}</div>
			{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
				</div>
			{/if}
		</div>
	{/block}
	{block name='nav_full_width'}
		<div class="nav-fullwidth">
			{if isset($fullwidth_hook.displayNavFullWidth) AND $fullwidth_hook.displayNavFullWidth == 0}
				<div class="container">
			{/if}
					<div class="inner">{hook h='displayNavFullWidth'}</div>
			{if isset($fullwidth_hook.displayNavFullWidth) AND $fullwidth_hook.displayNavFullWidth == 0}
				</div>
			{/if}
		</div>
	{/block}
{/if}
