<?php if (isset($component)) { $__componentOriginalc540569e38c94d5e5a963d4f284d86bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc540569e38c94d5e5a963d4f284d86bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.website.layout','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('website.layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

    <!-- start banner -->
    <?php $__currentLoopData = $sections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($section->key == 'products'): ?>
            <?php echo $__env->make('Website.partials._banner', ['page_title' => $section->title], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <!-- end banner -->
    <!--==========================Products==========================-->
   <!--==========================Products==========================-->
<section class="products-section animate-section py-5">
    <div class="container">
      

        <!-- Products Grid -->
        <div class="row g-4">
            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-lg-4 col-md-6 col-12">
                    <div class="product-card">
                        <a href="<?php echo e($product->link); ?>" class="product-link">
                            <div class="product-image-wrapper">
                                <div class="product-image" style="background-image: url(<?php echo e($product->image_path); ?>);">
                                    <div class="product-overlay"></div>
                                    <div class="product-content">
                                        <h3 class="product-title"><?php echo e($product->name); ?></h3>
                                        <?php if($product->short_desc): ?>
                                            <p class="product-description"><?php echo $product->short_desc; ?></p>
                                        <?php endif; ?>
                                        <div class="product-action">
                                            <span class="product-link-text"><?php echo e(__('website.more')); ?></span>
                                            <i class="fa-solid fa-arrow-right ms-2"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>

        <!-- View More Button -->
        <?php if($products->count() > 0): ?>
            <div class="text-center mt-5">
                <a href="<?php echo e(Path::AppUrl('/products')); ?>" class="btn-send">
                    <span class="btn-content">
                        <span class="btn-text" data-text="<?php echo e(__('website.view_all_products')); ?>"><?php echo e(__('website.view_all_products')); ?></span>
                        <span class="btn-icon"><i class="fa-solid fa-arrow-right"></i></span>
                    </span>
                </a>
            </div>
        <?php endif; ?>
    </div>
</section>
<!--==========================Products==========================-->

    <!--==========================Products==========================-->




 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc540569e38c94d5e5a963d4f284d86bc)): ?>
<?php $attributes = $__attributesOriginalc540569e38c94d5e5a963d4f284d86bc; ?>
<?php unset($__attributesOriginalc540569e38c94d5e5a963d4f284d86bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc540569e38c94d5e5a963d4f284d86bc)): ?>
<?php $component = $__componentOriginalc540569e38c94d5e5a963d4f284d86bc; ?>
<?php unset($__componentOriginalc540569e38c94d5e5a963d4f284d86bc); ?>
<?php endif; ?><?php /**PATH /home/egypetoo/public_html/resources/views/Website/products.blade.php ENDPATH**/ ?>