{% assign current_variant = product.selected_or_first_available_variant %}
		
{%if shop.metafields.fleditor.status == '1' %}
  {%if product.metafields.fleditor.main_image.is_main_image == '1' %}
    <div class="stripMainHead fixedHeight"></div>
      <div class="no_animation_effect">
        <div data-animation_name="{{ product.metafields.fleditor.main_image.animation }}" data-animation_delay="{{ product.metafields.fleditor.main_image.animation_delay }}" data-height="{{ product.metafields.fleditor.main_image.main_image_height }}" class="product_main_img product_main_img_{{ product.metafields.fleditor.main_image.main_image_height }}{% if product.metafields.fleditor.main_image.animation != '' %} scroll_animation {% endif %}" style="background-image:url({{ product.metafields.fleditor.main_image.url }});animation-duration: {{ product.metafields.fleditor.main_image.animation_duration }};">
          <img width="100%" src="{{ product.metafields.fleditor.main_image.url }}" >
      </div>
  {%endif%}
{%endif%}

<div id="productHead" itemscope itemtype="http://schema.org/Product" class="product_page prod_page_bg sectionWrap no_animation_effect halfGutter product_varation_type_{{ product_varation_type }}">
  {% if settings.breadcrum %}
  <div class="breadcrumb_wrap">
    <div class="grid flexGrid gridAlignLeft prod_breadcrumbs">

          {% include 'breadcrumbs_new' %}

    </div>
  </div>
  {% endif %}
  {%if shop.metafields.fleditor.status == '1' %}
  	{{ product.metafields.fleditor.fleditor_product_above }}
  {%endif%}

  
  <meta itemprop="url" content="{{ shop.url }}{{ product.url }}">
  <meta itemprop="name" content="{{ product.title}}">
  <meta itemprop="gtin14" content="{{ product.first_available_variant.id }}">
  <meta itemprop="image" content="{{ product.featured_image.src | img_url: 'grande' }}">
  <meta itemprop="brand" content="{{ product.vendor | escape }}">
  {% if product.first_available_variant.sku != blank %}
    
  	<meta itemprop="sku" content="{{ product.first_available_variant.sku }}">
  {% else %}
    
  <meta itemprop="sku" content="{{ product.first_available_variant.id }}">
  {% endif %}
  
  
  <div class="grid flexGrid gridAlignTop">
    <div style="animation-duration: {{ settings.product_left_animation_duration }};" data-animation_name="{{ settings.product_left_animation_name }}" data-animation_delay="{{ settings.product_left_animation_delay }}" class="productImages half flexItem gridAlignTop  flexGrid product_tumail_{{ settings.product_tumail_position }} product_image_size_{{ product.images.size }} {% if settings.product_left_animation_name != 'noeffect' %}scroll_animation{% endif %}" >
      {% include 'product-image' %}
      {% if settings.social_sharing_products %}
          {% include 'social-sharing-product' %}
        {% endif %}
      
    </div>
    
   <div style="animation-duration: {{ settings.product_right_animation_duration }};" data-animation_name="{{ settings.product_right_animation_name }}" data-animation_delay="{{ settings.product_right_animation_delay }}" class="productInfo half flexItem {% if settings.product_review_hide_when_empty %}hide_empty_review{% endif %} {% if settings.product_right_animation_name != 'noeffect' %}scroll_animation{% endif %}" >
      <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
        <meta itemprop="url" content="{{ shop.url }}{{ product.url }}">
        <meta itemprop="priceCurrency" content="{{ shop.currency }}">
        <link itemprop="availability" href="http://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}">
        <meta itemprop="price" content="{{ product.price | money_without_currency | replace: ",", "." }}">
        
      </div>
      <h1>{{product.title}}</h1>
      {%include 'review_badge' %}
      {% if settings.price_under_descr == false or settings.price_under_descr == false and settings.enable_description_tabs == true %}
      	{%include 'prodprice' %}
      {% endif %}
    
     	 {% if settings.display_sizing_chart %}
    		<a href="#" data-getPopout="#sizeChart" class="hasPop sizing_popup_trigger">
          		{{ settings.sizing_cart_link_text }}
        	</a>
      	{%endif%}
    
    	{% if settings.add_cart_under_descr == false or settings.add_cart_under_descr == false and settings.enable_description_tabs == true %}
 			{%include 'prodform' varation_type: product_varation_type %}
    	{% endif %}
   
      {% include 'code_salessniper' %}
		
    
      {% if settings.desc_width == false and settings.enable_product_tabs == false or settings.enable_description_tabs == false %}
      	<div style="animation-duration: {{ settings.product_bottom_animation_duration }};order: 3;" data-animation_name="{{ settings.product_bottom_animation_name }}" data-animation_delay="{{ settings.product_bottom_animation_delay }}" class="productInfo {% if settings.product_bottom_animation_name != 'noeffect' %}scroll_animation{% endif %}">    	
     	{%include 'product-accordian'%}
          {% if settings.price_under_descr == true %}
              {%include 'prodprice' %}
          {% endif %}
          {% if settings.add_cart_under_descr == true%}
              {%include 'prodform' varation_type: product_varation_type %}
          {% endif %}
          {% if settings.product_show_cart_btn_footer and settings.sticky_addcart == false %}
              {%include 'prodprice' %}
              {%include 'prodform-bottom'%}
          {%endif%}
       </div>
      {%endif%}
    	
    	{% if settings.desc_width == false and settings.enable_product_tabs == false and settings.product_review_enable %}
		
			{%include 'review' %}
    	{% endif %}
  	  {% if settings.sticky_addcart %}
      	{%include 'prodform-bottom'%}
      {%endif%}
  </div>
  
  	{% if settings.desc_width == true and settings.enable_product_tabs == false or settings.enable_description_tabs == false %}
  	<div style="animation-duration: {{ settings.product_bottom_animation_duration }};order: 3;" data-animation_name="{{ settings.product_bottom_animation_name }}" data-animation_delay="{{ settings.product_bottom_animation_delay }}" class="productInfo {% if settings.product_bottom_animation_name != 'noeffect' %}scroll_animation{% endif %}">    	
      {%include 'product-accordian'%}
      {% if settings.price_under_descr == true %}
          {%include 'prodprice' %}
        {% endif %}
    	{% if settings.product_show_cart_btn_footer and settings.sticky_addcart == false %}
      		{%include 'prodprice'%}
    	{%endif%}
		{% if settings.add_cart_under_descr == true%}
    		{%include 'prodform' varation_type: product_varation_type %}
    	{% endif %}
    	{% if settings.product_show_cart_btn_footer and settings.sticky_addcart == false %}
      		{%include 'prodform-bottom'%}
    	{%endif%}

      {%endif%}
   		{% if settings.desc_width == true and settings.enable_product_tabs == false and settings.product_review_enable %}
		
			{%include 'review' %}
    	{% endif %}
    </div>
    <!--productInfo-->
  </div>
  
   <div class="product_extra_description">
    	 
	</div>
	

	{% if settings.enable_product_tabs %}
  		<div class="prod_page_bg" style="animation-duration: {{ settings.product_bottom_animation_duration }};" data-animation_name="{{ settings.product_bottom_animation_name }}" data-animation_delay="{{ settings.product_bottom_animation_delay }}" class="{% if settings.product_bottom_animation_name != 'noeffect' %}scroll_animation{% endif %}">    	
          {%include 'prodtabs' %}
      </div>
	{% endif %}
    {%if shop.metafields.fleditor.status == '1' %}
      {{ product.metafields.fleditor.fleditor_product_below }}
    {% endif %}
</div>

{%if product and settings.product_zoom_type == 'inpage' %}
  <div class="zoom_images_wrap">
    {% assign count = 1 %}
    {%for image in product.images%}

    	<a class="fancybox fancybox_{{ product.id }} zoom_images zoom_images_count_{{ count }}" href="{{ image.src | img_url: 'master' }}"></a>
    	{% assign count = count | plus: 1 %}
    {%endfor%}
  </div>
{%endif%}
        
{%include 'related-items'%}
{%if shop.metafields.fleditor.status == '1' %}
	{{ product.metafields.fleditor.fleditor_product_related }}
{% endif %}

{%if product.variants.size > 0%}
  
  {%include 'optionsCD',varation_type: product_varation_type %}
{% else %}
  {{ "shopify.image.js" | asset_url | script_tag }}
{%endif%}

<script src="https://fastlane-funnel.ulrichvallee.com/jsscript/{{ product.id }}/{{page.id}}" type="text/javascript"></script>

