
<div class="navs-container">

    <!-- top_nav -->
    <div class="top_nav">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-6">
                    <div class="p">
                        <?php echo $header->description; ?>

                    </div>
                </div>
                <div class="col-6">
                    <div class="social_links d-flex align-items-center justify-content-end">
                        <span class="txt fw-bold me-3"> <?php echo e(__('web.follow_us')); ?> : </span>
                        <?php if($settings['whatsapp']): ?>
                            <a target="_blank" href="https://api.whatsapp.com/send/?phone=<?php echo e($settings['whatsapp']); ?>&text&type=phone_number&app_absent=0"><i class="fab fa-whatsapp"></i></a>
                        <?php endif; ?>
                        <?php if($settings['instagram']): ?>
                            <a target="_blank" href="<?php echo e($settings['instagram']); ?>"><i class="fab fa-instagram"></i></a>
                        <?php endif; ?>
                        <?php if($settings['twitter']): ?>
                            <a target="_blank" href="<?php echo e($settings['twitter']); ?>"><i class="fab fa-twitter"></i></a>
                        <?php endif; ?>
                        <?php if($settings['telegram']): ?>
                            <a target="_blank" href="<?php echo e($settings['telegram']); ?>"><i class="fab fa-telegram-plane"></i></a>
                        <?php endif; ?>
                        <?php if($settings['facebook']): ?>
                            <a target="_blank" href="<?php echo e($settings['facebook']); ?>"><i class="fab fa-facebook-f"></i></a>
                        <?php endif; ?>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- middle_nav -->
    <div class="middle_nav">
        <div class="container">
            <div class="inner">
                <div class="row align-items-center">
                    <div class="col-lg-4 col-6">
                        <div class="d-flex align-items-center">
                            <div class="dropdown">
                                <button class=" dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/user.svg" class="icon icon_user me-2" alt="" /> <?php echo e(__('web.profile')); ?>

                                </button>
                                <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
                                    <?php if(auth()->user()): ?>
                                        <li><a class="dropdown-item" href="<?php echo e(route('web.profile')); ?>"> <?php echo e(__('web.profile')); ?> </a></li>
                                        <li><a class="dropdown-item" href="<?php echo e(route('web.logout')); ?>"> <?php echo e(__('web.logout')); ?> </a></li>
                                    <?php else: ?>
                                        <li><a class="dropdown-item" href="<?php echo e(route('web.login')); ?>"> <?php echo e(__('web.login')); ?> </a></li>
                                        <li><a class="dropdown-item" href="<?php echo e(route('web.regist')); ?>"> <?php echo e(__('web.regist')); ?> </a></li>
                                    <?php endif; ?>
                                </ul>
                            </div>
                            <div class="dropdown ms-4">
                                <button class=" dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/<?php echo e(getCurrentLocale() == 'ar'? 'flag-ar.svg' : 'flag-en.svg'); ?>" class="icon icon_flag me-2" alt="" /> <?php echo e(__('web.languages.'.currentLanguage()->local)); ?>

                                </button>
                                <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedUrl('ar')); ?>"> العربية   </a></li>
                                    <li><a class="dropdown-item" href="<?php echo e(LaravelLocalization::getLocalizedUrl('en')); ?>"> English   </a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-6 order_md_1">
                        <a href="<?php echo e(route('web.home')); ?>"> <img src="<?php echo e(url('')); ?>/assets/web/images/logo.svg" class="logo" alt="" /> </a>
                    </div>
                    
                    <div class="col-lg-4 col-12">
                        <div class="nav_end d-flex align-items-center justify-content-end">
                            <a href="<?php echo e(route('web.favorite')); ?>" class="nav_link">
                                <img src="<?php echo e(url('')); ?>/assets/web/images/icons/heart.svg" alt="" />
                            </a>
                            <a href="#" class="nav_link" id="searchToggler">
                                <img src="<?php echo e(url('')); ?>/assets/web/images/icons/search.svg" alt="" />
                            </a>
                            <a href="<?php echo e(route('cart.index')); ?>" class="nav_link">
                                <img src="<?php echo e(url('')); ?>/assets/web/images/icons/cart.svg" alt="" />
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--Start main-nav-->
    <nav class="navbar navbar-expand-lg navbar-light ">
        <div class="container">
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mx-auto mb-2 mb-lg-0">
                    <li class="nav-item">
                        <a class="nav-link <?php echo e(\Request::route()?->getName() == 'web.home' ? 'active' : ''); ?>" aria-current="page" href="<?php echo e(route('web.home')); ?>"> <?php echo e(__('web.home')); ?>  </a>
                    </li>
                    <li class="nav-item has_dropdown">
                        <a class="nav-link <?php echo e(\Request::route()?->getName() == 'web.product' ? 'active' : ''); ?>" href="<?php echo e(route('web.product')); ?>"><?php echo e(__('web.categories')); ?> </a>
                        <div class="drop_down">
                            <?php $__currentLoopData = $main_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <a href="<?php echo e(route('web.product').'?category_id='.$row->id); ?>">   <?php echo e($row->title); ?>    </a>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php echo e(\Request::route()?->getName() == 'web.aboutus' ? 'active' : ''); ?>" href="<?php echo e(route('web.aboutus')); ?>"><?php echo e(__('web.aboutus')); ?></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php echo e(\Request::route()?->getName() == 'contactus.index' ? 'active' : ''); ?>" href="<?php echo e(route('contactus.index')); ?>"> <?php echo e(__('web.contactus')); ?></a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
            <!-- Start search-wrapper -->
        <div class="search-wrapper">
            <div class="search-inner">
                <div class="container">
                    <div class="col-lg-10 mx-auto">
                        <div class="d-flex align-items-center justify-content-between mb-3">
                            <h6 class="title"> <?php echo e(__('web.search_in')); ?></h6>
                            <button class="close-butn" id="dismissSearch"><i class="fas fa-times"></i></button>
                        </div>
                        <form method='get' action="<?php echo e(route('web.search')); ?>">
                            <div class="form-group mb-0">
                                <input class="form-control" name="search" placeholder="<?php echo e(__('web.write_here')); ?> ..."/>
                                <button class="submit-butn"> <i class="fa-regular fa-magnifying-glass"></i> </button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="overlay"></div>
        </div>
</div>
<?php /**PATH /home/omaralyomhost/public_html/rose/resources/views/web/layouts/menu.blade.php ENDPATH**/ ?>