{% if __SELF__.currentItem.items.count < 1 %}
    {% partial __SELF__ ~ '::empty' %}
{% else %}

    {% set items = __SELF__.currentItem.items %}
    {% set totals = __SELF__.currentItem.totals %}

    <div class="mall-cart__wrapper">
        <div class="mall-table-overflow table-responsive">
            <table class="table table-bordered table-striped table-responsive-stack">
                <thead class="d-none d-md-table-cell">
                {% partial 'cart::table/header' %}
                </thead>
                <tbody class="align-middle">
                {% for product in __SELF__.currentItem.items %}
                    {% partial 'cart::table/entry' product=product %}
                {% endfor %}
                </tbody>
                <tfoot class="align-middle">
                {% partial 'cart::table/total' totals=totals %}
                {% if __SELF__.showShipping %}
                    {% partial __SELF__ ~ '::shipping'  shipping=totals.shippingTotal %}
                    {% partial 'cart::table/grandtotal' totals=totals %}
                {% endif %}
                {% partial 'cart::table/taxes' totals=totals %}
                </tfoot>
            </table>
        </div>
    </div>

{% endif %}