@extends('web.layouts.layout')
@section('content')

<main>
    <!-- Start pg_header -->
    @include('web.pages.components.header.header')

    <section class="favorite-pg pb-4">
        <div class="container">
            <div class="line-title mb-4 mt-4"> <h5 class="bg-white mx-auto pe-3">{{$title}}</h5> </div>

                @if(count($products) > 0)
                    <div class="products-flex">
                        @foreach($products as $row)
                            @include('web.pages.components.products.card',['product'=>$row])
                        @endforeach
                    </div>
                @else
                    @include('web.pages.components.not_found',['message'=>__('web.not_exist_products_fav')])
                @endif

        </div>
    </section>

</main>

@stop
