<?php $__env->startSection('pagename'); ?>
 - <?php echo e(__('Product')); ?> - <?php echo e(convertUtf8($product->title)); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/front/css/slick.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('meta-keywords', "$product->meta_keywords"); ?>
<?php $__env->startSection('meta-description', "$product->meta_description"); ?>

<?php
    $reviews = App\ProductReview::where('product_id', $product->id)->get();
    $avarage_rating = App\ProductReview::where('product_id',$product->id)->avg('review');
    $avarage_rating =  round($avarage_rating,2);

?>

<?php $__env->startSection('breadcrumb-title', $be->product_details_title); ?>
<?php $__env->startSection('breadcrumb-subtitle'); ?>
<div class="container">
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                 <?php
            // Retrieve category_id from the product's category
            $category_id = $product->category_id;
            $product_title = convertUtf8($product->title);
        if ($category_id === '34') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Power Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=34&type=new&tag=">2 Channel Power Amplifier</a></li>
    ';
} elseif ($category_id === '35') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Power Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=35&type=new&tag=">4 Channel Power Amplifier</a></li>
    ';
} elseif ($category_id === '33') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Power Amplifiers">Power Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=33&type=new&tag=">Single Channel Power Amplifier</a></li>
    ';
} elseif ($category_id === '31') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Mixer Amplifiers">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Mixer Amplifiers">Mixer Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=31&type=new&tag=">Compact Mixer Amplifier</a></li>
    ';
} elseif ($category_id === '32') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Mixer Amplifiers">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=&type=new&tag=Mixer Amplifiers">Mixer Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=32&type=new&tag=">FlexPRO Mixer Power Amplifier</a></li>
    ';
} elseif ($category_id === '36') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=36&type=new&tag=">Amplifiers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=36&type=new&tag=">Modular Amplifiers</a></li>
    ';
}  elseif ($category_id === '37') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=37&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=37&type=new&tag=">2 Extension Modular System</a></li>
    ';
} elseif ($category_id === '38') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=38&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=38&type=new&tag=">4 Extension Modular System</a></li>
    ';
} elseif ($category_id === '39') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=39&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=39&type=new&tag=">Music Sources</a></li>
    ';
} elseif ($category_id === '40') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=40&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=40&type=new&tag=">Attenuation</a></li>
    ';
} elseif ($category_id === '41') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=41&type=new&tag">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=41&type=new&tag=">Accessories</a></li>
    ';
} elseif ($category_id === '42') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=42&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=42&type=new&tag=">Audio Modules</a></li>
    ';
} elseif ($category_id === '43') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=43&type=new&tag=">System Control & Supervision</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=43&type=new&tag=">Audio Matrices</a></li>
       
    ';
} elseif ($category_id === '44') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=44&type=new&tag=">System Control & Supervision</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=44&type=new&tag=">System Supervision</a></li>
    ';
} elseif ($category_id === '45') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=45&type=new&tag=">System Control & Supervision</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=45&type=new&tag=">DSP Processors</a></li>
    ';
} elseif ($category_id === '46') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=46&type=new&tag=">System Control & Supervision</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=46&type=new&tag=">Pre-Amplifiers</a></li>
    ';
} elseif ($category_id === '47') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=47&type=new&tag=">System Control & Supervision</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=47&type=new&tag=">Modular Matrix</a></li>
    ';
} elseif ($category_id === '48') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=48&type=new&tag=">Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=48&type=new&tag=">Ceiling Loudspeakers & Others</a></li>
    ';
} elseif ($category_id === '49') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=49&type=new&tag=">Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=49&type=new&tag=">Wall Mounted & Column Loudspeakers</a></li>
    ';
} elseif ($category_id === '50') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=50&type=new&tag=">Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=50&type=new&tag=">Music Horn & Spherical Speakers</a></li>
    ';
} elseif ($category_id === '51') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=51&type=new&tag=">Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=51&type=new&tag=">Cabinet & Sound Projector</a></li>
    ';
} elseif ($category_id === '70') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
       <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=70&type=new&tag=">Microphones</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=70&type=new&tag=">Standard Paging Microphone</a></li>
    ';
} elseif ($category_id === '71') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=71&type=new&tag=">Microphones</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=71&type=new&tag=">Multi-Zone Paging Microphone</a></li>
    ';
} elseif ($category_id === '72') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=72&type=new&tag=">Microphones</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=72&type=new&tag=">Wireless Microphone</a></li>
    ';
} elseif ($category_id === '73') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Public Address</a></li>
       <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=73&type=new&tag=">Microphones</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=73&type=new&tag=">Wired Microphone</a></li>
    ';
}elseif ($category_id === '74') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="#">Slim & Compact</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=74&type=new&tag=">Slim Line Array Loudspeaker</a></li>
    ';
} elseif ($category_id === '75') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="#">Slim & Compact</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=75&type=new&tag=">Compact Line Array Loudspeaker</a></li>
    ';
} elseif ($category_id === '81') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=81&type=new&tag=">Slim & Compact</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=81&type=new&tag=">Stage Monitors</a></li>
    ';
} elseif ($category_id === '77') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=77&type=new&tag=">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=77&type=new&tag=">Passive Line Array Loudspeakers</a></li>
    ';
} elseif ($category_id === '79') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=79&type=new&tag=">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=79&type=new&tag=">Active Line Array Loudspeakers</a></li>
    ';
} elseif ($category_id === '76') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=76&type=new&tag=">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=76&type=new&tag=">Subwoofers</a></li>
    ';
}elseif ($category_id === '80') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=80&type=new&tag=">System products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=80&type=new&tag=">Amplifiers & Management</a></li>
    ';
} elseif ($category_id === '82') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Professional audio</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=82&type=new&tag=">System products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=82&type=new&tag=">Accessories & Others</a></li>
    ';
} elseif ($category_id === '99') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Evacuation</a></li>
        <li class="breadcrumb-item"><a href="#">EN Voice Alarm</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=99&type=new&tag=">Digital Message Unit</a></li>
    ';
} elseif ($category_id === '100') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Evacuation</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=100&type=new&tag=">EN Voice Alarm</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=100&type=new&tag=">Audio Lines/ Amplifiers Monitoring Unit</a></li>
    ';
} elseif ($category_id === '101') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Evacuation</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=101&type=new&tag=">EN Voice Alarm</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=101&type=new&tag=">Evacuation Switching Unit</a></li>
    ';
} elseif ($category_id === '87') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=87&type=new&tag=">Evacuation/EN-54 Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=87&type=new&tag=">EN-54 Ceiling Loudspeakers</a></li>
    ';
} elseif ($category_id === '88') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Evacuation</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=88&type=new&tag=">EN-54 Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=88&type=new&tag=">EN-54 Wall Mounted Loudspeakers</a></li>
    ';
} elseif ($category_id === '89') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Evacuation</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=89&type=new&tag">EN-54 Loudspeakers</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=89&type=new&tag=">EN-54 Outdoor Loudspeakers</a></li>
    ';
} elseif ($category_id === '90') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=90&type=new&tag="> sWired audio Conference</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=90&type=new&tag=">Discussion System</a></li>
    ';
} elseif ($category_id === '91') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=91&type=new&tag=">Wired audio Conference</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=91&type=new&tag=">Discussion with auto tracking</a></li>
    ';
}elseif ($category_id === '92') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=92&type=new&tag=">Wireless audio Conference</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=92&type=new&tag=">Digital Discussion System</a></li>
    ';
} elseif ($category_id === '93') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=93&type=new&tag=">Wireless audio Conference</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=93&type=new&tag=">Digital Discussion with auto tracking</a></li>
    ';
} elseif ($category_id === '94') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=94&type=new&tag=">Wireless audio Conference</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=94&type=new&tag=">Array Microphone & Speakers</a></li>
    ';
} elseif ($category_id === '95') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=95&type=new&tag=">AV Conferencing</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=95&type=new&tag=">All in One Video Bar</a></li>
    ';
} elseif ($category_id === '96') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=96&type=new&tag=">AV Conferencing</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=96&type=new&tag=">Controllers & Processors</a></li>
    ';
} elseif ($category_id === '97') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">AV Conference System</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=97&type=new&tag=">AV Conferencing</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=97&type=new&tag=">AV Accessories</a></li>
    ';
} elseif ($category_id === '57') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=57&type=new&tag=">Network Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=57&type=new&tag=">Network Bullet Cameras</a></li>
    ';
} elseif ($category_id === '58') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=58&type=new&tag=">Network Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=58&type=new&tag=">Network Dome Cameras</a></li>
    ';
} elseif ($category_id === '59') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=59&type=new&tag=">Network Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=59&type=new&tag=">Network Movable Cameras</a></li>
    ';
} elseif ($category_id === '54') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=54&type=new&tag=">HD Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=54&type=new&tag=">HD Bullet Cameras</a></li>
    ';
} elseif ($category_id === '55') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=55&type=new&tag=">HD Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=55&type=new&tag=">HD Dome Cameras</a></li>
    ';
} elseif ($category_id === '56') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=56&type=new&tag=">HD Cameras</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=56&type=new&tag=">HD Movable Cameras</a></li>
    ';
} elseif ($category_id === '62') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=62&type=new&tag=">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=62&type=new&tag=">SDI Camera</a></li>
    ';
} elseif ($category_id === '61') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=61&type=new&tag">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=61&type=new&tag=">Panoramic Series</a></li>
    ';
} elseif ($category_id === '63') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=63&type=new&tag=">Pro-Series</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=63&type=new&tag=">Special Series</a></li>
    ';
}elseif ($category_id === '60') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=60&type=new&tag=">Storage & Recorders</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=60&type=new&tag=">Network Video Recorder</a></li>

    ';
} elseif ($category_id === '64') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=64&type=new&tag=">Storage & Recorders</a></li>
         <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=64&type=new&tag=">Special Video Recorder</a></li>
       
    ';
} elseif ($category_id === '83') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=83&type=new&tag=">Storage & Recorders</a></li>
       <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=83&type=new&tag=">Digital Video Recorder</a></li>
            
    ';
} elseif ($category_id === '84') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=84&type=new&tag=">System Products</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=84&type=new&tag=">Management Workstation Servers</a></li>
           
    ';
} elseif ($category_id === '85') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=85&type=new&tag=">System Products</a></li>
          <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=85&type=new&tag=">Miscellaneous & Accessories</a></li>
          
    ';
} elseif ($category_id === '86') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=86&type=new&tag=">System Products</a></li>
       <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=86&type=new&tag=">VMS & Analytics</a></li>
       
    ';
} elseif ($category_id === '53') {
    echo '
        
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/">Video Surveillance</a></li>
        <li class="breadcrumb-item"><a href="https://drbasselwagdi.site/products?search=&category_id=53&type=new&tag=">Emergency Call Point</a></li>
    ';
}else {
    // Do nothing if the category_id is not 53
}

  if ($product_title) {
                echo '<li class="breadcrumb-item active" aria-current="page">' . $product_title . '</li>';
            }
 ?>
            </ol>
        </nav>
    </div>  

   
