<?php

if ( class_exists("Kirki")){

	// LOGO

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

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

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'real_esatate_property_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'real-esatate-property' ),
	) );

	Kirki::add_section( 'real_esatate_property_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'real-esatate-property' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

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

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

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

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

		// PANEL
	Kirki::add_panel( 'real_esatate_property_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'real-esatate-property' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'real_esatate_property_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'real-esatate-property' ),
	    'priority'       => 2,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	// PANEL
	Kirki::add_panel( 'real_esatate_property_panel_id_2', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Dark Mode', 'real-esatate-property' ),
	) );

	// DARK MODE SECTION
	Kirki::add_section( 'real_esatate_property_section_dark_mode', array(
	    'title'          => esc_html__( 'Dark Mode', 'real-esatate-property' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_is_dark_mode_enabled',
		'label'       => esc_html__( 'Turn To Dark Mode', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_dark_mode',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );



	// PANEL
	Kirki::add_panel( 'real_esatate_property_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'real-esatate-property' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'real_esatate_property_section_404', array(
		'panel'          => 'real_esatate_property_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'real-esatate-property' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'real_esatate_property_404_page_title',
		'section'  => 'real_esatate_property_section_404',
		'default'  => esc_html__('404 Not Found', 'real-esatate-property'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'real_esatate_property_404_page_content',
		'section'  => 'real_esatate_property_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'real-esatate-property'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'real_esatate_property_no_result', array(
		'panel'          => 'real_esatate_property_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'real-esatate-property' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'real_esatate_property_no_results_page_title',
		'section'  => 'real_esatate_property_no_result',
		'default'  => esc_html__('404 Not Found', 'real-esatate-property'),
		'priority' => 10,
	] );

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

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


	// PANEL

	Kirki::add_panel( 'real_esatate_property_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'real-esatate-property' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'real_esatate_property_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'real-esatate-property' ),
	    'panel'          => 'real_esatate_property_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'real_esatate_property_global_colors',
		'section'     => 'real_esatate_property_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.', 'real-esatate-property' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'real_esatate_property_first_color',
		'label'       => __( 'Choose Your First Color', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_color',
		'default'     => '#653436',
	] );

	// Additional Settings

	Kirki::add_section( 'real_esatate_property_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'real-esatate-property' ),
	    'panel'          => 'real_esatate_property_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	new \Kirki\Field\Radio_Buttonset(
		[
			'settings'    => 'real_esatate_property_scroll_top_position',
			'label'       => esc_html__( 'Alignment for Scroll To Top', 'real-esatate-property' ),
			'section'     => 'real_esatate_property_additional_settings',
			'default'     => 'Right',
			'priority'    => 10,
			'choices'     => [
				'Left'   => esc_html__( 'Left', 'real-esatate-property' ),
				'Center' => esc_html__( 'Center', 'real-esatate-property' ),
				'Right'  => esc_html__( 'Right', 'real-esatate-property' ),
			],
		]
		);


	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_real_esatate_property',
		'label'       => esc_html__( 'Menus Text Transform', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'real-esatate-property' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'real-esatate-property' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'real-esatate-property' ),

		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'None' => __('None','real-esatate-property'),
            'Zoominn' => __('Zoom Inn','real-esatate-property'),
            
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'real_esatate_property_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','real-esatate-property'),
            'cube-loader' => __('Type 2','real-esatate-property'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_additional_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','real-esatate-property'),
            'Right Sidebar' => __('Right Sidebar','real-esatate-property'),
            'One Column' => __('One Column','real-esatate-property')
		],
	] );

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'real_esatate_property_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'real-esatate-property' ),
			'panel'          => 'real_esatate_property_panel_id',
			'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
	[
		'settings' => 'real_esatate_property_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'real-esatate-property' ),
		'section'  => 'real_esatate_property_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'real_esatate_property_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'real-esatate-property' ),
		'section'  => 'real_esatate_property_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', 'real-esatate-property' ),
		'section'  => 'real_esatate_property_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', 'real-esatate-property' ),
		'section'  => 'real_esatate_property_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','real-esatate-property'),
            'Right Sidebar' => __('Right Sidebar','real-esatate-property')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','real-esatate-property'),
            'Right Sidebar' => __('Right Sidebar','real-esatate-property')
		],
	] );

		new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'real_esatate_property_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'real-esatate-property' ),
			'Center' => esc_html__( 'Center', 'real-esatate-property' ),
			'Right'  => esc_html__( 'Right', 'real-esatate-property' ),
		],
	]
	);

}

	// POST SECTION

	Kirki::add_section( 'real_esatate_property_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'real-esatate-property' ),
	    'panel'          => 'real_esatate_property_panel_id',
	    'priority'       => 160,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'real_esatate_property_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'real_esatate_property_pagination_setting',
		'label'       => esc_html__( 'Here you can enable or disable your Pagination.', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_post',
		'default'     => true,
		'priority'    => 10,
	] );

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','real-esatate-property'),
            'Right Sidebar' => __('Right Sidebar','real-esatate-property'),
		],
	] );

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

	// Breadcrumb
	Kirki::add_section( 'real_esatate_property_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'real-esatate-property' ),
	    'panel'          => 'real_esatate_property_panel_id',
	    'priority'       => 160,
	) );

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


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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'real_esatate_property_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'real-esatate-property' ),
        'section'  => 'real_esatate_property_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'real_esatate_property_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'real-esatate-property' ),
	    'panel'          => 'real_esatate_property_panel_id',
	    'priority'       => 160,
	) );

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

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

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

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_search_box_enable',
		'section'     => 'real_esatate_property_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'real_esatate_property_header_property_btn_heading',
		'section'     => 'real_esatate_property_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Property Button', 'real-esatate-property' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Text', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_header_property_btn_text',
		'section'  => 'real_esatate_property_section_header',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'link',
		'label'       => esc_html__( 'Link', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_header_property_btn_link',
		'section'  => 'real_esatate_property_section_header',
		'default'  => '',
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'repeater',
		'section'     => 'real_esatate_property_section_header',
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Social Icon', 'real-esatate-property' ),
			'field' => 'link_text',
		],
		'button_label' => esc_html__('Add New Social Icon', 'real-esatate-property' ),
		'settings'     => 'real_esatate_property_social_links_settings',
		'default'      => '',
		'fields' 	   => [
			'link_text' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Icon', 'real-esatate-property' ),
				'description' => esc_html__( 'Add the social media text ex: Facebook.', 'real-esatate-property' ),
				'default'     => '',
			],
			'link_url' => [
				'type'        => 'url',
				'label'       => esc_html__( 'Social Link', 'real-esatate-property' ),
				'description' => esc_html__( 'Add the social icon url here.', 'real-esatate-property' ),
				'default'     => '',
			],
		],
		'choices' => [
			'limit' => 5
		],
	] );

	// SLIDER SECTION

	Kirki::add_section( 'real_esatate_property_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'real-esatate-property' ),
        'panel'          => 'real_esatate_property_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_slide_title_enable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_slide_text_enable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_slide_button_enable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'real_esatate_property_blog_slide_number',
		'label'       => esc_html__( 'Slide Content Range', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'real_esatate_property_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'real-esatate-property' ),
		'priority'    => 10,
		'choices'     => real_esatate_property_get_categories_select(),
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'real_esatate_property_excerpt_number',
		'label'       => esc_html__( 'Number of text to show', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => 20,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_blog_slide_section',
		'default'     => 'RIGHT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'real-esatate-property' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'real-esatate-property' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'real-esatate-property' ),

		],
	] );

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

	// PROPERTIES SECTION

	Kirki::add_section( 'real_esatate_property_popular_section', array(
        'title'          => esc_html__( 'Properties Settings', 'real-esatate-property' ),
        'panel'          => 'real_esatate_property_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_your_properties_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_popular_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'real_esatate_property_properties_heading',
		'section'     => 'real_esatate_property_popular_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Properties Section', 'real-esatate-property' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Section Title', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_section_title',
		'section'  => 'real_esatate_property_popular_section',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Section Text', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_section_text',
		'section'  => 'real_esatate_property_popular_section',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Section Button Text', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_section_btn_text',
		'section'  => 'real_esatate_property_popular_section',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'link',
		'label'       => esc_html__( 'Section Button Link', 'real-esatate-property' ),
		'settings' => 'real_esatate_property_section_btn_link',
		'section'  => 'real_esatate_property_popular_section',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'real_esatate_property_your_properties_number',
		'label'       => esc_html__( 'Number of properties to show', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_popular_section',
		'default'     => '',
		'choices'     => [
			'min'  => 0,
			'max'  => 80,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'real_esatate_property_your_properties_category',
		'label'       => esc_html__( 'Select the category to show properties', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_popular_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'real-esatate-property' ),
		'priority'    => 10,
		'choices'     => real_esatate_property_get_categories_select(),
	] );

	// FOOTER SECTION

	Kirki::add_section( 'real_esatate_property_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'real-esatate-property' ),
        'panel'          => 'real_esatate_property_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'real_esatate_property_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'real-esatate-property' ),
			'off' => esc_html__( 'Disable', 'real-esatate-property' ),
		],
	] );

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

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'real_esatate_property_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'real-esatate-property' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'real-esatate-property' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'real-esatate-property' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'real-esatate-property' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'real_esatate_property_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'real-esatate-property' ),
		'section'     => 'real_esatate_property_footer_section',
		'default'     => '',
	] );

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

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

/*
 *  Customizer Notifications
 */

$real_esatate_property_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', 'real-esatate-property' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'real-esatate-property' ) . '</strong>'
            ),
        ),
    ),
    'real_esatate_property_recommended_actions'       => array(),
    'real_esatate_property_recommended_actions_title' => esc_html__( 'Recommended Actions', 'real-esatate-property' ),
    'real_esatate_property_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'real-esatate-property' ),
    'real_esatate_property_install_button_label'      => esc_html__( 'Install and Activate', 'real-esatate-property' ),
    'real_esatate_property_activate_button_label'     => esc_html__( 'Activate', 'real-esatate-property' ),
    'real_esatate_property_deactivate_button_label'   => esc_html__( 'Deactivate', 'real-esatate-property' ),
);

Real_Esatate_Property_Customizer_Notify::init( apply_filters( 'real_esatate_property_customizer_notify_array', $real_esatate_property_config_customizer ) );