<section class="flat-property-v3">
    <div class="container-full">
        <div class="wrap-property-v2">
            <?php if($shortcode->background_image): ?>
                <div class="box-inner-left img-animation wow">
                    <?php echo e(RvMedia::image($shortcode->background_image, $shortcode->title)); ?>

                </div>
            <?php endif; ?>
            <div class="box-inner-right">
                <div class="swiper tf-sw-property">
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <div class="content-property">
                                    <?php echo Theme::partial('shortcode-heading', ['shortcode' => $shortcode, 'centered' => false]); ?>

                                    <ul class="box-tag">
                                        <?php if($property->is_featured): ?>
                                            <span class="flag-tag success"><?php echo e(__('Featured')); ?></span>
                                        <?php endif; ?>
                                        <?php echo BaseHelper::clean($property->status->toHtml()); ?>

                                    </ul>
                                    <div class="box-name">
                                        <h3 class="title">
                                            <a href="<?php echo e($property->url); ?>" class="link"><?php echo BaseHelper::clean($property->name); ?></a>
                                        </h3>
                                        <?php if($property->address): ?>
                                            <p class="location">
                                                <span class="icon icon-mapPin"></span>
                                                <?php echo e($property->address); ?>

                                            </p>
                                        <?php endif; ?>
                                    </div>
                                    <ul class="list-info">
                                        <?php if($property->number_bedroom): ?>
                                            <li class="item">
                                                <i class="icon icon-bed"></i>
                                                <span><?php echo e(fmod($property->number_bedroom, 1) == 0 ? number_format($property->number_bedroom) : $property->number_bedroom); ?></span>
                                            </li>
                                        <?php endif; ?>
                                        <?php if($property->number_bathroom): ?>
                                            <li class="item">
                                                <i class="icon icon-bathtub"></i>
                                                <span><?php echo e(fmod($property->number_bathroom, 1) == 0 ? number_format($property->number_bathroom) : $property->number_bathroom); ?></span>
                                            </li>
                                        <?php endif; ?>
                                        <?php if($property->square): ?>
                                            <li class="item">
                                                <i class="icon icon-ruler"></i>
                                                <span><?php echo e($property->square_text); ?></span>
                                            </li>
                                        <?php endif; ?>
                                    </ul>
                                    <?php if($author = $property->author): ?>
                                        <div class="box-avatar d-flex gap-12 align-items-center">
                                            <div class="avatar avt-60 round">
                                                <?php echo e(RvMedia::image($author->avatar_url, $author->name, 'thumb')); ?>

                                            </div>
                                            <div class="info">
                                                <p class="body-2 text-variant-1"><?php echo e(__('Agent')); ?></p>
                                                <div class="mt-4 h7 fw-7"><?php echo e($author->name); ?> <?php echo $author->badge; ?></div>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                    <div class="pricing-property">
                                        <?php if(!setting('real_estate_hide_price', false)): ?>
                                            <div class="d-flex align-items-center">
                                                <span class="h5"><?php echo e($property->price_format); ?></span>
                                                <span class="body-2 text-variant-1">/<?php echo e(setting('real_estate_square_unit', 'm²')); ?></span>
                                            </div>
                                        <?php endif; ?>
                                        <?php if(RealEstateHelper::isEnabledWishlist()): ?>
                                            <div class="d-flex gap-12">
                                                <button type="button" class="box-icon w-52"
                                                        data-type="property"
                                                        data-bb-toggle="add-to-wishlist"
                                                        data-id="<?php echo e($property->getKey()); ?>"
                                                        data-add-message="<?php echo e(__('Added ":name" to wishlist successfully!', ['name' => $property->name])); ?>"
                                                        data-remove-message="<?php echo e(__('Removed ":name" from wishlist successfully!', ['name' => $property->name])); ?>"
                                                        aria-label="<?php echo e(__('Add to wishlist')); ?>"
                                                >
                                                    <?php if (isset($component)) { $__componentOriginal73995948b3bd877b76251b40caf28170 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73995948b3bd877b76251b40caf28170 = $attributes; } ?>
<?php $component = Botble\Icon\View\Components\Icon::resolve(['name' => 'ti ti-heart'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core::icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Botble\Icon\View\Components\Icon::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $attributes = $__attributesOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__attributesOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $component = $__componentOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__componentOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
                                                </button>
                                            </div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
                <div class="sw-pagination sw-pagination-property"></div>
            </div>
        </div>
    </div>
</section>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/properties/styles/style-6.blade.php ENDPATH**/ ?>