<div class="checkout">
    <div class="checkout-top">
        <div class="product-sum">
            <h4 class="product-sum-text">{{__('shop::app.checkout.total.sub-total')}}:</h4>
            <h5 class="product-sum-number">{{ core()->currency($cart->base_sub_total) }}</h5>
        </div>

        <div class="delivery-sum">
            <h4 class="product-sum-text">{{ __('shop::app.checkout.total.delivery-charges') }} :</h4>
            <h5 class="product-sum-number">{{ core()->currency($cart->selected_shipping_rate->base_price ?? 0) }}</h5>
        </div>

            <div class="delivery-sum">
                <h4 class="product-sum-text">{{ __('shop::app.checkout.total.disc-amount') }} :</h4>
                <h5 class="product-sum-number">{{ core()->currency($cart->base_discount_amount) }}</h5>
            </div>

        <div class="horizontal"></div>
    </div>
    <div class="checkout-bottom">
        <div class="product-sum">
            <h4 class="total-sum-text">{{ __('shop::app.checkout.total.grand-total') }} :</h4>
            <h5 class="total-sum-number">{{ core()->currency($cart->base_grand_total) }}</h5>
        </div>
        <coupon-component></coupon-component>
    </div>
</div>
