<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-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(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <div class="flex gap-4 items-center">
            <h2 class="font-semibold text-xl text-gray-800 leading-tight">
                <?php echo e(__('儀表板')); ?><span class="px-2"><?php echo e($brand_category); ?>/<?php echo e($series_category); ?>/<?php echo e($product_categories); ?> 系統類別</span>
            </h2>
            <a href="<?php echo e(route('series_category.show', ['brand_category' => $brand_category, 'series_category' => $series_category])); ?>" class="px-6 py-2 bg-gray-800 text-white rounded-md hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500">
                返回
            </a>
        </div>
       
     <?php $__env->endSlot(); ?>

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 gap-6 md:grid-cols-2 mt-[100px] md:px-2 px-2 snap-x snap-mandatory">
                <!--系統類別-->
                <?php $__empty_1 = true; $__currentLoopData = $products->unique('system_category'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <?php if (isset($component)) { $__componentOriginal70c14de7005a8d9d3ccd8c78a6d3386e = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal70c14de7005a8d9d3ccd8c78a6d3386e = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.system-category','data' => ['systemCategory' => $product->system_category,'image' => $product->image,'href' => route('system_category.show', ['brand_category' => $brand_category, 'series_category' => $series_category, 'product_categories' => $product->product_categories, 'system_category' => $product->system_category])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('system-category'); ?>
<?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(['system_category' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product->system_category),'image' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product->image),'href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('system_category.show', ['brand_category' => $brand_category, 'series_category' => $series_category, 'product_categories' => $product->product_categories, 'system_category' => $product->system_category]))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal70c14de7005a8d9d3ccd8c78a6d3386e)): ?>
<?php $attributes = $__attributesOriginal70c14de7005a8d9d3ccd8c78a6d3386e; ?>
<?php unset($__attributesOriginal70c14de7005a8d9d3ccd8c78a6d3386e); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal70c14de7005a8d9d3ccd8c78a6d3386e)): ?>
<?php $component = $__componentOriginal70c14de7005a8d9d3ccd8c78a6d3386e; ?>
<?php unset($__componentOriginal70c14de7005a8d9d3ccd8c78a6d3386e); ?>
<?php endif; ?>
                    
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                 <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
                    <div class="max-w-sm mx-auto bg-white rounded-lg shadow-lg overflow-hidden flex items-center justify-center p-4 hover:shadow-xl transition-shadow duration-300">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-900 m-16">無搜尋到任何廠商</h3>
                        </div>
                    </div>
                </div>  
                <?php endif; ?>
            </div> 
             
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?><?php /**PATH /home/ilandtower/public_html/inquiry20250326/resources/views/product_categories/show.blade.php ENDPATH**/ ?>