<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>


<!--====== PRODUCT DETAILS PART START ======-->

<div class="product-details-area">
<style>
.breadcrumb {
    background: transparent !important; /* Remove background */
    display: flex !important;          /* Display items inline */
    list-style: none !important;      /* Remove default list styling */
    padding: 0 !important;            /* Remove padding */
    margin: 0 !important;             /* Remove margin */
   width:900px;
   font-size: 16px;
    
}

.breadcrumb-item {
    position: relative !important;     /* Position relative for pseudo-elements */
}

.breadcrumb-item:not(:last-child):after {
    content: '' !important;            /* Remove the slash separator */
    margin: 0 10px !important;        /* Space around the separator */
}

.breadcrumb-item a {
    text-decoration: none !important;  /* Remove underline from links */
    color: inherit !important;        /* Inherit text color from parent */
}

.breadcrumb-item a:hover {
    text-decoration: underline !important; /* Optional: Underline on hover */
}

   
</style> 
<script>
// Wait for the DOM to be fully loaded
document.addEventListener('DOMContentLoaded', function () {
    // Select all <li> elements
    const listItems = document.querySelectorAll('li');

    // Iterate through each <li> element
    listItems.forEach((item) => {
        // Check if the item contains the specific link
        if (item.innerHTML.includes('href="https://drbasselwagdi.site"')) {
            item.remove(); // Remove the item if it matches
        }
    });
});


