<div class="mobile-header mobile-default mobile-2 <?php echo $journal3->classes($journal3->get('mobileHeaderClasses')); ?> <?php echo $journal3->get('header_mobile_color_scheme'); ?>">
  <div class="mobile-top-bar <?php echo $journal3->get('header_mobile_top_color_scheme'); ?>">
    <div class="mobile-top-menu-wrapper">
      <?php echo $journal3->get('mobile_top_menu'); ?>
    </div>
    <?php if($journal3->get('mobileLangPosition') === 'top'): ?>
    <div class="language-currency top-menu">
      <div class="mobile-language-wrapper">
        <?php echo $journal3->get('mobile_header_active') ? $language : ''; ?>
      </div>
      <div class="mobile-currency-wrapper">
        <?php echo $journal3->get('mobile_header_active') ? $currency : ''; ?>
      </div>
    </div>
    <?php endif; ?>
  </div>
  <div class="mobile-bar sticky-bar">
    <a href="javascript:;" class="menu-trigger" data-off-canvas="mobile-main-menu-container" title="<?php echo $journal3->get('headerMobileMenuTitle'); ?>"><span class="menu-icon"></span></a>
    <?php if ($journal3->get('mobileCustomMenuStatus1')): ?>
    <a class="mobile-custom-menu mobile-custom-menu-1" href="<?php echo $journal3->get('mobileCustomMenuLink1.href'); ?>"<?php echo $journal3->linkAttrs($journal3->get('mobileCustomMenuLink1.attrs')); ?>>
      <?php echo $journal3->countBadge($journal3->get('mobileCustomMenuLink1.name'), $journal3->get('mobileCustomMenuLink1.total'), $journal3->get('mobileCustomMenuLink1.classes')); ?>
    </a>
    <?php endif; ?>
    <div class="mobile-logo-wrapper <?php echo $journal3->get('mobile_header_logo_color_scheme'); ?>">
      <?php if ($journal3->get('mobile_header_active')): ?>
        <div id="logo">
          <?php if ($journal3->get('mobile_logo_src') || $journal3->get('mobile_logo_alternate_src')): ?>
            <a href="<?php echo $home; ?>">
              <img class="header-logo" src="<?php echo $journal3->get('mobile_logo_src'); ?>" <?php if ($journal3->get('mobile_logo_src2x')): ?>srcset="<?php echo $journal3->get('mobile_logo_src'); ?> 1x, <?php echo $journal3->get('mobile_logo_src2x'); ?> 2x"<?php endif; ?> width="<?php echo $journal3->get('mobile_logo_width'); ?>" height="<?php echo $journal3->get('mobile_logo_height'); ?>" alt="<?php echo $name; ?>" title="<?php echo $name; ?>"/>
              <img class="header-logo-alternate" src="<?php echo $journal3->get('mobile_logo_alternate_src'); ?>" <?php if ($journal3->get('mobile_logo_alternate_src2x')): ?>srcset="<?php echo $journal3->get('mobile_logo_alternate_src'); ?> 1x, <?php echo $journal3->get('mobile_logo_alternate_src2x'); ?> 2x"<?php endif; ?> width="<?php echo $journal3->get('mobile_logo_alternate_width'); ?>" height="<?php echo $journal3->get('mobile_logo_alternate_height'); ?>" alt="<?php echo $name; ?>" title="<?php echo $name; ?>"/>
            </a>
          <?php else: ?>
            <h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
          <?php endif; ?>
        </div>
      <?php endif; ?>
    </div>
    <?php if ($journal3->get('mobileCustomMenuStatus2')): ?>
    <a class="mobile-custom-menu mobile-custom-menu-2" href="<?php echo $journal3->get('mobileCustomMenuLink2.href'); ?>"<?php echo $journal3->linkAttrs($journal3->get('mobileCustomMenuLink2.attrs')); ?>>
      <?php echo $journal3->countBadge($journal3->get('mobileCustomMenuLink2.name'), $journal3->get('mobileCustomMenuLink2.total'), $journal3->get('mobileCustomMenuLink2.classes')); ?>
    </a>
    <?php endif; ?>
    <div class="mobile-cart-wrapper mini-cart">
      <?php echo $journal3->get('mobile_header_active') ? $cart : ''; ?>
    </div>
  </div>
  <div class="mobile-bar-group mobile-search-group <?php echo $journal3->get('header_mobile_menu_color_scheme'); ?>">
    <div class="mobile-search-wrapper full-search">
      <?php echo $journal3->get('mobile_header_active') ? str_replace([
        'color-scheme-__SEARCH_COLOR_SCHEME__',
        'color-scheme-__SEARCH_CATEGORIES_COLOR_SCHEME__',
      ], [
        $journal3->get('header_mobile_search_color_scheme') ?: 'color-scheme-',
        $journal3->get('header_mobile_search_categories_color_scheme') ?: '',
      ], $search) : ''; ?>
    </div>
  </div>
</div>
