<?php
/**
 * Product description step 10 description length template.
 *
 * @package SAAI
 */

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

?>

<div class="saai-product-description-form-step saai-product-description-form-step-10 <?php echo $description_length ? 'valid' : ''; ?>" data-step="10">
    <h3><?php esc_html_e( 'Product Description Length', 'storeagent-ai-for-woocommerce' ); ?></h3>
    <div class="saai-product-description-form-step-content">
        <div class="saai-product-description-form-field">
            <label for="saai-product-description-form-field-product-name"><?php esc_html_e( 'How long do you prefer your product description to be?', 'storeagent-ai-for-woocommerce' ); ?></label>
            
            <label for="saai-product-description-form-length-short">
                <input type="radio" id="saai-product-description-form-length-short" name="description_length" value="short" <?php checked( $description_length, 'short' ); ?> />
                <?php esc_html_e( 'Short', 'storeagent-ai-for-woocommerce' ); ?>
            </label>
            <label for="saai-product-description-form-length-medium">
                <input type="radio" id="saai-product-description-form-length-medium" name="description_length" value="medium" <?php checked( $description_length, 'medium' ); ?> />
                <?php esc_html_e( 'Medium', 'storeagent-ai-for-woocommerce' ); ?>
            </label>
            <label for="saai-product-description-form-length-long">
                <input type="radio" id="saai-product-description-form-length-long" name="description_length" value="long" <?php checked( $description_length, 'long' ); ?> />
                <?php esc_html_e( 'Long', 'storeagent-ai-for-woocommerce' ); ?>
            </label>
        </div>

        <div class="saai-product-description-step-actions-field">
            <button type="button" class="button previous-step-button">
                <?php esc_html_e( 'Back', 'storeagent-ai-for-woocommerce' ); ?>
            </button>
            <button type="button" class="button-primary next-step-button">
                <?php esc_html_e( 'Next', 'storeagent-ai-for-woocommerce' ); ?>
            </button>
        </div>
    </div>
</div>
