<?php
pxl_add_custom_widget(
    array(
        'name' => 'pxl_pricing',
        'title' => esc_html__('Case Pricing', 'solarva' ),
        'icon' => 'eicon-price-list',
        'categories' => array('pxltheme-core'),
        'scripts' => array(
            'solarva-tabs'
        ),
        'params' => array(
            'sections' => array(
                array(
                    'name' => 'tab_content',
                    'label' => esc_html__('Content', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'controls' => array(
                        array(
                            'name' => 'tab_active',
                            'label' => esc_html__('Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::NUMBER,
                            'default' => 0,
                        ),
                        array(
                            'name' => 'button_text',
                            'label' => esc_html__('Button Text', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXT,
                            'label_block' => true,
                            'default' => 'Join The Plan',
                        ),
                        array(
                            'name' => 'tab_btns',
                            'label' => esc_html__('Tab Buttons', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'controls' => array( 
                                array(
                                    'name' => 'tab_btn',
                                    'label' => esc_html__('Button', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                ),
                            ),
                            'title_field' => '{{{tab_btn}}}'
                        ),
                        array(
                            'name' => 'items',
                            'label' => esc_html__('Tab Contents', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'controls' => array(
                                array(
                                    'name' => 'is_popular',
                                    'label' => esc_html__('Popular', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::SWITCHER,
                                    'default' => '',
                                ),
                                array(
                                    'name' => 'show_in_tab',
                                    'label' => esc_html__('Show in Tab', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'placeholder' => 'Ex: 1-3..',
                                    'description' => esc_html__('Leave blank to apply to all. Separated by "-"', 'solarva'),
                                ),
                                array(
                                    'name' => 'popular_text',
                                    'label' => esc_html__('Popular Text', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'default' => esc_html__('Most Popular', 'solarva'),
                                    'label_block' => true,
                                    'condition' => [
                                        'is_popular!' => '',
                                    ]
                                ),
                                array(
                                    'name' => 'title',
                                    'label' => esc_html__('Title', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'subtitle',
                                    'label' => esc_html__('Subtitle', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'price',
                                    'label' => esc_html__('Price', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                ),
                                array(
                                    'name' => 'billing_cycle',
                                    'label' => esc_html__('Billing Cycle', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                ),
                                array(
                                    'name' => 'desc',
                                    'label' => esc_html__('Description', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXTAREA,
                                    'row' => 3,
                                ),
                                array(
                                    'name' => 'link',
                                    'label' => esc_html__('Link', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::URL,
                                    'default' => [
                                        'url' => '#',
                                    ],
                                ),
                                array(
                                    'name' => 'divider2',
                                    'type' => \Elementor\Controls_Manager::DIVIDER,
                                ),
                                array(
                                    'name' => 'content_animation',
                                    'label' => esc_html__('ANIMATION', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::HEADING,
                                    'separator' => 'after' ,
                                ),
                                array(
                                    'name' => 'content_animate',
                                    'label' => esc_html__('Animate', 'solarva'),
                                    'type' => \Elementor\Controls_Manager::SELECT,
                                    'options' => solarva_widget_animate(),
                                    'default' => '',
                                ),
                                array(
                                    'name' => 'content_animate_delay',
                                    'label' => esc_html__('Delay', 'solarva'),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'placeholder' => 'Ex: 500',
                                ),
        
                            ),
                            'title_field' => '{{{ title }}}',
                        ),
                    ),
                ),
                array(
                    'name' => 'tab_content_features',
                    'label' => esc_html__('Features', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'controls' => array(
                        array(
                            'name' => 'features',
                            'label' => esc_html__('Features', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'controls' => array(
                                array(
                                    'name' => 'show_in',
                                    'label' => esc_html__('Show in Card', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'placeholder' => 'Ex: 1-3..',
                                    'description' => esc_html__('Leave blank to apply to all. Separated by "-"', 'solarva'),
                                ),
                                array(
                                    'name' => 'feature',
                                    'label' => esc_html__('Feature', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                            ),
                            'title_field' => '{{{ feature }}}',
                        ),
                    ),
                ),

                solarva_grid_settings(false),
                array(
                    'name' => 'tab_style_general',
                    'label' => esc_html__('General', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'section_opts',
                            'label' => esc_html__('LAYOUT', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'align_items',
                            'label' => esc_html__('Align Items', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'control_type' => 'responsive',
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Start', 'solarva'),
                                    'icon' => 'eicon-align-start-h',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-align-center-h',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-align-end-h',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-item--inner' => 'align-items: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'gap',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'control_type' => 'responsive',
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-item--inner' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),

                        array(
                            'name' => 'card_divider',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'card_opts',
                            'label' => esc_html__('CARD', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'card_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'card_bg_color_active',
                            'label' => esc_html__('Background Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'card_divider_color',
                            'label' => esc_html__('Divider Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner' => '--border-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'card_divider_color_active',
                            'label' => esc_html__('Divider Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active' => '--border-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name'         => 'card_box_shadow',
                            'label' => esc_html__( 'Box Shadow', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Box_Shadow::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner',
                        ),
                        array(
                            'name' => 'card_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'card_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'tab_style_button',
                    'label' => esc_html__('Tab Button', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'tab_btn_wrap_opts',
                            'label' => esc_html__('WRAP', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'tab_btn_wrap_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name'         => 'tab_btn_wrap_box_shadow',
                            'label' => esc_html__( 'Box Shadow', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Box_Shadow::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-pricing .pxl-list--btn',
                        ),
                        array(
                            'name' => 'tab_btn_wrap_gap',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'control_type' => 'responsive',
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_wrap_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_wrap_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_divider',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'tab_btn_opts',
                            'label' => esc_html__('TAB BUTTON', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'tab_btn_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_color_hover',
                            'label' => esc_html__('Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button:hover, 
                                {{WRAPPER}} .pxl-pricing .pxl-list--btn button.active' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_bg_color_hover',
                            'label' => esc_html__('Background Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button:hover, 
                                {{WRAPPER}} .pxl-pricing .pxl-list--btn button.active' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing .pxl-list--btn button',
                        ),
                        array(
                            'name' => 'tab_btn_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'tab_btn_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing .pxl-list--btn button' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),

                array(
                    'name' => 'tab_style_popular',
                    'label' => esc_html__('Popular', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'popular_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular' => 'color: {{VALUE}};',
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular svg path' => 'fill: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'popular_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'popular_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular',
                        ),
                        array(
                            'name' => 'popular_min_height',
                            'label' => esc_html__('Min Height', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular' => 'min-height: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'popular_gap',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'popular_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'popular_icon_size',
                            'label' => esc_html__('Icon Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', 'custom'],
                            'control_type' => 'responsive',
                            'separator' => 'before',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--popular svg' => 'width: {{SIZE}}{{UNIT}};height: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),

                array(
                    'name' => 'tab_title_style',
                    'label' => esc_html__('Title', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'title_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--title' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'title_color_active',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--title' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'title_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--title',
                        ),
                        array(
                            'name' => 'title_spacing_bottom',
                            'label' => esc_html__('Spacing Bottom', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                    
                ),

                array(
                    'name' => 'tab_subtitle_style',
                    'label' => esc_html__('Subtitle', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'subtitle_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--subtitle' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'subtitle_color_active',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--subtitle' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'subtitle_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--subtitle',
                        ),
                    ),
                    
                ),

                array(
                    'name' => 'tab_price_style',
                    'label' => esc_html__('Price', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'price_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--price' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'price_color_active',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--price' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'price_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--price',
                        ),
                        array(
                            'name' => 'price_spacing_bottom',
                            'label' => esc_html__('Spacing Bottom', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--price' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'tab_billing_cycle_style',
                    'label' => esc_html__('Title', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'billing_cycle_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--billing_cycle' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'billing_cycle_color_active',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--billing_cycle' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'billing_cycle_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--billing_cycle',
                        ),
                    ),
                    
                ),

                array(
                    'name' => 'tab_desc_style',
                    'label' => esc_html__('Description', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'desc_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--desc' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'desc_color_actice',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--desc' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'desc_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--desc',
                        ),
                    ),
                    
                ),

                array(
                    'name' => 'tab_features_style',
                    'label' => esc_html__('Feature', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'feature_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--feature' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'feature_color_active',
                            'label' => esc_html__('Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--feature' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'feature_icon_color',
                            'label' => esc_html__('Icon Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--feature svg path' => 'stroke: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'feature_icon_color_active',
                            'label' => esc_html__('Icon Color Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--feature svg path' => 'stroke: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'feature_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--feature',
                        ),
                        array(
                            'name' => 'feature_spacing',
                            'label' => esc_html__('Spacing', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--feature + .pxl-item--feature' => 'margin-top: {{SIZE}}{{UNIT}};',
                            ],
                        ),

                    ),
                ),
                array(
                    'name' => 'tab_button_style',
                    'label' => esc_html__('Button', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'button_normal_opts',
                            'label' => esc_html__('NORMAL', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'button_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_color_hover',
                            'label' => esc_html__('Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn:hover' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_bg_color_hover',
                            'label' => esc_html__('Background Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn:hover' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn',
                        ),
                        array(
                            'name'         => 'button_border',
                            'label' => esc_html__( 'Border', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn',
                        ),
                        array(
                            'name' => 'button_boder_color_hover',
                            'label' => esc_html__('Border Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn:hover' => 'border-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'button_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-item--btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'button_active_divider',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'button_active_opts',
                            'label' => esc_html__('ACTIVE', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'button_active_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_active_color_hover',
                            'label' => esc_html__('Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn:hover' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_active_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_active_bg_color_hover',
                            'label' => esc_html__('Background Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn:hover' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'button_active_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn',
                        ),
                        array(
                            'name'         => 'button_active_border',
                            'label' => esc_html__( 'Border', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn',
                        ),
                        array(
                            'name' => 'button_active_boder_color_hover',
                            'label' => esc_html__('Border Color Hover', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-pricing.pxl-pricing1 .pxl-card--inner.active .pxl-item--btn:hover' => 'border-color: {{VALUE}};',
                            ],
                        ),
                    ),
                    
                ),
                solarva_widget_animation_settings(),
            ),
        ),
    ),
    solarva_get_class_widget_path()
);