<section class="flat-section flat-pricing">
    <div class="container">
        <?php echo Theme::partial('shortcode-heading', compact('shortcode')); ?>


        <div class="row">
            <?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $package): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="box col-lg-<?php echo e(max(round(12 / $packages->count()), 3)); ?> col-md-6 g-4">
                    <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['box-pricing', 'active' => $package->is_default]); ?>">
                        <div class="price d-flex align-items-end">
                            <span class="h4"><?php echo e($package->price == 0 ? __('Free') : format_price($package->price)); ?></span>
                            <span class="body-2 text-variant-1">
                                /
                                <?php if($package->number_of_listings === 1): ?>
                                    <?php echo e(__('1 post')); ?>

                                <?php else: ?>
                                    <?php echo e(__(':number posts', ['number' => number_format($package->number_of_listings)])); ?>

                                <?php endif; ?>
                            </span>
                        </div>
                        <div class="box-title-price">
                            <h6 class="title"><?php echo BaseHelper::clean($package->name); ?></h6>
                            <?php if($package->description): ?>
                                <p class="desc"><?php echo e($package->description); ?></p>
                            <?php endif; ?>
                        </div>
                        <?php if($package->formatted_features): ?>
                            <ul class="list-price">
                                <?php $__currentLoopData = $package->formatted_features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="item">
                                        <span class="check-icon icon-tick"></span>
                                        <?php echo BaseHelper::clean($feature); ?>

                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        <?php endif; ?>
                        <a
                            href="<?php echo e(route('public.account.packages')); ?>"
                            class="tf-btn"
                        >
                            <?php echo e(__('Choose The Package')); ?>

                        </a>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/pricing-plan/index.blade.php ENDPATH**/ ?>