{% set disable_breadcrumbs = false %}
{% set load_reviews_no_delay = true %}
{% set footer_class = 'mobileMenuAttached' %}

{% extends 'layouts/default.twig' %}

{% if item.form_id is not empty and item.form_id != '0' and item.form_id != 0 %}
    {% set has_assessment_form = true %}
{% else %}
    {% set has_assessment_form = false %}
{% endif %}

{% set price_prefix_text = 'From' %}

{% set item_high_price = '' %} {# <----- Needs to get the high price dynamically #}
{% set show_item_high_price = false %} {# <----- Needs to be true for the high price to show (eg. £20 - £60 #}

{#{% set assessment_completed = true %}#}

{% block body_class %}
    {% if product_overlay_enabled %}
        mobileOverlayEnabled
    {% else %}
        mobileOverlayDisabled
    {% endif %}
{% endblock %}

{% block content %}


    {{ hooks_do_action('item_full_template') }}
    


    <div class="itemWrap js_itemWrap">


        {% include 'navigation/breadcrumbs.twig' with {
            hide_logos: false,
            class: ''
        } %}
        
        <div class="wrapper productTopWrapper">
            
            <div class="product">
                
                <div class="productLeft">

                    <product-images
                            :images="{{ item.images|json_encode }}"
                            :lazy-load="false"
                            size="large"
                            :show-arrows="false"
                            :show-thumbs="true"
                            :allow-zoom="true"
                            :show-disclaimer="true"
                    ></product-images>
                    
                </div> <!-- .productLeft -->


                <div class="productRight">
                    
                    {% include 'shop/item/partials/validation.twig' %}

                    <product-sidebar
                            :product="{{ item | json_encode }}"
                            :in-stock="{{ item.isInStock() | json_encode }}"
                            :from-price="{{ item.from_price | json_encode }}"
                            :basket-button-data="{{ item.basket_button_data | json_encode }}"
                            :category="{{ item.main_category | json_encode }}"
                            :has-full-description="{% if tabs %}true{% else %}false{% endif %}"
                            out-of-stock-url="{{ route('outofstocknotify-signup') }}"
                            {% if order_until['timer'] is not empty %}
                                :delivery-cutoff="{{ order_until['timer'] }}"
                            {% endif %}
                    ></product-sidebar>

                    
                </div> <!-- .productRight -->

            </div> <!-- .productTop -->
            
        </div> <!-- .wrapper -->


        {% include 'includes/page_blocks/sidebar_tabs.twig' with {
            class: 'productTabs itemTabSection',
            id: 'productFullDescription',
            warning: item_warning,
            disable_tab_titles: true,
            tabs: tabs
        }%}


        {% if item.faqs is not empty %}
            {% include 'includes/pages/faqs/faqs_block.twig' with {
                faqs: item.faqs,
                compact: true
            }%}
        {% endif %}
        

        
        
        {#  
        {% set featured_products_list = featured_products_vue() %}
        
        {% if featured_products_list is not empty %}
            
            {% include 'shop/item/featured_products.twig' with {
                featured_products: featured_products_list,
                featured_title: 'More treatments'
            }%}
            
        {% endif %}
        #}
        

    </div> <!-- .itemWrap -->
    


    {#  
    {% set main_category = item.getMainCategory() %}
    #}
    

{% endblock %}

{% block rich_card_schemas %}
    {% if item.seo_schema_cache != '' %}
        <script type="application/ld+json">{{ item.seo_schema_cache|raw }}</script>
    {% endif %}
    {{ item.faq_cache|raw }}
    {{ hooks_do_action('contact_page_schema', contact) }}
{% endblock %}
