<?php

if ( class_exists("Kirki")){

	// LOGO

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

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

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'fashion_footwear_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'fashion-footwear' ),
	) );

	Kirki::add_section( 'fashion_footwear_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'fashion-footwear' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

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

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

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

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

		// PANEL
	Kirki::add_panel( 'fashion_footwear_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'fashion-footwear' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'fashion_footwear_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'fashion-footwear' ),
	    'priority'       => 2,
	) );

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

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

	// // PANEL
	// Kirki::add_panel( 'fashion_footwear_panel_id_2', array(
	//     'priority'    => 10,
	//     'title'       => esc_html__( 'Theme Dark Mode', 'fashion-footwear' ),
	// ) );

	// // DARK MODE SECTION
	// Kirki::add_section( 'fashion_footwear_section_dark_mode', array(
	//     'title'          => esc_html__( 'Dark Mode', 'fashion-footwear' ),
	//     'priority'       => 3,
	// ) );

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

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

	// Kirki::add_field( 'theme_config_id', [
	// 	'type'        => 'switch',
	// 	'settings'    => 'fashion_footwear_is_dark_mode_enabled',
	// 	'label'       => esc_html__( 'Turn To Dark Mode', 'fashion-footwear' ),
	// 	'section'     => 'fashion_footwear_section_dark_mode',
	// 	'default'     => false,
	// 	'priority'    => 10,
	// 	'choices'     => [
	// 		'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
	// 		'off' => esc_html__( 'Disable', 'fashion-footwear' ),
	// 	],
	// ] );


	// PANEL
	Kirki::add_panel( 'fashion_footwear_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'fashion-footwear' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'fashion_footwear_section_404', array(
		'panel'          => 'fashion_footwear_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'fashion-footwear' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fashion_footwear_404_page_title',
		'section'  => 'fashion_footwear_section_404',
		'default'  => esc_html__('404 Not Found', 'fashion-footwear'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fashion_footwear_404_page_content',
		'section'  => 'fashion_footwear_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'fashion-footwear'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'fashion_footwear_no_result', array(
		'panel'          => 'fashion_footwear_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'fashion-footwear' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fashion_footwear_no_results_page_title',
		'section'  => 'fashion_footwear_no_result',
		'default'  => esc_html__('404 Not Found', 'fashion-footwear'),
		'priority' => 10,
	] );

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

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


	// PANEL

	Kirki::add_panel( 'fashion_footwear_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'fashion-footwear' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'fashion_footwear_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fashion_footwear_global_colors',
		'section'     => 'fashion_footwear_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.', 'fashion-footwear' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fashion_footwear_first_color',
		'label'       => __( 'Choose Your First Color', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_section_color',
		'default'     => '#9b3de5',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fashion_footwear_second_color',
		'label'       => __( 'Choose Your Second Color', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_section_color',
		'default'     => '#ff7b91',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fashion_footwear_third_color',
		'label'       => __( 'Choose Your Third Color', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_section_color',
		'default'     => '#312238',
	] );

	// Additional Settings

	Kirki::add_section( 'fashion_footwear_addtional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'fashion_footwear_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_addtional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'fashion-footwear' ),
			'Center' => esc_html__( 'Center', 'fashion-footwear' ),
			'Right'  => esc_html__( 'Right', 'fashion-footwear' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'fashion_footwear_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'fashion-footwear' ),
		'section'  => 'fashion_footwear_addtional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );


	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_fashion_footwear',
		'label'       => esc_html__( 'Menus Text Transform', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_addtional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'fashion-footwear' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'fashion-footwear' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'fashion-footwear' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'fashion-footwear' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'fashion_footwear_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_addtional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'fashion-footwear' ),
		'choices'     => [
			'None' => __('None','fashion-footwear'),
            'Zoominn' => __('Zoom Inn','fashion-footwear'),
            
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'fashion_footwear_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_addtional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

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

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

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

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'fashion_footwear_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'fashion-footwear' ),
			'panel'          => 'fashion_footwear_panel_id',
			'priority'       => 160,
	) );

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

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

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

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

	new \Kirki\Field\Number(
	[
		'settings' => 'fashion_footwear_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'fashion-footwear' ),
		'section'  => 'fashion_footwear_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'fashion_footwear_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'fashion-footwear' ),
		'section'  => 'fashion_footwear_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', 'fashion-footwear' ),
		'section'  => 'fashion_footwear_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', 'fashion-footwear' ),
		'section'  => 'fashion_footwear_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'fashion_footwear_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'fashion-footwear' ),
			'Center' => esc_html__( 'Center', 'fashion-footwear' ),
			'Right'  => esc_html__( 'Right', 'fashion-footwear' ),
		],
	]
	);
}

	// POST SECTION

	Kirki::add_section( 'fashion_footwear_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

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

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

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'fashion_footwear_search_sidebar_layout',
		'label'       => esc_html__( 'Search Page Sidebar Layout Setting', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'fashion-footwear' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','fashion-footwear'),
            'Right Sidebar' => __('Right Sidebar','fashion-footwear'),
            'Three Column' => __('Three Column','fashion-footwear'),
            'Four Column' => __('Four Column','fashion-footwear'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','fashion-footwear'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','fashion-footwear'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','fashion-footwear')
		],
	] );
	
		// Breadcrumb
	Kirki::add_section( 'fashion_footwear_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'fashion_footwear_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'fashion-footwear' ),
        'section'  => 'fashion_footwear_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'fashion_footwear_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Text',
		'settings' => 'fashion_footwear_header_phone_text',
		'section'  => 'fashion_footwear_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Phone Number',
		'settings' => 'fashion_footwear_header_phone_number',
		'section'  => 'fashion_footwear_section_header',
		'default'  => '',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Text',
		'settings' => 'fashion_footwear_header_email_text',
		'section'  => 'fashion_footwear_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Email Address',
		'settings' => 'fashion_footwear_header_email_address',
		'section'  => 'fashion_footwear_section_header',
		'default'  => '',
	] );

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

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

	// SLIDER SECTION

	Kirki::add_section( 'fashion_footwear_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'fashion-footwear' ),
        'panel'          => 'fashion_footwear_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_title_unable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );
	
	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_slide_text_unable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_button_unable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'fashion_footwear_blog_slide_number',
		'label'       => esc_html__( 'Number of slides to show', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'fashion_footwear_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'fashion-footwear' ),
		'priority'    => 10,
		'choices'     => fashion_footwear_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Extra Slider Text',
		'settings' => 'fashion_footwear_extra_text',
		'section'  => 'fashion_footwear_blog_slide_section',
		'default'  => '',
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'fashion_footwear_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'fashion-footwear' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'fashion-footwear' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'fashion-footwear' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'fashion-footwear' ),

		],
	] );

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

	// NEW ARRIVAL SECTION

	Kirki::add_section( 'fashion_footwear_new_arrival_section', array(
	    'title'          => esc_html__( 'New Arrival Settings', 'fashion-footwear' ),
	    'panel'          => 'fashion_footwear_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fashion_footwear_enable_heading',
		'section'     => 'fashion_footwear_new_arrival_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable New Arrivals',  'fashion-footwear' ) . '</h3>',
		'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_new_arrival_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable',  'fashion-footwear' ),
		'section'     => 'fashion_footwear_new_arrival_section',
		'default'     => false,
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable',  'fashion-footwear' ),
			'off' => esc_html__( 'Disable',  'fashion-footwear' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'fashion_footwear_new_arrival_heading' ,
        'label'    => esc_html__( 'Heading',  'fashion-footwear' ),
        'section'  => 'fashion_footwear_new_arrival_section',
    ] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'fashion_footwear_new_arrival_heading_text' ,
        'label'    => esc_html__( 'Heading Text',  'fashion-footwear' ),
        'section'  => 'fashion_footwear_new_arrival_section',
    ] );

	// FOOTER SECTION

	Kirki::add_section( 'fashion_footwear_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'fashion-footwear' ),
        'panel'          => 'fashion_footwear_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fashion_footwear_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fashion-footwear' ),
			'off' => esc_html__( 'Disable', 'fashion-footwear' ),
		],
	] );

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'fashion_footwear_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'fashion-footwear' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'fashion-footwear' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'fashion-footwear' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'fashion-footwear' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fashion_footwear_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'fashion-footwear' ),
		'section'     => 'fashion_footwear_footer_section',
		'default'     => '',
	] );

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

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

