<?php

if ( class_exists("Kirki")){

	// LOGO

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'fitness_coaching_logo_resizer',
		'label'       => esc_html__( 'Adjust Your Logo Size ', 'fitness-coaching' ),
		'section'     => 'title_tagline',
		'default'     => 70,
		'choices'     => [
			'min'  => 10,
			'max'  => 300,
			'step' => 10,
		],
	] );

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

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'fitness_coaching_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'fitness-coaching' ),
	) );

	Kirki::add_section( 'fitness_coaching_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'fitness-coaching' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

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

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

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

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

		// PANEL
	Kirki::add_panel( 'fitness_coaching_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'fitness-coaching' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'fitness_coaching_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'fitness-coaching' ),
	    'priority'       => 2,
	) );

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

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

	// PANEL
	Kirki::add_panel( 'fitness_coaching_panel_id_2', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Dark Mode', 'fitness-coaching' ),
	) );

	// DARK MODE SECTION
	Kirki::add_section( 'fitness_coaching_section_dark_mode', array(
	    'title'          => esc_html__( 'Dark Mode', 'fitness-coaching' ),
	    'priority'       => 3,
	) );

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

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

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


	// PANEL
	Kirki::add_panel( 'fitness_coaching_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'fitness-coaching' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'fitness_coaching_section_404', array(
		'panel'          => 'fitness_coaching_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'fitness-coaching' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fitness_coaching_404_page_title',
		'section'  => 'fitness_coaching_section_404',
		'default'  => esc_html__('404 Not Found', 'fitness-coaching'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fitness_coaching_404_page_content',
		'section'  => 'fitness_coaching_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'fitness-coaching'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'fitness_coaching_no_result', array(
		'panel'          => 'fitness_coaching_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'fitness-coaching' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'fitness_coaching_no_results_page_title',
		'section'  => 'fitness_coaching_no_result',
		'default'  => esc_html__('404 Not Found', 'fitness-coaching'),
		'priority' => 10,
	] );

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

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

	// PANEL

	Kirki::add_panel( 'fitness_coaching_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'fitness-coaching' ),
	) );

	// Additional Settings

	Kirki::add_section( 'fitness_coaching_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'fitness-coaching' ),
	    'panel'          => 'fitness_coaching_panel_id',
	    'priority'       => 160,
	) );

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'fitness_coaching_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_additional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'fitness-coaching' ),
			'Center' => esc_html__( 'Center', 'fitness-coaching' ),
			'Right'  => esc_html__( 'Right', 'fitness-coaching' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'fitness_coaching_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_fitness_coaching',
		'label'       => esc_html__( 'Menus Text Transform', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_additional_settings',
		'default'     => 'UPPERCASE',
		'placeholder' => esc_html__( 'Choose an option', 'fitness-coaching' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'fitness-coaching' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'fitness-coaching' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'fitness-coaching' ),

		],
	] );

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


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'fitness_coaching_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

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

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

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

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'fitness_coaching_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'fitness-coaching' ),
			'panel'          => 'fitness_coaching_panel_id',
			'priority'       => 160,
	) );

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

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

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

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

	new \Kirki\Field\Number(
	[
		'settings' => 'fitness_coaching_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'fitness_coaching_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_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', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_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', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'fitness_coaching_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'fitness-coaching' ),
			'Center' => esc_html__( 'Center', 'fitness-coaching' ),
			'Right'  => esc_html__( 'Right', 'fitness-coaching' ),
		],
	]
	);
}

	// Color

	Kirki::add_section( 'fitness_coaching_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'fitness-coaching' ),
	    'panel'          => 'fitness_coaching_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fitness_coaching_global_colors',
		'section'     => 'fitness_coaching_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.', 'fitness-coaching' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fitness_coaching_first_color',
		'label'       => __( 'choose your First Color', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_section_color',
		'default'     => '#48daff',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fitness_coaching_second_color',
		'label'       => __( 'Choose Your Second Color', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_section_color',
		'default'     => '#ffb750',
	] );

	// POST SECTION

	Kirki::add_section( 'fitness_coaching_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'fitness-coaching' ),
	    'panel'          => 'fitness_coaching_panel_id',
	    'priority'       => 160,
	) );

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

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

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

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

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

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

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

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

	// Breadcrumb
	Kirki::add_section( 'fitness_coaching_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'fitness-coaching' ),
	    'panel'          => 'fitness_coaching_panel_id',
	    'priority'       => 160,
	) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'fitness_coaching_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'fitness-coaching' ),
        'section'  => 'fitness_coaching_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'fitness_coaching_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'fitness-coaching' ),
	    'panel'          => 'fitness_coaching_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fitness_coaching_phone_number_heading_2',
		'section'     => 'fitness_coaching_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Choose Your Icon Here', 'fitness-coaching' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'fitness_coaching_dashicons_setting_1',
		'label'    => esc_html__( 'Select Appropriate Icon', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_section_header',
		'default'  => 'dashicons dashicons-phone',
		'priority' => 10,
	] );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fitness_coaching_phone_number_heading_2',
		'section'     => 'fitness_coaching_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Choose Your Icon Here', 'fitness-coaching' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'fitness_coaching_dashicons_setting_2',
		'label'    => esc_html__( 'Select Appropriate Icon', 'fitness-coaching' ),
		'section'  => 'fitness_coaching_section_header',
		'default'  => 'dashicons dashicons-email',
		'priority' => 10,
	] );

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_search_box_enable',
		'label'       => esc_html__( 'Search Enable / Disable Button', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_cart_box_enable',
		'label'       => esc_html__( 'Cart Enable / Disable Button', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_account_box_enable',
		'label'       => esc_html__( 'My Account Enable / Disable Button', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

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

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

	// SLIDER SECTION

	Kirki::add_section( 'fitness_coaching_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'fitness-coaching' ),
        'panel'          => 'fitness_coaching_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_slide_second_title_enable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_slide_text_enable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'fitness_coaching_blog_slide_number',
		'label'       => esc_html__( 'Slide Content Range', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => 3,
		'choices'     => [
			'min'  => 0,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'fitness_coaching_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'fitness-coaching' ),
		'priority'    => 10,
		'choices'     => fitness_coaching_get_categories_select(),
	] );

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

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'fitness_coaching_slide_excerpt_number',
		'label'       => esc_html__( 'Number of text to show', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => 20,
		'choices'     => [
			'min'  => 0,
			'max'  => 50,
			'step' => 1,
		],
	] );

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'fitness_coaching_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'fitness-coaching' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'fitness-coaching' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'fitness-coaching' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'fitness-coaching' ),
		],
	] );

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

	// SERVICES SECTION

	Kirki::add_section( 'fitness_coaching_featured_post_section', array(
        'title'          => esc_html__( 'Services Settings', 'fitness-coaching' ),
        'panel'          => 'fitness_coaching_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_services_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_featured_post_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fitness_coaching_services_main_heading',
		'section'     => 'fitness_coaching_featured_post_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Services Main Title', 'fitness-coaching' ) . '</h3>',
		'priority'    => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'fitness_coaching_services_heading',
		'section'     => 'fitness_coaching_featured_post_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Services Title', 'fitness-coaching' ) . '</h3>',
		'priority'    => 10,
	] );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'fitness_coaching_services_number',
		'label'       => esc_html__( 'Number of services to show', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_featured_post_section',
		'default'     => 5,
		'choices'     => [
			'min'  => 0,
			'max'  => 10,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'fitness_coaching_services_category',
		'label'       => esc_html__( 'Select the category to show services', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_featured_post_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'fitness-coaching' ),
		'priority'    => 10,
		'choices'     => fitness_coaching_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'fitness_coaching_service_excerpt_number',
		'label'       => esc_html__( 'Number of Content Show in Single Service Pages', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_featured_post_section',
		'default'     => 15,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	// FOOTER SECTION

	Kirki::add_section( 'fitness_coaching_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'fitness-coaching' ),
        'panel'          => 'fitness_coaching_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'fitness_coaching_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'fitness-coaching' ),
			'off' => esc_html__( 'Disable', 'fitness-coaching' ),
		],
	] );

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'fitness_coaching_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'fitness-coaching' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'fitness-coaching' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'fitness-coaching' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'fitness-coaching' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'fitness_coaching_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'fitness-coaching' ),
		'section'     => 'fitness_coaching_footer_section',
		'default'     => '',
	] );

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

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

/*
 *  Customizer Notifications
 */

$fitness_coaching_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', 'fitness-coaching' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'fitness-coaching' ) . '</strong>'
            ),
        ),
    ),
    'fitness_coaching_recommended_actions'       => array(),
    'fitness_coaching_recommended_actions_title' => esc_html__( 'Recommended Actions', 'fitness-coaching' ),
    'fitness_coaching_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'fitness-coaching' ),
    'fitness_coaching_install_button_label'      => esc_html__( 'Install and Activate', 'fitness-coaching' ),
    'fitness_coaching_activate_button_label'     => esc_html__( 'Activate', 'fitness-coaching' ),
    'fitness_coaching_deactivate_button_label'   => esc_html__( 'Deactivate', 'fitness-coaching' ),
);

Fitness_Coaching_Customizer_Notify::init( apply_filters( 'fitness_coaching_customizer_notify_array', $fitness_coaching_config_customizer ) );