@extends('frontend.app')
@section('title', 'Search products')
@section('content')


    <div class="container my-3">
        <div class="single_product_list mb-3">
            <ul>
                <li>
                    <a href="{{ route('root') }}" class="single_product_list_link">
                        <i class="fa-solid fa-house-chimney"></i>
                    </a>
                </li>
                <li>
                    <a href="#" class="single_product_list_link">
                        Search
                    </a>
                </li>

                <li>
                    <a href="#" class="single_product_list_link">
                        {{ $searchTerm }}
                    </a>
                </li>

            </ul>
        </div>
     
            
        
        <div class="row gy-lg-3 gx-lg-3 gy-2 gx-2">
          @foreach ($products as $product)
              <div class="{{ $site_configurations->card_row }} col-xl-3 col-lg-4 col-md-4 col-sm-6 col-6">
                  @include("frontend.components.product_content.template$site_configurations->template_id", ['product' => $product])
              </div>
          @endforeach

      </div>

@endsection