<a class="bg-white rounded-lg border border-gray-200 p-6 relative shadow-sm w-full" href="<?php echo e(route('products.show', $product->id)); ?>">

    <div class="flex flex-wrap items-start gap-4 w-full">
        <div class="flex items-start justify-between w-full">
            
            <div class="flex">
                <img src="<?php echo e($product->image_url ?? asset('images/placeholder.png')); ?>"
                alt="<?php echo e($product->name); ?>"
                class="w-16 h-16 rounded-lg object-contain bg-white border border-gray-200 p-2">
            </div>
            
            <div class="flex items-center gap-1.5 px-2.5 py-1 border border-gray-200 rounded">
                <img src="<?php echo e(asset('vendor/blade-untitledui-icons/server-04.svg')); ?>" alt="Environments" class="w-3.5 h-3.5">
                <span class="text-sm font-medium text-gray-700"><?php echo e($this->environmentsCount); ?></span>
            </div>
        </div>
        
        <div class="flex-1 min-w-0">
            
            <div class="flex items-baseline gap-3 mb-3">
                <h3 class="text-2xl font-bold text-gray-900"><?php echo e($product->name); ?></h3>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($this->latestVersion): ?>
                    <span class="text-lg font-normal text-gray-500"><?php echo e($this->latestVersion); ?></span>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

            
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($product->summary): ?>
                <div class="text-gray-700 text-sm leading-relaxed">
                    <?php echo preg_replace('/\*\*(.+?)\*\*/', '<strong>$1</strong>', e($product->summary)); ?>

                </div>
            <?php elseif($product->description): ?>
                <p class="text-gray-700 text-sm leading-relaxed">
                    <?php echo e(Str::limit(strip_tags($product->description), 150)); ?>

                </p>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
    </div>
</a><?php /**PATH /var/www/html/resources/views/livewire/products/components/product-card.blade.php ENDPATH**/ ?>