<div class="popover-mini-basket {{mod}}">
    <div class="popover-mini-basket__added popover-mini-basket__alert">
        <i class="fas fa-check-circle basket-icon"></i>
        <p>
            Added to your basket
        </p>
    </div>
    <div class="popover-mini-basket__not-added popover-mini-basket__alert">
        <i class="fas fa-times-circle basket-icon"></i>
        <p>
            Not added to basket
        </p>
    </div>
    <div class="popover-mini-basket__calculating popover-mini-basket__alert">
        <i class="fas fa-calculator basket-icon"></i>
        <p>
            Calculating your basket...
        </p>
    </div>
    <div class="popover-mini-basket__lower-quantity popover-mini-basket__alert">
        <i class="fas fa-exclamation-circle basket-icon"></i>
        <p>
            Added to your basket
        </p>
    </div>
    {{#if just-added}}
        {{> notifications classModifier="notification_success" text="Added to your basket" success=true withCloseBtn="true"}}
    {{/if}}
    <div class="popover-mini-basket__content">
        <div class="popover-mini-basket__cards-holder">
            {{#if products.length}}
                {{#each products}} {{>card_product_preview modifier="product-card-preview_horizontal"}} {{/each}}
            {{else}}
                <div class="popover-mini-basket__empty">
                    <p>Your Basket is currently empty.</p>
                </div>
            {{/if}}
        </div>
        <form action="#" id="form-mini-basket">
            <div class="form-row form-row__action">
                <div class="form-row__col-btn">
                    <a class="btn btn-secondary btn_full" href="./page_shopping-cart.html" role="button">View basket</a>
                </div>
                <div class="form-row__col-btn">
                    <button class="btn btn-action btn_full" type="submit">
                        <span class="btn__text">Checkout</span>
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>