<head>
    <!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <title><?php if(trim($__env->yieldContent('title'))): ?> <?php echo $__env->yieldContent('title'); ?> <?php else: ?> <?php echo e(app('general_setting')->site_title); ?> <?php endif; ?></title>
    <meta name="_token" content="<?php echo csrf_token(); ?>" />
    <?php $__env->startSection('share_meta'); ?>
        <?php echo $__env->yieldSection(); ?>
    <?php $config = (new \LaravelPWA\Services\ManifestService)->generate(); echo $__env->make( 'laravelpwa::meta' , ['config' => $config])->render(); ?>

    <link rel="icon" href="<?php echo e(asset(asset_path(app('general_setting')->favicon))); ?>" type="image/png">

    <?php
        $themeColor = Modules\Appearance\Entities\ThemeColor::where('status',1)->first();
    ?>
    <style>
        :root {
            --background_color : <?php echo e($themeColor->background_color); ?>;
            --base_color : <?php echo e($themeColor->base_color); ?>;
            --text_color : <?php echo e($themeColor->text_color); ?>;
            --feature_color : <?php echo e($themeColor->feature_color); ?>;
            --footer_color : <?php echo e($themeColor->footer_color); ?>;
            --navbar_color : <?php echo e($themeColor->navbar_color); ?>;
            --menu_color : <?php echo e($themeColor->menu_color); ?>;
            --border_color : <?php echo e($themeColor->border_color); ?>;
            --success_color : <?php echo e($themeColor->success_color); ?>;
            --warning_color : <?php echo e($themeColor->warning_color); ?>;
            --danger_color : <?php echo e($themeColor->danger_color); ?>;
        }
        .default_select{
            color: var(--text_color);
            border-color: var(--border_color);
            width: 100%;
            font-weight: 300;
        }
        
        .demo_addons {
            float: right;
            background: var(--base_color);
            color: var(--navbar_color);
            border-radius: 5px;
            padding: 0px 10px;
            font-size: 10px;
            margin-top: 5px;
        }
        .dashboard_sidebar a {
            padding: 14px 25px!important;
        }
    </style>

    <?php if(isRtl()): ?>
        <link rel="stylesheet" href="<?php echo e(asset(asset_path('frontend/default/compile_css/rtl_app.css'))); ?>" />
        <style>
            .demo_addons {
                float: left!important;
                background: var(--base_color);
                color: var(--navbar_color);
                border-radius: 5px;
                padding: 0px 10px;
                font-size: 10px;
                margin-top: 5px;
            }
            .dashboard_sidebar a {
                padding: 14px 80px 14px 25px!important;
            }
        </style>
    <?php else: ?>
        <link rel="stylesheet"  href="<?php echo e(asset(asset_path('frontend/default/compile_css/app.css'))); ?>" />
    <?php endif; ?>


    <style>

        .toast-success {
            background-color: <?php echo e($themeColor->success_color); ?>!important;
        }
        .toast-error{
            background-color: <?php echo e($themeColor->danger_color); ?>!important;
        }
        .toast-warning{
            background-color: <?php echo e($themeColor->warning_color); ?>!important;
        }
            /*----------------------------------------------------*/


        .newsletter_form_wrapper .newsletter_form_inner .newsletter_form_thumb {
            height: 100%;
            background-image: url(<?php echo e(asset(asset_path($popupContent->image))); ?>);
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
        }
        @media (max-width: 575.98px) {
            .fb_dialog_content iframe{
                bottom:55px!important;
            }
        }

    </style>

    <?php if(!isRtl()): ?>
    <style>
        @media (max-width: 575px) {
            .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner {
                right: 60%;
            }
            .header_part .sub_menu .right_sub_menu .cart_menu .cart_iner {
                right: 60%;
            }

            .header_part .sub_menu .left_sub_menu .list_visiable .select_option_list {
                margin-left: -85px;
            }
            .header_part .sub_menu .left_sub_menu .select_option .select_option_list {
                margin-left: -85px;
            }
            .notifica_menu{
                right: 0%!important;
                padding: 40px 30px!important;
            }

            .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner {
                right: -65%;
            }
            .header_part .sub_menu .left_sub_menu .select_option .select_option_list {
                right: 0;
            }
            .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner.user_account_iner {
                right: auto;
                left: -130px

            }

            .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner.cart_for_inner {
                right: auto;
                left: -70px;
            }
            .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner.notifica_menu {
                right: auto !important;
                left: 0;
            }

        }

    </style>
        <?php if(auth()->guard()->guest()): ?>
        <style>
            @media (max-width: 575px) {
                .user_account_iner{
                    right: 22%!important;
                }
            }

        </style>
        <?php endif; ?>
    <?php else: ?>
        <style>
            .cart_data_img_div {
                margin-right: 0;
                margin-left: 15px;
            }
            @media (max-width: 575px) {
                .header_part .sub_menu .left_sub_menu .select_option .select_option_list {
                    margin-left: 0;
                    left: 0;
                    right: auto;
                }
                .rtl .header_part .sub_menu .right_sub_menu ul {
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
                }
                .rtl .header_part .sub_menu .right_sub_menu .user_account:hover .user_account_iner {
                    right: auto;
                    left: -50px !important;
                }
                .rtl .header_part .sub_menu .right_sub_menu .cart_menu:hover .cart_iner {
                    right: auto;
                    left: -120px;
                }
            }
            .logo_div{
                justify-content: right;
            }
        </style>
    <?php endif; ?>


    <?php $__env->startSection('styles'); ?>
        <?php echo $__env->yieldSection(); ?>

    <?php if(app('business_settings')->where('type', 'google_analytics')->first()->status == 1): ?>
          <!-- Global site tag (gtag.js) - Google Analytics -->
          <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo e(env('ANALYTICS_TRACKING_ID')); ?>"></script>

          <script>
              window.dataLayer = window.dataLayer || [];
              function gtag(){dataLayer.push(arguments);}
              gtag('js', new Date());
              gtag('config', '<?php echo e(env('ANALYTICS_TRACKING_ID')); ?>');
          </script>

          <!-- Google Analytics Code -->
          <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'google-analytics-4-measurement-protocol::components.google-analytics-client-id','data' => []]); ?>
