<?php
/**
 * Product description form header template.
 *
 * @package SAAI
 */

if ( ! defined( 'ABSPATH' ) ) {
    die( 'You are not allowed to call this page directly.' );
}

?>

</div><!-- .saai-product-description-form-inner -->

<div class="saai-product-description-form-footer">
    <div class="saai-button-container">
        <button type="button" class="saai-button saai-button-main saai-generate-product-description-button">
            <?php esc_html_e( 'Generate Product Description', 'storeagent-ai-for-woocommerce' ); ?>
        </button>
        <span class="spinner"></span>
    </div>
    <div class="saai-preview-button-wrapper saai-hidden">
        <div class="saai-button-container">
            <button type="button" class="saai-button saai-view-preview-button saai-toggle-screen" data-screen=".saai-product-description-preview">
                <?php esc_html_e( 'View Preview', 'storeagent-ai-for-woocommerce' ); ?>
            </button>
        </div>
    </div>
</div>

</div><!-- .saai-product-description-form -->

</form><!-- #saai-product-description-form -->


<?php

do_action( 'saai_after_product_description_form' );
