<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<!--<![endif]--><head>

    <meta charset="UTF-8" />
    
    <!-- Mobile Specific Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
    
    <title><?php echo $title; ?></title>
    
    <base href="<?php echo $base; ?>" />
    
    <?php if ($description) { ?>
    <meta name="description" content="<?php echo $description; ?>" />
    <?php } ?>
    
    <?php if ($keywords) { ?>
    <meta name="keywords" content="<?php echo $keywords; ?>" />
    <?php } ?>
    
    <?php if ($icon) { ?>
    <link href="<?php echo $icon; ?>" rel="icon" />
    <?php } ?>
    
    <?php foreach ($links as $link) { ?>
    <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
    <?php } ?>
    
    <?php foreach ($styles as $style) { ?>
    <link rel="<?php echo $style['rel']; ?>" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
    <?php } ?>
    
    <!-- jQuery Library --><script src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
    <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    
    <!-- ///////////// IF RTL ///////////////// -->
    <?php if ($direction == 'rtl') { ?>
    <!-- MAIN STYLE --><link rel="stylesheet" href="catalog/view/theme/gazal/stylesheet/rtl/stylesheet.css" />
    <!-- cloud zoom --><link href="catalog/view/theme/gazal/stylesheet/rtl/cloud-zoom.css" />
    <!-- Custom.js for included scripts --><script src="catalog/view/javascript/jquery/custom-rtl.js"></script>
    <!-- cloud zoom --><script src="catalog/view/javascript/jquery/cloud-zoom.1.0.2.min-rtl.js"></script>
    
    <!-- ///////////// IF LTR ///////////////// -->
    <?php } else { ?>
    <!-- MAIN STYLE --><link rel="stylesheet" href="catalog/view/theme/gazal/stylesheet/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/gazal/stylesheet/alteracoes_anally.css" />
	<!-- cloud zoom --><link href="catalog/view/theme/gazal/stylesheet/cloud-zoom.css" />
    <!-- Custom.js for included scripts --><script src="catalog/view/javascript/jquery/custom.js"></script>
    <!-- cloud zoom --><script src="catalog/view/javascript/jquery/cloud-zoom.1.0.2.min.js"></script>
    <?php } ?>

	<!--960 GRID SYSTEM--><script src="catalog/view/javascript/jquery/adapt.min.js"></script>
    <!--flex slider--><link rel="stylesheet" href="catalog/view/theme/gazal/stylesheet/flexslider.css" media="screen" />
    <!--flex slider--><script src="catalog/view/javascript/jquery/jquery.easing.js"></script>
	<!--flex slider--><script defer src="catalog/view/javascript/jquery/jquery.flexslider.min.js"></script>
    <!--carouFredSel--><script src="catalog/view/javascript/jquery/jquery.carouFredSel-6.1.0-packed.js"></script>
    <!--carouFredSel - optional--><script src="catalog/view/javascript/jquery/jquery.touchSwipe.min.js"></script>
    <!--carouFredSel - optional--><script src="catalog/view/javascript/jquery/jquery.ba-throttle-debounce.min.js"></script>
    <!--twitter widget--><script src="catalog/view/javascript/jquery/twitter/jquery.tweet.min.js"></script>
    <?php     
    $_SESSION['consumer_keyy']=$this->config->get('consumer_keyy');
    $_SESSION['consumer_secrett']=$this->config->get('consumer_secrett');
    $_SESSION['access_token']=$this->config->get('access_token');
    $_SESSION['token_secret']=$this->config->get('token_secret');
    ?>
    <!-- UItoTop plugin --><link rel="stylesheet" media="screen,projection" href="catalog/view/theme/gazal/stylesheet/ui.totop.css" />
	<!-- UItoTop plugin --><script src="catalog/view/javascript/jquery/jquery.ui.totop.js" ></script>
    <!-- Autofill search --><script src="catalog/view/javascript/jquery/livesearch.js"></script>
        
    <script src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>

					<!--Hugo- letmeknow-->
					   <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/fancybox.css" />
                       <script type="text/javascript" src="catalog/view/javascript/jquery/fancybox/fancybox.js"></script>  					   
					
				
    <link rel="stylesheet" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
    <script src="catalog/view/javascript/jquery/colorbox/jquery.colorbox.js"></script>
    <link rel="stylesheet" href="catalog/view/javascript/jquery/colorbox/colorbox.css" media="screen" />

				<?php if ($this->config->get('fields_register_brazil_status')){ ?>
				<script type="text/javascript" src="catalog/view/javascript/jquery/jquery.alphanumeric.js"></script>
				<script type="text/javascript" src="catalog/view/javascript/jquery/jquery.maskedinput-1.3.min.js"></script>
				<?php } ?>
			
    <script src="catalog/view/javascript/common.js"></script>
    <?php foreach ($scripts as $script) { ?>
    <script src="<?php echo $script; ?>"></script>
    <?php } ?>
   
    <?php if ($stores) { ?>
    <script type="text/javascript"><!--
    $(document).ready(function() {
    <?php foreach ($stores as $store) { ?>
    $('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
    <?php } ?>
    });
    //--></script>
    <?php } ?>

    <?php echo $google_analytics; ?>

				<?php if ($this->config->get('fields_register_brazil_status')){ ?>
				<script type="text/javascript">
				 $(document).ready(function() {
					/* Registro - Tipo de Pessoa (PF/PJ) */
					if ($("#fisica").is(':checked')) {
						$('.pessoa_fisica').show();
						$('.pessoa_juridica').hide();    
					}
					if ($("#juridica").is(':checked')) {
						$('.pessoa_fisica').hide();
						$('.pessoa_juridica').show();  
					}
					$('#juridica').click( function() {
					$('.pessoa_fisica').hide();
						$("#cpf").val("");
						$("#rg").val("");
						$('.pessoa_juridica').show();    
					});
					$('#fisica').click( function() {
					$('.pessoa_fisica').show();
						$("#cnpj").val("");
						$("#inscricao_estadual").val("");
						$('.pessoa_juridica').hide();
					});

					/* Mascaras e Formatos */
					/* if($('input.phone').length > 0) $('input.phone').mask('(99) 9999-9999'); formato antigo sem 9ºdigito*/
					if($('input.phone').length > 0) $('input.phone').mask('(99) 9999-9999');
					if($('#celular').length > 0) $('#celular').mask('(99) 9999-9999?9');
					if($('input.date').length > 0) $('input.date').mask('99/99/9999');
					if($('input.cpf').length > 0) $('input.cpf').mask('999.999.999-99');
					if($('input.cnpj').length > 0) $('input.cnpj').mask('99.999.999/9999-99');
					if($('input.alphanumeric').length > 0) $('input.alphanumeric').alphanumeric();
					if($('input.numeric').length > 0) $('input.numeric').numeric();
				});
				</script>
				<?php } ?>
			
    
<!--****************************************************************************************************************-->

<!--=========================================================== THEME OPTIONS START HERE ===========================-->

<!--****************************************************************************************************************-->
<?php
// If gazal module is enabled
if($this->config->get('gazal_status')== 1) { ?>
	
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_body_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_title_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_button_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_category_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_menu_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_product_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_price_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('gazal_boxheading_font'); ?>">
		
<style>			
/********************************************
*********************************************

				Background/Patterns

*********************************************
********************************************/
		
		/** Body background image/pattern/color **/
		body {
			<?php if($this->config->get('gazal_background_color')!='') { ?>
				background-color: <?php echo $this->config->get('gazal_background_color'); ?>;
			<?php } 

			if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') $path_image = HTTPS_IMAGE;
			else $path_image = HTTP_IMAGE;

			if($this->config->get('gazal_custom_image')!='') { ?>
				background-image: url("<?php echo $path_image . $this->config->get('gazal_custom_image') ?>"); ?>;
				background-position: top center;
				background-repeat: no-repeat;
				background-attachment: fixed;
			<?php } else if($this->config->get('gazal_custom_pattern')!='') { ?>
				background-image: url("<?php echo $path_image . $this->config->get('gazal_custom_pattern') ?>"); ?>;
				background-attachment: scroll;
			<?php } else if($this->config->get('gazal_pattern_overlay')!='none') { ?>
				background-image: url("catalog/view/theme/gazal/image/patterns/<?php echo $this->config->get('gazal_pattern_overlay'); ?>.png");
				background-attachment: scroll;
			<?php } else { ?>
				background-image: none;
			<?php } ?>

		}


		/** Container background image/pattern/color **/
		.container_12 {
			<?php if($this->config->get('gazal_background_color_cont')!='') { ?>
				background-color: <?php echo $this->config->get('gazal_background_color_cont'); ?>;
			<?php } 

			if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') $path_image = HTTPS_IMAGE;
			else $path_image = HTTP_IMAGE;

			if($this->config->get('gazal_custom_image_cont')!='') { ?>
				background-image: url("<?php echo $path_image . $this->config->get('gazal_custom_image_cont') ?>"); ?>;
				background-position: top center;
				background-repeat: no-repeat;
			<?php } else if($this->config->get('gazal_custom_pattern_cont')!='') { ?>
				background-image: url("<?php echo $path_image . $this->config->get('gazal_custom_pattern_cont') ?>"); ?>;
			<?php } else if($this->config->get('gazal_pattern_cont')!='none') { ?>
				background-image: url("catalog/view/theme/gazal/image/patterns/<?php echo $this->config->get('gazal_pattern_cont'); ?>.png");
			<?php } else { ?>
				background-image: none;
			<?php } ?>

		}
		   <?php 




/********************************************
*********************************************

		 Colors / Background colors

*********************************************
********************************************/
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Header area **/		
		/** First Theme Color (Top bar) **/
		if($this->config->get('gazal_thickbar_color')!='') { ?>
			.strip, .menuDevices select {
				background: <?php echo $this->config->get('gazal_thickbar_color'); ?>;
			}
		<?php } 
		/** Welcome text color **/
		if($this->config->get('gazal_welcome_text_color')!='') { ?>
			#welcome, #welcome a, .timer {
				color: <?php echo $this->config->get('gazal_welcome_text_color'); ?> !important;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Blocks area **/		
		/** block title **/
		if($this->config->get('gazal_block_title_color')!='') { ?>
			.title-block-top {
				color: <?php echo $this->config->get('gazal_block_title_color'); ?> !important;
			}
		<?php } 
		/** block desc **/
		if($this->config->get('gazal_block_desc_color')!='') { ?>
			.top-blocks li p {
				color: <?php echo $this->config->get('gazal_block_desc_color'); ?>;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Menu **/
		/** Menu background **/
		if($this->config->get('gazal_menu_background')!='') { ?>
			.top-menu {
				background: <?php echo $this->config->get('gazal_menu_background'); ?>;
			}
		<?php } 
		/** Menu border **/
		if($this->config->get('gazal_menu_border')!='') { ?>
			.top-menu {
				border-bottom: 3px solid <?php echo $this->config->get('gazal_menu_border'); ?>;
			}
		<?php } 	
		/** Menu Links **/
		if($this->config->get('gazal_menu_color')!='') { ?>
			.top-menu ul li, .top-menu ul li a {
				color: <?php echo $this->config->get('gazal_menu_color'); ?>;
			}
		<?php }  	
		/** Menu Links :hover **/
		if($this->config->get('gazal_menu_color_hover')!='') { ?>
			.top-menu ul li:hover, .top-menu ul li:hover a {
				color: <?php echo $this->config->get('gazal_menu_color_hover'); ?>;
			}
		<?php }		
		/** Menu background links hover  **/
		if($this->config->get('gazal_menu_bg_links_hover')!='') { ?>
			.top-menu ul li:hover {
				background-color: <?php echo $this->config->get('gazal_menu_bg_links_hover')?>;
			}
		<?php } 
		/** Sub menu Headings **/
		if($this->config->get('gazal_sub_menu_heading')!='') { ?>
			a.mainCat, .mainCat, .one-dept li a:hover {
				color: <?php echo $this->config->get('gazal_sub_menu_heading')?> !important;
			}
		<?php }
		/** Sub Menu Links **/
		if($this->config->get('gazal_smenu_color')!='') { ?>
			.one-dept li a {
				color: <?php echo $this->config->get('gazal_smenu_color'); ?> !important;
			}
		<?php } 
		/** Sub Menu Links :hover **/
		if($this->config->get('gazal_smenuh_color')!='') { ?>
			.one-dept li a:hover {
				color: <?php echo $this->config->get('gazal_smenuh_color'); ?> !important;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// cart **/
		/** cart title **/
		if($this->config->get('gazal_cart_title_color')!='') { ?>
			#cart .title-block-top {
				color: <?php echo $this->config->get('gazal_cart_title_color'); ?> !important;
			}
		<?php } 
		/** cart desc **/
		if($this->config->get('gazal_cart_desc_color')!='') { ?>
			#cart-total {
				color: <?php echo $this->config->get('gazal_cart_desc_color'); ?> !important;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// search **/
		/** search bg **/
		if($this->config->get('gazal_search_bg')!='') { ?>
			#search {
				background: <?php echo $this->config->get('gazal_search_bg')?>;
			}
		<?php } 
		/** search border **/
		if($this->config->get('gazal_search_border')!='') { ?>
			#search {
				border-bottom: 3px solid <?php echo $this->config->get('gazal_search_border')?>;
			}
		<?php } 
			
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// category **/
		/** Category heading background **/
		if($this->config->get('gazal_category_heading_bg')!='') { ?>
			.category .box-heading {
				background: <?php echo $this->config->get('gazal_category_heading_bg'); ?>  !important;
			}
		<?php }
		/** Category heading border **/
		if($this->config->get('gazal_category_heading_border')!='') { ?>
			.category .box-heading {
				border-bottom: 3px solid <?php echo $this->config->get('gazal_category_heading_border'); ?>  !important;
			}
		<?php } 
		/** Category heading color **/
		if($this->config->get('gazal_category_heading_color')!='') { ?>
			.category .box-heading {
				color: <?php echo $this->config->get('gazal_category_heading_color'); ?>  !important;
			}
		<?php } 
		/** Category Links color **/
		if($this->config->get('gazal_category_link_color')!='') { ?>
			ul.mega-category li a {
				color: <?php echo $this->config->get('gazal_category_link_color'); ?>;
			}
		<?php }
		/** Category Links color on hover **/
		if($this->config->get('gazal_category_link_color_hover')!='') { ?>
			ul.mega-category li a:hover {
				color: <?php echo $this->config->get('gazal_category_link_color_hover'); ?>;
			}
		<?php } 
		/** Category Internal title **/
		if($this->config->get('gazal_category_title')!='') { ?>
			.sub-menu h3 {
				color: <?php echo $this->config->get('gazal_category_title'); ?> !important;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Box **/
		/** Box Heading background color **/
		if($this->config->get('gazal_heading_bg')!='') { ?>
			.box .box-heading, #column-left .box-heading, #column-right .box-heading, .realted-title, .product-filter, .tabs-head li a {
				background: <?php echo $this->config->get('gazal_heading_bg'); ?>;
			}
		<?php } 
		/** Box Heading border color **/
		if($this->config->get('gazal_heading_border')!='') { ?>
			.box .box-heading, #column-left .box-heading, #column-right .box-heading, .realted-title, .product-filter {
				border-bottom: 3px solid <?php echo $this->config->get('gazal_heading_border'); ?>;
			}
		<?php } 
		/** Box Heading Text color **/
		if($this->config->get('gazal_heading_color')!='') { ?>
			.box .box-heading, #column-left .box-heading, #column-right .box-heading, .realted-title, .product-filter, .tabs-head li a {
				color: <?php echo $this->config->get('gazal_heading_color'); ?> !important;
			}
		<?php } 
		/** Tabs Heading background color **/
		if($this->config->get('gazal_heading_tabs_bg')!='') { ?>
			.cat-title {
				background: <?php echo $this->config->get('gazal_heading_tabs_bg'); ?>;
			}
		<?php } 
		/** Tabs Heading border color **/
		if($this->config->get('gazal_heading_tabs_border')!='') { ?>
			.cat-title {
				border-bottom: 4px solid <?php echo $this->config->get('gazal_heading_tabs_border'); ?>;
			}
		<?php } 
		/** prodbcat title color **/
		if($this->config->get('gazal_prodbcat_title')!='') { ?>
			h2.cat-title {
				color: <?php echo $this->config->get('gazal_prodbcat_title'); ?> !important;
			}
		<?php } 
		/** prodbcat viewall color **/
		if($this->config->get('gazal_prodbcat_viewall')!='') { ?>
			.cat-title a {
				color: <?php echo $this->config->get('gazal_prodbcat_viewall'); ?>;
			}
		<?php } 
		/** prodbcat tab bg **/
		if($this->config->get('gazal_prodbcat_tab_bg')!='') { ?>
			.mod a {
				background: <?php echo $this->config->get('gazal_prodbcat_tab_bg'); ?>;
			}
		<?php } 
		/** prodbcat tab selected **/
		if($this->config->get('gazal_prodbcat_tab_bg_select')!='') { ?>
			.mod a.selected {
				background: <?php echo $this->config->get('gazal_prodbcat_tab_bg_select'); ?>;
			}
		<?php } 
		/** prodbcat tab link coloe **/
		if($this->config->get('gazal_prodbcat_tab_link')!='') { ?>
			.mod a {
				color: <?php echo $this->config->get('gazal_prodbcat_tab_link'); ?>;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Product **/
		/** product border **/
		if($this->config->get('gazal_product_border')!='') { ?>
			.jcarousel-item + .jcarousel-item, .main2 + .main2, .main + .main {
				border-left: 1px dashed <?php echo $this->config->get('gazal_product_border'); ?>;
			}
		<?php } 
		/** Sale bg **/
		if($this->config->get('gazal_sale_bg')!='') { ?>
			.sale {
				background: <?php echo $this->config->get('gazal_sale_bg'); ?>;
			}
		<?php } 
		/** Price color **/
		if($this->config->get('gazal_price_color')!='') { ?>
			.price, .price-new {
				color: <?php echo $this->config->get('gazal_price_color'); ?> !important;
			}
		<?php }
		/** Old Price color **/
		if($this->config->get('gazal_other_oldprice_color')!='') { ?>
			.price-old {
				color: <?php echo $this->config->get('gazal_other_oldprice_color'); ?> !important;
			}
		<?php } 
		/** Product name **/
		if($this->config->get('gazal_product_name_color')!='') { ?>
			.name a, .product-grid .name a, .product-list .name a, .box-product .name a {
				color: <?php echo $this->config->get('gazal_product_name_color'); ?> !important;
			}
		<?php } 
		
		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// General **/
		/** Titles (h1, h2, h3, h4, h5, h6) **/
		if($this->config->get('gazal_title_color')!='') { ?>
			.heading h1, .checkout-heading, table.list thead td, h1, h2, h3, h4, h5, h6, .welcome  {
				color: <?php echo $this->config->get('gazal_title_color'); ?> !important;
			}
		<?php } 
		/** Body text color **/
		if($this->config->get('gazal_bodytext_color')!='') { ?>
			body, #maincontent a, #maincontent a:visited, a.backtotop, #cart .content a, .contentset {
				color: <?php echo $this->config->get('gazal_bodytext_color'); ?>;
			}
		<?php } 
		/** Other Links **/
		if($this->config->get('gazal_links_color')!='') { ?>
			a, .breadcrumb a + a, a:visited, a b{
				color: <?php echo $this->config->get('gazal_links_color'); ?>;
			}
		<?php } 

		/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Footer **/
		/** Footer BG **/
		if($this->config->get('gazal_footer_bg')!='') { ?>
			.footer-bg {
				background: <?php echo $this->config->get('gazal_footer_bg'); ?> !important;
			}
		<?php } 
		/** Footer Bottom BG **/
		if($this->config->get('gazal_footer_bottom_bg')!='') { ?>
			footer {
				background: <?php echo $this->config->get('gazal_footer_bottom_bg'); ?> !important;
			}
		<?php } 
		/** Footer Headers Text color **/
		if($this->config->get('gazal_footerheaders_color')!='') { ?>
			footer h3, .about h3 {
				color: <?php echo $this->config->get('gazal_footerheaders_color'); ?> !important;
			}
		<?php } 
		/** Footer widgets Headers Text color **/
		if($this->config->get('gazal_footerheaderswid_color')!='') { ?>
			h3.widgetsTitle {
				color: <?php echo $this->config->get('gazal_footerheaderswid_color'); ?> !important;
			}
		<?php } 
		/** Footer widgets Headers Text bg **/
		if($this->config->get('gazal_footerheaderswid_bg')!='') { ?>
			h3.widgetsTitle {
				background: <?php echo $this->config->get('gazal_footerheaderswid_bg'); ?>;
			}
		<?php } 
		/** Footer widgets Headers Text border **/
		if($this->config->get('gazal_footerheaderswid_border')!='') { ?>
			h3.widgetsTitle {
				border-bottom: 3px solid <?php echo $this->config->get('gazal_footerheaderswid_border'); ?>;
			}
		<?php } 
		/** Footer first border color **/
		if($this->config->get('gazal_first_border_color')!='') { ?>
			.about h3 {
				border-bottom: 1px solid <?php echo $this->config->get('gazal_first_border_color'); ?>;
			}
			hr {
				border-top: 1px solid <?php echo $this->config->get('gazal_first_border_color'); ?>;
			}
		<?php } 
		/** Footer second border color **/
		if($this->config->get('gazal_second_border_color')!='') { ?>
			hr {
				border-bottom: 1px solid <?php echo $this->config->get('gazal_second_border_color'); ?>;
			}
		<?php } 
		/** Footer info text color **/
		if($this->config->get('gazal_footer_info_color')!='') { ?>
			.footer-bg, .about, .shipping{
				color: <?php echo $this->config->get('gazal_footer_info_color'); ?> !important;
			}
		<?php } 
		/** Footer Links Text color **/
		if($this->config->get('gazal_footerlinks_color')!='') { ?>
			footer a, .footer-bg a, .tweet_list li a {
				color: <?php echo $this->config->get('gazal_footerlinks_color'); ?> !important;
			}
		<?php } 

/********************************************
*********************************************

				Buttons

*********************************************
********************************************/		
		
		/** add to cart details **/
		if($this->config->get('gazal_details_addtocart')!='') { ?>
			 .product-info .cart input {
				background: <?php echo $this->config->get('gazal_details_addtocart'); ?>;
			}

 			 .product_attacked input[type='button'], .product_attacked_featured input[type='button'], .product_attacked_lpbc input[type='button'] {
				background: <?php echo $this->config->get('gazal_details_addtocart'); ?>;
                border:none;
                cursor: pointer;
                color:<?php echo $this->config->get('gazal_all_buttons_color'); ?>;
                font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
			}

		<?php }
		/** add to cart details : hover **/
		if($this->config->get('gazal_details_addtocart_hover')!='') { ?>
			 .product-info .cart input:hover {
				background: <?php echo $this->config->get('gazal_details_addtocart_hover'); ?>;
			}
		<?php }
		/** button text details color **/
		if($this->config->get('gazal_details_button_color')!='') { ?>
			.product-info .cart input{
				color: <?php echo $this->config->get('gazal_details_button_color'); ?>;
			}
		<?php } 
		/** All other buttons **/
		if($this->config->get('gazal_all_addtocart')!='') { ?>
			 a.button, .cart input, a.ch, a.ca, .sub-menu .button, input.button {
				background: <?php echo $this->config->get('gazal_all_addtocart'); ?>;
			}
		<?php }
		/** All other buttons : hover **/
		if($this->config->get('gazal_all_addtocart_hover')!='') { ?>
			a.button:hover, .cart input:hover, a.ch:hover, a.ca:hover, .sub-menu .button:hover, input.button:hover {
				background: <?php echo $this->config->get('gazal_all_addtocart_hover'); ?>;
			}
		<?php }
		/** All other buttons text color **/
		if($this->config->get('gazal_all_buttons_color')!='') { ?>
			input.button, a.button, a.ch, a.ca, .sub-menu .button, input.button {
				color: <?php echo $this->config->get('gazal_all_buttons_color'); ?> !important;
			}
		<?php } 
			
/********************************************
*********************************************

				Fonts

*********************************************
********************************************/
		/** Body Fonts **/
		if ($this->config->get('gazal_body_font') != '' ) { ?>
		body, p, .mod a { font-family:'<?php echo $this->config->get('gazal_body_font_family'); ?>', Tahoma, Geneva, sans-serif; 
		font-size: <?php echo $this->config->get('gazal_body_font_size'); ?>px !important;
		}
		<?php } 
		/** Title Fonts **/
		if($this->config->get('gazal_title_font')!='') { ?>
		h1, h2, h3, h4, .contentset, legend, .checkout-heading, .welcome {
			font-family:'<?php echo $this->config->get('gazal_title_font_family'); ?>', Tahoma, Geneva, sans-serif;
			font-size: <?php echo $this->config->get('gazal_title_font_size'); ?>px !important;
		}
		<?php }
		/** Button Fonts **/
		if ($this->config->get('gazal_button_font') != '') { ?>
		input, input.button, a.button, .button {
			font-family:'<?php echo $this->config->get('gazal_button_font_family'); ?>', Tahoma, Geneva, sans-serif;
			font-size: <?php echo $this->config->get('gazal_button_font_size'); ?>px !important;
		}
		<?php }
		/** category Fonts **/
		if ($this->config->get('gazal_category_font') != '') { ?>
		 ul.mega-category li a, ul.mega-category li .sub-sub-menu ul li.heading-sub a {
			font-family:'<?php echo $this->config->get('gazal_category_font_family'); ?>', Tahoma, Geneva, sans-serif;
			font-size: <?php echo $this->config->get('gazal_category_font_size'); ?>px !important;
		}
		<?php }
		/** menu Fonts **/
		if ($this->config->get('gazal_menu_font') != '') { ?>
		 .top-menu ul li, .top-menu ul li a {
			font-family:'<?php echo $this->config->get('gazal_menu_font_family'); ?>', Tahoma, Geneva, sans-serif;
			font-size: <?php echo $this->config->get('gazal_menu_font_size'); ?>px !important;
		}
		<?php }
		/** product Fonts **/
		if ($this->config->get('gazal_product_font') != '') { ?>
		 .box-product .name a {
			font-family:'<?php echo $this->config->get('gazal_product_font_family'); ?>', Tahoma, Geneva, sans-serif;
			font-size: <?php echo $this->config->get('gazal_product_font_size'); ?>px !important;
		}
		<?php }
		/** price Fonts **/
		if ($this->config->get('gazal_price_font') != '') { ?>
		 .box-product .price {
			font-family:'<?php echo $this->config->get('gazal_price_font_family'); ?>', Tahoma, Geneva, sans-serif !important;
			font-size: <?php echo $this->config->get('gazal_price_font_size'); ?>px !important;
		}
		<?php }
		/** boxheading Fonts **/
		if ($this->config->get('gazal_boxheading_font') != '') { ?>
	    .box-heading, h2.cat-title {
			font-family:'<?php echo $this->config->get('gazal_boxheading_font_family'); ?>', Tahoma, Geneva, sans-serif !important;
			font-size: <?php echo $this->config->get('gazal_boxheading_font_size'); ?>px !important;
		}
		<?php }
		
		/*IF CUSTOM CSS SO GOES HERE*/
		if ($this->config->get('custom_css') != '')  ?>
			<?php echo $this->config->get('custom_css'); ?>
		<?php 
		
		?>
		
	</style>
<?php } ?>
<!--**************************************************************************************************************-->
<!--=========================================================== THEME OPTIONS END HERE ===========================-->
<!--**************************************************************************************************************-->
</head>

<body>

<div class="container_12">

    <header>
      
      <!-- Our Time -->
	  <div class="timer grid_6">
      <?php if($this->config->get('gazal_time_text') != '') { ?>
      <img src="catalog/view/theme/gazal/image/clock.png" alt="" >&nbsp; <?php echo $this->config->get('gazal_time_text')?>
      <?php } ?>
      </div>
      
      <!-- Login -->
	  
			
			<div id="welcome" class="grid_8">
				<div id="main-header-user-place">
				<?php if (!$logged) { ?>
					<form id="login-ibanking" action="index.php?route=account/login" method="post">
						<div id="login-ibanking-wrapper">
							<input type="text" name="email" id="email" placeholder="E-mail" class="add-placeholder login-input" style="margin-right:6px;">
							<p class="helper-holder">
							<input type="password" name="password" id="password" placeholder="Senha" class="add-placeholder login-input">
							<a href="index.php?route=account/forgotten" title="Esqueceu a senha ?" class="pwd-helper">esqueceu ?</a>
							</p>
							<button type="submit" id="entrar" class="lite-button corbelFont">Entrar</button>
							<a href="index.php?route=account/register" class="lite-button alternate corbelFont omniture-click" title="Cadastrar">Crie sua conta</a>
						</div>
					</form>
				
			   <?php } else { ?>
		       <?php echo $text_logged; ?>
		       <?php } ?>
			   </div>	 
			





      </div>
      
      
      <div class="clearfix"></div>
      
      
      <div class="strip grid_12">
      	<span class="left-part"></span>
        <span class="right-part"></span>
        <!-- Links -->
        <div class="links">
          <a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a>
          <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
          <a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a>
          <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
      </div>
      <?php echo $currency; ?>
      <?php echo $language; ?>
      </div><!--/strip-->
      
      
      <div class="clearfix"></div>
      
      
      
      <?php if ($logo) { ?>
      <div id="logo" class="grid_3">
      	<a href="<?php echo $home; ?>">
        	<img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" />
        </a>
      </div>
      <?php } ?>
      
      <!-- Top Blocks -->
      <div class="grid_7">
      	
      	<?php if($this->config->get('config_futura_telefone_status')){ ?>
      	<div class="phone-top">        
        <ul>
        	<li><?php echo $telephone; ?></li>
            <li><?php echo ($fax)? $fax : ""; ?></li>
            <li><?php echo ($telephone_extra)? $telephone_extra : ""; ?></li>
        </ul>
        </div>
        <?php } ?> 
        
        <?php if($emails && ($this->config->get('config_futura_exibe_email')==1) ){ ?>
        <div class="address-top">
        <ul>
        <?php foreach (explode(";", $emails) as $email){ ?>
        	<li><?php echo $email; ?></li>
		<?php } ?>
        </ul>
        </div>
        <?php } ?>
      </div>
      

      <div class="grid_2"><?php echo $cart; ?></div>
      
      
      <div class="clearfix"></div>
        
    </header>
    
    <div class="clearfix"></div>
    
    <!-- top-menu -->
    <div class="top-menu grid_9">
    	<ul>
        	<li><a href="<?php echo $home; ?>"><img class="homeIcon" src="catalog/view/theme/gazal/image/home.png" width="25" alt"<?php echo $text_home; ?>"></a></li>
            <?php if ($categories) { ?>
            <li class="cats"><?php echo $text_categories; ?>
            	<div class="cat-wrap">
                	<?php foreach ($categories as $category) { ?>
                    	<div class="one-dept">
                            <a class="mainCat" href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
                              <?php if ($category['children']) { ?>
                                  <div>
                                    <?php for ($i = 0; $i < count($category['children']);) { ?>
                                        <ul>
                                          <?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
                                          <?php for (; $i < $j; $i++) { ?>
                                          <?php if (isset($category['children'][$i])) { ?>
                                          <li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
                                          <?php } ?>
                                          <?php } ?>
                                        </ul>
                                    <?php } ?>
                                  </div>
                              <?php } ?>
                       </div><!--/one-dept-->
                    <?php } ?>
                </div><!--/cat-wrap-->
            </li>
            <?php } ?>
            <li><a href="index.php?route=information/information&information_id=4"><?php echo $text_about; ?></a></li>
            <li><a href="index.php?route=product/special"><?php echo $text_special; ?></a></li>
            <li><a href="index.php?route=product/manufacturer"><?php echo $text_manufacturer; ?></a></li>
            <li><a href="index.php?route=information/contact"><?php echo $text_contact; ?></a></li>
            <li><a href="index.php?route=news/headlines"><?php echo $text_blog; ?></a></li>
        </ul>
    </div><!-- /top-menu -->
   
    
    <!--***** MENU FOR MOBILE DEVICES RETURNS INTO SELECT ****-->
    <?php if ($categories) { ?>
    <div class="menuDevices grid_9" style="display:none">
      <div class="select_outer">
          <div class="bg_select"></div>
          <select onchange="location=this.value">
                <option>MENU</option>
                <option value="index.php?route=news/headlines"><?php echo $text_blog; ?></option>
                <?php foreach ($categories as $category) { ?>
                <option value="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></option>
                <?php } ?>    
          </select>
      </div><!--/select_outer-->
    </div>
    <?php } ?>
    
    <!-- Search -->
    <div class="grid_12 search">
        <div id="search">
        	<!--btn-->
            <div class="button-search"><img src="catalog/view/theme/gazal/image/search.png" alt="search" ></div>
            <!--input-->
            <input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
        </div>
    </div>
    
    <div class="clearfix"></div>
    
    <div id="notification"></div>
	
    <div class="clearfix"></div>