<div class="sale-percent product-1">
    <div class="lp-container">        
        <h2 class="title"><?php the_field( 'title' ) ?></h2>
        <div class="big-text"><?php the_field( 'subtitle' ) ?></div>

        <?php if( have_rows('product_list') ): ?>
        <div class="wrap-list-product">
            <?php while( have_rows('product_list') ) : the_row(); ?>
            <div class="product-item">
                <div class="wrap-img">
                    <img src="<?php the_sub_field( 'image' ) ?>" />
                </div>

                <div class="wrap-data">
                    <h3 class="product-name"><?php the_sub_field( 'name' ) ?></h3>
                    <h4 class="product-info"><?php the_sub_field( 'info' ) ?></h4>
                    <div class="price price-old">Giá cũ: <span class="num"><?php echo format_money( get_sub_field( 'price' )) ?></span></div>
                    <div class="price">Giá mới: <span class="num"><?php echo format_money( get_sub_field( 'sale_price' )) ?></span></div>

                    <a class="btn buy-now" data-bs-toggle="modal" data-bs-target="#staticBackdrop" href="#">Nhận ưu đãi ngay</a>
                </div>
            </div>
            <?php endwhile; ?>
        </div>
        <?php endif; ?>
    </div>
</div>