<?php

if ( class_exists("Kirki")){

	// LOGO

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'pest_control_lite_logo_resizer',
		'label'       => esc_html__( 'Adjust Your Logo Size ', 'pest-control-lite' ),
		'section'     => 'title_tagline',
		'choices'     => [
			'min'  => 10,
			'max'  => 200,
			'step' => 10,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_logo_text',
		'section'     => 'title_tagline',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Site Title and Tagline', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

  Kirki::add_field( 'theme_config_id', [
			'type'        => 'switch',
			'settings'    => 'pest_control_lite_display_header_title',
			'label'       => esc_html__( 'Site Title Enable / Disable Button', 'pest-control-lite' ),
			'section'     => 'title_tagline',
			'default'     => '1',
			'priority'    => 10,
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
				'off' => esc_html__( 'Disable', 'pest-control-lite' ),
			],
		] );

	Kirki::add_field( 'theme_config_id', [
			'type'        => 'switch',
			'settings'    => 'pest_control_lite_display_header_text',
			'label'       => esc_html__( 'Tagline Enable / Disable Button', 'pest-control-lite' ),
			'section'     => 'title_tagline',
			'default'     => false,
			'priority'    => 10,
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
				'off' => esc_html__( 'Disable', 'pest-control-lite' ),
			],
		] );

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'pest_control_lite_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'pest-control-lite' ),
	) );

	Kirki::add_section( 'pest_control_lite_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'pest-control-lite' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_font_style_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. More Font Family Options </p><p>3. Color Pallete Setup </p><p>4. Section Reordering Facility</p><p>5. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_all_headings_typography',
		'section'     => 'pest_control_lite_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Heading Of All Sections',  'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'pest_control_lite_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'pest-control-lite' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'pest-control-lite' ),
		'section'     => 'pest_control_lite_font_style_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'h1','h2','h3','h4','h5','h6', ),
			),
		),
	) );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_body_content_typography',
		'section'     => 'pest_control_lite_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'pest_control_lite_body_content_typography',
		'label'       => esc_html__( 'Content Typography',  'pest-control-lite' ),
		'description' => esc_html__( 'Select the typography options for your content.',  'pest-control-lite' ),
		'section'     => 'pest_control_lite_font_style_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'body', ),
			),
		),
	) );

		// PANEL
	Kirki::add_panel( 'pest_control_lite_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'pest-control-lite' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'pest_control_lite_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'pest-control-lite' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_section_animation',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	// // PANEL
	// Kirki::add_panel( 'pest_control_lite_panel_id_2', array(
	//     'priority'    => 10,
	//     'title'       => esc_html__( 'Theme Dark Mode', 'pest-control-lite' ),
	// ) );

	// // DARK MODE SECTION
	// Kirki::add_section( 'pest_control_lite_section_dark_mode', array(
	//     'title'          => esc_html__( 'Dark Mode', 'pest-control-lite' ),
	//     'priority'       => 3,
	// ) );

	// Kirki::add_field( 'theme_config_id', [
	//     'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	//     'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	//     'type'        => 'custom',
	//     'section'     => 'pest_control_lite_section_dark_mode',
	//     'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	// ]);

	// Kirki::add_field( 'theme_config_id', [
	//     'type'        => 'custom',
	//     'settings'    => 'pest_control_lite_dark_colors',
	//     'section'     => 'pest_control_lite_section_dark_mode',
	//     'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Dark Appearance', 'pest-control-lite' ) . '</h3>',
	//     'priority'    => 10,
	// ]);

	// Kirki::add_field( 'theme_config_id', [
	// 	'type'        => 'switch',
	// 	'settings'    => 'pest_control_lite_is_dark_mode_enabled',
	// 	'label'       => esc_html__( 'Turn To Dark Mode', 'pest-control-lite' ),
	// 	'section'     => 'pest_control_lite_section_dark_mode',
	// 	'default'     => false,
	// 	'priority'    => 10,
	// 	'choices'     => [
	// 		'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
	// 		'off' => esc_html__( 'Disable', 'pest-control-lite' ),
	// 	],
	// ] );


	// PANEL
	Kirki::add_panel( 'pest_control_lite_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'pest-control-lite' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'pest_control_lite_section_404', array(
		'panel'          => 'pest_control_lite_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'pest-control-lite' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_section_404',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
		'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'pest_control_lite_404_heading',
	    'section'     => 'pest_control_lite_section_404',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Heading', 'pest-control-lite' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_404_page_title',
		'section'  => 'pest_control_lite_section_404',
		'default'  => esc_html__('404 Not Found', 'pest-control-lite'),
		'priority' => 10,
	] );

		Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'pest_control_lite_404_text',
	    'section'     => 'pest_control_lite_section_404',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Content', 'pest-control-lite' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_404_page_content',
		'section'  => 'pest_control_lite_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'pest-control-lite'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'pest_control_lite_no_result', array(
		'panel'          => 'pest_control_lite_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'pest-control-lite' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_no_result',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
		'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'pest_control_lite_not_found_heading',
	    'section'     => 'pest_control_lite_no_result',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Heading', 'pest-control-lite' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_no_results_page_title',
		'section'  => 'pest_control_lite_no_result',
		'default'  => esc_html__('404 Not Found', 'pest-control-lite'),
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'pest_control_lite_not_found_text',
	    'section'     => 'pest_control_lite_no_result',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Content', 'pest-control-lite' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_no_results_page_content',
		'section'  => 'pest_control_lite_no_result',
		'default'  => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'pest-control-lite'),
		'priority' => 10,
	] );

	// PANEL

	Kirki::add_panel( 'pest_control_lite_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'pest-control-lite' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'pest_control_lite_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'pest-control-lite' ),
	    'panel'          => 'pest_control_lite_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_section_color',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. More Font Family Options </p><p>3. Color Pallete Setup </p><p>4. Section Reordering Facility</p><p>5. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_global_colors',
		'section'     => 'pest_control_lite_section_color',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Here you can change your theme color on one click.', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'pest_control_lite_first_color',
		'label'       => __( 'Choose Your First Color', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_color',
		'default'     => '#009de0',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'pest_control_lite_second_color',
		'label'       => __( 'Choose Your Second Color', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_color',
		'default'     => '#ff576f',
	] );

	// Additional Settings

	Kirki::add_section( 'pest_control_lite_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'pest-control-lite' ),
	    'panel'          => 'pest_control_lite_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_additional_settings',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'pest_control_lite_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );

	new \Kirki\Field\Select([
		'settings'    => 'menu_text_transform_pest_control_lite',
		'label'       => esc_html__( 'Menus Text Transform', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'pest-control-lite' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'pest-control-lite' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'pest-control-lite' ),

		],
	]);

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'None' => __('None','pest-control-lite'),
            'Zoominn' => __('Zoom Inn','pest-control-lite'),
            
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'pest_control_lite_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_sticky_header',
		'label'       => esc_html__( 'Here you can enable or disable your Sticky Header.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','pest-control-lite'),
            'cube-loader' => __('Type 2','pest-control-lite'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_additional_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite'),
            'One Column' => __('One Column','pest-control-lite')
		],
	] );

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'pest_control_lite_woocommerce_settings', array(
		'title'          => esc_html__( 'Woocommerce Settings', 'pest-control-lite' ),
		'panel'          => 'pest_control_lite_panel_id',
		'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_woocommerce_settings',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'pest_control_lite_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
	[
		'settings' => 'pest_control_lite_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'pest_control_lite_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_woocommerce_settings',
		'default'  => 9,
		'choices'  => [
			'min'  => 1,
			'max'  => 15,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'custom_related_products_number_per_row',
		'label'    => esc_html__( 'Related Product Per Column', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'custom_related_products_number',
		'label'    => esc_html__( 'Related Product Per Page', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite')
		],
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'pest_control_lite_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'pest-control-lite' ),
			'Center' => esc_html__( 'Center', 'pest-control-lite' ),
			'Right'  => esc_html__( 'Right', 'pest-control-lite' ),
		],
	]
	);

}

	// POST SECTION

	Kirki::add_section( 'pest_control_lite_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'pest-control-lite' ),
	    'panel'          => 'pest_control_lite_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_section_post',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	new \Kirki\Field\Sortable(
	[
		'settings' => 'pest_control_lite_archive_element_sortable',
		'label'    => __( 'Archive Post Page Element Reordering', 'pest-control-lite' ),
		'description'    => esc_html__( 'This setting is not favorable with post format.', 'pest-control-lite' ),
		'section'  => 'pest_control_lite_section_post',
		'default'  => [ 'option1', 'option2', 'option3', 'option4', 'option5' ],
		'choices'  => [
			'option1' => esc_html__( 'Post Image', 'pest-control-lite' ),
			'option2' => esc_html__( 'Post Meta', 'pest-control-lite' ),
			'option3' => esc_html__( 'Post Title', 'pest-control-lite' ),
			'option4' => esc_html__( 'Post Content', 'pest-control-lite' ),
			'option5' => esc_html__( 'Post Button', 'pest-control-lite' ),
		],
	]
	);

 	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'pest_control_lite_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 10,
			'max'  => 100,
			'step' => 1,
		],
	] );

