@foreach($carts as $cart)
    <div class="item d-flex align-items-center justify-content-between">
        <a href="{{route('product',$cart->product_id)}}" class="d-flex align-items-center w-100">
            <img src="{{asset($cart->product->image)}}" class="prog_img" alt="">
            <div class="txt">
                <h6 class="name mb-1">{{$cart->product->currentDescription->name}}</h6>
                <h6 class="price">
                    <b class="color-primary">
                        {{$cart->product->cost * $cart->count}} {{$currency->abbr}} 
                    
                    </b>
                </h6>
            </div>
        </a>
        <div class="butns d-flex">
            <a style="cursor: pointer"  onclick="deleteCart(this)" data-id="{{$cart->id}}" class="butn sm_butn primary_butn rounded-circle color-primary  me-1">
                <i class="fal fa-trash mx-0"></i>
            </a>
        </div>
    </div>
@endforeach