<?php

if ( class_exists("Kirki")){

	// LOGO

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'watch_collection_logo_resizer',
		'label'       => esc_html__( 'Adjust Your Logo Size ', 'watch-collection' ),
		'section'     => 'title_tagline',
		'choices'     => [
			'min'  => 10,
			'max'  => 300,
			'step' => 10,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_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', 'watch-collection' ) . '</h3>',
		'priority'    => 10,
	] );

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'watch_collection_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'watch-collection' ),
	) );

	Kirki::add_section( 'watch_collection_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'watch-collection' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	] );

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

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'watch_collection_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'watch-collection' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'watch-collection' ),
		'section'     => 'watch_collection_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'    => 'watch_collection_body_content_typography',
		'section'     => 'watch_collection_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'watch-collection' ) . '</h3>',
		'priority'    => 10,
	] );

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

		// PANEL
	Kirki::add_panel( 'watch_collection_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'watch-collection' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'watch_collection_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'watch-collection' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'watch-collection' ),
		'section'     => 'watch_collection_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'watch-collection' ),
			'off' => esc_html__( 'Disable', 'watch-collection' ),
		],
	] );

	// PANEL
	Kirki::add_panel( 'watch_collection_panel_id_2', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Dark Mode', 'watch-collection' ),
	) );

	// DARK MODE SECTION
	Kirki::add_section( 'watch_collection_section_dark_mode', array(
	    'title'          => esc_html__( 'Dark Mode', 'watch-collection' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_is_dark_mode_enabled',
		'label'       => esc_html__( 'Turn To Dark Mode', 'watch-collection' ),
		'section'     => 'watch_collection_section_dark_mode',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'watch-collection' ),
			'off' => esc_html__( 'Disable', 'watch-collection' ),
		],
	] );


	// PANEL
	Kirki::add_panel( 'watch_collection_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'watch-collection' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'watch_collection_section_404', array(
		'panel'          => 'watch_collection_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'watch-collection' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
		'priority'    => 10,
	]);

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'watch_collection_404_page_title',
		'section'  => 'watch_collection_section_404',
		'default'  => esc_html__('404 Not Found', 'watch-collection'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'watch_collection_404_page_content',
		'section'  => 'watch_collection_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'watch-collection'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'watch_collection_no_result', array(
		'panel'          => 'watch_collection_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'watch-collection' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
		'priority'    => 10,
	]);

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'watch_collection_no_results_page_title',
		'section'  => 'watch_collection_no_result',
		'default'  => esc_html__('404 Not Found', 'watch-collection'),
		'priority' => 10,
	] );

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

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

	// PANEL

	Kirki::add_panel( 'watch_collection_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'watch-collection' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'watch_collection_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_global_colors',
		'section'     => 'watch_collection_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.', 'watch-collection' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'watch_collection_first_color',
		'label'       => __( 'Choose Your First Color', 'watch-collection' ),
		'section'     => 'watch_collection_section_color',
		'default'     => '#FF6F01',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'watch_collection_second_color',
		'label'       => __( 'Choose Your Second Color', 'watch-collection' ),
		'section'     => 'watch_collection_section_color',
		'default'     => '#02C3D7',
	] );

	// Additional Settings

	Kirki::add_section( 'watch_collection_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'watch-collection' ),
	    'description'    => esc_html__( 'Scroll To Top', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 10,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'watch_collection_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'watch-collection' ),
			'Center' => esc_html__( 'Center', 'watch-collection' ),
			'Right'  => esc_html__( 'Right', 'watch-collection' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'watch_collection_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'watch-collection' ),
		'section'  => 'watch_collection_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_watch_collection',
		'label'       => esc_html__( 'Menus Text Transform', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'watch-collection' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'watch-collection' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'watch-collection' ),

		],
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default' => 'Zoom Out',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'Zoomout' => __('Zoom Out','watch-collection'),
            'Zoominn' => __('Zoom Inn','watch-collection'),
            
		],
	] );


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'watch_collection_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','watch-collection'),
            'cube-loader' => __('Type 2','watch-collection'),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_sticky_header',
		'label'       => esc_html__( 'Here you can enable or disable your Sticky Header.', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'watch-collection' ),
		'section'     => 'watch_collection_additional_settings',
		'default' => 'One Column',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','watch-collection'),
            'Right Sidebar' => __('Right Sidebar','watch-collection'),
            'One Column' => __('One Column','watch-collection')
		],
	] );

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'watch_collection_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'watch-collection' ),
			'description'    => esc_html__( 'Shop Page', 'watch-collection' ),
			'panel'          => 'watch_collection_panel_id',
			'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
		[
			'settings' => 'watch_collection_per_columns',
			'label'    => esc_html__( 'Product Per Row', 'watch-collection' ),
			'section'  => 'watch_collection_woocommerce_settings',
			'default'  => 3,
			'choices'  => [
				'min'  => 1,
				'max'  => 4,
				'step' => 1,
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'watch_collection_product_per_page',
			'label'    => esc_html__( 'Product Per Page', 'watch-collection' ),
			'section'  => 'watch_collection_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', 'watch-collection' ),
		'section'  => 'watch_collection_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', 'watch-collection' ),
		'section'  => 'watch_collection_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','watch-collection'),
            'Right Sidebar' => __('Right Sidebar','watch-collection')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','watch-collection'),
            'Right Sidebar' => __('Right Sidebar','watch-collection')
		],
	] );

	new \Kirki\Field\Radio_Buttonset( [
		'settings'    => 'watch_collection_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'watch-collection' ),
		'section'     => 'watch_collection_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'watch-collection' ),
			'Center' => esc_html__( 'Center', 'watch-collection' ),
			'Right'  => esc_html__( 'Right', 'watch-collection' ),
		],
	]
	);

}

	// POST SECTION

	Kirki::add_section( 'watch_collection_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'watch-collection' ),
	    'description'    => esc_html__( 'Here you can get different post settings', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);
	
	new \Kirki\Field\Sortable(
	[
		'settings' => 'watch_collection_archive_element_sortable',
		'label'    => __( 'Archive Post Page Element Reordering', 'watch-collection' ),
		'description'    => esc_html__( 'This setting is not favorable with post format.', 'watch-collection' ),
		'section'  => 'watch_collection_section_post',
		'default'  => [ 'option1', 'option2', 'option3', 'option4', 'option5' ],
		'choices'  => [
			'option1' => esc_html__( 'Post Image', 'watch-collection' ),
			'option2' => esc_html__( 'Post Meta', 'watch-collection' ),
			'option3' => esc_html__( 'Post Title', 'watch-collection' ),
			'option4' => esc_html__( 'Post Content', 'watch-collection' ),
			'option5' => esc_html__( 'Post Button', 'watch-collection' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'watch_collection_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'watch-collection' ),
		'section'     => 'watch_collection_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'watch_collection_pagination_setting',
		'label'       => esc_html__( 'Here you can enable or disable your Pagination.', 'watch-collection' ),
		'section'     => 'watch_collection_section_post',
		'default'     => true,
		'priority'    => 10,
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'watch-collection' ),
		'section'     => 'watch_collection_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','watch-collection'),
            'Right Sidebar' => __('Right Sidebar','watch-collection'),
		],
	] );

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

		// Breadcrumb
	Kirki::add_section( 'watch_collection_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'watch-collection' ),
	    'description'    => esc_html__( 'Here you can get Breadcrumb settings', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'watch-collection' ),
		'section'     => 'watch_collection_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'watch-collection' ),
			'off' => esc_html__( 'Disable', 'watch-collection' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'watch_collection_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'watch-collection' ),
        'section'  => 'watch_collection_bradcrumb',
    ] );


	// HEADER SECTION

	Kirki::add_section( 'watch_collection_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'watch-collection' ),
	    'description'    => esc_html__( 'Here you can add header information.', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

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

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'watch_collection_location' ,
        'section'  => 'watch_collection_section_header',
    ] );

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

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',        
        'settings' => 'watch_collection_phone_number' ,
        'section'  => 'watch_collection_section_header',
    ] );

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

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'watch_collection_email_address' ,
        'section'  => 'watch_collection_section_header',
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_enable_date_heading',
		'section'     => 'watch_collection_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Date', 'watch-collection' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'watch_collection_site_date' ,
        'section'  => 'watch_collection_section_header',
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_enable_myaccount_heading',
		'section'     => 'watch_collection_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'My Account Link', 'watch-collection' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'url',
        'settings' => 'watch_collection_myaccount_link' ,
        'section'  => 'watch_collection_section_header',
    ] );

	// SLIDER SECTION

	Kirki::add_section( 'watch_collection_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'watch-collection' ),
        'description'    => esc_html__( 'You have to select post category to show slider.', 'watch-collection' ),
        'panel'          => 'watch_collection_panel_id',
        'priority'       => 160,
    ) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'watch-collection' ),
		'section'     => 'watch_collection_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'watch-collection' ),
			'off' => esc_html__( 'Disable', 'watch-collection' ),
		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'watch_collection_slider_text_extra',
		'label'    => esc_html__( 'Slider Extra Heading', 'watch-collection' ),
		'section'  => 'watch_collection_blog_slide_section',	
    ] );

	//PRODUCT SECTION

	Kirki::add_section( 'watch_collection_product_section', array(
	    'title'          => esc_html__( 'Product Settings', 'watch-collection' ),
	    'description'    => esc_html__( 'Here you can add main product.', 'watch-collection' ),
	    'panel'          => 'watch_collection_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_product_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>', 'watch-collection' ) . '</div>',
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_enable_heading',
		'section'     => 'watch_collection_product_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Our Product',  'watch-collection' ) . '</h3>',
		'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_product_section_enable',
		'section'     => 'watch_collection_product_section',
		'default'     => true,
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable',  'watch-collection' ),
			'off' => esc_html__( 'Disable',  'watch-collection' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'watch_collection_services_main_heading',
		'section'     => 'watch_collection_product_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Heading',  'watch-collection' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'watch_collection_services_heading' ,
        'section'  => 'watch_collection_product_section',
    ] );


	// FOOTER SECTION

	Kirki::add_section( 'watch_collection_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'watch-collection' ),
        'description'    => esc_html__( 'Here you can change copyright text', 'watch-collection' ),
        'panel'          => 'watch_collection_panel_id',
        'priority'       => 160,
    ) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'watch-collection' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( WATCH_COLLECTION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'watch-collection' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'watch_collection_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>', 'watch-collection' ) . '</div>',
	]);

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'watch_collection_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'watch-collection' ),
		'section'     => 'watch_collection_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'watch-collection' ),
			'off' => esc_html__( 'Disable', 'watch-collection' ),
		],
	] );

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'watch_collection_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'watch-collection' ),
		'section'     => 'watch_collection_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'watch-collection' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'watch-collection' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'watch-collection' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'watch-collection' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'watch_collection_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'watch-collection' ),
		'section'     => 'watch_collection_footer_section',
		'default'     => '#000000',
	] );

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

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

