<?php $clr = $generalSettings->site_color; ?>
<style>:root {--vr-color-main: <?= $generalSettings->site_color; ?>;} <?php if(!empty($indexBannersArray)):foreach ($indexBannersArray as $bannerSet):foreach ($bannerSet as $banner):?>.index_bn_<?= $banner->id;?> {-ms-flex: 0 0 <?= $banner->banner_width;?>%;flex: 0 0 <?= $banner->banner_width;?>%;max-width: <?= $banner->banner_width;?>%;}<?php endforeach; endforeach; endif; ?>
    <?php if (!empty($adSpaces)):foreach ($adSpaces as $item):if (!empty($item->desktop_width) && !empty($item->desktop_height)): echo '.bn-ds-'.$item->id. '{width: ' . $item->desktop_width . 'px; height: ' . $item->desktop_height . 'px;}'; echo '.bn-mb-'.$item->id. '{width: ' . $item->mobile_width . 'px; height: ' . $item->mobile_height . 'px;}';endif;endforeach;endif; ?>.modal-newsletter .newsletter-form{min-height:350px;height:auto}.form-logout{display:block;margin:4px}.btn-logout{display:block;width:100%;background-color:transparent!important;border:0!important;box-shadow:none!important;padding:4px 15px;line-height:24px;color:#606060!important;white-space:nowrap;text-align: left}.btn-logout:hover{background-color:#f5f5f5!important}.btn-logout-mobile{color:#222!important;font-size:15px!important;padding:8px 15px}.btn-logout-mobile:hover{background-color:transparent!important}
    <?php if($baseVars->rtl):?>  .btn-logout{text-align:right}.modal-newsletter .newsletter-form {padding: 60px 0 60px 30px !important;}.modal-newsletter .modal-body .close {right: auto;left: 5px;}  <?php endif;?>
</style>
<script>var MdsConfig = {baseURL: '<?= base_url(); ?>', langBaseURL: "<?= langBaseUrl(); ?>", sysLangId: "<?= $activeLang->id; ?>", thousandsSeparator: "<?= $baseVars->thousandsSeparator; ?>", csrfTokenName: '<?= csrf_token() ?>', csrfCookieName: '<?= config('App')->CSRFCookieName; ?>', textAll: "<?= clrQuotes(trans("all")); ?>", textNoResultsFound: "<?= clrQuotes(trans("no_results_found")); ?>", textOk: "<?= clrQuotes(trans("ok")); ?>", textCancel: "<?= clrQuotes(trans("cancel")); ?>", textAcceptTerms: "<?= clrQuotes(trans("msg_accept_terms")); ?>", cartRoute: "<?= !empty($this->routes) && !empty($this->routes->cart) ? $this->routes->cart : ''; ?>", sliderFadeEffect: "<?= $generalSettings->slider_effect == 'fade' ? '1' : '0'; ?>", isRecaptchaEnabled: "<?= !empty($baseVars->recaptchaStatus) ? '1' : '0'; ?>", rtl: <?= $baseVars->rtl ? 'true' : 'false'; ?>, textAddtoCart: "<?= clrQuotes(trans("add_to_cart")); ?>", textAddedtoCart: "<?= clrQuotes(trans("added_to_cart")); ?>", textAddtoWishlist: "<?= clrQuotes(trans("add_to_wishlist")); ?>", textRemoveFromWishlist: "<?= clrQuotes(trans("remove_from_wishlist")); ?>"};</script>