{% if recently_viewed|length > 0 %}

    <div class="upsellItemsWrap">

        <div class="wrapper">

            <div class="complimentedWrap">

                {% include 'includes/elements/intro_block.twig' with {
                    intro_title: 'Recently viewed products',
                    intro_content: 'You’ve recently checked these items out',
                    dark_text: true,
                    class: 'featuredIntro'
                }%}

                <ul class="complimentedList itemsBrowse">

                    {% for item_html in recently_viewed %}
                        {{ item_html|raw }}
                    {% endfor %}

                </ul>

            </div> <!-- .complimentedWrap -->

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

    </div><!-- .upsellItemsWrap -->
{% else %}
    <div class="emptyUpsell">

    </div> <!-- .emptyUpsell -->
{% endif %}
