<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
 * Provides the public-facing view for the main action buttons.
 *
 * @link       https://trynbuy.edubrazeal.com/
 * @since      1.0.0
 *
 * @package    Ai_Try_N_Buy
 * @subpackage Ai_Try_N_Buy/public/views
 */

?>
<div class="aitnb-action-buttons-container">
	<?php if ( 'yes' === $is_tryon_enabled ) : ?>
		<button type="button" class="button alt aitnb-start-tryon-btn">
			<?php esc_html_e( 'Virtual Try On', 'virtual-ai-fit-and-style-assistant' ); ?>
		</button>
	<?php endif; ?>

	<?php if ( 'yes' === $is_fit_enabled ) : ?>
		<button type="button" class="button alt aitnb-open-fit-recommender">
			<?php esc_html_e( 'Find My Size', 'virtual-ai-fit-and-style-assistant' ); ?>
		</button>
	<?php endif; ?>
</div>

<?php
if ( 'yes' === $is_tryon_enabled ) {
	include plugin_dir_path( __FILE__ ) . 'try-on-button-view.php';
}
if ( 'yes' === $is_fit_enabled ) {
	include plugin_dir_path( __FILE__ ) . 'fit-recommender-modal-view.php';
}
?>

<div class="aitnb-notification-modal aitnb-hidden">
    <div class="aitnb-notification-overlay"></div>
    <div class="aitnb-notification-content">
        <div class="aitnb-notification-icon">
            <span class="aitnb-notification-icon-inner"></span>
        </div>
        <div class="aitnb-notification-message"></div>
        <button type="button" class="aitnb-notification-btn"><?php esc_html_e( 'OK', 'virtual-ai-fit-and-style-assistant' ); ?></button>
    </div>
</div>
