<section
    class="flat-section flat-recommended"
    style="<?php echo \Illuminate\Support\Arr::toCssStyles(["background-color: $shortcode->background_color" => $shortcode->background_color]) ?>"
>
    <div class="container">
        <?php echo Theme::partial('shortcode-heading', ['shortcode' => $shortcode, 'hasButton' => false]); ?>


        <div class="position-relative flat-tab-recommended wow fadeInUpSmall" data-wow-delay=".2s" data-wow-duration="2000ms">
            <ul
                class="<?php echo \Illuminate\Support\Arr::toCssClasses(['nav-tab-recommended justify-content-center', 'd-none' => count($tabs) < 2]); ?>"
                role="tablist"
                data-bb-toggle="properties-tab"
                data-url="<?php echo e(route('public.ajax.properties')); ?>"
                data-attributes="<?php echo e(json_encode([
                    'type' => $shortcode->type,
                    'is_featured' => $shortcode->is_featured ? 1 : 0,
                    'limit' => $shortcode->limit,
                    'category_ids' => $categoryIds,
                ])); ?>"
            >
                <li class="nav-tab-item" role="presentation">
                    <a href="#all" class="nav-link-item active" data-bs-toggle="tab">
                        <?php echo e(__('View All')); ?>

                    </a>
                </li>
                <?php $__currentLoopData = $tabs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $tab): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li class="nav-tab-item" role="presentation">
                        <a href="#<?php echo e(Str::slug($tab)); ?>" data-bb-value="<?php echo e($key); ?>" class="nav-link-item" data-bs-toggle="tab">
                            <?php echo e($tab); ?>

                        </a>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
            <div class="tab-content">
                <div class="tab-pane fade active show" role="tabpanel">
                    <div data-bb-toggle="properties-tab-slot">
                        <?php if($properties->isNotEmpty()): ?>
                            <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.properties.index'), ['properties' => $properties, 'itemsPerRow' => 3], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        <?php endif; ?>
                    </div>

                    <?php if($shortcode->button_url && $shortcode->button_label): ?>
                        <div class="text-center">
                            <a href="<?php echo e($shortcode->button_url); ?>" class="tf-btn primary size-1">
                                <?php echo BaseHelper::clean($shortcode->button_label); ?>

                            </a>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</section>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/properties/styles/style-2.blade.php ENDPATH**/ ?>