<?php

if ( class_exists("Kirki")){

	// LOGO

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

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

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'the_travel_booking_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'the-travel-booking' ),
	) );

	Kirki::add_section( 'the_travel_booking_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'the-travel-booking' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

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

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

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

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

		// PANEL
	Kirki::add_panel( 'the_travel_booking_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'the-travel-booking' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'the_travel_booking_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'the-travel-booking' ),
	    'priority'       => 2,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

	// // PANEL
	// Kirki::add_panel( 'the_travel_booking_panel_id_2', array(
	//     'priority'    => 10,
	//     'title'       => esc_html__( 'Theme Dark Mode', 'the-travel-booking' ),
	// ) );

	// // DARK MODE SECTION
	// Kirki::add_section( 'the_travel_booking_section_dark_mode', array(
	//     'title'          => esc_html__( 'Dark Mode', 'the-travel-booking' ),
	//     'priority'       => 3,
	// ) );

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

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

	// Kirki::add_field( 'theme_config_id', [
	// 	'type'        => 'switch',
	// 	'settings'    => 'the_travel_booking_is_dark_mode_enabled',
	// 	'label'       => esc_html__( 'Turn To Dark Mode', 'the-travel-booking' ),
	// 	'section'     => 'the_travel_booking_section_dark_mode',
	// 	'default'     => false,
	// 	'priority'    => 10,
	// 	'choices'     => [
	// 		'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
	// 		'off' => esc_html__( 'Disable', 'the-travel-booking' ),
	// 	],
	// ] );


	// PANEL
	Kirki::add_panel( 'the_travel_booking_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'the-travel-booking' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'the_travel_booking_section_404', array(
		'panel'          => 'the_travel_booking_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'the-travel-booking' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'the_travel_booking_404_page_title',
		'section'  => 'the_travel_booking_section_404',
		'default'  => esc_html__('404 Not Found', 'the-travel-booking'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'the_travel_booking_404_page_content',
		'section'  => 'the_travel_booking_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'the-travel-booking'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'the_travel_booking_no_result', array(
		'panel'          => 'the_travel_booking_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'the-travel-booking' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'the_travel_booking_no_results_page_title',
		'section'  => 'the_travel_booking_no_result',
		'default'  => esc_html__('404 Not Found', 'the-travel-booking'),
		'priority' => 10,
	] );

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

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


	// PANEL

	Kirki::add_panel( 'the_travel_booking_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'the-travel-booking' ),
	) );

	// Additional Settings

	Kirki::add_section( 'the_travel_booking_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'the-travel-booking' ),
	    'panel'          => 'the_travel_booking_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'the_travel_booking_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'the-travel-booking' ),
			'Center' => esc_html__( 'Center', 'the-travel-booking' ),
			'Right'  => esc_html__( 'Right', 'the-travel-booking' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'the_travel_booking_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'the-travel-booking' ),
		'section'  => 'the_travel_booking_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );


	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_the_travel_booking',
		'label'       => esc_html__( 'Menus Text Transform', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'the-travel-booking' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'the-travel-booking' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'the-travel-booking' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'None' => __('None','the-travel-booking'),
            'Zoominn' => __('Zoom Inn','the-travel-booking'),
            
		],
	] );


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'the_travel_booking_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','the-travel-booking'),
            'cube-loader' => __('Type 2','the-travel-booking'),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_sticky_header',
		'label'       => esc_html__( 'Here you can enable or disable your Sticky Header.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_additional_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','the-travel-booking'),
            'Right Sidebar' => __('Right Sidebar','the-travel-booking'),
            'One Column' => __('One Column','the-travel-booking')
		],
	] );


	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'the_travel_booking_woocommerce_settings', array(
		'title'          => esc_html__( 'Woocommerce Settings', 'the-travel-booking' ),
		'panel'          => 'the_travel_booking_panel_id',
		'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
	[
		'settings' => 'the_travel_booking_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'the-travel-booking' ),
		'section'  => 'the_travel_booking_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'the_travel_booking_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'the-travel-booking' ),
		'section'  => 'the_travel_booking_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', 'the-travel-booking' ),
		'section'  => 'the_travel_booking_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', 'the-travel-booking' ),
		'section'  => 'the_travel_booking_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','the-travel-booking'),
            'Right Sidebar' => __('Right Sidebar','the-travel-booking')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','the-travel-booking'),
            'Right Sidebar' => __('Right Sidebar','the-travel-booking')
		],
	] );

}

	//COLOR SECTION

	Kirki::add_section( 'the_travel_booking_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'the-travel-booking' ),
	    'panel'          => 'the_travel_booking_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'the_travel_booking_global_colors',
		'section'     => 'the_travel_booking_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.', 'the-travel-booking' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'the_travel_booking_first_color',
		'label'       => __( 'choose your First Color', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_section_color',
		'default'     => '#3fcfd3',
	] );

	// POST SECTION

	Kirki::add_section( 'the_travel_booking_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'the-travel-booking' ),
	    'panel'          => 'the_travel_booking_panel_id',
	    'priority'       => 160,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'the_travel_booking_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'the_travel_booking_pagination_setting',
		'label'       => esc_html__( 'Here you can enable or disable your Pagination.', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_section_post',
		'default'     => true,
		'priority'    => 10,
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','the-travel-booking'),
            'Right Sidebar' => __('Right Sidebar','the-travel-booking'),
		],
	] );

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

	// Breadcrumb
	Kirki::add_section( 'the_travel_booking_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'the-travel-booking' ),
	    'panel'          => 'the_travel_booking_panel_id',
	    'priority'       => 160,
	) );

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


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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'the_travel_booking_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'the-travel-booking' ),
        'section'  => 'the_travel_booking_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'the_travel_booking_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'the-travel-booking' ),
	    'panel'          => 'the_travel_booking_panel_id',
	    'priority'       => 160,
	) );

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

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

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

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

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'the_travel_booking_enable_google_translation',
		'section'     => 'the_travel_booking_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Google Translation Box', 'the-travel-booking' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_header_google_translation',
		'section'     => 'the_travel_booking_section_header',
		'default'     => '0',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_search_box_enable',
		'section'     => 'the_travel_booking_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );


	// SLIDER SECTION

	Kirki::add_section( 'the_travel_booking_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'the-travel-booking' ),
        'panel'          => 'the_travel_booking_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => '0',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_slide_title_enable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_slide_text_enable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'the_travel_booking_blog_slide_number',
		'label'       => esc_html__( 'Slide Content Range', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'the_travel_booking_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'the-travel-booking' ),
		'priority'    => 10,
		'choices'     => the_travel_booking_get_categories_select(),
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'the_travel_booking_excerpt_number',
		'label'       => esc_html__( 'Number of text to show', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => 20,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'the-travel-booking' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'the-travel-booking' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'the-travel-booking' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_slider_opacity_color',
		'label'       => esc_html__( 'Slider Opacity Option', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_blog_slide_section',
		'default'     => '0.6',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'0' => esc_html__( '0', 'the-travel-booking' ),
			'0.1' => esc_html__( '0.1', 'the-travel-booking' ),
			'0.2' => esc_html__( '0.2', 'the-travel-booking' ),
			'0.3' => esc_html__( '0.3', 'the-travel-booking' ),
			'0.4' => esc_html__( '0.4', 'the-travel-booking' ),
			'0.5' => esc_html__( '0.5', 'the-travel-booking' ),
			'0.6' => esc_html__( '0.6', 'the-travel-booking' ),
			'0.7' => esc_html__( '0.7', 'the-travel-booking' ),
			'0.8' => esc_html__( '0.8', 'the-travel-booking' ),
			'0.9' => esc_html__( '0.9', 'the-travel-booking' ),
			'unset' => esc_html__( 'unset', 'the-travel-booking' ),
			

		],
	] );

	// POPULAR TOURS SECTION

	Kirki::add_section( 'the_travel_booking_popular_section', array(
        'title'          => esc_html__( 'Popular Tours Settings', 'the-travel-booking' ),
        'panel'          => 'the_travel_booking_panel_id',
        'priority'       => 160,
    ) );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'the_travel_booking_about_enable_heading',
		'section'     => 'the_travel_booking_popular_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Popular Tours', 'the-travel-booking' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'the_travel_booking_popular_tours_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_popular_section',
		'default'     => '0',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'the-travel-booking' ),
			'off' => esc_html__( 'Disable', 'the-travel-booking' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'the_travel_booking_tours_heading',
		'section'     => 'the_travel_booking_popular_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Popular Tours', 'the-travel-booking' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'the_travel_booking_popular_tours_number',
		'label'       => esc_html__( 'Number of tours to show', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_popular_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'the_travel_booking_popular_tours_category',
		'label'       => esc_html__( 'Select the category to show popular tours', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_popular_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'the-travel-booking' ),
		'priority'    => 10,
		'choices'     => the_travel_booking_get_categories_select(),
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'the_travel_booking_excerpt_number_count',
		'label'       => esc_html__( 'Tour Content Range', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_popular_section',
		'default'     => 15,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );


	// FOOTER SECTION

	Kirki::add_section( 'the_travel_booking_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'the-travel-booking' ),
        'panel'          => 'the_travel_booking_panel_id',
        'priority'       => 160,
    ) );

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

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'the_travel_booking_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'the-travel-booking' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'the-travel-booking' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'the-travel-booking' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'the-travel-booking' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'the_travel_booking_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'the-travel-booking' ),
		'section'     => 'the_travel_booking_footer_section',
		'default'     => '',
	] );

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

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

/*
 *  Customizer Notifications
 */

$the_travel_booking_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', 'the-travel-booking' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'the-travel-booking' ) . '</strong>'
            ),
        ),
    ),
    'the_travel_booking_recommended_actions'       => array(),
    'the_travel_booking_recommended_actions_title' => esc_html__( 'Recommended Actions', 'the-travel-booking' ),
    'the_travel_booking_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'the-travel-booking' ),
    'the_travel_booking_install_button_label'      => esc_html__( 'Install and Activate', 'the-travel-booking' ),
    'the_travel_booking_activate_button_label'     => esc_html__( 'Activate', 'the-travel-booking' ),
    'the_travel_booking_deactivate_button_label'   => esc_html__( 'Deactivate', 'the-travel-booking' ),
);

The_Travel_Booking_Customizer_Notify::init( apply_filters( 'the_travel_booking_customizer_notify_array', $the_travel_booking_config_customizer ) );