<?php
use Elementor\Widget_Base;
use Elementor\Controls_Manager;

if (!defined('ABSPATH')) {
  exit;
} // Exit if accessed directly

class Kavehwoocommerceproducttabs extends \Elementor\Widget_Base
{

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

  public function get_title()
  {
    return esc_html__('Single Product Tabs Element', 'kavehTheme');
  }

  public function get_icon()
  {
    return 'eicon-archive-posts';
  }

  public function get_categories()
  {
    return ['woocommercekavehelements'];
  }

  protected function register_controls()
  {
    $this->start_controls_section(
      'content1kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Content', 'kavehTheme' ),
    
       'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
      ]
    );

    $this->add_control(
      'style_kavehwoocommerceproducttabs',
      [
          'label' => esc_html__('Box Style', 'kavehTheme'),
          'type' => \Elementor\Controls_Manager::SELECT,
          'default' => 'one',
          'options' => [
              'one' => esc_html__('First Layout', 'kavehTheme'),
        'two' => esc_html__('Second Layout', 'kavehTheme'),
        'three' => esc_html__('Third Layout', 'kavehTheme'),
        'four' => esc_html__('Fourth Layout', 'kavehTheme'),
          ],
      ]
  );
  

    $this->end_controls_section();





/////////////////////////////////////// style ///////////////////////////////





    $this->start_controls_section(
      'style1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Tabs', 'kavehTheme' ),
        'tab' => \Elementor\Controls_Manager::TAB_STYLE,
        'condition' => [
          'style_kavehwoocommerceproducttabs' => 'one',
        ],
      ]
    );

    $this->add_control(
      'titletabsـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Tabs Title Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .nav-pills .nav-link' => 'color: {{VALUE}}',
        ],
      ]
    );

    $this->add_group_control(
      \Elementor\Group_Control_Typography::get_type(),
      [
        'name' => 'titletabs_type_kavehwoocommerceproducttabs',
        'label' => esc_html__( 'Tabs Title Typography', 'kavehTheme' ),
        'selector' => '{{WRAPPER}} .nav-pills .nav-link',
      ]
    );

    $this->add_control(
      'titleactivetabs_color1ـkavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Active Tab Title Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .nav-pills .nav-link.active' => 'color: {{VALUE}}',
        ],
      ]
    );

    $this->add_group_control(
      \Elementor\Group_Control_Typography::get_type(),
      [
        'name' => 'titleactivetabs_type_kavehwoocommerceproducttabs',
        'label' => esc_html__( 'Active Tab Title Typography', 'kavehTheme' ),
        'selector' => '{{WRAPPER}} .nav-pills .nav-link.active',
      ]
    );

    $this->add_control(
      'bgactivetabs_color1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Active Tab Background Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .nav-pills .nav-link.active' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'bgactivetab_one_kavehwoocommerceproducttabs',
      [
      'label' => __( 'Active Tab Box Padding', 'kavehTheme'),
      'type' => \Elementor\Controls_Manager::DIMENSIONS,
      'size_units' => [ 'px' ],
      'selectors' => [
      '{{WRAPPER}} .nav-pills .nav-link.active' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
      ],
      ]
      );
      
      $this->add_control(
      'btnborderradiustabactive_one_kavehwoocommerceproducttabs',
      [
        'label' => __( 'Active Tab Box Border Radius', 'kavehTheme'),
      'type' => \Elementor\Controls_Manager::DIMENSIONS,
      'size_units' => [ 'px' ],
      'selectors' => [
      '{{WRAPPER}} .nav-pills .nav-link.active' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
      ],
      ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Box_Shadow::get_type(),
        [
          'name' => 'boxshadowactivetab_one_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Title Box Shadow', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .nav-pills .nav-link.active',
        ]
        );
    $this->end_controls_section();
    $this->start_controls_section(
      'style2_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Product Specifications Tab', 'kavehTheme' ),
        'tab' => \Elementor\Controls_Manager::TAB_STYLE,
        'condition' => [
          'style_kavehwoocommerceproducttabs' => 'one',
        ],
      ]
    );

    $this->add_control(
      'titletab1ـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Product Features Title Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li span:first-child' => 'color: {{VALUE}}',
        ],
      ]
    );

    $this->add_group_control(
      \Elementor\Group_Control_Typography::get_type(),
      [
        'name' => 'titletab1_type_kavehwoocommerceproducttabs',
        'label' => esc_html__( 'Product Features Title Typography', 'kavehTheme' ),
        'selector' => '{{WRAPPER}} #specifications ul li span:first-child',
      ]
    );

    $this->add_control(
      'titletab1ـcolor2_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Product Features Value Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li span:last-child' => 'color: {{VALUE}}',
        ],
      ]
    );

    $this->add_group_control(
      \Elementor\Group_Control_Typography::get_type(),
      [
        'name' => 'titletab1_type2_kavehwoocommerceproducttabs',
        'label' => esc_html__( 'Product Features Value Typography', 'kavehTheme' ),
        'selector' => '{{WRAPPER}} #specifications ul li span:last-child',
      ]
    );

    $this->add_control(
      'bgtitletab1ـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Product Features Title Background Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li span:first-child' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'bordercolorbox1ـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Boxes Border Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li' => 'border: 1px solid {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'linetab1ـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Features Title Side Border Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li::after' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'bgtab1ـcolor1_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Features Value Background Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} #specifications ul li span:last-child' => 'background-color: {{VALUE}}',
        ],
      ]
    );
    
    $this->add_control(
    'margintopboxtab1_one_kavehwoocommerceproducttabs',
    [
    'label' => __( 'Boxes Top Margin', 'kavehTheme'),
    'type' => \Elementor\Controls_Manager::DIMENSIONS,
    'size_units' => [ 'px' ],
    'selectors' => [
    '{{WRAPPER}} #specifications ul li:not(:last-child)' => 'margin-bottom: {{TOP}}{{UNIT}} !important;',
    ],
    ]
    );

    $this->add_control(
      'paddingboxtab1_one_kavehwoocommerceproducttabs',
      [
      'label' => __( 'Features Value Box Padding', 'kavehTheme'),
      'type' => \Elementor\Controls_Manager::DIMENSIONS,
      'size_units' => [ 'px' ],
      'selectors' => [
      '{{WRAPPER}} #specifications ul li span:last-child' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
      ],
      ]
      );

      $this->add_control(
        'btnborderradiusboxtab3_one_kavehwoocommerceproducttabs',
        [
          'label' => __( 'Boxes Border Radius', 'kavehTheme'),
        'type' => \Elementor\Controls_Manager::DIMENSIONS,
        'size_units' => [ 'px' ],
        'selectors' => [
        '{{WRAPPER}} #specifications ul li' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
        ],
        ]
        );

      $this->add_control(
        'btnborderradiusboxtab2_one_kavehwoocommerceproducttabs',
        [
          'label' => __( 'Product Features Title Box Border Radius', 'kavehTheme'),
        'type' => \Elementor\Controls_Manager::DIMENSIONS,
        'size_units' => [ 'px' ],
        'selectors' => [
        '{{WRAPPER}} #specifications ul li span:first-child' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
        ],
        ]
        );
      
      $this->add_control(
      'btnborderradiusboxtab1_one_kavehwoocommerceproducttabs',
      [
        'label' => __( 'Features Value Box Border Radius', 'kavehTheme'),
      'type' => \Elementor\Controls_Manager::DIMENSIONS,
      'size_units' => [ 'px' ],
      'selectors' => [
      '{{WRAPPER}} #specifications ul li span:last-child' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
      ],
      ]
      );

      $this->add_control(
        'widthboxtab1_one_aboutusthreekaveh',
        [
          'label' => esc_html__( 'Features Value Box Width', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => '%',
          'range' => [
            'px' => [
              'min' => 1,
              'max' => 100,
            ]
          ],
          'selectors' => [
            '{{WRAPPER}} #specifications ul li span:last-child' => 'width: {{SIZE}}%;',   
          ],
        ]
      );
      $this->end_controls_section();
      $this->start_controls_section(
        'style3_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Description Tab', 'kavehTheme' ),
          'tab' => \Elementor\Controls_Manager::TAB_STYLE,
          'condition' => [
            'style_kavehwoocommerceproducttabs' => 'one',
          ],
        ]
      );
      
      $this->add_control(
        'titletab2ـcolor1_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Description Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tab-pane h4' => 'color: {{VALUE}}',
          ],
        ]
      );
  
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titletab2_type_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Description Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .tab-pane h4',
        ]
      );
  
      $this->add_control(
        'titletab2_color2_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Description Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tab-pane p' => 'color: {{VALUE}}',
          ],
        ]
      );
  
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titletab2_type2_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Description Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .tab-pane p',
        ]
      );
      $this->end_controls_section();
      $this->start_controls_section(
        'style4_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'User Comments Tab', 'kavehTheme' ),
          'tab' => \Elementor\Controls_Manager::TAB_STYLE,
          'condition' => [
            'style_kavehwoocommerceproducttabs' => 'one',
          ],
        ]
      );

      $this->add_control(
        'more_options1',
        [
          'label' => esc_html__( 'User Comments Title', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title_color5_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-blog-comments .title ' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'title_color6_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-blog-comments .title span ' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title1_typest5_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .detail-blog-comments .title ',
        ]
      );

      $this->add_control(
        'more_options2',
        [
          'label' => esc_html__( 'Display and Add New Comment Section', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title_upbutt1_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title ' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titileupbutt_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title',
        ]
      );

      $this->add_control(
        'title_upbutt2_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .btn' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titileupbutt2_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} #comments .rate-comment .btn',
        ]
      );

      $this->add_control(
        'bgcolor_upbutt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .btn' => 'background-color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'borderradius_upbutt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} #comments .rate-comment .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'paddingbox_upbutt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Padding', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'title_uptitle1_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Product Rating Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .rate-box-title' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titileuptitle1_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Product Rating Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} #comments .rate-comment .rate-box-title',
        ]
      );

      $this->add_control(
        'title_uptitle2_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Total Ratings Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .rate-box-count' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'title_uptitle3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Ratings Count Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .rate-box-count i' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'more_options3',
        [
          'label' => esc_html__( 'Top Line', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title1color1_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Line Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments::before' => 'background-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'width_line_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Line Width', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => '%',
          'range' => [
          '%' => [
            'min' => 1,
            'max' => 100,
          ],
          ],
          'selectors' => [
          '{{WRAPPER}} #comments::before' => 'width: {{SIZE}}%;',
          ],
        ]
        );

        $this->add_control(
          'height_line_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Line Height', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => 'px',
            'range' => [
            'px' => [
            'min' => 1,
            'max' => 20,
            ],
            ],
            'selectors' => [
            '{{WRAPPER}} #comments::before' => 'height: {{SIZE}}{{UNIT}};',
            ],
          ]
          );

          $this->add_control(
            'borderradius_line_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} #comments::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'more_options4',
            [
              'label' => esc_html__( 'User Information Box', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'bgcolor1_user_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'User Information Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'borderradius_box_user_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'User Information Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .comments li .content .info .detail' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'paddingbox_user_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'User Information Box Padding', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'more_options5',
            [
              'label' => esc_html__( 'User Information Titles', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_color1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'User Name Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .author' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title1_typest1_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'User Name Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .comments li .content .info .detail .author',
            ]
          );

          $this->add_control(
            'title_color2_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Date Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .date' => 'color: {{VALUE}}',
              ],
            ]
          );
          
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title2_typest1_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Comment Date Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .comments li .content .info .detail .date',
            ]
          );

          $this->add_control(
            'more_options6',
            [
              'label' => esc_html__( 'User Information Box Buttons', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_color1butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .position' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title1_typest1butt_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .comments li .content .info .detail .position',
            ]
          );

          $this->add_control(
            'bgcolor1_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .position' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'borderradius_box_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Button Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .comments li .content .info .detail .position' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
              ],
            ]
          );

          $this->add_control(
            'paddingbox_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Padding', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .position' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'more_options7',
            [
              'label' => esc_html__( 'Comment and Review Title', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_comment1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Text Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comments li .content .box p' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title1_comment1_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Comment Text Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .comments li .content .box p',
            ]
          );

          $this->add_control(
            'title_comment2_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Review Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} h3#reply-title' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title1_comment2_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Review Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} h3#reply-title',
            ]
          );  

          $this->add_control(
            'more_options8',
            [
              'label' => esc_html__( 'Features Box', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_colorbox1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Titles Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .pcf-field-container' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title_colorbox1_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Features Titles Typography', 'kavehTheme' ),
              'selector' => 
              '{{WRAPPER}} .pcf-field-container',
            ]
          );

          $this->add_control(
            'title_colorplaceholder1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Placeholder Titles Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify__input::before' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'titlehover_colorplaceholder1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Placeholder Titles Hover Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify__input:focus:empty::before' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title_colorplaceholder1_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Placeholder Titles Typography', 'kavehTheme' ),
              'selector' => 
              '{{WRAPPER}} .tagify__input::before',
            ]
          );

          $this->add_control(
            'bgcolor1_box1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify' => 'background-color: {{VALUE}}!important',
              ],
            ]
          );

          $this->add_control(
            'bghovercolor1_box1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Hover Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify--focus' => 'background-color: {{VALUE}}!important',
              ],
            ]
          );

          $this->add_control(
            'bordercolor1_box1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Border Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify' => 'border: 1px solid {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'borderhovercolor1_box1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Hover Border Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .tagify--focus' => 'border: 1px solid {{VALUE}}!important',
              ],
            ]
          );

          $this->add_control(
            'paddingbox2_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} .tagify' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'borderradius1_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .tagify' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
              ],
            ]
          );

          $this->add_control(
            'more_options9',
            [
              'label' => esc_html__( 'Review', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_colorcomment1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Logout from User Account', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .logged-in-as ' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title_colorcomment1_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Logout Typography', 'kavehTheme' ),
              'selector' => 
              '{{WRAPPER}} .send-comment .logged-in-as ',
            ]
          );

          $this->add_control(
            'title_coloryourcomment1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Your Opinion Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title_coloryourcomment1_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Your Comment Typography', 'kavehTheme' ),
              'selector' => 
              '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label',
            ]
          );

          $this->add_control(
            'bgcolor_yourcomment_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Your Comment Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'background-color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'paddingbox3_comment_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'borderradius2_comment_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Box Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
              ],
            ]
          );

          $this->add_control(
            'bgcolor_comment2_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comments Box Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'background-color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'bordercolor1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Box Border Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'border-color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'bordercolorhover1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Box Border Hover Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group .form-control:focus, .auth .form-group .form-control:focus' => 'border-color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'heightsize_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Box Height', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::SLIDER,
              'unit' => 'px',
              'range' => [
                'px' => [
                  'min' => 1,
                  'max' => 280,
                ]
              ],
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'height: {{SIZE}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'widthtsize_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Box Width', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::SLIDER,
              'unit' => '%',
              'range' => [
                'px' => [
                  'min' => 1,
                  'max' => 100,
                ]
              ],
              'selectors' => [
                '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'width: {{SIZE}}%;',
              ],
            ]
          );
          
          $this->add_control(
            'borderradius1_comment_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Comment Box Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
              ],
            ]
          );

          $this->add_control(
            'more_options10',
            [
              'label' => esc_html__( 'Submit Button', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title_colo2butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Submit Button Text Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comment-respond .btn' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title1_typest2butt_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Submit Button Typography', 'kavehTheme' ),
              'selector' => 
              '{{WRAPPER}} .comment-respond .btn',
            ]
          );

          $this->add_control(
            'bgcolor2_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Submit Button Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comment-respond .btn' => 'background-color: {{VALUE}}!important',
              ],
            ]
          );

          $this->add_control(
            'bgcolorhover2_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Submit Button Background Hover Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .comment-respond .btn:hover' => 'background-color: {{VALUE}}!important',
              ],
            ]
          );

          $this->add_control(
            'borderradius1_box_butt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Submit Button Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .comment-respond .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
              ],
            ]
          );
          
          $this->add_control(
            'more_options11',
            [
              'label' => esc_html__( 'Main Box', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'bgcolor1_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Main Box Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments' => 'background-color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'paddingbox_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Main Box Inner Spacing', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} #comments' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'borderradius_box_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Main Box Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} #comments' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );
          
          $this->add_group_control(
            \Elementor\Group_Control_Box_Shadow::get_type(),
            [
              'name' => 'box_shadow_one_kavehwoocommerceproductcommen',
              'label' => esc_html__( 'Main Box Shadow', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} #comments',
            ]
            );

            $this->end_controls_section();






            $this->start_controls_section(
              'style1_two_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Tabs', 'kavehTheme' ),
                'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                'condition' => [
                  'style_kavehwoocommerceproducttabs' => 'two',
                ],
              ]
            );

            $this->add_control(
              'titletabsـcolor2_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Tabs Title Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__tabs li' => 'color: {{VALUE}}',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'titletabs1_type2_kavehwoocommerceproducttabs',
                'label' => esc_html__( 'Tabs Title Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .detail-product-five__tabs li',
              ]
            );

            $this->add_control(
              'underlinetabsـcolor2_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Active Line Color Under Tab Titles', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__tabs li::after' => 'background-color: {{VALUE}}',
                ],
              ]
            );

            $this->add_control(
              'borderundertabsـcolor2_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Border Color Under Tabs', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__tabs' => 'border-bottom:1px solid {{VALUE}}',
                ],
              ]
            );

      $this->end_controls_section();
      $this->start_controls_section(
        'style2_two_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Introduction Tab', 'kavehTheme' ),
          'tab' => \Elementor\Controls_Manager::TAB_STYLE,
          'condition' => [
            'style_kavehwoocommerceproducttabs' => 'two',
          ],
        ]
      );

      $this->add_control(
        'titletab2ـcolor2_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Description Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-five__introduction .detail-product-five__title__box' => 'color: {{VALUE}} !important',
          ],
        ]
      );
  
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titletab3_type2_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Description Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .detail-product-five__introduction .detail-product-five__title__box',
        ]
      );

      $this->add_control(
        'borderundertitle1ـcolor2_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Border Color Under Title', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-five__introduction .detail-product-five__title__box::after' => 'background-color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'widthbordertitle1_box_two_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Border Width Under Title', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => '%',
          'range' => [
          '%' => [
            'min' => 1,
            'max' => 100,
          ],
          ],
          'selectors' => [
          '{{WRAPPER}} .detail-product-five__introduction .detail-product-five__title__box::after' => 'width: {{SIZE}}%;',
          ],
        ]
        );

        $this->add_control(
          'heightbordertitle1_box_two_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Border Height Under Title', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => 'px',
            'range' => [
            'px' => [
              'min' => 1,
              'max' => 20,
            ],
            ],
            'selectors' => [
            '{{WRAPPER}} .detail-product-five__introduction .detail-product-five__title__box::after' => 'height: {{SIZE}}{{UNIT}};',
            ],
          ]
          );

          $this->add_control(
            'titletab3_color2_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Description Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-five__introduction p' => 'color: {{VALUE}}',
              ],
            ]
          );
      
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titletab3_1_type2_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'Description Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-product-five__introduction p',
            ]
          );

          $this->add_control(
            'titlemore_color_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'More Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-five__introduction .btn__more__detail__product' => 'color: {{VALUE}}',
              ],
            ]
          );
      
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titlemore_type_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'More Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-product-five__introduction .btn__more__detail__product',
            ]
          );

          $this->end_controls_section();
          $this->start_controls_section(
            'style3_two_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Specifications Tab', 'kavehTheme' ),
              'tab' => \Elementor\Controls_Manager::TAB_STYLE,
              'condition' => [
                'style_kavehwoocommerceproducttabs' => 'two',
              ],
            ]
          );

          $this->add_control(
            'borderunderـcolor2_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Tab Separator Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-five__introduction' => 'border-bottom: 4px solid {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'titletab4_color2_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Specifications Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-five__specifications .detail-product-five__title__box' => 'color: {{VALUE}}',
              ],
            ]
          );
      
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titletab4_type2_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'Specifications Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-product-five__specifications .detail-product-five__title__box',
            ]
          );

          $this->add_control(
            'borderundertitle2ـcolor2_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Border Color Under Specifications Title', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-five__specifications .detail-product-five__title__box::after' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'widthbordertitle2_box_two_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Border Width Under Specifications Title', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::SLIDER,
              'unit' => '%',
              'range' => [
              '%' => [
                'min' => 1,
                'max' => 100,
              ],
              ],
              'selectors' => [
              '{{WRAPPER}} .detail-product-five__specifications .detail-product-five__title__box::after' => 'width: {{SIZE}}%;',
              ],
            ]
            );

            $this->add_control(
              'heightbordertitle2_box_two_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Border Height Under Specifications Title', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::SLIDER,
                'unit' => 'px',
                'range' => [
                'px' => [
                  'min' => 1,
                  'max' => 20,
                ],
                ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__specifications .detail-product-five__title__box::after' => 'height: {{SIZE}}{{UNIT}};',
                ],
              ]
              );

              $this->add_control(
                'titletabattr1ـcolor2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Product Features Title Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__specifications__items li .title' => 'color: {{VALUE}}',
                  ],
                ]
              );
          
              $this->add_group_control(
                \Elementor\Group_Control_Typography::get_type(),
                [
                  'name' => 'titletabattr1_type2_kavehwoocommerceproducttabs',
                  'label' => esc_html__( 'Product Features Title Typography', 'kavehTheme' ),
                  'selector' => '{{WRAPPER}} .detail-product-five__specifications__items li .title',
                ]
              );

              $this->add_control(
                'titletabattr2ـcolor2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Product Features Value Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__specifications__items li .value' => 'color: {{VALUE}}',
                  ],
                ]
              );
          
              $this->add_group_control(
                \Elementor\Group_Control_Typography::get_type(),
                [
                  'name' => 'titletabattr2_type2_kavehwoocommerceproducttabs',
                  'label' => esc_html__( 'Product Features Value Typography', 'kavehTheme' ),
                  'selector' => '{{WRAPPER}} .detail-product-five__specifications__items li .value',
                ]
              );

              $this->add_control(
                'bordercolorbox1_color2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Boxes Border Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__specifications__items li .value' => 'border-bottom: 1px solid {{VALUE}}',
                  ],
                ]
              );

              $this->add_control(
                'titlemore2_color_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'View More Title Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__specifications .btn__more__detail__product' => 'color: {{VALUE}}',
                    '{{WRAPPER}} .detail-product-five__specifications .btn__more__detail__product i' => 'color: {{VALUE}}',
                  ],
                ]
              );
          
              $this->add_group_control(
                \Elementor\Group_Control_Typography::get_type(),
                [
                  'name' => 'titlemore2_type_kavehwoocommerceproducttabs',
                  'label' => esc_html__( 'View More Title Typography', 'kavehTheme' ),
                  'selector' => '{{WRAPPER}} .detail-product-five__specifications .btn__more__detail__product',
                  'selector' => '{{WRAPPER}} .detail-product-five__specifications .btn__more__detail__product i',
                ]
              );

              $this->end_controls_section();
              $this->start_controls_section(
                'style4_two_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'User Comments Tab', 'kavehTheme' ),
                  'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                  'condition' => [
                    'style_kavehwoocommerceproducttabs' => 'two',
                  ],
                ]
              );

              $this->add_control(
                'borderunder2ـcolor2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Tab Separator Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__specifications' => 'border-bottom: 4px solid {{VALUE}}',
                  ],
                ]
              );

              $this->add_control(
                'titletab5_color2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'User Comments Title Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__comments .detail-product-five__title__box' => 'color: {{VALUE}}',
                  ],
                ]
              );
          
              $this->add_group_control(
                \Elementor\Group_Control_Typography::get_type(),
                [
                  'name' => 'titletab5_type2_kavehwoocommerceproducttabs',
                  'label' => esc_html__( 'User Comments Title Typography', 'kavehTheme' ),
                  'selector' => '{{WRAPPER}} .detail-product-five__comments .detail-product-five__title__box',
                ]
              );

              $this->add_control(
                'borderundertitle3ـcolor2_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Border Color Under User Comments Title', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .detail-product-five__comments .detail-product-five__title__box::after' => 'background-color: {{VALUE}}',
                  ],
                ]
              );
  
              $this->add_control(
                'widthbordertitle3_box_two_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Border Width Under User Comments Title', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::SLIDER,
                  'unit' => '%',
                  'range' => [
                  '%' => [
                    'min' => 1,
                    'max' => 50,
                  ],
                  ],
                  'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .detail-product-five__title__box::after' => 'width: {{SIZE}}%;',
                  ],
                ]
                );
  
                $this->add_control(
                  'heightbordertitle3_box_two_kavehwoocommerceproducttabs',
                  [
                    'label' => esc_html__( 'Border Height Under User Comments Title', 'kavehTheme' ),
                    'type' => \Elementor\Controls_Manager::SLIDER,
                    'unit' => 'px',
                    'range' => [
                    'px' => [
                      'min' => 1,
                      'max' => 15,
                    ],
                    ],
                    'selectors' => [
                    '{{WRAPPER}} .detail-product-five__comments .detail-product-five__title__box::after' => 'height: {{SIZE}}{{UNIT}};',
                    ],
                  ]
                  );

                  $this->add_control(
                    'more_options2_two_kavehwoocommerceproducttabs',
                    [
                      'label' => esc_html__( 'User Comments Title', 'textdomain' ),
                      'type' => \Elementor\Controls_Manager::HEADING,
                      'separator' => 'before',
                    ]
                  );
            
                  $this->add_control(
                    'title1_color2_two_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments .detail-blog-comments .title ' => 'color: {{VALUE}} !important',
                      ],
                    ]
                  );
            
                  $this->add_control(
                    'title2_color2_two_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments .detail-blog-comments .title span ' => 'color: {{VALUE}}',
                      ],
                    ]
                  );
            
                  $this->add_group_control(
                    \Elementor\Group_Control_Typography::get_type(),
                    [
                      'name' => 'title2_typest2_two_kavehwoocommerceproductcomment',
                      'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
                      'selector' => '{{WRAPPER}} .detail-product-five__comments .detail-blog-comments .title ',
                    ]
                  );
            
                  $this->add_control(
                    'more_options3_two_kavehwoocommerceproducttabs',
                    [
                      'label' => esc_html__( 'Display and Add New Comment Section', 'textdomain' ),
                      'type' => \Elementor\Controls_Manager::HEADING,
                      'separator' => 'before',
                    ]
                  );

                  $this->add_control(
                    'title1_upbutt2_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .title, #comments .rate-comment .sub-title ' => 'color: {{VALUE}} !important',
                      ],
                    ]
                  );
            
                  $this->add_group_control(
                    \Elementor\Group_Control_Typography::get_type(),
                    [
                      'name' => 'titileupbutt_typo2_kavehwoocommerceproductcomment',
                      'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
                      'selector' => '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .title, #comments .rate-comment .sub-title',
                    ]
                  );

                  $this->add_control(
                    'title2_upbutt2_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .btn' => 'color: {{VALUE}}',
                      ],
                    ]
                  );
            
                  $this->add_group_control(
                    \Elementor\Group_Control_Typography::get_type(),
                    [
                      'name' => 'title2upbutt2_typo_kavehwoocommerceproductcomment',
                      'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
                      'selector' => '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .btn',
                    ]
                  );

                  $this->add_control(
                    'bgcolor2_upbutt_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .btn' => 'background-color: {{VALUE}}',
                      ],
                    ]
                  );
            
                  $this->add_control(
                    'borderradius2_upbutt_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::DIMENSIONS,
                      'size_units' => [ 'px' ],
                      'selectors' => [
                      '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                      ],
                    ]
                  );

                  $this->add_control(
                    'paddingbox2_upbutt_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Padding', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::DIMENSIONS,
                      'size_units' => [ 'px' ],
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                      ],
                    ]
                  );
            
                  $this->add_control(
                    'title2_uptitle1_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Product Rating Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .rate-box-title' => 'color: {{VALUE}}',
                      ],
                    ]
                  );

                  $this->add_group_control(
                    \Elementor\Group_Control_Typography::get_type(),
                    [
                      'name' => 'title2uptitle1_typo_kavehwoocommerceproductcomment',
                      'label' => esc_html__( 'Product Rating Title Typography', 'kavehTheme' ),
                      'selector' => '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .rate-box-title',
                    ]
                  );
            
                  $this->add_control(
                    'title2_uptitle2_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Total Ratings Title Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .rate-box-count' => 'color: {{VALUE}}',
                      ],
                    ]
                  );
            
                  $this->add_control(
                    'title2_uptitle3_kavehwoocommerceproductcomment',
                    [
                      'label' => esc_html__( 'Ratings Count Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments .rate-comment .rate-box-count i' => 'color: {{VALUE}}',
                      ],
                    ]
                  );

                  $this->add_control(
                    'more_options4_two_kavehwoocommerceproducttabs',
                    [
                      'label' => esc_html__( 'Top Line', 'textdomain' ),
                      'type' => \Elementor\Controls_Manager::HEADING,
                      'separator' => 'before',
                    ]
                  );

                  $this->add_control(
                    'title2color1_kavehwoocommerceproducttabs',
                    [
                      'label' => esc_html__( 'Line Color', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::COLOR,
                      'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments::before' => 'background-color: {{VALUE}} !important',
                      ],
                    ]
                  );
            
                  $this->add_control(
                    'width2_line_kavehwoocommerceproducttabs',
                    [
                      'label' => esc_html__( 'Line Width', 'kavehTheme' ),
                      'type' => \Elementor\Controls_Manager::SLIDER,
                      'unit' => '%',
                      'range' => [
                      '%' => [
                        'min' => 1,
                        'max' => 100,
                      ],
                      ],
                      'selectors' => [
                      '{{WRAPPER}} .detail-product-five__comments #comments::before' => 'width: {{SIZE}}%;',
                      ],
                    ]
                    );
            
                    $this->add_control(
                      'height2_line_kavehwoocommerceproducttabs',
                      [
                        'label' => esc_html__( 'Line Height', 'kavehTheme' ),
                        'type' => \Elementor\Controls_Manager::SLIDER,
                        'unit' => 'px',
                        'range' => [
                        'px' => [
                        'min' => 1,
                        'max' => 20,
                        ],
                        ],
                        'selectors' => [
                        '{{WRAPPER}} .detail-product-five__comments #comments::before' => 'height: {{SIZE}}{{UNIT}};',
                        ],
                      ]
                      );

                      $this->add_control(
                        'borderradius2_line_kavehwoocommerceproducttabs',
                        [
                          'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::DIMENSIONS,
                          'size_units' => [ 'px' ],
                          'selectors' => [
                          '{{WRAPPER}} .detail-product-five__comments #comments::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                          ],
                        ]
                      );

                      $this->add_control(
                        'more_options5_two_kavehwoocommerceproducttabs',
                        [
                          'label' => esc_html__( 'User Information Box', 'textdomain' ),
                          'type' => \Elementor\Controls_Manager::HEADING,
                          'separator' => 'before',
                        ]
                      );

                      $this->add_control(
                        'bgcolor2_user_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'User Information Background Color', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::COLOR,
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail' => 'background-color: {{VALUE}}',
                          ],
                        ]
                      );
            
                      $this->add_control(
                        'borderradius2_box_user_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'User Information Background Border Radius', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::DIMENSIONS,
                          'size_units' => [ 'px' ],
                          'selectors' => [
                          '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                          ],
                        ]
                      );
            
                      $this->add_control(
                        'paddingbox2_user_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'User Information Box Padding', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::DIMENSIONS,
                          'size_units' => [ 'px' ],
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                          ],
                        ]
                      );

                      $this->add_control(
                        'more_options6_two_kavehwoocommerceproducttabs',
                        [
                          'label' => esc_html__( 'User Information Titles', 'textdomain' ),
                          'type' => \Elementor\Controls_Manager::HEADING,
                          'separator' => 'before',
                        ]
                      );

                      $this->add_control(
                        'title2_color1_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'User Name Color', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::COLOR,
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .author' => 'color: {{VALUE}}',
                          ],
                        ]
                      );
            
                      $this->add_group_control(
                        \Elementor\Group_Control_Typography::get_type(),
                        [
                          'name' => 'title2_typest2_kavehwoocommerceproductcomment',
                          'label' => esc_html__( 'User Name Typography', 'kavehTheme' ),
                          'selector' => '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .author',
                        ]
                      );
            
                      $this->add_control(
                        'title2_color2_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'Comment Date Color', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::COLOR,
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .date' => 'color: {{VALUE}}',
                          ],
                        ]
                      );
                      
                      $this->add_group_control(
                        \Elementor\Group_Control_Typography::get_type(),
                        [
                          'name' => 'titlee2_typest2_kavehwoocommerceproductcomment',
                          'label' => esc_html__( 'Comment Date Typography', 'kavehTheme' ),
                          'selector' => '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .date',
                        ]
                      );

                      $this->add_control(
                        'more_options7_two_kavehwoocommerceproducttabs',
                        [
                          'label' => esc_html__( 'User Information Box Buttons', 'textdomain' ),
                          'type' => \Elementor\Controls_Manager::HEADING,
                          'separator' => 'before',
                        ]
                      );

                      $this->add_control(
                        'title2_color1butt_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::COLOR,
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .position' => 'color: {{VALUE}}',
                          ],
                        ]
                      );
            
                      $this->add_group_control(
                        \Elementor\Group_Control_Typography::get_type(),
                        [
                          'name' => 'title2_typest1butt_kavehwoocommerceproductcomment',
                          'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
                          'selector' => '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .position',
                        ]
                      );
                      
                      $this->add_control(
                        'bgcolor2_butt2_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::COLOR,
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .position' => 'background-color: {{VALUE}}',
                          ],
                        ]
                      );
            
                      $this->add_control(
                        'borderradius2_box_butt_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'Button Background Border Radius', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::DIMENSIONS,
                          'size_units' => [ 'px' ],
                          'selectors' => [
                          '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .position' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                          ],
                        ]
                      );

                      $this->add_control(
                        'paddingbox2_butt_kavehwoocommerceproductcomment',
                        [
                          'label' => esc_html__( 'Padding', 'kavehTheme' ),
                          'type' => \Elementor\Controls_Manager::DIMENSIONS,
                          'size_units' => [ 'px' ],
                          'selectors' => [
                            '{{WRAPPER}} .detail-product-five__comments .comments li .content .info .detail .position' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                          ],
                        ]
                      );

            $this->add_control(
              'more_options8_two_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Comment and Review Title', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title2_comment1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Text Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .comments li .content .box p' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_comment2_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Comment Text Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .detail-product-five__comments .comments li .content .box p',
              ]
            );

            $this->add_control(
              'titlee2_comment2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Review Title Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments h3#reply-title' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'titleee2_comment2_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Review Title Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .detail-product-five__comments h3#reply-title',
              ]
            );

            $this->add_control(
              'more_options9_two_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title2_colorbox1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Titles Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .pcf-field-container' => 'color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_colorbox1_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Features Titles Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .detail-product-five__comments .pcf-field-container',
              ]
            );

            $this->add_control(
              'title2_colorplaceholder1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Placeholder Titles Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify__input::before' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_control(
              'titlehover2_colorplaceholder1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Placeholder Titles Hover Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify__input:focus:empty::before' => 'color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_colorplaceholder1_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Placeholder Titles Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .detail-product-five__comments .tagify__input::before',
              ]
            );
  
            $this->add_control(
              'bgcolor2_box1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );

            $this->add_control(
              'bghovercolor2_box1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Hover Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify--focus' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );
  
            $this->add_control(
              'bordercolor2_box1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Border Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify' => 'border: 1px solid {{VALUE}}',
                ],
              ]
            );

            $this->add_control(
              'borderhovercolor2_box1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Hover Border Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify--focus' => 'border: 1px solid {{VALUE}}!important',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox2_box2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .tagify' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );

            $this->add_control(
              'borderradius2_box_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__comments .tagify' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );

            $this->add_control(
              'more_options10_two_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Review', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title2_colorcomment1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Logout from User Account', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .logged-in-as ' => 'color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_colorcomment1_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Logout Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .detail-product-five__comments .send-comment .logged-in-as ',
              ]
            );

            $this->add_control(
              'title2_coloryourcomment1_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Your Opinion Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group label, .auth .form-group label' => 'color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_coloryourcomment1_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Your Comment Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group label, .auth .form-group label',
              ]
            );

            $this->add_control(
              'bgcolor2_yourcomment_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Your Comment Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group label, .auth .form-group label' => 'background-color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox3_comment2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group label, .auth .form-group label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );

            $this->add_control(
              'borderradius2_comment2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group label, .auth .form-group label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );
  
            $this->add_control(
              'bgcolor2_comment2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comments Box Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group .form-control, .auth .form-group .form-control' => 'background-color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_control(
              'bordercolor2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Box Border Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group .form-control, .auth .form-group .form-control' => 'border-color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_control(
              'bordercolorhover2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Box Border Hover Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group .form-control:focus, .auth .form-group .form-control:focus' => 'border-color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_control(
              'heightsize2_box_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Box Height', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::SLIDER,
                'unit' => 'px',
                'range' => [
                  'px' => [
                    'min' => 1,
                    'max' => 280,
                  ]
                ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'height: {{SIZE}}{{UNIT}};',
                ],
              ]
            );
  
            $this->add_control(
              'widthtsize2_box_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Box Width', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::SLIDER,
                'unit' => '%',
                'range' => [
                  'px' => [
                    'min' => 1,
                    'max' => 100,
                  ]
                ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'width: {{SIZE}}%;',
                ],
              ]
            );

            $this->add_control(
              'borderradius2-1_comment2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Box Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__comments .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );

            $this->add_control(
              'more_options11_two_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Submit Button', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title2_colo2butt_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Submit Button Text Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .comment-respond .btn' => 'color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title2_typest2butt_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Submit Button Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .detail-product-five__comments .comment-respond .btn',
              ]
            );

            $this->add_control(
              'bgcolor2_butt2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Submit Button Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .comment-respond .btn' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );
  
            $this->add_control(
              'bgcolorhover2_butt2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Submit Button Background Hover Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments .comment-respond .btn:hover' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );

            $this->add_control(
              'borderradius1_box2_butt_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Submit Button Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__comments .comment-respond .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );
            
            $this->add_control(
              'more_options12_two-kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Main Box', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'bgcolor2_box_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Main Box Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments #comments' => 'background-color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox2-1_box2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Main Box Inner Spacing', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-five__comments #comments' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );

            $this->add_control(
              'borderradius2_box2_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Main Box Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .detail-product-five__comments #comments' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );
            
            $this->add_group_control(
              \Elementor\Group_Control_Box_Shadow::get_type(),
              [
                'name' => 'box_shadow2_one_kavehwoocommerceproductcommen',
                'label' => esc_html__( 'Main Box Shadow', 'kavehTheme' ),
                'selector' => '{{WRAPPER}}.detail-product-five__comments  #comments',
              ]
              );
  
              $this->end_controls_section();








      $this->start_controls_section(
        'style1_three_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Product Specifications Tab', 'kavehTheme' ),
          'tab' => \Elementor\Controls_Manager::TAB_STYLE,
          'condition' => [
            'style_kavehwoocommerceproducttabs' => 'three',
          ],
        ]
      );

      $this->add_control(
        'titletab4_color3_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Product Specifications Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-three .section-titr' => 'color: {{VALUE}}',
          ],
        ]
      );
  
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titletab4_type3_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Product Specifications Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .detail-product-three .section-titr',
        ]
      );

      $this->add_control(
        'borderundertitle2ـcolor3_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Border Color Under Specifications Title', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-three .section-titr::after' => 'background-color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'widthbordertitle3_box_three_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Border Width Under Specifications Title', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => '%',
          'range' => [
          '%' => [
            'min' => 1,
            'max' => 100,
          ],
          ],
          'selectors' => [
          '{{WRAPPER}} .detail-product-three .section-titr::after' => 'width: {{SIZE}}%;',
          ],
        ]
        );

        $this->add_control(
          'heightbordertitle3_box_three_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Border Height Under Specifications Title', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => 'px',
            'range' => [
            'px' => [
              'min' => 1,
              'max' => 20,
            ],
            ],
            'selectors' => [
            '{{WRAPPER}} .detail-product-three .section-titr::after' => 'height: {{SIZE}}{{UNIT}};',
            ],
          ]
          );

          $this->add_control(
            'titletabattr1ـcolor3_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Product Features Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-three #specifications ul li span:first-child' => 'color: {{VALUE}}',
              ],
            ]
          );
      
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titletabattr1_type3_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'Product Features Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-product-three #specifications ul li span:first-child',
            ]
          );

          $this->add_control(
            'titletabattr2ـcolor3_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Product Features Value Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #specifications ul li span:last-child' => 'color: {{VALUE}}',
              ],
            ]
          );
      
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titletabattr2_type3_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'Product Features Value Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} #specifications ul li span:last-child',
            ]
          );

          $this->add_control(
            'bgtitletabattr1ـcolor3_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Product Features Title Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-three #specifications ul li span:first-child' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'bgtitletabattr2ـcolor2_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Product Features Value Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #specifications ul li span:last-child' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'borderradius2_upbutt3_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Title Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} .detail-product-three #specifications ul li span:first-child' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'borderradius3_upbutt3_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Features Value Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} #specifications ul li span:last-child' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->end_controls_section();
          $this->start_controls_section(
            'style2_three_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'User Comments Tab', 'kavehTheme' ),
              'tab' => \Elementor\Controls_Manager::TAB_STYLE,
              'condition' => [
                'style_kavehwoocommerceproducttabs' => 'three',
              ],
            ]
          );

          $this->add_control(
            'more_options2_two_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'User Comments Title', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );
    
          $this->add_control(
            'title1_color3_three_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-blog-comments .title ' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_control(
            'title2_color3_three_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-blog-comments .title span ' => 'color: {{VALUE}}',
              ],
            ]
          );
    
          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title2_typest3_three_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-blog-comments .title ',
            ]
          );

          $this->add_control(
            'more_options3_three_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Display and Add New Comment Section', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title1_upbutt3_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title ' => 'color: {{VALUE}} !important',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'titileupbutt_typo3_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title',
            ]
          );

          $this->add_control(
            'title2_upbutt3_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .btn' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title2upbutt3_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} #comments .rate-comment .btn',
            ]
          );

          $this->add_control(
            'bgcolor3_upbutt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .btn' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'borderradius3_upbutt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );

          $this->add_control(
            'paddingbox3_upbutt_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Padding', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::DIMENSIONS,
              'size_units' => [ 'px' ],
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
              ],
            ]
          );
    
          $this->add_control(
            'title3_uptitle1_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Product Rating Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .rate-box-title' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
              'name' => 'title3uptitle1_typo_kavehwoocommerceproductcomment',
              'label' => esc_html__( 'Product Rating Title Typography', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} #comments .rate-comment .rate-box-title',
            ]
          );
    
          $this->add_control(
            'title3_uptitle2_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Total Ratings Title Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .rate-box-count' => 'color: {{VALUE}}',
              ],
            ]
          );
    
          $this->add_control(
            'title3_uptitle3_kavehwoocommerceproductcomment',
            [
              'label' => esc_html__( 'Ratings Count Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments .rate-comment .rate-box-count i' => 'color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'more_options4_three_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Top Line', 'textdomain' ),
              'type' => \Elementor\Controls_Manager::HEADING,
              'separator' => 'before',
            ]
          );

          $this->add_control(
            'title2color3_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Line Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} #comments::before' => 'background-color: {{VALUE}} !important',
              ],
            ]
          );
    
          $this->add_control(
            'width3_line_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Line Width', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::SLIDER,
              'unit' => '%',
              'range' => [
              '%' => [
                'min' => 1,
                'max' => 100,
              ],
              ],
              'selectors' => [
              '{{WRAPPER}} #comments::before' => 'width: {{SIZE}}%;',
              ],
            ]
            );

            $this->add_control(
              'height3_line_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Line Height', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::SLIDER,
                'unit' => 'px',
                'range' => [
                'px' => [
                'min' => 1,
                'max' => 20,
                ],
                ],
                'selectors' => [
                '{{WRAPPER}} #comments::before' => 'height: {{SIZE}}{{UNIT}};',
                ],
              ]
              );

              $this->add_control(
                'borderradius3_line_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::DIMENSIONS,
                  'size_units' => [ 'px' ],
                  'selectors' => [
                  '{{WRAPPER}} #comments::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                  ],
                ]
              );

              $this->add_control(
                'more_options5_three_kavehwoocommerceproducttabs',
                [
                  'label' => esc_html__( 'User Information Box', 'textdomain' ),
                  'type' => \Elementor\Controls_Manager::HEADING,
                  'separator' => 'before',
                ]
              );

              $this->add_control(
                'bgcolor3_user_kavehwoocommerceproductcomment',
                [
                  'label' => esc_html__( 'User Information Background Color', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::COLOR,
                  'selectors' => [
                    '{{WRAPPER}} .comments li .content .info .detail' => 'background-color: {{VALUE}}',
                  ],
                ]
              );
    
              $this->add_control(
                'borderradius3_box_user_kavehwoocommerceproductcomment',
                [
                  'label' => esc_html__( 'User Information Background Border Radius', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::DIMENSIONS,
                  'size_units' => [ 'px' ],
                  'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                  ],
                ]
              );
    
              $this->add_control(
                'paddingbox3_user_kavehwoocommerceproductcomment',
                [
                  'label' => esc_html__( 'User Information Box Padding', 'kavehTheme' ),
                  'type' => \Elementor\Controls_Manager::DIMENSIONS,
                  'size_units' => [ 'px' ],
                  'selectors' => [
                    '{{WRAPPER}} .comments li .content .info .detail' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                  ],
                ]
              );

      $this->add_control(
        'more_options6_three_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'User Information Titles', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_color3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'User Name Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comments li .content .info .detail .author' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_typest3_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'User Name Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .comments li .content .info .detail .author',
        ]
      );

      $this->add_control(
        'title3_color3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Date Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comments li .content .info .detail .date' => 'color: {{VALUE}}',
          ],
        ]
      );
      
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titlee2_typest3_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Comment Date Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .comments li .content .info .detail .date',
        ]
      );

      $this->add_control(
        'more_options7_three_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'User Information Box Buttons', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_color3butt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comments li .content .info .detail .position' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_typest3butt_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .comments li .content .info .detail .position',
        ]
      );
      
      $this->add_control(
        'bgcolor2_butt3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comments li .content .info .detail .position' => 'background-color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'borderradius3_box_butt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Button Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .comments li .content .info .detail .position' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
        ]
      );

      $this->add_control(
        'paddingbox3_butt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Padding', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
            '{{WRAPPER}} .comments li .content .info .detail .position' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'more_options8_three_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Comment and Comment Title', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Text Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comments li .content .box p' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title3_comment3_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Comment Text Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .comments li .content .box p',
        ]
      );

      $this->add_control(
        'titlee2_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} h3#reply-title' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titleee2_comment3_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Comment Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} h3#reply-title',
        ]
      );

      $this->add_control(
        'more_options9_three_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_colorbox3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Titles Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .pcf-field-container' => 'color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_colorbox3_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Features Titles Typography', 'kavehTheme' ),
          'selector' => 
          '{{WRAPPER}} .pcf-field-container',
        ]
      );

      $this->add_control(
        'title2_colorplaceholder3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Placeholder Titles Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify__input::before' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'titlehover2_colorplaceholder3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Placeholder Titles Hover Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify__input:focus:empty::before' => 'color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_colorplaceholder3_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Placeholder Titles Typography', 'kavehTheme' ),
          'selector' => 
          '{{WRAPPER}} .tagify__input::before',
        ]
      );

      $this->add_control(
        'bgcolor2_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify' => 'background-color: {{VALUE}}!important',
          ],
        ]
      );

      $this->add_control(
        'bghovercolor3_box1_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Background Hover Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify--focus' => 'background-color: {{VALUE}}!important',
          ],
        ]
      );

      $this->add_control(
        'bordercolor3_box1_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Border Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify' => 'border: 1px solid {{VALUE}}',
          ],
        ]
      );

      $this->add_control(
        'borderhovercolor2_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Border Hover Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .tagify--focus' => 'border: 1px solid {{VALUE}}!important',
          ],
        ]
      );

      $this->add_control(
        'paddingbox2_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Inner Spacing', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
            '{{WRAPPER}} .tagify' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'borderradius2_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .tagify' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
        ]
      );

      $this->add_control(
        'more_options10_three_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_colorcomment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Logout from User Account', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .logged-in-as ' => 'color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_colorcomment3_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Logout from User Account Typography', 'kavehTheme' ),
          'selector' => 
          '{{WRAPPER}} .send-comment .logged-in-as ',
        ]
      );

      $this->add_control(
        'title2_coloryourcomment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Your Comment Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title2_coloryourcomment3_typo_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Your Comment Typography', 'kavehTheme' ),
          'selector' => 
          '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label',
        ]
      );

      $this->add_control(
        'bgcolor2_yourcomment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Your Comment Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'background-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'paddingbox3_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Inner Spacing', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'borderradius2_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Features Box Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
        ]
      );

      $this->add_control(
        'bgcolor2_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'background-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'bordercolor3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Border Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'border-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'bordercolorhover3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Border Hover Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group .form-control:focus, .auth .form-group .form-control:focus' => 'border-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'heightsize3_box_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Height', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => 'px',
          'range' => [
            'px' => [
              'min' => 1,
              'max' => 280,
            ]
          ],
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'height: {{SIZE}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'widthtsize3_box_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Width', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::SLIDER,
          'unit' => '%',
          'range' => [
            'px' => [
              'min' => 1,
              'max' => 100,
            ]
          ],
          'selectors' => [
            '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'width: {{SIZE}}%;',
          ],
        ]
      );

      $this->add_control(
        'borderradius2-1_comment3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Comment Box Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
        ]
      );

      $this->add_control(
        'more_options11_three_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Submit Button', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'title2_colo3butt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Submit Button Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comment-respond .btn' => 'color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'title3_typest3butt_kavehwoocommerceproductcomment',
          'label' => esc_html__( 'Submit Button Title Typography', 'kavehTheme' ),
          'selector' => 
          '{{WRAPPER}} .comment-respond .btn',
        ]
      );

      $this->add_control(
        'bgcolor3_butt3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Submit Button Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comment-respond .btn' => 'background-color: {{VALUE}}!important',
          ],
        ]
      );

      $this->add_control(
        'bgcolorhover2_butt3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Submit Button Background Hover Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .comment-respond .btn:hover' => 'background-color: {{VALUE}}!important',
          ],
        ]
      );

      $this->add_control(
        'borderradius1_box3_butt_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Submit Button Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .comment-respond .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
        ]
      );
      
      $this->add_control(
        'more_options12_three-kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Main Box', 'textdomain' ),
          'type' => \Elementor\Controls_Manager::HEADING,
          'separator' => 'before',
        ]
      );

      $this->add_control(
        'bgcolor3_box_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Main Box Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} #comments' => 'background-color: {{VALUE}} !important',
          ],
        ]
      );

      $this->add_control(
        'paddingbox2-1_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Main Box Inner Spacing', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
            '{{WRAPPER}} #comments' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_control(
        'borderradius3_box3_kavehwoocommerceproductcomment',
        [
          'label' => esc_html__( 'Main Box Background Border Radius', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} #comments' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Box_Shadow::get_type(),
        [
          'name' => 'box_shadow2_three_kavehwoocommerceproductcommen',
          'label' => esc_html__( 'Main Box Shadow', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} #comments',
        ]
        );

      $this->end_controls_section();

      $this->start_controls_section(
        'style1_four_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Tabs', 'kavehTheme' ),
          'tab' => \Elementor\Controls_Manager::TAB_STYLE,
          'condition' => [
            'style_kavehwoocommerceproducttabs' => 'four',
          ],
        ]
      );

      $this->add_control(
        'titletabsـcolor4_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Tabs Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-four-tabs .nav li' => 'color: {{VALUE}}',
          ],
        ]
      );

      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titletabs1_type4_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Tabs Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .detail-product-four-tabs .nav li',
        ]
      );

      $this->add_control(
        'titleactivetabs_color4ـkavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Active Tab Title Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-four-tabs .nav li.active' => 'color: {{VALUE}}',
          ],
        ]
      );
  
      $this->add_group_control(
        \Elementor\Group_Control_Typography::get_type(),
        [
          'name' => 'titleactivetabs_type4_kavehwoocommerceproducttabs',
          'label' => esc_html__( 'Active Tab Title Typography', 'kavehTheme' ),
          'selector' => '{{WRAPPER}} .detail-product-four-tabs .nav li.active',
        ]
      );

      $this->add_control(
        'bgactivetabs_color4_kavehwoocommerceproducttabs',
        [
          'label' => esc_html__( 'Active Tab Background Color', 'kavehTheme' ),
          'type' => \Elementor\Controls_Manager::COLOR,
          'selectors' => [
            '{{WRAPPER}} .detail-product-four-tabs .nav li.active' => 'background-color: {{VALUE}}',
          ],
        ]
      );
  
      $this->add_control(
        'bgactivetab_four_kavehwoocommerceproducttabs',
        [
        'label' => __( 'Active Tab Box Padding', 'kavehTheme'),
        'type' => \Elementor\Controls_Manager::DIMENSIONS,
        'size_units' => [ 'px' ],
        'selectors' => [
        '{{WRAPPER}} .detail-product-four-tabs .nav li.active' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
        ],
        ]
        );

        $this->add_control(
          'btnborderradiustabactive_four_kavehwoocommerceproducttabs',
          [
            'label' => __( 'Active Tab Box Border Radius', 'kavehTheme'),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs .nav li.active' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
          ],
          ]
          );

          $this->add_control(
            'bglinetabs_color4_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Tab Side Bar Color', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::COLOR,
              'selectors' => [
                '{{WRAPPER}} .detail-product-four-tabs-heading::before' => 'background-color: {{VALUE}}',
              ],
            ]
          );

          $this->add_control(
            'btnborderradiustabline_four_kavehwoocommerceproducttabs',
            [
              'label' => __( 'Active Tab Box Border Radius', 'kavehTheme'),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} .detail-product-four-tabs-heading::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
            ],
            ]
            );
    
          $this->add_group_control(
            \Elementor\Group_Control_Box_Shadow::get_type(),
            [
              'name' => 'boxshadowactivetab_four_kavehwoocommerceproducttabs',
              'label' => esc_html__( 'Title Box Shadow', 'kavehTheme' ),
              'selector' => '{{WRAPPER}} .detail-product-four-tabs .nav li.active',
            ]
            );

        $this->end_controls_section();
        $this->start_controls_section(
          'style2_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Description Tab', 'kavehTheme' ),
            'tab' => \Elementor\Controls_Manager::TAB_STYLE,
            'condition' => [
              'style_kavehwoocommerceproducttabs' => 'four',
            ],
          ]
        );

        $this->add_control(
          'titletab2ـcolor4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Description Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #description .detail-product-four-tabs-title' => 'color: {{VALUE}}',
            ],
          ]
        );
    
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab2_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Description Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #description .detail-product-four-tabs-title',
          ]
        );

        $this->add_control(
          'titletab2_2ـcolor4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #description .detail-product-four-tabs-title span' => 'color: {{VALUE}}',
            ],
          ]
        );

        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab2_2_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Description Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #description .detail-product-four-tabs-title span',
          ]
        );

        $this->add_control(
          'titletab4_color4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Description Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .detail-product-four-tabs #description p' => 'color: {{VALUE}}',
            ],
          ]
        );
    
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab4_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Description Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} .detail-product-four-tabs #description p',
          ]
        );
        $this->end_controls_section();
        $this->start_controls_section(
          'style3_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Product Specifications Tab', 'kavehTheme' ),
            'tab' => \Elementor\Controls_Manager::TAB_STYLE,
            'condition' => [
              'style_kavehwoocommerceproducttabs' => 'four',
            ],
          ]
        );

        $this->add_control(
          'titletab2_4ـcolor4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Specifications Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #info .detail-product-four-tabs-title span' => 'color: {{VALUE}}',
            ],
          ]
        );
    
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab2_4_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Specifications Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #info .detail-product-four-tabs-title span',
          ]
        );

        $this->add_control(
          'titletab2_3ـcolor4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #info .detail-product-four-tabs-title' => 'color: {{VALUE}}',
            ],
          ]
        );

        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab2_3_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Second Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #info .detail-product-four-tabs-title',
          ]
        );

        $this->add_control(
          'titletab1ـcolor4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Product Features Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .detail-product-four-tabs #info ul li span:first-child' => 'color: {{VALUE}}',
            ],
          ]
        );
    
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab1_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Product Features Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} .detail-product-four-tabs #info ul li span:first-child',
          ]
        );

        $this->add_control(
          'titletab5_color4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Product Features Value Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child' => 'color: {{VALUE}}',
            ],
          ]
        );
    
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titletab5_type4_kavehwoocommerceproducttabs',
            'label' => esc_html__( 'Product Features Value Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child',
          ]
        );

            $this->add_control(
      'bgtitletab1ـcolor4_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Product Features Title Background Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs #info ul li:not(:last-child)' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'bordercolorbox1ـcolor4_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Boxes Border Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs #info ul li:not(:last-child)' => 'border: 1px solid {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'linetab1ـcolor4_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Features Title Side Border Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs #info ul li::before' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'bgtab1ـcolor4_kavehwoocommerceproducttabs',
      [
        'label' => esc_html__( 'Features Value Background Color', 'kavehTheme' ),
        'type' => \Elementor\Controls_Manager::COLOR,
        'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child' => 'background-color: {{VALUE}}',
        ],
      ]
    );

    $this->add_control(
      'margintopboxtab1_four_kavehwoocommerceproducttabs',
      [
      'label' => __( 'Boxes Top Margin', 'kavehTheme'),
      'type' => \Elementor\Controls_Manager::DIMENSIONS,
      'size_units' => [ 'px' ],
      'selectors' => [
      '{{WRAPPER}} .detail-product-four-tabs #info ul li:not(:last-child)' => 'margin-bottom: {{TOP}}{{UNIT}} !important;',
      ],
      ]
      );

      $this->add_control(
        'paddingboxtab1_four_kavehwoocommerceproducttabs',
        [
        'label' => __( 'Features Value Box Padding', 'kavehTheme'),
        'type' => \Elementor\Controls_Manager::DIMENSIONS,
        'size_units' => [ 'px' ],
        'selectors' => [
        '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
        ],
        ]
        );
  
        $this->add_control(
          'btnborderradiusboxtab3_four_kavehwoocommerceproducttabs',
          [
            'label' => __( 'Boxes Border Radius', 'kavehTheme'),
          'type' => \Elementor\Controls_Manager::DIMENSIONS,
          'size_units' => [ 'px' ],
          'selectors' => [
          '{{WRAPPER}} .detail-product-four-tabs #info ul li:not(:last-child)' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
          ],
          ]
          );

          $this->add_control(
            'btnborderradiusboxtab1_four_kavehwoocommerceproducttabs',
            [
              'label' => __( 'Features Value Box Border Radius', 'kavehTheme'),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
            ]
            );

            $this->add_control(
              'widthboxtab1_four_aboutusthreekaveh',
              [
                'label' => esc_html__( 'Features Value Box Width', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::SLIDER,
                'unit' => '%',
                'range' => [
                  'px' => [
                    'min' => 1,
                    'max' => 100,
                  ]
                ],
                'selectors' => [
                  '{{WRAPPER}} .detail-product-four-tabs #info ul li span:last-child' => 'width: {{SIZE}}% !important;',   
                ],
              ]
            );

            $this->end_controls_section();
            $this->start_controls_section(
              'style4_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'User Comments Tab', 'kavehTheme' ),
                'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                'condition' => [
                  'style_kavehwoocommerceproducttabs' => 'four',
                ],
              ]
            );

            $this->add_control(
              'titletab2_4ـcolor5_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Specifications Title Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .detail-product-four-tabs-title span' => 'color: {{VALUE}}',
                ],
              ]
            );
        
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'titletab2_4_type5_kavehwoocommerceproducttabs',
                'label' => esc_html__( 'Specifications Title Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .detail-product-four-tabs-title span',
              ]
            );

        $this->add_control(
          'more_options1_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'User Comments Title', 'textdomain' ),
            'type' => \Elementor\Controls_Manager::HEADING,
            'separator' => 'before',
          ]
        );
  
        $this->add_control(
          'title1_color4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .detail-blog-comments .title ' => 'color: {{VALUE}}',
            ],
          ]
        );

        $this->add_control(
          'title2_color4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Second Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .detail-blog-comments .title span ' => 'color: {{VALUE}}',
            ],
          ]
        );
  
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'title1_typest4_kavehwoocommerceproductcomment',
            'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} .detail-blog-comments .title ',
          ]
        );

        $this->add_control(
          'more_options2_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Display and Add New Comment Section', 'textdomain' ),
            'type' => \Elementor\Controls_Manager::HEADING,
            'separator' => 'before',
          ]
        );
  
        $this->add_control(
          'title_upbutt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title ' => 'color: {{VALUE}}',
            ],
          ]
        );
  
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titileupbutt_typo4_kavehwoocommerceproductcomment',
            'label' => esc_html__( 'Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #comments .rate-comment .title, #comments .rate-comment .sub-title',
          ]
        );

        $this->add_control(
          'title1_upbutt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .btn' => 'color: {{VALUE}}',
            ],
          ]
        );
  
        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titileupbutt4_typo_kavehwoocommerceproductcomment',
            'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #comments .rate-comment .btn',
          ]
        );
  
        $this->add_control(
          'bgcolor_upbutt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .btn' => 'background-color: {{VALUE}}',
            ],
          ]
        );

        $this->add_control(
          'borderradius_upbutt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} #comments .rate-comment .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
          ]
        );
  
        $this->add_control(
          'paddingbox_upbutt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Padding', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
          ]
        );
  
        $this->add_control(
          'title_uptitle4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Product Rating Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .rate-box-title' => 'color: {{VALUE}}',
            ],
          ]
        );

        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'titileuptitle4_typo_kavehwoocommerceproductcomment',
            'label' => esc_html__( 'Product Rating Title Typography', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #comments .rate-comment .rate-box-title',
          ]
        );
  
        $this->add_control(
          'title2_uptitle4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Total Ratings Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .rate-box-count' => 'color: {{VALUE}}',
            ],
          ]
        );
  
        $this->add_control(
          'title3_uptitle4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Ratings Count Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments .rate-comment .rate-box-count i' => 'color: {{VALUE}}',
            ],
          ]
        );

        $this->add_control(
          'more_options3_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Top Line', 'textdomain' ),
            'type' => \Elementor\Controls_Manager::HEADING,
            'separator' => 'before',
          ]
        );
  
        $this->add_control(
          'title1color4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Line Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments::before' => 'background-color: {{VALUE}} !important',
            ],
          ]
        );
  
        $this->add_control(
          'width_line4_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Line Width', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => '%',
            'range' => [
            '%' => [
              'min' => 1,
              'max' => 100,
            ],
            ],
            'selectors' => [
            '{{WRAPPER}} #comments::before' => 'width: {{SIZE}}%;',
            ],
          ]
          );

          $this->add_control(
            'height_line4_kavehwoocommerceproducttabs',
            [
              'label' => esc_html__( 'Line Height', 'kavehTheme' ),
              'type' => \Elementor\Controls_Manager::SLIDER,
              'unit' => 'px',
              'range' => [
              'px' => [
              'min' => 1,
              'max' => 20,
              ],
              ],
              'selectors' => [
              '{{WRAPPER}} #comments::before' => 'height: {{SIZE}}{{UNIT}};',
              ],
            ]
            );
  
            $this->add_control(
              'borderradius_line4_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} #comments::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );
  
            $this->add_control(
              'more_options4_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'User Information Box', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'bgcolor4_user_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'User Information Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail' => 'background-color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_control(
              'borderradius4_box_user_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'User Information Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox_user4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'User Information Box Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );

            $this->add_control(
              'more_options5_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'User Information Titles', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );
  
            $this->add_control(
              'title_color4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'User Name Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail .author' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title4_typest1_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'User Name Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .comments li .content .info .detail .author',
              ]
            );

            $this->add_control(
              'title4_color4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Date Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail .date' => 'color: {{VALUE}}',
                ],
              ]
            );
            
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title4_typest4_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Comment Date Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .comments li .content .info .detail .date',
              ]
            );
  
            $this->add_control(
              'more_options6_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'User Information Box Buttons', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title_color4butt_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Button Title Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail .position' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title1_typest4butt_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Button Title Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .comments li .content .info .detail .position',
              ]
            );
  
            $this->add_control(
              'bgcolor1_butt4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Button Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail .position' => 'background-color: {{VALUE}}',
                ],
              ]
            );

            $this->add_control(
              'borderradius_box_butt4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Button Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .comments li .content .info .detail .position' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox_butt4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .info .detail .position' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );
  
            $this->add_control(
              'more_options7_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Comment and Review Title', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );

            $this->add_control(
              'title_comment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Comment Text Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .comments li .content .box p' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title1_comment4_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Comment Text Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} .comments li .content .box p',
              ]
            );
  
            $this->add_control(
              'title4_comment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Review Title Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} h3#reply-title' => 'color: {{VALUE}}',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title4_comment5_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Review Title Typography', 'kavehTheme' ),
                'selector' => '{{WRAPPER}} h3#reply-title',
              ]
            );  
  
            $this->add_control(
              'more_options8_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Features Box', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );
  
            $this->add_control(
              'title_colorbox4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Titles Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .pcf-field-container' => 'color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title_colorbox4_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Features Titles Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .pcf-field-container',
              ]
            );
  
            $this->add_control(
              'title_colorplaceholder4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Placeholder Titles Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify__input::before' => 'color: {{VALUE}}',
                ],
              ]
            );
  
            $this->add_control(
              'titlehover_colorplaceholder4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Placeholder Titles Hover Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify__input:focus:empty::before' => 'color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title_colorplaceholder4_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Placeholder Titles Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .tagify__input::before',
              ]
            );
  
            $this->add_control(
              'bgcolor1_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );
  
            $this->add_control(
              'bghovercolor1_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Hover Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify--focus' => 'background-color: {{VALUE}}!important',
                ],
              ]
            );

            $this->add_control(
              'bordercolor1_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Border Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify' => 'border: 1px solid {{VALUE}}',
                ],
              ]
            );
  
            $this->add_control(
              'borderhovercolor1_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Hover Border Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .tagify--focus' => 'border: 1px solid {{VALUE}}!important',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox2_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .tagify' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );

            $this->add_control(
              'borderradius1_box4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Line Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .tagify' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );
  
            $this->add_control(
              'more_options9_four_kavehwoocommerceproducttabs',
              [
                'label' => esc_html__( 'Review', 'textdomain' ),
                'type' => \Elementor\Controls_Manager::HEADING,
                'separator' => 'before',
              ]
            );
  
            $this->add_control(
              'title_colorcomment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Logout from User Account', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .send-comment .logged-in-as ' => 'color: {{VALUE}} !important',
                ],
              ]
            );

            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title_colorcomment4_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Logout Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .send-comment .logged-in-as ',
              ]
            );
  
            $this->add_control(
              'title_coloryourcomment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Your Opinion Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_group_control(
              \Elementor\Group_Control_Typography::get_type(),
              [
                'name' => 'title_coloryourcomment4_typo_kavehwoocommerceproductcomment',
                'label' => esc_html__( 'Your Comment Typography', 'kavehTheme' ),
                'selector' => 
                '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label',
              ]
            );

            $this->add_control(
              'bgcolor_yourcomment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Your Comment Background Color', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                  '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'background-color: {{VALUE}} !important',
                ],
              ]
            );
  
            $this->add_control(
              'paddingbox3_comment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Padding', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                  '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
              ]
            );
  
            $this->add_control(
              'borderradius2_comment4_kavehwoocommerceproductcomment',
              [
                'label' => esc_html__( 'Features Box Background Border Radius', 'kavehTheme' ),
                'type' => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => [ 'px' ],
                'selectors' => [
                '{{WRAPPER}} .send-comment .form-group label, .auth .form-group label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
                ],
              ]
            );

        $this->add_control(
          'bgcolor_comment4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Background Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'background-color: {{VALUE}} !important',
            ],
          ]
        );

        $this->add_control(
          'bordercolor4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Border Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .send-comment .form-group .form-control, .auth .form-group .form-control' => 'border-color: {{VALUE}} !important',
            ],
          ]
        );

        $this->add_control(
          'bordercolorhover4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Border Hover Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .send-comment .form-group .form-control:focus, .auth .form-group .form-control:focus' => 'border-color: {{VALUE}} !important',
            ],
          ]
        );

        $this->add_control(
          'heightsize_box4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Height', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => 'px',
            'range' => [
              'px' => [
                'min' => 1,
                'max' => 280,
              ]
            ],
            'selectors' => [
              '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'height: {{SIZE}}{{UNIT}};',
            ],
          ]
        );

        $this->add_control(
          'widthtsize_box4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Width', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::SLIDER,
            'unit' => '%',
            'range' => [
              'px' => [
                'min' => 1,
                'max' => 100,
              ]
            ],
            'selectors' => [
              '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'width: {{SIZE}}%;',
            ],
          ]
        );

        $this->add_control(
          'borderradius4_comment_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Comment Box Background Border Radius', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} .send-comment .form-group textarea.form-control, .auth .form-group textarea.form-control' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
            ],
          ]
        );

        $this->add_control(
          'more_options10_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Submit Button', 'textdomain' ),
            'type' => \Elementor\Controls_Manager::HEADING,
            'separator' => 'before',
          ]
        );

        $this->add_control(
          'title4_color4butt_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Submit Button Title Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .comment-respond .btn' => 'color: {{VALUE}} !important',
            ],
          ]
        );

        $this->add_group_control(
          \Elementor\Group_Control_Typography::get_type(),
          [
            'name' => 'title1_typest4butt4_kavehwoocommerceproductcomment',
            'label' => esc_html__( 'Submit Button Title Typography', 'kavehTheme' ),
            'selector' => 
            '{{WRAPPER}} .comment-respond .btn',
          ]
        );

        $this->add_control(
          'bgcolor2_butt4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Submit Button Background Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .comment-respond .btn' => 'background-color: {{VALUE}}!important',
            ],
          ]
        );

        $this->add_control(
          'bgcolorhover4_butt_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Submit Button Background Hover Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} .comment-respond .btn:hover' => 'background-color: {{VALUE}}!important',
            ],
          ]
        );

        $this->add_control(
          'borderradius4_box_butt_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Submit Button Background Border Radius', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} .comment-respond .btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
            ],
          ]
        );
        
        $this->add_control(
          'more_options11_four_kavehwoocommerceproducttabs',
          [
            'label' => esc_html__( 'Main Box', 'textdomain' ),
            'type' => \Elementor\Controls_Manager::HEADING,
            'separator' => 'before',
          ]
        );

        $this->add_control(
          'bgcolor4_box_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Main Box Color', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::COLOR,
            'selectors' => [
              '{{WRAPPER}} #comments' => 'background-color: {{VALUE}} !important',
            ],
          ]
        );

        $this->add_control(
          'paddingbox_box4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Main Box Inner Spacing', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
              '{{WRAPPER}} #comments' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
          ]
        );

        $this->add_control(
          'borderradius_box4_kavehwoocommerceproductcomment',
          [
            'label' => esc_html__( 'Main Box Background Border Radius', 'kavehTheme' ),
            'type' => \Elementor\Controls_Manager::DIMENSIONS,
            'size_units' => [ 'px' ],
            'selectors' => [
            '{{WRAPPER}} #comments' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
          ]
        );
        
        $this->add_group_control(
          \Elementor\Group_Control_Box_Shadow::get_type(),
          [
            'name' => 'box_shadow_four_kavehwoocommerceproductcommen',
            'label' => esc_html__( 'Main Box Shadow', 'kavehTheme' ),
            'selector' => '{{WRAPPER}} #comments',
          ]
          );

          $this->end_controls_section();



  }



  protected function render()
  {
    $settings = $this->get_settings_for_display();
    $clsid = $this->get_id();
    if (!class_exists('WooCommerce')) {
      return;
  }
  if (\Elementor\Plugin::$instance->editor->is_edit_mode()) {
    $args = array(
      'post_type' => 'product',
      'posts_per_page' => 1, // Latest product
      'orderby' => 'date',
      'order' => 'DESC',
  );
      $latest_product = wc_get_products($args);
        // Get product ID
        $product_id = $latest_product[0]; 
      
        if(!empty($product_id)){
        $product    = wc_get_product( $product_id );
              $product_attributes = $product->get_attributes();
              
 /*Start Specifications & Comments */
      if($settings['style_kavehwoocommerceproducttabs']==='one'){ ?>
      <ul class="nav nav-pills justify-content-center">
        <?php if(!empty($product_attributes)){ ?>
          <li class="nav-item">
            <a href="#specifications" class="nav-link active" data-bs-toggle="pill"> <?php echo esc_html__( 'Product Specifications', 'kavehTheme' ); ?> </a>
          </li>
          <?php } ?>
          <?php if ($product && !empty($product->get_description())) { ?>

            <li class="nav-item">
              <a href="#description" class="nav-link" data-bs-toggle="pill"> <?php echo esc_html__( 'Description', 'kavehTheme' ); ?> </a>
            </li>
            <?php } ?>

          <?php if ( comments_open() ) { ?>

          <li class="nav-item">
            <a href="#comment" class="nav-link" data-bs-toggle="pill"> <?php echo esc_html__( 'User Comments', 'kavehTheme' ); ?> </a>
          </li>
          <?php } ?>
      </ul>
        <div class="tab-content mt-5">
          <?php if(!empty($product_attributes)){ ?>

          <!-- Start Specifications -->
          <div id="specifications" class="tab-pane show fade active">
            <ul>
              <?php
                        // Loop through each attribute
                        foreach ($product_attributes as $attribute){
                        $attribute_slug = $attribute->get_name();
                ?>
                <li class="d-flex align-items-center flex-wrap position-relative">
                  <span> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
                  <span> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
                </li>
                <?php 
                    }
                  ?>
            </ul>
          </div>
          <!-- End Specifications -->
           <?php } ?>
           <?php if ($product && !empty($product->get_description())) { ?>
            <!-- Start Comments -->
          <div id="description" class="tab-pane show fade position-relative">
              <?php $content = !empty($latest_product) ? get_post_field('post_content', $latest_product[0]) : esc_html__('No product found.', 'kavehTheme'); ?>
              <?php echo wp_kses_post($content); ?>
          </div>
          <!-- End Comments -->
           <?php } ?>

           <?php if ( comments_open() ) { ?>
          <!-- Start Comments -->
          <div id="comment" class="tab-pane show fade position-relative">
              <?php  comments_template(); ?>
          </div>
          <!-- End Comments -->
           <?php } ?>
        </div>
        <!-- End Specifications & Comments -->
            <?php       

      }elseif($settings['style_kavehwoocommerceproducttabs']==='two'){ ?>
    <div class="content__info">
      <div class="sticker sticker__tabs" data-space="0" data-container-selector=".content__info" data-innerWrapper-selector=".container">
        <ul class="detail-product-five__tabs d-flex align-items-center">
        <?php if ($product && !empty($product->get_description())) { ?>
            <li class="active fw-bold text-center position-relative" data-scroll="#tab__01" data-scroll-active="#tab__01"> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </li>
            <?php } ?>
          <?php if(!empty($product_attributes)){ ?>
              <li class="fw-bold text-center position-relative" data-scroll="#tab__02" data-scroll-active="#tab__02"> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </li>
            <?php } ?>

            <?php if ( comments_open() ) { ?>
            <li class="fw-bold text-center position-relative" data-scroll="#tab__03" data-scroll-active="#tab__03"> <?php echo esc_html__( 'Comments', 'kavehTheme' ); ?> </li>
            <?php } ?>
        </ul>
      </div>
    </div> 

    <?php if ($product && !empty($product->get_description())) { ?>
        <!-- Start Comments -->
      <div id="tab__01" class="detail-product-five__introduction mt-3">
      <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </div>
          <?php $content = !empty($latest_product) ? get_post_field('post_content', $latest_product[0]) : esc_html__('No product found.', 'kavehTheme'); ?>
          <?php echo wp_kses_post($content); ?>
          <button type="button" class="btn__more__detail__product d-flex align-items-center fw-bold gap-2" data-more-string=".detail-product-five__introduction__content" data-string-length="480" data-remove="false">
              <span> <?php echo esc_html__( 'More', 'kavehTheme' ); ?> </span>
              <i class="icon-angle-left-2 lh-1"></i>
            </button>
      </div>
      <!-- End Comments -->
      <?php } ?>
      <?php if(!empty($product_attributes)){ ?>
      <!-- Start Specifications -->
      <div id="tab__02" class="detail-product-five__specifications">
      <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </div>
        <div class="detail-product-five__specifications__content d-flex align-items-start gap-5">
          <ul class="detail-product-five__specifications__items flex-grow-1">
            <?php
                      // Loop through each attribute
                      foreach ($product_attributes as $attribute){
                      $attribute_slug = $attribute->get_name();
              ?>
              <li class="d-flex align-items-center gap-3">
                <div class="title"> <?php echo wc_attribute_label( $attribute_slug ) ?></div>
                <div class="value flex-grow-1"> <?php echo $product->get_attribute( $attribute_slug ) ?> </div>
              </li>
              <?php 
                  }
                ?>
          </ul>
        </div>
        <button type="button" class="btn__more__detail__product d-none d-lg-flex align-items-center fw-bold gap-2 mt-4" data-toggle-show=".detail-product-five__specifications__items">
              <span> <?php echo esc_html__( 'View More', 'kavehTheme' ); ?> </span>
              <i class="icon-angle-left-2 lh-1"></i>
          </button>
      </div>
      <!-- End Specifications -->
      <?php } ?>
      <?php if ( comments_open() ) { ?>
      <!-- Start Comments -->
      <div id="tab__03" class="detail-product-five__comments mt-3">
        <div class="d-flex align-items-center justify-content-between mb-4 mb-lg-0 gap-2">
          <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'User Rating and Comments', 'kavehTheme' ); ?> </div>
        </div>
        <div class="detail-product-five__comments__content d-flex align-items-start"></div> 
          <div class="detail-product-five__comments__left flex-lg-grow-1">
              <?php  comments_template(); ?>
          </div>        
        </div>    
      </div>
      <!-- End Comments -->
      <?php } ?>
    <!-- End Specifications & Comments -->
   <?php   
    }elseif($settings['style_kavehwoocommerceproducttabs']==='three'){ ?>
    <section class="detail-product-three">
      <?php if(!empty($product_attributes)){ ?>
      <div id="specifications">
        <h4 class="section-titr"> <?php echo esc_html__( 'Product Specifications', 'kavehTheme' ); ?> </h4>
          <ul>
            <?php
                  // Loop through each attribute
                  foreach ($product_attributes as $attribute){
                  $attribute_slug = $attribute->get_name();
            ?>
                <li class="d-flex align-items-center flex-wrap position-relative">
                  <span> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
                  <span> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
                </li>
              <?php 
                }
                ?>
          </ul>
      </div>
      <?php } ?>
    </section>
    <?php if ( comments_open() ) { ?>
          <?php  comments_template(); ?>
    <?php } ?>
   
    <?php



  }elseif($settings['style_kavehwoocommerceproducttabs']==='four'){ ?>
    <div class="detail-product-four-tabs container">
      <div class="detail-product-four-tabs-heading position-relative">
        <ul class="nav nav-pills justify-content-sm-center gap-2 mx-auto flex-nowrap">
        <?php if ($product && !empty($product->get_description())) { ?>
          <li class="d-flex align-items-center justify-content-center rounded-pill active" data-bs-toggle="tab"
            data-bs-target="#description">
            <i class="icon-brush"></i>
            <?php echo esc_html__( 'Description', 'kavehTheme' ); ?>
          </li>
        <?php } ?>
        <?php if(!empty($product_attributes)){ ?>
          <li class="d-flex align-items-center justify-content-center rounded-pill" data-bs-toggle="tab"
            data-bs-target="#info">
            <i class="icon-message-text"></i>
            <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?>
          </li>
        <?php } ?>
        <?php if ( comments_open() ) { ?>
          <li class="d-flex align-items-center justify-content-center rounded-pill" data-bs-toggle="tab"
            data-bs-target="#comment">
            <i class="icon-messages"></i>
            <?php esc_html_e('Comments', 'kavehTheme'); ?> (<?php echo get_comments_number(); ?>)
          </li>
        <?php } ?>
        </ul>
      </div>

      <div class="tab-content">
        <?php if ($product && !empty($product->get_description())) { ?>
          <div id="description" class="tab-pane fade show active">
            <div class="detail-product-four-tabs-title fw-normal"> <?php echo esc_html__( 'Product', 'kavehTheme' ); ?> <span> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </span> </div>
              <?php $content = !empty($latest_product) ? get_post_field('post_content', $latest_product[0]) : esc_html__('No product found.', 'kavehTheme'); ?>
              <?php echo wp_kses_post($content); ?>
          </div>
        <?php } ?>
        <?php if(!empty($product_attributes)){ ?>
          <div id="info" class="tab-pane fade">
            <div class="detail-product-four-tabs-title fw-normal"> <span> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </span> <?php echo esc_html__( 'Product', 'kavehTheme' ); ?> </div>
              <ul>
                <?php
                        // Loop through each attribute
                        foreach ($product_attributes as $attribute){
                        $attribute_slug = $attribute->get_name();
                ?>
                <li class="d-flex position-relative">
                  <span class="fw-normal w-100 align-self-center"> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
                  <span class="fw-bold w-100"> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
                </li>
                <?php 
                  }
                ?>
              </ul>
              <button type="button" class="btn d-flex d-lg-none align-items-center justify-content-center w-100"
              aria-label="view-more" data-bs-toggle="modal" data-bs-target="#modal-info-product"> <?php echo esc_html__( 'View More', 'kavehTheme' ); ?> </button>
          </div>
        <?php } ?>
        <?php if ( comments_open() ) { ?>
          <div id="comment" class="tab-pane fade">
            <div class="detail-product-four-tabs-title fw-normal"> <span> <?php echo esc_html__( 'Comments', 'kavehTheme' ); ?> </span> </div>
              <?php  comments_template(); ?>
          </div>
        <?php } ?>
      </div>
    </div>
  <?php

  }
   }




} else {
    global $post;
    $product_id = get_queried_object_id();

    if(!empty($product_id)){
      $product    = wc_get_product( $product_id );
            $product_attributes = $product->get_attributes();
              
/////// Start Specifications & Comments /////
    if($settings['style_kavehwoocommerceproducttabs']==='one'){ ?>
    <ul class="nav nav-pills justify-content-center">
      <?php if(!empty($product_attributes)){ ?>
        <li class="nav-item">
          <a href="#specifications" class="nav-link active" data-bs-toggle="pill"> <?php echo esc_html__( 'Product Specifications', 'kavehTheme' ); ?> </a>
        </li>
        <?php } ?>
        <?php if ($product && !empty($product->get_description())) { ?>

          <li class="nav-item">
            <a href="#description" class="nav-link" data-bs-toggle="pill"> <?php echo esc_html__( 'Description', 'kavehTheme' ); ?> </a>
          </li>
          <?php } ?>

        <?php if ( comments_open() ) { ?>

        <li class="nav-item">
          <a href="#comment" class="nav-link" data-bs-toggle="pill"> <?php echo esc_html__( 'User Comments', 'kavehTheme' ); ?> </a>
        </li>
        <?php } ?>
    </ul>
      <div class="tab-content mt-5">
        <?php if(!empty($product_attributes)){ ?>

        <!-- Start Specifications -->
        <div id="specifications" class="tab-pane show fade active">
          <ul>
          <?php
                    // Loop through each attribute
                    foreach ($product_attributes as $attribute){
                    $attribute_slug = $attribute->get_name();
            ?>
            <li class="d-flex align-items-center flex-wrap position-relative">
              <span> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
              <span> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
            </li>
            <?php 
                }
              ?>
          </ul>
        </div>
        <!-- End Specifications -->
         <?php } ?>
         <?php if ($product && !empty($product->get_description())) { ?>
          <!-- Start Comments -->
        <div id="description" class="tab-pane show fade position-relative">
            <?php     $content = apply_filters('the_content', get_the_content(null, false, $post)); ?>
            <?php echo wp_kses_post($content); ?>
        </div>
        <!-- End Comments -->
         <?php } ?>

         <?php if ( comments_open() ) { ?>
        <!-- Start Comments -->
        <div id="comment" class="tab-pane show fade position-relative">
            <?php  comments_template(); ?>
        </div>
        <!-- End Comments -->
         <?php } ?>
      </div>
      <!-- End Specifications & Comments -->
       <?php      


      }elseif($settings['style_kavehwoocommerceproducttabs']==='two'){ ?>
        <div class="content__info">
          <div class="sticker sticker__tabs" data-space="0" data-container-selector=".content__info" data-innerWrapper-selector=".container">
            <ul class="detail-product-five__tabs d-flex align-items-center">
            <?php if ($product && !empty($product->get_description())) { ?>
                <li class="active fw-bold text-center position-relative" data-scroll="#tab__01" data-scroll-active="#tab__01"> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </li>
                <?php } ?>
              <?php if(!empty($product_attributes)){ ?>
                  <li class="fw-bold text-center position-relative" data-scroll="#tab__02" data-scroll-active="#tab__02"> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </li>
                <?php } ?>
    
                <?php if ( comments_open() ) { ?>
                <li class="fw-bold text-center position-relative" data-scroll="#tab__03" data-scroll-active="#tab__03"> <?php echo esc_html__( 'Comments', 'kavehTheme' ); ?> </li>
                <?php } ?>
            </ul>
          </div>
        </div> 
      
    
    <?php if ($product && !empty($product->get_description())) { ?>
        <!-- Start Comments -->
      <div id="tab__01" class="detail-product-five__introduction mt-3">
      <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </div>
          <?php     $content = apply_filters('the_content', get_the_content(null, false, $post)); ?>
          <?php echo wp_kses_post($content); ?>
          <button type="button" class="btn__more__detail__product d-flex align-items-center fw-bold gap-2" data-more-string=".detail-product-five__introduction__content" data-string-length="480" data-remove="false">
              <span> <?php echo esc_html__( 'More', 'kavehTheme' ); ?> </span>
              <i class="icon-angle-left-2 lh-1"></i>
            </button>
      </div>
      <!-- End Comments -->
      <?php } ?>
      <?php if(!empty($product_attributes)){ ?>
      <!-- Start Specifications -->
      <div id="tab__02" class="detail-product-five__specifications">
      <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </div>
        <div class="detail-product-five__specifications__content d-flex align-items-start gap-5">
          <ul class="detail-product-five__specifications__items flex-grow-1">
            <?php
                      // Loop through each attribute
                      foreach ($product_attributes as $attribute){
                      $attribute_slug = $attribute->get_name();
              ?>
              <li class="d-flex align-items-center gap-3">
                <div class="title"> <?php echo wc_attribute_label( $attribute_slug ) ?></div>
                <div class="value flex-grow-1"> <?php echo $product->get_attribute( $attribute_slug ) ?> </div>
              </li>
              <?php 
                  }
                ?>
          </ul>
        </div>
        <button type="button" class="btn__more__detail__product d-none d-lg-flex align-items-center fw-bold gap-2 mt-4" data-toggle-show=".detail-product-five__specifications__items">
              <span> <?php echo esc_html__( 'View More', 'kavehTheme' ); ?> </span>
              <i class="icon-angle-left-2 lh-1"></i>
          </button>
      </div>
      <!-- End Specifications -->
      <?php } ?>
      <?php if ( comments_open() ) { ?>
      <!-- Start Comments -->
      <div id="tab__03" class="detail-product-five__comments mt-3">
        <div class="d-flex align-items-center justify-content-between mb-4 mb-lg-0 gap-2">
          <div class="detail-product-five__title__box position-relative fw-bold"> <?php echo esc_html__( 'User Rating and Comments', 'kavehTheme' ); ?> </div>
        </div>
        <div class="detail-product-five__comments__content d-flex align-items-start"></div> 
          <div class="detail-product-five__comments__left flex-lg-grow-1">
              <?php  comments_template(); ?>
          </div>        
        </div>    
      </div>
      <!-- End Comments -->
      <?php } ?>
    <!-- End Specifications & Comments -->


    <?php

    }elseif($settings['style_kavehwoocommerceproducttabs']==='three'){ ?>
      <section class="detail-product-three">
        <?php if(!empty($product_attributes)){ ?>
        <div id="specifications">
          <h4 class="section-titr"> <?php echo esc_html__( 'Product Specifications', 'kavehTheme' ); ?> </h4>
            <ul>
              <?php
                    // Loop through each attribute
                    foreach ($product_attributes as $attribute){
                    $attribute_slug = $attribute->get_name();
              ?>
                  <li class="d-flex align-items-center flex-wrap position-relative">
                    <span> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
                    <span> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
                  </li>
                <?php 
                  }
                  ?>
            </ul>
        </div>
        <?php } ?>
      </section>
      <?php if ( comments_open() ) { ?>
          <?php  comments_template(); ?>
      <?php } ?>
    
      <?php



  }elseif($settings['style_kavehwoocommerceproducttabs']==='four'){ ?>
  <div class="detail-product-four-tabs container">
    <div class="detail-product-four-tabs-heading position-relative">
      <ul class="nav nav-pills justify-content-sm-center gap-2 mx-auto flex-nowrap">
      <?php if ($product && !empty($product->get_description())) { ?>
        <li class="d-flex align-items-center justify-content-center rounded-pill active" data-bs-toggle="tab"
          data-bs-target="#description">
          <i class="icon-brush"></i>
          <?php echo esc_html__( 'Description', 'kavehTheme' ); ?>
        </li>
      <?php } ?>
      <?php if(!empty($product_attributes)){ ?>
        <li class="d-flex align-items-center justify-content-center rounded-pill" data-bs-toggle="tab"
          data-bs-target="#info">
          <i class="icon-message-text"></i>
          <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?>
        </li>
      <?php } ?>
      <?php if ( comments_open() ) { ?>
        <li class="d-flex align-items-center justify-content-center rounded-pill" data-bs-toggle="tab"
          data-bs-target="#comment">
          <i class="icon-messages"></i>
          <?php esc_html_e('Comments', 'kavehTheme'); ?> (<?php echo get_comments_number(); ?>)
        </li>
      <?php } ?>
      </ul>
    </div>

    <div class="tab-content">
      <?php if ($product && !empty($product->get_description())) { ?>
        <div id="description" class="tab-pane fade show active">
          <div class="detail-product-four-tabs-title fw-normal"> <?php echo esc_html__( 'Product', 'kavehTheme' ); ?> <span> <?php echo esc_html__( 'Introduction', 'kavehTheme' ); ?> </span> </div>
            <?php     $content = apply_filters('the_content', get_the_content(null, false, $post)); ?>
            <?php echo wp_kses_post($content); ?>
        </div>
      <?php } ?>
      <?php if(!empty($product_attributes)){ ?>
        <div id="info" class="tab-pane fade">
          <div class="detail-product-four-tabs-title fw-normal"> <span> <?php echo esc_html__( 'Specifications', 'kavehTheme' ); ?> </span> <?php echo esc_html__( 'Product', 'kavehTheme' ); ?> </div>
            <ul>
              <?php
                      // Loop through each attribute
                      foreach ($product_attributes as $attribute){
                      $attribute_slug = $attribute->get_name();
              ?>
              <li class="d-flex position-relative">
                <span class="fw-normal w-100 align-self-center"> <?php echo wc_attribute_label( $attribute_slug ) ?></span>
                <span class="fw-bold w-100"> <?php echo $product->get_attribute( $attribute_slug ) ?> </span>
              </li>
              <?php 
                }
              ?>
            </ul>
            <button type="button" class="btn d-flex d-lg-none align-items-center justify-content-center w-100"
            aria-label="view-more" data-bs-toggle="modal" data-bs-target="#modal-info-product"> <?php echo esc_html__( 'View More', 'kavehTheme' ); ?> </button>
        </div>
      <?php } ?>
      <?php if ( comments_open() ) { ?>
        <div id="comment" class="tab-pane fade">
          <div class="detail-product-four-tabs-title fw-normal"> <span> <?php echo esc_html__( 'Comments', 'kavehTheme' ); ?> </span> </div>
            <?php  comments_template(); ?>
        </div>
      <?php } ?>
    </div>
  </div>

<?php

        }
                }
              }
?>

      <style>
        .product {
        background-color: unset;
        -webkit-box-shadow: unset;
        -moz-box-shadow: unset;
        box-shadow: unset;
        }
        .detail-product-three #specifications ul li span {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 50px;
        }
        .detail-product-four-tabs {
        margin: 50px auto;
        border: unset;
        border-radius: 15px;
        padding: 10px 25px 40px 25px;
        }
        .woocommerce div.product {
        margin-bottom: 60px;
        position: relative;
        }
       </style>


    <?php
  }

}