new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_archive_sidebar_layout',
		'label'       => esc_html__( 'Archive Post Sidebar Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite'),
            'Three Column' => __('Three Column','pest-control-lite'),
            'Four Column' => __('Four Column','pest-control-lite'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','pest-control-lite'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','pest-control-lite'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','pest-control-lite')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_search_sidebar_layout',
		'label'       => esc_html__( 'Search Page Sidebar Layout Setting', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','pest-control-lite'),
            'Right Sidebar' => __('Right Sidebar','pest-control-lite'),
            'Three Column' => __('Three Column','pest-control-lite'),
            'Four Column' => __('Four Column','pest-control-lite'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','pest-control-lite'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','pest-control-lite'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','pest-control-lite')
		],
	] );

	// Breadcrumb
	Kirki::add_section( 'pest_control_lite_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'pest-control-lite' ),
	    'panel'          => 'pest_control_lite_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_bradcrumb',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	 Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_breadcrumb_heading',
		'section'     => 'pest_control_lite_bradcrumb',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Single Page Breadcrumb', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'pest_control_lite_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'pest-control-lite' ),
        'section'  => 'pest_control_lite_bradcrumb',
    ] );


	// HEADER SECTION

	Kirki::add_section( 'pest_control_lite_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'pest-control-lite' ),
	    'panel'          => 'pest_control_lite_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_section_header',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_header_phone_number_heading',
		'section'     => 'pest_control_lite_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Phone Number', 'pest-control-lite' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_header_phone_number',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
		'sanitize_callback' => 'pest_control_lite_sanitize_phone_number',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_email_heading',
		'section'     => 'pest_control_lite_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Email Address', 'pest-control-lite' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_header_email',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
		'sanitize_callback' => 'sanitize_email',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_location_heading',
		'section'     => 'pest_control_lite_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Location', 'pest-control-lite' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_header_location',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_timing_heading',
		'section'     => 'pest_control_lite_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Timing', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Open Timing', 'pest-control-lite' ),
		'settings' => 'pest_control_lite_header_timing',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'label'       => esc_html__( 'Sunday Timing', 'pest-control-lite' ),
		'settings' => 'pest_control_lite_header_timing_text',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
	] );


    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_button_heading',
		'section'     => 'pest_control_lite_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Header Button', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Button Text', 'pest-control-lite' ),
		'settings' => 'pest_control_lite_header_btn_text',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'label'       => esc_html__( 'Button URL', 'pest-control-lite' ),
		'settings' => 'pest_control_lite_header_btn_url',
		'section'  => 'pest_control_lite_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_socail_link',
		'section'     => 'pest_control_lite_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Social Media Link', 'pest-control-lite' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'repeater',
		'section'     => 'pest_control_lite_section_header',
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Social Icon', 'pest-control-lite' ),
			'field' => 'link_text',
		],
		'button_label' => esc_html__('Add New Social Icon', 'pest-control-lite' ),
		'settings'     => 'pest_control_lite_social_links_settings',
		'default'      => '',
		'fields' 	   => [
			'link_text' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Icon', 'pest-control-lite' ),
				'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'pest-control-lite' ),
				'default'     => '',
			],
			'link_url' => [
				'type'        => 'url',
				'label'       => esc_html__( 'Social Link', 'pest-control-lite' ),
				'description' => esc_html__( 'Add the social icon url here.', 'pest-control-lite' ),
				'default'     => '',
			],
		],
		'choices' => [
			'limit' => 5
		],
	] );

	// SLIDER SECTION

	Kirki::add_section( 'pest_control_lite_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'pest-control-lite' ),
        'panel'          => 'pest_control_lite_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_blog_slide_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_heading',
		'section'     => 'pest_control_lite_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Slider', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_title_unable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_slide_text_unable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_slide_button_unable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_slider_heading',
		'section'     => 'pest_control_lite_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Slider', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'pest_control_lite_blog_slide_number',
		'label'       => esc_html__( 'Number of slides to show', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'pest_control_lite_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'pest-control-lite' ),
		'priority'    => 10,
		'choices'     => pest_control_lite_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_heading_22',
		'section'     => 'pest_control_lite_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Content Alignment', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'pest-control-lite' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'pest-control-lite' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'pest-control-lite' ),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'pest_control_lite_slider_opacity_color',
		'label'       => esc_html__( 'Slider Opacity Option', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_blog_slide_section',
		'default'     => '0.5',
		'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
		'choices'     => [
			'0' => esc_html__( '0', 'pest-control-lite' ),
			'0.1' => esc_html__( '0.1', 'pest-control-lite' ),
			'0.2' => esc_html__( '0.2', 'pest-control-lite' ),
			'0.3' => esc_html__( '0.3', 'pest-control-lite' ),
			'0.4' => esc_html__( '0.4', 'pest-control-lite' ),
			'0.5' => esc_html__( '0.5', 'pest-control-lite' ),
			'0.6' => esc_html__( '0.6', 'pest-control-lite' ),
			'0.7' => esc_html__( '0.7', 'pest-control-lite' ),
			'0.8' => esc_html__( '0.8', 'pest-control-lite' ),
			'0.9' => esc_html__( '0.9', 'pest-control-lite' ),
			'unset' => esc_html__( 'Unset', 'pest-control-lite' ),
		],
	] );

	// ABOUT US SECTION

	Kirki::add_section( 'pest_control_lite_about_us_section', array(
        'title'          => esc_html__( 'About Us Settings', 'pest-control-lite' ),
        'panel'          => 'pest_control_lite_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_about_us_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_about_us_section_enable_heading',
		'section'     => 'pest_control_lite_about_us_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable About Us Section', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_about_us_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_about_us_section',
		'default'     => '0',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_about_us_section_title_heading',
		'section'     => 'pest_control_lite_about_us_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Section Title', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_about_us_section_title',
		'section'  => 'pest_control_lite_about_us_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_about_us_page_heading',
		'section'     => 'pest_control_lite_about_us_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Page Dropdown', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'dropdown-pages',
		'settings'    => 'pest_control_lite_about_us',
		'section'     => 'pest_control_lite_about_us_section',
		'default'     => 42,
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_about_excerpt_heading',
		'section'     => 'pest_control_lite_about_us_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Number Of Text', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'pest_control_lite_about_excerpt_number',
		'label'       => esc_html__( 'Number of text to show', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_about_us_section',
		'default'     => 60,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_about_category_heading',
		'section'     => 'pest_control_lite_about_us_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'About Category', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'pest_control_lite_about_category_number',
		'label'       => esc_html__( 'Number of post to show.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_about_us_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'pest_control_lite_about_category',
		'label'       => esc_html__( 'Select the category to show post.', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_about_us_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'pest-control-lite' ),
		'priority'    => 10,
		'choices'     => pest_control_lite_get_categories_select(),
	] );

	// FOOTER SECTION

	Kirki::add_section( 'pest_control_lite_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'pest-control-lite' ),
        'panel'          => 'pest_control_lite_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'pest-control-lite' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PEST_CONTROL_LITE_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'pest-control-lite' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'pest_control_lite_footer_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'pest-control-lite' ) . '</div>',
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_footer_text_heading',
		'section'     => 'pest_control_lite_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Text', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'pest_control_lite_footer_text',
		'section'  => 'pest_control_lite_footer_section',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_footer_enable_heading',
		'section'     => 'pest_control_lite_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Footer Link', 'pest-control-lite' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'pest_control_lite_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'pest-control-lite' ),
			'off' => esc_html__( 'Disable', 'pest-control-lite' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
	'type'        => 'custom',
	'settings'    => 'pest_control_lite_footer_text_heading_2',
	'section'     => 'pest_control_lite_footer_section',
	'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Alignment', 'pest-control-lite' ) . '</h3>',
	'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
	'settings'    => 'pest_control_lite_copyright_text_alignment',
	'label'       => esc_html__( 'Copyright text Alignment', 'pest-control-lite' ),
	'section'     => 'pest_control_lite_footer_section',
	'default'     => 'LEFT-ALIGN',
	'placeholder' => esc_html__( 'Choose an option', 'pest-control-lite' ),
	'choices'     => [
		'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'pest-control-lite' ),
		'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'pest-control-lite' ),
		'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'pest-control-lite' ),

	],
	] );

	Kirki::add_field( 'theme_config_id', [
	'type'        => 'custom',
	'settings'    => 'pest_control_lite_footer_text_heading_1',
	'section'     => 'pest_control_lite_footer_section',
	'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Background Color', 'pest-control-lite' ) . '</h3>',
	'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'pest_control_lite_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'pest-control-lite' ),
		'section'     => 'pest_control_lite_footer_section',
		'default'     => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'pest_control_lite_enable_footer_socail_link',
		'section'     => 'pest_control_lite_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Social Media Link', 'pest-control-lite' ) . '</h3>',
		'priority'    => 11,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'repeater',
		'section'     => 'pest_control_lite_footer_section',
		'priority'    => 11,
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Footer Social Icon', 'pest-control-lite' ),
			'field' => 'link_text',
		],
		'button_label' => esc_html__('Add New Social Icon', 'pest-control-lite' ),
		'settings'     => 'pest_control_lite_footer_social_links_settings',
		'default'      => '',
		'fields' 	   => [
			'link_text' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Icon', 'pest-control-lite' ),
				'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'pest-control-lite' ),
				'default'     => '',
			],
			'link_url' => [
				'type'        => 'url',
				'label'       => esc_html__( 'Social Link', 'pest-control-lite' ),
				'description' => esc_html__( 'Add the social icon url here.', 'pest-control-lite' ),
				'default'     => '',
			],
		],
		'choices' => [
			'limit' => 5
		],
	] );
}

/*
 *  Customizer Notifications
 */

$pest_control_lite_config_customizer = array(
    'recommended_plugins' => array( 
        'kirki' => array(
            'recommended' => true,
            'description' => sprintf( 
                /* translators: %s: plugin name */
                esc_html__( 'If you want to show all the sections of the FrontPage, please install and activate %s plugin', 'pest-control-lite' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'pest-control-lite' ) . '</strong>'
            ),
        ),
    ),
    'pest_control_lite_recommended_actions'       => array(),
    'pest_control_lite_recommended_actions_title' => esc_html__( 'Recommended Actions', 'pest-control-lite' ),
    'pest_control_lite_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'pest-control-lite' ),
    'pest_control_lite_install_button_label'      => esc_html__( 'Install and Activate', 'pest-control-lite' ),
    'pest_control_lite_activate_button_label'     => esc_html__( 'Activate', 'pest-control-lite' ),
    'pest_control_lite_deactivate_button_label'   => esc_html__( 'Deactivate', 'pest-control-lite' ),
);

Pest_Control_Lite_Customizer_Notify::init( apply_filters( 'pest_control_lite_customizer_notify_array', $pest_control_lite_config_customizer ) );