add_action( 'customize_register', 'fashion_footwear_customizer_settings' );
function fashion_footwear_customizer_settings( $wp_customize ) {
	$fashion_footwear_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($fashion_footwear_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('fashion_footwear_new_arrival_category',array(
		'default'	=> 'select',
		'sanitize_callback' => 'fashion_footwear_sanitize_select',
	));
	$wp_customize->add_control('fashion_footwear_new_arrival_category',array(
		'type'    => 'select',
		'choices' => $cat_posts,
		'label' => __('Select category to display products ','fashion-footwear'),
		'section' => 'fashion_footwear_new_arrival_section',
	));
}

/*
 *  Customizer Notifications
 */

$fashion_footwear_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', 'fashion-footwear' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'fashion-footwear' ) . '</strong>'
            ),
        ),
    ),
    'fashion_footwear_recommended_actions'       => array(),
    'fashion_footwear_recommended_actions_title' => esc_html__( 'Recommended Actions', 'fashion-footwear' ),
    'fashion_footwear_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'fashion-footwear' ),
    'fashion_footwear_install_button_label'      => esc_html__( 'Install and Activate', 'fashion-footwear' ),
    'fashion_footwear_activate_button_label'     => esc_html__( 'Activate', 'fashion-footwear' ),
    'fashion_footwear_deactivate_button_label'   => esc_html__( 'Deactivate', 'fashion-footwear' ),
);

Fashion_Footwear_Customizer_Notify::init( apply_filters( 'fashion_footwear_customizer_notify_array', $fashion_footwear_config_customizer ) );