add_action( 'customize_register', 'watch_collection_customizer_settings' );
function watch_collection_customizer_settings( $wp_customize ) {
	$watch_collection_args = array(
       'type'                     => 'product',
        'child_of'                 => 0,
        'parent'                   => '',
        'orderby'                  => 'term_group',
        'order'                    => 'ASC',
        'hide_empty'               => false,
        'hierarchical'             => 1,
        'number'                   => '',
        'taxonomy'                 => 'product_cat',
        'pad_counts'               => false
    );
	$categories = get_categories($watch_collection_args);
	$cat_posts = array();
	$m = 0;
	$cat_posts[]='Select';
	foreach($categories as $category){
		if($m==0){
			$default = $category->slug;
			$m++;
		}
		$cat_posts[$category->slug] = $category->name;
	}

	$wp_customize->add_setting('watch_collection_featured_product_category',array(
		'default'	=> 'awesome-product',
		'sanitize_callback' => 'watch_collection_sanitize_select',
	));
	$wp_customize->add_control('watch_collection_featured_product_category',array(
		'type'    => 'select',
		'choices' => $cat_posts,
		'label' => __('Select category to display products ','watch-collection'),
		'section' => 'watch_collection_blog_slide_section',
	));

	$wp_customize->add_setting('watch_collection_product_category',array(
		'default'	=> 'brand-name',
		'sanitize_callback' => 'watch_collection_sanitize_select',
	));
	$wp_customize->add_control('watch_collection_product_category',array(
		'type'    => 'select',
		'choices' => $cat_posts,
		'label' => __('Select category to display products ','watch-collection'),
		'section' => 'watch_collection_product_section',
	));
}

/*
 *  Customizer Notifications
 */

$watch_collection_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', 'watch-collection' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'watch-collection' ) . '</strong>'
            ),
        ),
    ),
    'watch_collection_recommended_actions'       => array(),
    'watch_collection_recommended_actions_title' => esc_html__( 'Recommended Actions', 'watch-collection' ),
    'watch_collection_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'watch-collection' ),
    'watch_collection_install_button_label'      => esc_html__( 'Install and Activate', 'watch-collection' ),
    'watch_collection_activate_button_label'     => esc_html__( 'Activate', 'watch-collection' ),
    'watch_collection_deactivate_button_label'   => esc_html__( 'Deactivate', 'watch-collection' ),
);

Watch_Collection_Customizer_Notify::init( apply_filters( 'watch_collection_customizer_notify_array', $watch_collection_config_customizer ) );