<div class="uk-container uk-margin-large-top uk-margin-large-bottom" uk-scrollspy="target: > div; cls: uk-animation-fade; delay: 100">

<div class="tas_heading uk-grid-collapse uk-flex uk-flex-middle uk-margin-medium-bottom" uk-grid>
        <div class="uk-width-expand">
            <h3 class="uk-heading-line uk-text-left">
                <span class="section-title-with-icon">
                    <span class="section-icon">
                        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                            <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
                            <polyline points="9 22 9 12 15 12 15 22"></polyline>
                        </svg>
                    </span>
                    <strong>Most Viewed Stores</strong>
                </span>
            </h3>
        </div>
        <div class="uk-width-auto">
            <a href="<?php echo $urlPath->stores(); ?>" class="uk-button uk-button-default uk-border-pill btn">
                <?php echo echoOutput($translation['tr_21']); ?>
                <i class="ti ti-chevron-right"></i>
            </a>
        </div>
    </div>

    <div class="uk-child-width-1-2 uk-child-width-1-3@s uk-child-width-1-4@m uk-child-width-1-5@l uk-grid-match" uk-grid>
    <?php foreach($featuredStores as $item): ?>
        <div>
            <a href="<?php echo $urlPath->store($item['store_slug']); ?>" class="uk-link-reset">
                <div class="store-card">
                    <img class="store-card-logo" src="<?php echo getImageUrl($item['store_image_cdn_url'], $item['store_use_cdn'], $item['store_image']); ?>" alt="<?php echo echoOutput($item['store_title']); ?>">
                    <h4 class="store-card-title"><?php echo echoOutput($item['store_title']); ?></h4>
                    <!-- Animated OPEN Sign with Count -->
                    <div class="store-open-sign">
                        <span class="store-open-sign-text"><?php echo (int)$item['total_items']; ?></span>
                    </div>
                </div>
            </a>
        </div>
    <?php endforeach; ?>
    </div>
</div>