<?php
/**
 * Category description step 7 description length template.
 *
 * @package SAAI
 */

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

<div class="saai-category-description-form-step saai-category-description-form-step-7 <?php echo ! empty( $description_length ) ? 'valid' : ''; ?>" data-step="7">
    <h3><?php esc_html_e( 'Description Length', 'storeagent-ai-for-woocommerce' ); ?></h3>
    <div class="saai-category-description-form-step-content">
        <p class="saai-category-description-form-step-description"><?php esc_html_e( 'How long do you want your category description to be?', 'storeagent-ai-for-woocommerce' ); ?></p>

        <div class="saai-category-description-form-field saai-category-description-form-radio-group">
            <label class="saai-category-description-form-field-radio-label">
                <input type="radio" name="description_length" value="short" <?php checked( 'short', $description_length ); ?> />
                <span><?php esc_html_e( 'Short (1-2 paragraphs)', 'storeagent-ai-for-woocommerce' ); ?></span>
            </label>
            <label class="saai-category-description-form-field-radio-label">
                <input type="radio" name="description_length" value="medium" <?php checked( 'medium', $description_length ); ?> />
                <span><?php esc_html_e( 'Medium (3-4 paragraphs)', 'storeagent-ai-for-woocommerce' ); ?></span>
            </label>
            <label class="saai-category-description-form-field-radio-label">
                <input type="radio" name="description_length" value="long" <?php checked( 'long', $description_length ); ?> />
                <span><?php esc_html_e( 'Long (5+ paragraphs)', 'storeagent-ai-for-woocommerce' ); ?></span>
            </label>
        </div>

        <div class="saai-category-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>
