<?php if (isset($component)) { $__componentOriginald956570c5321d7185b887a45463f814f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald956570c5321d7185b887a45463f814f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.site-layout','data' => ['title' => 'Packages — MITH Studios']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('site-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Packages — MITH Studios']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

    <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-12">
        <h1 class="text-4xl uppercase tracking-wide text-stone-50">Packages</h1>
        <p class="mt-3 max-w-2xl text-stone-400">
            Buy once, then book sessions against it with nothing to pay at checkout.
            Hours are valid in Studios A, B and C.
        </p>

        <div class="mt-10 space-y-4">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $package): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
                <div id="<?php echo e($package->slug); ?>"
                     class="scroll-mt-20 rounded-lg border p-6
                        <?php echo e($package->slug === 'pro-artist' ? 'border-amber-500' : 'border-ink-700'); ?> bg-ink-900">
                    <div class="flex flex-wrap items-start justify-between gap-4">
                        <div>
                            <h2 class="text-2xl uppercase tracking-wide text-stone-100"><?php echo e($package->name); ?></h2>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->summary): ?>
                                <p class="mt-2 max-w-xl text-sm text-stone-400"><?php echo e($package->summary); ?></p>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </div>
                        <div class="text-right">
                            <div class="font-mono text-3xl text-amber-400">
                                £<?php echo e(number_format((float) $package->price, 0)); ?>

                            </div>
                            <div class="mt-1 font-mono text-xs uppercase tracking-widest text-stone-500">
                                Valid <?php echo e($package->validity_days); ?> days
                            </div>
                        </div>
                    </div>

                    <dl class="mt-6 grid gap-4 sm:grid-cols-3 text-sm">
                        <div>
                            <dt class="font-mono text-xs uppercase tracking-widest text-stone-500">Studio time</dt>
                            <dd class="mt-1 text-stone-200"><?php echo e($package->studio_hours); ?> hours</dd>
                        </div>
                        <div>
                            <dt class="font-mono text-xs uppercase tracking-widest text-stone-500">With an engineer</dt>
                            <dd class="mt-1 text-stone-200">
                                <?php echo e($package->engineer_hours); ?> hours
                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->engineer_hours < $package->studio_hours): ?>
                                    
                                    <span class="block text-xs text-amber-400/80 mt-1">
                                        The other <?php echo e($package->studio_hours - $package->engineer_hours); ?> are self-serve
                                    </span>
                                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            </dd>
                        </div>
                        <div>
                            <dt class="font-mono text-xs uppercase tracking-widest text-stone-500">Mix &amp; master</dt>
                            <dd class="mt-1 text-stone-200">
                                <?php echo e($package->mixmaster_credits); ?> <?php echo e(Str::plural('track', $package->mixmaster_credits)); ?>

                            </dd>
                        </div>
                    </dl>

                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->skips_lead_time || $package->staff_per_session > 1 || $package->hasAgeLimit()): ?>
                        <div class="mt-5 flex flex-wrap gap-2">
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->skips_lead_time): ?>
                                <span class="rounded-full border border-amber-500/40 px-3 py-1 text-xs text-amber-300">
                                    Priority booking — no 24 hour wait
                                </span>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->staff_per_session > 1): ?>
                                <span class="rounded-full border border-ink-600 px-3 py-1 text-xs text-stone-300">
                                    <?php echo e($package->staff_per_session); ?> people on every session
                                </span>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->hasAgeLimit()): ?>
                                <span class="rounded-full border border-ink-600 px-3 py-1 text-xs text-stone-300">
                                    Ages <?php echo e($package->min_age); ?>–<?php echo e($package->max_age); ?> only
                                </span>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </div>
                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                    <form method="POST" action="<?php echo e(route('package.buy', $package->slug)); ?>"
                          class="mt-6 flex flex-wrap items-center gap-3">
                        <?php echo csrf_field(); ?>

                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($package->allows_group): ?>
                            <label class="flex items-center gap-2 text-sm text-stone-300">
                                <input type="checkbox" name="as_group" value="1"
                                       class="rounded border-ink-600 bg-ink-800 text-amber-500 focus:ring-amber-500">
                                Share it — up to <?php echo e($package->max_participants); ?> people
                                <span class="font-mono text-amber-400">
                                    +£<?php echo e(number_format((float) $package->group_surcharge, 0)); ?>

                                </span>
                            </label>
                            <input type="hidden" name="participants" value="<?php echo e($package->max_participants); ?>">
                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                        <button type="submit"
                            class="rounded-lg bg-amber-500 px-5 py-2.5 text-sm font-semibold uppercase tracking-wide
                                   text-ink-950 hover:bg-amber-400">
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->guard()->check()): ?> Buy this package <?php else: ?> Sign in to buy <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </button>
                    </form>
                </div>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
        </div>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($experiences->isNotEmpty()): ?>
            <h2 class="mt-16 font-mono text-xs uppercase tracking-[0.2em] text-amber-500">Experiences</h2>
            <div class="mt-6 grid gap-4 sm:grid-cols-2">
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $experiences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $experience): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
                    <div class="rounded-lg border border-ink-700 bg-ink-900 p-6">
                        <h3 class="font-bold uppercase text-stone-100"><?php echo e($experience->name); ?></h3>
                        <p class="mt-2 text-sm text-stone-400"><?php echo e($experience->summary); ?></p>
                        <div class="mt-4 font-mono text-xl text-amber-400">
                            £<?php echo e(number_format((float) $experience->base_price, 0)); ?>

                        </div>
                        <p class="mt-2 text-xs text-stone-500">
                            <?php echo e($experience->duration_hours); ?> hours in <?php echo e($experience->room->name); ?>.
                            <?php echo e($experience->included_guests); ?> guests included, then
                            £<?php echo e(number_format((float) $experience->extra_guest_price, 0)); ?> each up to
                            <?php echo e($experience->max_guests); ?>.
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($experience->min_age): ?>
                                Ages <?php echo e($experience->min_age); ?> and up.
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </p>
                        <a href="<?php echo e(route('book')); ?>"
                           class="mt-5 inline-block rounded-lg border border-ink-600 px-4 py-2 text-xs font-semibold
                                  uppercase tracking-wide text-stone-200 hover:border-amber-500">
                            Check dates
                        </a>
                    </div>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
            </div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald956570c5321d7185b887a45463f814f)): ?>
<?php $attributes = $__attributesOriginald956570c5321d7185b887a45463f814f; ?>
<?php unset($__attributesOriginald956570c5321d7185b887a45463f814f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald956570c5321d7185b887a45463f814f)): ?>
<?php $component = $__componentOriginald956570c5321d7185b887a45463f814f; ?>
<?php unset($__componentOriginald956570c5321d7185b887a45463f814f); ?>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\projects\bilal\mith\mithstudios\resources\views/packages/index.blade.php ENDPATH**/ ?>