<?php
namespace Softech_Addons_for_Elementor\Widgets;

if (!defined('ABSPATH')) exit;

class sitsel_pro_image_shapes extends Base_Locked_Widget {

    public function get_name() { 
        return 'sitsel_pro_image_shapes'; 
    }

    public function get_widget_metadata() {
        return [
            'title'       => __('SITS Image Shapes', 'softech-addons-for-elementor'),
            'description' => __('Apply creative shapes, masks, and effects to images.', 'softech-addons-for-elementor'),
            'icon'        => 'eicon-image-rollover',
            'categories'  => ['sits-category'],
            'keywords'    => ['image', 'shape', 'mask', 'frame', 'design'],
        ];
    }

    // Defines upsell/lock details for this widget
    protected function get_upsale_data() {
        if ($this->is_pro_active()) {
            return false;
        }

        return [
            'condition'   => true,
            'image'       => '', // Optional: Add a preview image URL
            'image_alt'   => __('Upgrade', 'softech-addons-for-elementor'),
            'title'       => __('Unlock Sitsel Image Shapes Widget', 'softech-addons-for-elementor'),
            'description' => __('Upgrade to Sitsel Pro to add creative image shapes and masks to your designs.', 'softech-addons-for-elementor'),
            'upgrade_url' => 'https://softechaddons.sitslab.com/#pro-plan',
            'upgrade_text'=> __('Upgrade Now', 'softech-addons-for-elementor'),
        ];
    }
}