<?php $component->withName('google-analytics-client-id'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
          <!-- </head> -->
    <?php endif; ?>

    <?php if(app('business_settings')->where('type', 'facebook_pixel')->first()->status == 1): ?>
          <!-- Facebook Pixel Code -->
          <script>
              !function(f,b,e,v,n,t,s)
              {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
              n.callMethod.apply(n,arguments):n.queue.push(arguments)};
              if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
              n.queue=[];t=b.createElement(e);t.async=!0;
              t.src=v;s=b.getElementsByTagName(e)[0];
              s.parentNode.insertBefore(t,s)}(window, document,'script',
              'https://connect.facebook.net/en_US/fbevents.js');
              fbq('init', <?php echo e(Modules\Setup\Entities\AnalyticsTool::where('type', 'facebook_pixel')->first()->facebook_pixel_id); ?>);
              fbq('track', 'PageView');
          </script>
          <noscript>
              <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=<?php echo e(Modules\Setup\Entities\AnalyticsTool::where('type', 'facebook_pixel')->first()->facebook_pixel_id); ?>/&ev=PageView&noscript=1"/>
          </noscript>
          <!-- End Facebook Pixel Code -->
    <?php endif; ?>

    <script>
        const _config = <?php echo json_encode(collect(app('general_setting'))->only(['currency_symbol','decimal_limit','currency_symbol_position'])); ?>;
        const _user_currency = <?php echo json_encode(collect(app('user_currency'))->only(['symbol','convert_rate'])); ?>;
    </script>



  </head>
<?php /**PATH /home/penastud/public_html/gsport/resources/views/frontend/default/partials/_head.blade.php ENDPATH**/ ?>