<?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); ?> 產品類別</span>
            </h2>
            <a href="<?php echo e(route('brand_category.show', ['brand_category' => $brand_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 text-center">
                返回
            </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; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <?php if (isset($component)) { $__componentOriginal4d529ae95ee9811ebeeb54c0bca23269 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4d529ae95ee9811ebeeb54c0bca23269 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.product-categories','data' => ['productCategories' => $product->product_categories,'logo' => $product->product_categories_logo,'href' => route('product_categories.show', ['brand_category' => $brand_category, 'series_category' => $series_category, 'product_categories' => $product->product_categories])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('product-categories'); ?>
<?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(['product_categories' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product->product_categories),'logo' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product->product_categories_logo),'href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('product_categories.show', ['brand_category' => $brand_category, 'series_category' => $series_category, 'product_categories' => $product->product_categories]))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4d529ae95ee9811ebeeb54c0bca23269)): ?>
<?php $attributes = $__attributesOriginal4d529ae95ee9811ebeeb54c0bca23269; ?>
<?php unset($__attributesOriginal4d529ae95ee9811ebeeb54c0bca23269); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4d529ae95ee9811ebeeb54c0bca23269)): ?>
<?php $component = $__componentOriginal4d529ae95ee9811ebeeb54c0bca23269; ?>
<?php unset($__componentOriginal4d529ae95ee9811ebeeb54c0bca23269); ?>
<?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 /Users/fve_macbookpro/Desktop/inquiry20250326/resources/views/series_category/show.blade.php ENDPATH**/ ?>