<?php $__env->startSection('content'); ?>
<?php $lang = app()->getLocale(); ?>


<section class="relative overflow-hidden" style="background: linear-gradient(130deg, #05202C 0%, #0B5E6B 55%, #0D7B8A 100%); padding: 5rem 0 6rem;">
  <div class="absolute inset-0 pointer-events-none opacity-5" style="background-image: radial-gradient(circle, white 1px, transparent 1px); background-size: 40px 40px;"></div>
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative">
    <div class="inline-flex items-center gap-2 rounded-full px-4 py-1.5 mb-5 border" style="background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.15);">
      <span class="w-2 h-2 rounded-full" style="background:#22C55E;"></span>
      <span class="text-xs font-semibold tracking-widest uppercase text-white/80">Informational Catalog — No Prices</span>
    </div>
    <h1 class="text-4xl sm:text-5xl font-black text-white mb-4" style="letter-spacing:-0.04em;">Our <span style="color:var(--accent);">Products</span></h1>
    <p class="text-lg max-w-2xl" style="color:rgba(255,255,255,0.65);">Browse our product catalog across 4 categories. Enquire for pricing, availability, and wholesale rates.</p>
  </div>
  <div class="absolute bottom-0 left-0 right-0 overflow-hidden">
    <svg viewBox="0 0 1440 50" preserveAspectRatio="none" class="w-full h-[36px]" fill="white"><path d="M0,50 C360,0 1080,0 1440,50 L1440,50 L0,50 Z"/></svg>
  </div>
</section>


<div style="background:rgba(244,169,34,0.12);border-bottom:1px solid rgba(244,169,34,0.25);">
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 flex items-center gap-3">
    <svg class="w-4 h-4 flex-shrink-0" style="color:var(--accent)" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>
    <p class="text-sm font-medium" style="color:var(--dark);">This is an informational catalog only — no prices are shown. <a href="<?php echo e(lang_url('/contact')); ?>" class="underline" style="color:var(--primary);">Contact us</a> to enquire about availability and pricing.</p>
  </div>
</div>


<section class="py-16" style="background:white;">
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
    <div class="grid sm:grid-cols-2 lg:grid-cols-4 gap-6">
      <?php
        $catIcons = ['branded-medicines'=>['💊','Branded Medicines','#EBF7F9','var(--primary)'],'generic-medicines'=>['💉','Generic Medicines','#EBF7F9','var(--primary)'],'surgical-medical-supplies'=>['🩺','Surgical & Medical','#FEF3CD','#D4890A'],'otc-wellness'=>['❤️‍🩹','OTC & Wellness','#DCFCE7','#16A34A']];
      ?>
      <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <?php $meta = $catIcons[$cat->slug] ?? ['💊',$cat->getTranslation('name',$lang),'#EBF7F9','var(--primary)']; ?>
      <a href="<?php echo e(lang_url('/products/'.$cat->slug)); ?>" class="card group p-8 text-center reveal">
        <div class="w-20 h-20 rounded-3xl flex items-center justify-center text-4xl mx-auto mb-5 transition-transform group-hover:scale-110" style="background:<?php echo e($meta[2]); ?>;"><?php echo e($meta[0]); ?></div>
        <h2 class="font-black text-lg mb-2 transition-colors group-hover:text-primary" style="color:var(--dark);"><?php echo e($cat->getTranslation('name',$lang) ?: $cat->name); ?></h2>
        <p class="text-sm leading-relaxed mb-4" style="color:var(--text-muted);"><?php echo e(\Illuminate\Support\Str::limit($cat->getTranslation('description',$lang) ?: $cat->description, 90)); ?></p>
        <span class="inline-flex items-center gap-1.5 text-sm font-semibold transition-transform group-hover:translate-x-1" style="color:<?php echo e($meta[3]); ?>;">
          <?php echo e(__('site.btn_explore')); ?>

          <svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M17 8l4 4m0 0l-4 4m4-4H3"/></svg>
        </span>
      </a>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>
  </div>
</section>


<section class="py-14" style="background:var(--bg);border-top:1px solid var(--border);">
  <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
    <h2 class="text-2xl font-black mb-3" style="color:var(--dark);letter-spacing:-0.03em;">Looking for Something Specific?</h2>
    <p class="mb-6" style="color:var(--text-muted);">Tell us exactly what you need — we'll check stock and give you pricing.</p>
    <div class="flex flex-wrap gap-3 justify-center">
      <a href="<?php echo e(lang_url('/contact')); ?>" class="btn-primary"><?php echo e(__('site.products_enquire')); ?></a>
      <a href="<?php echo e(whatsapp_url()); ?>" target="_blank" class="btn-outline"><?php echo e(__('site.btn_whatsapp')); ?></a>
    </div>
  </div>
</section>

<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script>
const obs = new IntersectionObserver((entries) => { entries.forEach(e => { if(e.isIntersecting){e.target.classList.add('visible');obs.unobserve(e.target);} }); }, {threshold:0.10});
document.querySelectorAll('.reveal').forEach(el => obs.observe(el));
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/stpnp/chandrasons.com/resources/views/pages/products/index.blade.php ENDPATH**/ ?>