<?php
pxl_add_custom_widget(
    array(
        'name' => 'pxl_company_features',
        'title' => esc_html__('Case Features', 'solarva' ),
        'icon' => 'eicon-cart',
        'categories' => array('pxltheme-core'),
        'scripts' => [
            'solarva-tabs'
        ],
        'params' => array(
            'sections' => array(
                array(
                    'name' => 'section_content',
                    'label' => esc_html__('Content', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'controls' => array(
                        array(
                            'name' => 'subheading',
                            'label' => esc_html__('Subheading', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXT,
                            'label_block' => true,
                            'default' => esc_html__('Add heading here', 'solarva'),
                        ),
                        array(
                            'name' => 'heading',
                            'label' => esc_html__('Heading', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXTAREA,
                            'label_block' => true,
                            'default' => esc_html__('Add subheading here', 'solarva'),
                        ),
                        array(
                            'name' => 'tab_active',
                            'label' => esc_html__('Tab Active', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::NUMBER,
                            'default' => 0,
                        ),
                        array(
                            'name' => 'items',
                            'label' => esc_html__('Content', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'controls' => array(
                                array(
                                    'name' => 'tab_title',
                                    'label' => esc_html__('Tab Title', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'feature_image',
                                    'label' => esc_html__('Image', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::MEDIA,
                                ),
                                array(
                                    'name' => 'feature_title',
                                    'label' => esc_html__('Title', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'feature_desc',
                                    'label' => esc_html__('Desc', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXTAREA,
                                ),
                                array(
                                    'name' => 'feature_list',
                                    'label' => esc_html__('List', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXTAREA,
                                    'rows' => 20,
                                    'description' => esc_html__('Separate items with "|"', 'solarva')
                                ),
                            ),
                            'title_field' => '{{{ tab_title }}}',
                        ),
                    ),
                ),

                array(
                    'name'      => 'tab_general_style',
                    'label'     => esc_html__('General', 'solarva'),
                    'tab'       => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls'  => array(
                        array(
                            'name' => 'spacing_x',
                            'label' => esc_html__('Spacing X', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--container' => '--x: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'spacing_y',
                            'label' => esc_html__('Spacing y', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner' => 'row-gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col1_opts',
                            'label' => esc_html__('Column 1', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'col1_align_items',
                            'label' => esc_html__('Align Items', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'control_type' => 'responsive',
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Left', 'solarva'),
                                    'icon' => 'eicon-align-start-v',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-align-center-v',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-align-end-v',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1 .pxl-col--inner' => 'align-items: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'col1_w',
                            'label' => esc_html__('Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1' => 'flex-basis: {{SIZE}}{{UNIT}}; max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col1_padding_top',
                            'label' => esc_html__('Padding Top', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1' => 'padding-top: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col1_padding_bottom',
                            'label' => esc_html__('Padding Top', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1' => 'padding-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),

                        array(
                            'name' => 'divider7',
                            'type' => Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'col2_opts',
                            'label' => esc_html__('Column 2', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'col2_w',
                            'label' => esc_html__('Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col2' => 'flex-basis: {{SIZE}}{{UNIT}}; max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col2_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col2' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),

                        array(
                            'name' => 'divider8',
                            'type' => Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'col3_opts',
                            'label' => esc_html__('Column 3', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'col3_align_items',
                            'label' => esc_html__('Align Items', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'control_type' => 'responsive',
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Left', 'solarva'),
                                    'icon' => 'eicon-align-start-v',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-align-center-v',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-align-end-v',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col3 .pxl-col--inner' => 'align-items: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'col3_w',
                            'label' => esc_html__('Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col3' => 'flex-basis: {{SIZE}}{{UNIT}}; max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col3_padding_top',
                            'label' => esc_html__('Padding Top', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1' => 'padding-top: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'col3_padding_bottom',
                            'label' => esc_html__('Padding Top', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%'],
                            'control_type' => 'responsive',
                            'range' => [
                                '%' => [
                                    'min' => 0,
                                    'max' => 100,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-item--inner .pxl-item--col1' => 'padding-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),

                array(
                    'name'      => 'tab_link_style',
                    'label'     => esc_html__('Link', 'solarva'),
                    'tab'       => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls'  => array(
                        array(
                            'name' => 'link_normal',
                            'label' => esc_html__('NORMAL', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'link_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group',
                            'selector' => '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn',
                        ),
                        array(
                            'name' => 'link_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn' => 'color: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name'         => 'link_border',
                            'label' => esc_html__( 'Border', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn  ',
                        ),
                        array(
                            'name' => 'link_spacing',
                            'label' => esc_html__('Spacing', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'unit_sizes' => ['px', '%', 'custom'],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn + pxl-item--btn' => 'margin-top: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'link_max_width',
                            'label' => esc_html__('Max Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['%', 'px', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn' => 'max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'link_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'link_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-company-features .pxl-list--btn .pxl-item--btn .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'divider4',
                            'type' => Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'link_hover',
                            'label' => esc_html__('HOVER', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'link_color_hover',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn:hover, 
                                {{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn.active' => 'color: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name'         => 'link_border_hover',
                            'label' => esc_html__( 'Border', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn:hover, {{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn.active',
                        ),
                        array(
                            'name' => 'link_bg_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn .pxl-btn--icon' => 'background-color: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'icon_color',
                            'label' => esc_html__('Icon Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn .pxl-btn--icon > span path' => 'stroke: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'icon_bg_color',
                            'label' => esc_html__('Icon Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn .pxl-btn--icon > span' => 'background-color: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'icon_box_size',
                            'label' => esc_html__('Icon Box Size', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'unit_sizes' => ['px', '%', 'custom'],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn .pxl-btn--icon' => '--size: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'icon_box_border_radius',
                            'label' => esc_html__( 'Icon Box Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--btn .pxl-item--btn .btn .pxl-btn--icon > span' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),

                array(
                    'name'      => 'tab_image_style',
                    'label'     => esc_html__('Image', 'solarva'),
                    'tab'       => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls'  => array(
                        array(
                            'name' => 'background_position',
                            'label' => esc_html__('Background Position', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                'left top' => esc_html__('Left Top', 'solarva'),
                                'left center' => esc_html__('Left Center', 'solarva'),
                                'left bottom' => esc_html__('Left Bottom', 'solarva'),
                                'center top' => esc_html__('Center Top', 'solarva'),
                                'center center' => esc_html__('Center Center', 'solarva'),
                                'center bottom' => esc_html__('Center Bottom', 'solarva'),
                                'right top' => esc_html__('Right Top', 'solarva'),
                                'right center' => esc_html__('Right Center', 'solarva'),
                                'right bottom' => esc_html__('Right Bottom', 'solarva'),
                            ],
                            'default' => 'center center',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images .pxl-item--image' => 'background-position: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'background_repeat',
                            'label' => esc_html__('Background Repeat', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                'no-repeat' => esc_html__('No Repeat', 'solarva'),
                                'repeat' => esc_html__('Repeat', 'solarva'),
                                'repeat-x' => esc_html__('Repeat-X', 'solarva'),
                                'repeat-y' => esc_html__('Repeat-Y', 'solarva'),
                            ],
                            'default' => 'no-repeat',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images .pxl-item--image' => 'background-repeat: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'background_size',
                            'label' => esc_html__('Background Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                'auto' => esc_html__('Auto', 'solarva'),
                                'cover' => esc_html__('Cover', 'solarva'),
                                'contain' => esc_html__('Contain', 'solarva'),
                            ],
                            'default' => 'cover',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images .pxl-item--image' => 'background-size: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'background_attachment',
                            'label' => esc_html__('Background Attachment', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                'scroll' => esc_html__('Scroll', 'solarva'),
                                'fixed' => esc_html__('Fixed', 'solarva'),
                                'local' => esc_html__('Local', 'solarva'),
                            ],
                            'default' => 'scroll',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images .pxl-item--image' => 'background-attachment: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'type_width',
                            'label' => esc_html__('Type Width', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'options' => [
                                'auto' =>  [
                                    'title' => esc_html__('Auto', 'solarva'),
                                    'icon' => 'eicon-shrink',
                                ],
                                '100%' =>  [
                                    'title' => esc_html__('100%', 'solarva'),
                                    'icon' => 'eicon-grow',
                                ],
                                '' =>  [
                                    'title' => esc_html__('Custom', 'solarva'),
                                    'icon' => 'eicon-grow',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images' => 'width: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'btn_custom_width',
                            'label' => esc_html__('Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'condition' => [
                                'type_width' => '',
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images' => 'width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'img_max_width',
                            'label' => esc_html__('Max Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images' => 'max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'img_min_height',
                            'label' => esc_html__('Min Height', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--images' => 'min-height: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name'         => 'img_box_shadow',
                            'label' => esc_html__( 'Box Shadow', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Box_Shadow::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-company-features .pxl-list--images',
                        ),
                        array(
                            'name' => 'img_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-company-features .pxl-list--images' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{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-company-features .pxl-list--content .pxl-item--content .pxl-feature--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-company-features .pxl-list--content .pxl-item--content .pxl-feature--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-company-features .pxl-list--content .pxl-item--content .pxl-feature--title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    )
                ),

                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-company-features .pxl-list--content .pxl-item--content .pxl-feature--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-company-features .pxl-list--content .pxl-item--content .pxl-feature--desc',
                        ),
                        array(
                            'name' => 'desc_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-company-features .pxl-list--content .pxl-item--content .pxl-feature--desc' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    )
                ),

                array(
                    'name'      => 'tab_list_style',
                    'label'     => esc_html__('List', 'solarva'),
                    'tab'       => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls'  => array(
                        array(
                            'name' => 'list_align_items',
                            'label' => esc_html__('Align Items', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'default' => '',
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Start', 'solarva'),
                                    'icon' => 'eicon-align-start-v',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-align-center-v',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-align-end-v',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature' => 'align-items: {{VALUE}};'
                            ],
                        ),
                        array(
                            'name' => 'list_gap',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'item_feature_spacing',
                            'label' => esc_html__('Item 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-company-features .pxl-list--features .pxl-item--feature + .pxl-item--feature' => 'margin-top: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'feature_normal',
                            'label' => esc_html__('TEXT', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'feature_text_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature' => 'color: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'feature_text_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group',
                            'selector' => '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature',
                        ),
                        array(
                            'name' => 'divider5',
                            'type' => Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'feature_icon',
                            'label' => esc_html__('ICON', 'solarva'),
                            'type' => Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'feature_icon_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature svg path' => 'fill: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'feature_icon_size',
                            'label' => esc_html__('Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-company-features .pxl-list--features .pxl-item--feature svg' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                solarva_widget_animation_settings(),
            ),
        ),
    ),
    solarva_get_class_widget_path()
);