<div id="product-<?php echo (int) $product->get_id(); ?>" <?php post_class(); ?>>
    <?php if ($nasa_actsidebar && $nasa_sidebar != 'no') : ?>
        <div class="div-toggle-sidebar center">
            <a class="toggle-sidebar" href="javascript:void(0);"><i class="fa fa-bars"></i> <?php esc_html_e('Sidebar', 'zella-theme'); ?></a>
        </div>
    <?php endif; ?>
    <div class="section-element nasa-fullwidth">
        <div class="row nasa-product-details-page nasa-layout-classic">
            <div class="products-arrow">
                <?php do_action('next_prev_product'); ?>
            </div>

            <div class="<?php echo esc_attr($main_class); ?>" data-num_main="<?php if($image_layout == 'double'): echo '2'; else: echo '1'; endif; ?>" data-num_thumb="<?php if($image_layout == 'double'): echo '4'; else: echo '6'; endif; ?>" data-speed="300">
                <div class="row">
                    <div class="large-<?php if($image_layout == 'double'): echo '8'; else: echo '7'; endif; ?> small-12 columns product-gallery rtl-right"> 
                        <?php do_action('woocommerce_before_single_product_summary'); ?>
                    </div>

                    <div class="large-<?php if($image_layout == 'double'): echo '4'; else: echo '5'; endif; ?> small-12 columns product-info summary entry-summary rtl-left">
                        <?php do_action('woocommerce_single_product_summary'); ?>
                    </div>
                </div>

                <?php do_action('woocommerce_after_single_product_summary'); ?>

            </div>

            <?php if ($nasa_actsidebar && $nasa_sidebar != 'no') : ?>
                <div class="<?php echo esc_attr($bar_class); ?>">     
                    <div class="inner">
                        <?php dynamic_sidebar('product-sidebar'); ?>
                    </div>
                </div>
            <?php endif; ?>

        </div>
    </div>
</div>