<?php $__env->startSection('header_title', $subCategory->name); ?>
<?php $__env->startSection('title', $subCategory->title ?? $subCategory->name); ?>
<?php if($subCategory->description): ?>
    <?php $__env->startSection('description', $subCategory->description); ?>
<?php endif; ?>
<?php $__env->startSection('breadcrumbs', Breadcrumbs::render('categories.sub-category', $category, $subCategory)); ?>
<?php $__env->startSection('breadcrumbs_schema', Breadcrumbs::view('breadcrumbs::json-ld', 'categories.sub-category', $category,
    $subCategory)); ?>
<?php $__env->startSection('header_v4', true); ?>
<?php $__env->startSection('container', 'container-custom'); ?>
<?php $__env->startSection('content'); ?>
    <?php if (isset($component)) { $__componentOriginalfd18b85732e6a336f727c097d7e6751f = $component; } ?>
<?php $component = App\View\Components\Ad::resolve(['alias' => 'category_page_top'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('ad'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Ad::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses('mb-5'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfd18b85732e6a336f727c097d7e6751f)): ?>
<?php $component = $__componentOriginalfd18b85732e6a336f727c097d7e6751f; ?>
<?php unset($__componentOriginalfd18b85732e6a336f727c097d7e6751f); ?>
<?php endif; ?>
    <div class="row g-2 align-items-center mb-4">
        <div class="col">
            <h5 class="mb-0">
                <?php if(request()->query->count() > 0): ?>
                    <?php echo e(translate('Your search results for the ":name" category', [
                        'name' => strtolower($subCategory->name),
                    ])); ?>

                <?php else: ?>
                    <?php echo e(translate('All results for the ":name" category', [
                        'name' => strtolower($subCategory->name),
                    ])); ?>

                <?php endif; ?>
            </h5>
        </div>
        <div class="col-auto">
            <button class="btn btn-soft btn-padding d-block d-xl-none" type="button" data-bs-toggle="offcanvas"
                data-bs-target="#searchFilters" aria-controls="searchFilters">
                <i class="fa fa-filter"></i>
            </button>
        </div>
        <?php if($items->count() > 0): ?>
            <div class="col-auto d-none d-md-inline">
                <?php echo $__env->make('themes.basic.partials.grid-buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        <?php endif; ?>
    </div>
    <div class="row g-4">
        <div class="col-12 col-xl-3">
            <?php echo $__env->make('themes.basic.partials.search-params', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
        <div class="col-12 col-xl-9">
            <?php echo $__env->make('themes.basic.partials.search-items', [
                'items' => $items,
            ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
    <?php if (isset($component)) { $__componentOriginalfd18b85732e6a336f727c097d7e6751f = $component; } ?>
<?php $component = App\View\Components\Ad::resolve(['alias' => 'category_page_bottom'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('ad'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Ad::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses('mt-5'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfd18b85732e6a336f727c097d7e6751f)): ?>
<?php $component = $__componentOriginalfd18b85732e6a336f727c097d7e6751f; ?>
<?php unset($__componentOriginalfd18b85732e6a336f727c097d7e6751f); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('themes.basic.layouts.single', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gxramdau/public_html/resources/views/themes/basic/categories/sub-category.blade.php ENDPATH**/ ?>