</script>
    <div class="container">
        <div class="row">
            <div class="col-lg-6">
                <div class="product-item-slide ">
                    <?php $__currentLoopData = $product->product_images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="item pt-30">
                        <a class="image-popup" href="<?php echo e(asset('assets/front/img/product/sliders/'.$image->image)); ?>"><img src="<?php echo e(asset('assets/front/img/product/sliders/'.$image->image)); ?>" alt=""></a>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
               
            </div>
            <div class="col-lg-6">
                <div class="product-details-content ml-60 mt-30">
                    <div class="product-details-content-item">
                        <h4 class="title <?php echo e($bex->product_rating_system == 0 ? 'pb-0' : ''); ?>"><?php echo e(convertUtf8($product->title)); ?></h4>
                        <div class="d-flex justify-content-between">
                            <?php if($bex->product_rating_system == 1): ?>
                            <div class="rate">
                                <div class="rating" style="width:<?php echo e($product->rating * 20); ?>%"></div>
                            </div>
                            <?php endif; ?>
                           
                        </div>

                        <?php if($bex->catalog_mode == 0): ?>
                            <span><?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->current_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                            <?php if(!empty($product->previous_price)): ?>
                                <del>  <span class="prepice"> <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->previous_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?></span></del>
                            <?php endif; ?>
                            </span>
                        <?php endif; ?>

                        <?php if(!empty($product->summary)): ?>
                        <p><?php echo e(convertUtf8($product->summary)); ?></p>
                        <?php endif; ?>
                    </div>

                    <?php if($product->type != 'digital' && $bex->catalog_mode == 0): ?>
                    <div class="product-btns d-block d-sm-flex align-items-center mt-40">
                        <div class="product-quantity  d-flex" id="quantity">
                            <button type="button" id="sub" class="sub subclick">-</button>
                            <input type="text" class="cart-amount" id="1" value="1" />
                            <button type="button" id="add" class="add addclick">+</button>
                        </div>
                    </div>
                    <?php endif; ?>

                    <?php if($bex->catalog_mode == 0): ?>
                        <div class="actions">
                            <a class="main-btn cart-btn cart-link d-inline-block" data-href="<?php echo e(route('add.cart',$product->id)); ?>"><?php echo e(__('Add To Cart')); ?></a>
                            <form class="d-inline-block ml-2" method="GET" action="<?php echo e(route('front.product.checkout',$product->slug)); ?>">
                                <input type="hidden" value="" name="qty" id="order_click_with_qty">
                                <button type="submit" class="main-btn checkout-btn" ><?php echo e(__('Order Now')); ?></button>
                            </form>
                        </div>
                    <?php endif; ?>

                   
                    <script async src="https://static.addtoany.com/menu/page.js"></script>
                    <div class="product-details-tags">
                        <ul>
                            <?php if(!empty($product->sku)): ?>
                            <li><span><?php echo e(__('SKU')); ?>:</span> <?php echo e($product->sku); ?> </li>
                            <?php endif; ?>
                            <?php if(!empty($product->category)): ?>
                            <li><span><?php echo e(__('Category')); ?>:</span> <a href="<?php echo e(route('front.product').'?category_id='.$product->category_id); ?>"><?php echo e($product->category ? convertUtf8($product->category->name) : ''); ?></a> </li>
                            <?php endif; ?>

                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--====== PRODUCT DETAILS PART ENDS ======-->

