<?php
    $itemsPerRow ??= 3;
?>

<?php if($properties->isNotEmpty()): ?>
    <div class="row row-cols-1 row-cols-sm-2 <?php if($itemsPerRow > 2): ?> row-cols-md-<?php echo e($itemsPerRow - 1); ?> <?php endif; ?> row-cols-xl-<?php echo e($itemsPerRow); ?>">
        <?php $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col">
                <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.properties.item-grid'), array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
<?php endif; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/views/real-estate/properties/grid.blade.php ENDPATH**/ ?>