<!--====== SHOP TAB PART START ======-->

<div class="shop-tab-area" <?php if($related_product->count() == 0): ?> style="padding-bottom:120px;" <?php endif; ?>>
    <div class="container">
        <div class="row">
            <div class="col-lg-11">
                <div class="shop-tab-area">
                    <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
                        <li class="nav-item">
                        <a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true"><?php echo e(__('Description')); ?></a>
                        </li>
                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                        <li class="nav-item">
                            <a class="nav-link" id="pills-contact-tab" data-toggle="pill" href="#pills-contact" role="tab" aria-controls="pills-contact" aria-selected="false"><?php echo e(__('Reviews')); ?> (<?php echo e(count($reviews)); ?>)</a>
                        </li>
                        <?php endif; ?>
                    </ul>
                    <div class="tab-content" id="pills-tabContent">
                        <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
                                <?php echo replaceBaseUrl(convertUtf8($product->description)); ?>


                        </div>
                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                        <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
                            <div class="shop-review-area">
                                <div class="shop-review-title">
                                    <h3 class="title"><?php echo e(convertUtf8($product->title)); ?></h3>
                                </div>
                                <?php if(count($reviews) > 0): ?>
                                    <?php $__currentLoopData = $reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="shop-review-user">
                                        <?php if(strpos($review->user->photo, 'facebook') !== false || strpos($review->user->photo, 'google')): ?>
                                            <img class="lazy" data-src="<?php echo e($review->user->photo ? $review->user->photo : asset('assets/front/img/user/profile.jpg')); ?>" alt="user image" width="60">
                                        <?php else: ?>
                                            <img class="lazy" data-src="<?php echo e($review->user->photo ? asset('assets/front/img/user/'.$review->user->photo) : ''); ?>" alt="user image" width="60">
                                        <?php endif; ?>
                                        <ul>
                                            <div class="rate">
                                                <div class="rating" style="width:<?php echo e($review->review * 20); ?>%"></div>
                                            </div>
                                        </ul>
                                        <span><span><?php echo e(convertUtf8($review->user->username)); ?></span> – <?php echo e($review->created_at->format('d-m-Y')); ?></span>
                                        <p><?php echo e(convertUtf8($review->comment)); ?></p>
                                    </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php else: ?>
                                    <div class="bg-light mt-4 text-center py-5">
                                        <?php echo e(__('NOT RATED YET')); ?>

                                    </div>
                                <?php endif; ?>
                                    <?php if(Auth::user()): ?>
                                        <?php if(App\OrderItem::where('user_id',Auth::user()->id)->where('product_id',$product->id)->exists()): ?>
                                    <div class="shop-review-form">
                                        <?php $__errorArgs = ['error'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <p class="text-danger my-2"><?php echo e(Session::get('error')); ?></p>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        <form class="mt-5" action="<?php echo e(route('product.review.submit')); ?>" method="POST"><?php echo csrf_field(); ?>
                                            <div class="input-box">
                                                <span><?php echo e(__('Comment')); ?></span>
                                                <textarea name="comment"  cols="30" rows="10" placeholder="<?php echo e(__('Comment')); ?>"></textarea>
                                            </div>
                                            <input type="hidden" value="" id="reviewValue" name="review">
                                            <input type="hidden" value="<?php echo e($product->id); ?>" name="product_id">
                                            <div class="input-box">
                                                <span><?php echo e(__('Rating')); ?> *</span>
                                                <div class="review-content ">
                                                <ul class="review-value review-1">
                                                    <li><a class="cursor-pointer" data-href="1"><i class="far fa-star"></i></a></li>
                                                </ul>
                                                <ul class="review-value review-2">
                                                    <li><a class="cursor-pointer" data-href="2"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="2"><i class="far fa-star"></i></a></li>
                                                </ul>
                                                <ul class="review-value review-3">
                                                    <li><a class="cursor-pointer" data-href="3"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="3"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="3"><i class="far fa-star"></i></a></li>
                                                </ul>
                                                <ul class="review-value review-4">
                                                    <li><a class="cursor-pointer" data-href="4"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="4"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="4"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="4"><i class="far fa-star"></i></a></li>
                                                </ul>
                                                <ul class="review-value review-5">
                                                    <li><a class="cursor-pointer" data-href="5"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="5"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="5"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="5"><i class="far fa-star"></i></a></li>
                                                    <li><a class="cursor-pointer" data-href="5"><i class="far fa-star"></i></a></li>
                                                </ul>
                                            </div>
                                            </div>
                                            <div class="input-btn mt-3">
                                                <button type="submit"><?php echo e(__('Submit')); ?></button>
                                            </div>
                                        </form>
                                    </div>
                                    <?php endif; ?>
                                    <?php else: ?>
                                    <div class="review-login mt-5">
                                        <a class="boxed-btn d-inline-block mr-2" href="<?php echo e(route('user.login')); ?>"><?php echo e(__('Login')); ?></a> <?php echo e(__('to leave a rating')); ?>

                                    </div>
                                    <?php endif; ?>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--====== SHOP TAB PART ENDS ======-->


<?php if($related_product->count() > 0): ?>
<!--====== product items PART ENDS ======-->
<div class="product-items">
    <div class="container">
        <div class="row">
            <div class="col-lg-6">
                <span class="section-title"><?php echo e(__('Related Products')); ?></span>
                <h2 class="section-summary"<?php echo e(__('>Have a look at the finlance latest Product')); ?>></h2>
            </div>
        </div>

        <div class="owl-carousel shop-item-slide-2">

             <?php $__currentLoopData = $related_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                 <div class="shop-item">
                    <div class="shop-thumb">
                        <img class="lazy" data-src="<?php echo e(asset('assets/front/img/product/featured/'.$product->feature_image)); ?>" alt="">
                        <ul>

                            <?php if($bex->catalog_mode == 0): ?>
                                <li><a href="<?php echo e(route('front.product.checkout',$product->slug)); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo e(__('Order Now')); ?>"><i class="far fa-credit-card"></i></a></li>

                                <li><a class="cart-link" data-href="<?php echo e(route('add.cart',$product->id)); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo e(__('Add to Cart')); ?>"><i class="fas fa-shopping-cart"></i></a></li>
                            <?php endif; ?>

                            <li><a href="<?php echo e(route('front.product.details',$product->slug)); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo e(__('View Details')); ?>"><i class="fas fa-eye"></i></a></li>
                        </ul>
                    </div>
                    <div class="shop-content text-center <?php echo e($bex->catalog_mode == 1 ? 'pt-3' : ''); ?>">
                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                        <div class="rate">
                            <div class="rating" style="width:<?php echo e($product->rating * 20); ?>%"></div>
                        </div>
                        <?php endif; ?>
                        <a class="<?php echo e($bex->product_rating_system == 0 ? 'mt-3' : ''); ?>" href="<?php echo e(route('front.product.details',$product->slug)); ?>"><?php echo e(convertUtf8($product->title)); ?></a> <br>

                        <?php if($bex->catalog_mode == 0): ?>

                            <span>
                                <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->current_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                <?php if(!empty($product->previous_price)): ?>
                                    <del>  <span class="prepice"> <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->previous_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?></span></del>
                                <?php endif; ?>
                            </span>
                        <?php endif; ?>
                    </div>
                </div>
             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


        </div>

    </div>
</div>
<?php endif; ?>
<!--====== product items PART ENDS ======-->

<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>

<script src="<?php echo e(asset('assets/front/js/slick.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/front/js/product.js')); ?>"></script>
<script src="<?php echo e(asset('assets/front/js/cart.js')); ?>"></script>
<script>
    $('.image-popup').magnificPopup({
        type: 'image',
        gallery:{
            enabled:true
        }
    });

</script>

<script>
    $(document).on('click','.review-value li a',function(){
        $('.review-value li a i').removeClass('text-primary');
        let reviewValue = $(this).attr('data-href');
         parentClass = `review-${reviewValue}`;
        $('.'+parentClass+ ' li a i').addClass('text-primary');
        $('#reviewValue').val(reviewValue);
    })
</script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make("front.$version.layout", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dalieypf/drbasselwagdi.site/core/resources/views/front/product/details.blade.php ENDPATH**/ ?>