<?php
	/*------------------------------------Site Services section -------------------------------------*/
	// ------------ Other Plugins --------

  $wp_customize->add_section('vw_book_store_pro_title_banner',array(
    'title' => __('Our Other New Plugins','vw-book-store-pro'),
    'description' => __('Purchase Our other new plugins','vw-book-store-pro'),
    'priority' => 3,
  ));

  $wp_customize->add_setting( 'vw_book_store_pro_buy_title_banner_plugin', array(
    'default' => '',
      'sanitize_callback' => 'esc_url_raw',
  ) );
  $wp_customize->add_control( new VW_Button_Custom_Content( $wp_customize, 'vw_book_store_pro_buy_title_banner_plugin', array(
    'section' => 'vw_book_store_pro_title_banner',
    'label' => __( 'VW Title Banner Plugin', 'vw-book-store-pro' ),
    'description' => __( 'Need to add banner images? Check out VW Title Banner Plugin', 'vw-book-store-pro' ),
    'content' => sprintf( __( 'Check the button %1$sWatch Now%2$s', 'vw-book-store-pro' ), '<a href="' . esc_url( vw_book_store_pro_banner_link  ) . '" class="button button-secondary alignright review_st" target="_blank">', '</a>' ),
  )));

  $wp_customize->add_setting( 'vw_book_store_pro_buy_social_icon_plugin', array(
    'default' => '',
      'sanitize_callback' => 'esc_url_raw',
  ) );
  $wp_customize->add_control( new VW_Button_Custom_Content( $wp_customize, 'vw_book_store_pro_buy_social_icon_plugin', array(
    'section' => 'vw_book_store_pro_title_banner',
    'label' => __( 'VW Social Media Plugin', 'vw-book-store-pro' ),
    'description' => __( 'Need to add Social Profiles ? Check out VW Social Media Plugin', 'vw-book-store-pro' ),
    'content' => sprintf( __( 'Check the button %1$sWatch Now%2$s', 'vw-book-store-pro' ), '<a href="' . esc_url( vw_book_store_pro_social_media_plugin  ) . '" class="button button-secondary alignright review_st" target="_blank">', '</a>' ),
  ))); 
  $wp_customize->add_setting( 'vw_book_store_pro_buy_vw_preloader_plugin', array(
    'default' => '',
      'sanitize_callback' => 'esc_url_raw',
  ) );
  $wp_customize->add_control( new VW_Button_Custom_Content( $wp_customize, 'vw_book_store_pro_buy_vw_preloader_plugin', array(
    'section' => 'vw_book_store_pro_title_banner',
    'label' => __( 'VW Preloader Plugin', 'vw-book-store-pro' ),
    'description' => __( 'Need to add Preloader ? Check out VW Preloader Plugin', 'vw-book-store-pro' ),
    'content' => sprintf( __( 'Check the button %1$sWatch Now%2$s', 'vw-book-store-pro' ), '<a href="' . esc_url( vw_book_store_pro_preloader_plugin  ) . '" class="button button-secondary alignright review_st" target="_blank">', '</a>' ),
  )));  
  $wp_customize->add_setting( 'vw_book_store_pro_buy_vw_accordinan_plugin', array(
    'default' => '',
      'sanitize_callback' => 'esc_url_raw',
  ) );
  $wp_customize->add_control( new VW_Button_Custom_Content( $wp_customize, 'vw_book_store_pro_buy_vw_accordinan_plugin', array(
    'section' => 'vw_book_store_pro_title_banner',
    'label' => __( 'VW Accordion Plugin', 'vw-book-store-pro' ),
    'description' => __( 'Need to add Dropdown Content ? Check out VW Accordion Plugin', 'vw-book-store-pro' ),
    'content' => sprintf( __( 'Check the button %1$sWatch Now%2$s', 'vw-book-store-pro' ), '<a href="' . esc_url( vw_book_store_pro_accordion_plugin  ) . '" class="button button-secondary alignright review_st" target="_blank">', '</a>' ),
  )));   

	$wp_customize->add_section('vw_book_store_pro_services_sec',array(
		'title'	=> __('About Section','vw-book-store-pro'),
		'description'	=> __('Add Welcome content here.','vw-book-store-pro'),
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_services_enable',
	    array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_services_enable',
	    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_services_sec',
        'choices' => array(
        'Enable' => __('Enable', 'vw-book-store-pro'),
        'Disable' => __('Disable', 'vw-book-store-pro')
	    ),
	));

	$wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_services_enable', array(
	    'selector' => '#site_services .services-box-content',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_services_enable',
	));

	$wp_customize->add_setting('vw_book_store_pro_services_icon_box_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_services_icon_box_number',array(
		'label'	=> __('Number of Services to show','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_services_sec',
		'type'		=> 'number'
	));
	$serviceschoose =  get_theme_mod('vw_book_store_pro_services_icon_box_number');
	for($i=1; $i<=$serviceschoose; $i++) {
		$wp_customize->add_setting('vw_book_store_pro_services_icon'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
		));
		$wp_customize->add_control('vw_book_store_pro_services_icon'.$i,array(
			'label'	=> __('Box Icon','vw-book-store-pro').$i,
			'description'	=> __('For box icons use Font Awesome (https://fontawesome.com/icons)','vw-book-store-pro'),
			'section'	=> 'vw_book_store_pro_services_sec',
			'setting'     => 'vw_book_store_pro_services_icon'.$i,
			'type'	=> 'text'
		));
		$wp_customize->add_setting('vw_book_store_pro_services_icon_image'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_services_icon_image'.$i,array(
	        'label' => __('Icon Image','vw-book-store-pro').$i,
	        'section' => 'vw_book_store_pro_services_sec',
	        'settings' => 'vw_book_store_pro_services_icon_image'.$i
		)));
		$wp_customize->add_setting('vw_book_store_pro_services_title'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field'
		));
		$wp_customize->add_control('vw_book_store_pro_services_title'.$i,array(
			'label'	=> __('Heading','vw-book-store-pro').$i,
			'section'	=> 'vw_book_store_pro_services_sec',
			'setting'	=> 'vw_book_store_pro_services_title'.$i,
			'type'		=> 'text'
		));
		$wp_customize->add_setting('vw_book_store_pro_services_sub_title'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'sanitize_text_field'
		));
		$wp_customize->add_control('vw_book_store_pro_services_sub_title'.$i,array(
			'label'	=> __('Sub Heading','vw-book-store-pro').$i,
			'section'	=> 'vw_book_store_pro_services_sec',
			'setting'	=> 'vw_book_store_pro_services_sub_title'.$i,
			'type'		=> 'text'
		));
	}

	$wp_customize->add_setting( 'vw_book_store_pro_services_content_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_services_content_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_box_dark_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_services_box_dark_bgcolor', array(
		'label' => __('Dark Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'settings' => 'vw_book_store_pro_services_box_dark_bgcolor'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_box_light_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_services_box_light_bgcolor', array(
		'label' => __('Light Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'settings' => 'vw_book_store_pro_services_box_light_bgcolor',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_section_heading_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_services_section_heading_ct_pallete',
	array(
		'label' => __('Heading Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_box_dark_heading_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_services_box_dark_heading_color', array(
		'label' => __('Heading Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'settings' => 'vw_book_store_pro_services_box_dark_heading_color'
	)));
	$wp_customize->add_setting('vw_book_store_pro_services_box_dark_heading_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_services_box_dark_heading_font_family', array(
	    'section'  => 'vw_book_store_pro_services_sec',
	    'label'    => __( 'Heading Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_services_box_dark_heading_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_services_box_dark_heading_font_size',array(
		'label' => __('Heading Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'setting' => 'vw_book_store_pro_services_box_dark_heading_font_size',
		'type'    => 'number'
	));


	$wp_customize->add_setting( 'vw_book_store_pro_services_section_text_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_services_section_text_ct_pallete',
	array(
		'label' => __('Text Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_box_dark_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_services_box_dark_text_color', array(
		'label' => __('Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'settings' => 'vw_book_store_pro_services_box_dark_text_color'
	)));
	$wp_customize->add_setting('vw_book_store_pro_services_box_dark_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_services_box_dark_text_font_family', array(
	    'section'  => 'vw_book_store_pro_services_sec',
	    'label'    => __( 'Text Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_services_box_dark_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_services_box_dark_text_font_size',array(
		'label' => __('Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'setting' => 'vw_book_store_pro_services_box_dark_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_services_section_Icon_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_services_section_Icon_ct_pallete',
	array(
		'label' => __('Icon Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_services_box_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_services_box_icon_color', array(
		'label' => __('Icon Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'settings' => 'vw_book_store_pro_services_box_icon_color'
	)));

	$wp_customize->add_setting('vw_book_store_pro_services_box_icon_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_services_box_icon_font_size',array(
		'label' => __('Icon Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_services_sec',
		'setting' => 'vw_book_store_pro_services_box_icon_font_size',
		'type'    => 'number'
	));

	/*-------------------------------Trending Products Section----------------------------------------*/

	$wp_customize->add_section('vw_book_store_pro_trending_product_sec',array(
		'title'	=> __('Trending Products Section','vw-book-store-pro'),
		'description'	=> __('Add Trending Products here.','vw-book-store-pro'),
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_trending_product_enable',
	    array(
	        'default' => 'Enable',
	        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_trending_product_enable',
	    array(
	        'type' => 'radio',
	        'label' => __('Do you want this section', 'vw-book-store-pro'),
	        'section' => 'vw_book_store_pro_trending_product_sec',
	        'choices' => array(
	        'Enable' => __('Enable', 'vw-book-store-pro'),
	        'Disable' => __('Disable', 'vw-book-store-pro')
	    ),
	));

	$wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_trending_product_enable', array(
	    'selector' => '#trending_product .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_trending_product_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_product_bgcolor',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'description' => __('Either add background color or background image, if you add both background color will be top most priority', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_product_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_trending_product_bgimage',array(
        'default' => '',
        'sanitize_callback' => 'esc_url_raw',
    ));
    $wp_customize->add_control(
       new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_trending_product_bgimage',
        array(
        'label' => __('Background Image','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_trending_product_sec',
        'settings' => 'vw_book_store_pro_trending_product_bgimage',
    )));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_trending_product_sec',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_product_title',array(
		'default'	=> __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_product_title',array(
		'label'	=> __('Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_trending_product_sec',
		'setting'	=> 'vw_book_store_pro_product_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_trending_product_btn',array(
		'default'	=> __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_btn',array(
		'label'	=> __('Button Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_trending_product_sec',
		'setting'	=> 'vw_book_store_pro_trending_product_btn',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_trending_product_btn_link',array(
		'default'	=> __('#','vw-book-store-pro'),
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_btn_link',array(
		'label'	=> __('Button Link','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_trending_product_sec',
		'setting'	=> 'vw_book_store_pro_trending_product_btn_link',
		'type'		=> 'url'
	));

	$wp_customize->add_setting(
      'vw_book_store_pro_trending_product_btn_icon',
      array(
        'default'     => 'fas fa-long-arrow-alt-right',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_trending_product_btn_icon',
        array(
          'settings'    => 'vw_book_store_pro_trending_product_btn_icon',
          'section'   => 'vw_book_store_pro_trending_product_sec',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Icon (For Button)', 'vw-book-store-pro' ),
        )
      )
    );

	$wp_customize->add_setting('vw_book_store_pro_trending_product_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_number',array(
		'label'	=> __('Number of Product to show','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_trending_product_sec',
		'type'		=> 'number'
	));
	$tpcount =  get_theme_mod('vw_book_store_pro_trending_product_number');
	$args = array(
       'type'                     => 'product',
        'child_of'                 => 0,
        'parent'                   => '',
        'orderby'                  => 'term_group',
        'order'                    => 'ASC',
        'hide_empty'               => false,
        'hierarchical'             => 1,
        'number'                   => '',
        'taxonomy'                 => 'product_cat',
        'pad_counts'               => false
    );
    $categories = get_categories( $args );
    $cats = array();
    $i = 0;
    foreach($categories as $category){
        if($i==0){
            $default = $category->slug;
            $i++;
        } 
        $cats[$category->slug] = $category->name;
    }
	$wp_customize->add_setting('vw_book_store_pro_trending_products_category',array(
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_trending_products_category',array(
        'type'    => 'select',
        'choices' => $cats,
        'label' => __('Select Product Category','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_trending_product_sec',
    ));

    $wp_customize->add_setting( 'vw_book_store_pro_trending_product_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_product_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_product_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_product_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_product_section_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_product_section_title_font_family', array(
	    'section'  => 'vw_book_store_pro_trending_product_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_product_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_product_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'setting' => 'vw_book_store_pro_product_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_title_ct_pallete',
	array(
		'label' => __('Product Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_trending_box_product_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_product_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_product_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_trending_product_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_trending_product_title_font_family', array(
	    'section'  => 'vw_book_store_pro_trending_product_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_trending_product_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'setting' => 'vw_book_store_pro_trending_product_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_desc_ct_pallete',
	array(
		'label' => __('Product Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_trending_box_product_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_product_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_product_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_trending_product_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_trending_product_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_trending_product_sec',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_trending_product_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_product_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'setting' => 'vw_book_store_pro_trending_product_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_box_content_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_box_content_ct_pallete',
	array(
		'label' => __('Product Meta Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_trending_box_pro_meta_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_pro_meta_bgcolor',array(
		'label' => __('Meta Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_pro_meta_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_trending_box_pro_meta_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_pro_meta_text_color',array(
		'label' => __('Meta Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_pro_meta_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_trending_box_pro_meta_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_box_pro_meta_text_font_size',array(
		'label' => __('Meta Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'setting' => 'vw_book_store_pro_trending_box_pro_meta_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_pro_meta_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_pro_meta_hover_bgcolor',array(
		'label' => __('Meta Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_pro_meta_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_trending_pro_meta_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_pro_meta_hover_text_color',array(
		'label' => __('Meta Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_pro_meta_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_trending_pro_meta_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_trending_pro_meta_font_family', array(
	    'section'  => 'vw_book_store_pro_trending_product_sec',
	    'label'    => __( 'Meta Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_product_view_all_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_trending_product_view_all_ct_pallete',
	array(
		'label' => __('View All Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_trending_view_all_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_view_all_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_view_all_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_trending_view_all_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_view_all_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_view_all_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_trending_view_all_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_trending_view_all_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'setting' => 'vw_book_store_pro_trending_view_all_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_view_all_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_view_all_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_view_all_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_trending_view_all_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_view_all_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_view_all_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_trending_view_all_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_trending_view_all_font_family', array(
	    'section'  => 'vw_book_store_pro_trending_product_sec',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_box_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_border_color',array(
		'label' => __('Box Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_trending_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_trending_box_bgcolor',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_trending_product_sec',
		'settings' => 'vw_book_store_pro_trending_box_bgcolor',
	)));

	/*------------------Product Categories Section-----------------*/
	$wp_customize->add_section('vw_book_store_pro_category_tabs_sec',array(
		'title'	=> __('Product Category Section','vw-book-store-pro'),
		'description'=> __('Add Product Categories sections here.','vw-book-store-pro'),
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_category_enable',array(
        'default'=> 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
    ));
	$wp_customize->add_control('vw_book_store_pro_category_enable',array(
        'type' => 'radio',
        'label' => 'Do you want this section',
        'section' => 'vw_book_store_pro_category_tabs_sec',
        'choices' => array(
            'Enable' => 'Enable',
            'Disable' => 'Disable'
    )));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_category_enable', array(
	    'selector' => '#category .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_category_enable',
	));

    $wp_customize->add_setting( 'vw_book_store_pro_category_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_category_bgcolor',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_category_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_category_bgimage',array(
		'default'=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_category_bgimage',
        array(
            'label' => __('Background Image','vw-book-store-pro'),
            'description'=> __('Background Image.','vw-book-store-pro'),
            'section' => 'vw_book_store_pro_category_tabs_sec',
            'settings' => 'vw_book_store_pro_category_bgimage'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_category_image_attachment', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_category_image_attachment', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_category_tabs_sec',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_category_title',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_category_title',array(
		'label' => __('Title','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'setting' => 'vw_book_store_pro_category_title',
		'type' => 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_category_btn',array(
		'default'	=> __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_category_btn',array(
		'label'	=> __('Button Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_category_tabs_sec',
		'setting'	=> 'vw_book_store_pro_category_btn',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_category_btn_link',array(
		'default'	=> __('#','vw-book-store-pro'),
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('vw_book_store_pro_category_btn_link',array(
		'label'	=> __('Button Link','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_category_tabs_sec',
		'setting'	=> 'vw_book_store_pro_category_btn_link',
		'type'		=> 'url'
	));

	$wp_customize->add_setting(
      'vw_book_store_pro_category_btn_icon',
      array(
        'default'     => 'fas fa-long-arrow-alt-right',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_category_btn_icon',
        array(
          'settings'    => 'vw_book_store_pro_category_btn_icon',
          'section'   => 'vw_book_store_pro_category_tabs_sec',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Icon (For Button)', 'vw-book-store-pro' ),
        )
      )
    );
	$wp_customize->add_setting('vw_book_store_pro_category_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_category_number',array(
		'label'	=> __('Number of Product Category to show','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_category_tabs_sec',
		'type'		=> 'number'
	));
	$product_number =  get_theme_mod('vw_book_store_pro_category_number');
	//choose category
	$args = array(
	   'type'                     => 'product',
	    'child_of'                 => 0,
	    'parent'                   => '',
	    'orderby'                  => 'term_group',
	    'order'                    => 'ASC',
	    'hide_empty'               => false,
	    'hierarchical'             => 1,
	    'number'                   => '',
	    'taxonomy'                 => 'product_cat',
	    'pad_counts'               => false
	);
	$categories = get_categories( $args );
	$cats = array();
	$i = 0;
	foreach($categories as $category){
		if($i==0){
			$default = $category->slug;
			$i++;
		}
		$cats[$category->slug] = $category->name;
	}
	for($i=1; $i<=$product_number; $i++) {
		$wp_customize->add_setting('vw_book_store_pro_product_cat'.$i,array(
		'sanitize_callback' => 'sanitize_text_field',
		));
		$wp_customize->add_control('vw_book_store_pro_product_cat'.$i,array(
			'type'    => 'select',
			'choices' => $cats,
			'label' => __('Select product category','vw-book-store-pro'),
			'section' => 'vw_book_store_pro_category_tabs_sec',
		));
		$wp_customize->add_setting('vw_book_store_pro_cate_shop_now_label'.$i,array(
			'default' => '',
			'sanitize_callback' => 'sanitize_text_field'
		));
		$wp_customize->add_control('vw_book_store_pro_cate_shop_now_label'.$i,array(
			'label' => __('Add Shop Now Label','vw-book-store-pro').$i,
			'section' => 'vw_book_store_pro_category_tabs_sec',
			'setting' => 'vw_book_store_pro_cate_shop_now_label'.$i,
			'type' => 'text'
		));
	}

	$wp_customize->add_setting( 'vw_book_store_pro_cate_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cate_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_cate_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cate_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_category_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_category_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_category_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_category_section_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_category_section_font_family', array(
	    'section'  => 'vw_book_store_pro_category_tabs_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_category_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_category_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'setting' => 'vw_book_store_pro_category_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cateory_title_ct_pallete',
	array(
		'label' => __('Category Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_cateory_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_cateory_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_cateory_title_font_family', array(
	    'section'  => 'vw_book_store_pro_category_tabs_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_cateory_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_cateory_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'setting' => 'vw_book_store_pro_cateory_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cateory_desc_ct_pallete',
	array(
		'label' => __('Category Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_cateory_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_cateory_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_cateory_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_category_tabs_sec',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_cateory_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_cateory_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'setting' => 'vw_book_store_pro_cateory_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_cate_box_content_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cate_box_content_ct_pallete',
	array(
		'label' => __('Category Link Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_link_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_link_icon_color',array(
		'label' => __('Link Icon Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_link_icon_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_link_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_link_hover_bgcolor',array(
		'label' => __('Link Background Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_link_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_cateory_link_icon_hover_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_link_icon_hover_color',array(
		'label' => __('Link Icon Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_link_icon_hover_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_cate_view_all_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_cate_view_all_ct_pallete',
	array(
		'label' => __('View All Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_cateory_view_all_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_view_all_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_view_all_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_cateory_view_all_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_view_all_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_view_all_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_cateory_view_all_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_cateory_view_all_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'setting' => 'vw_book_store_pro_cateory_view_all_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_view_all_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_view_all_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_view_all_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_cateory_view_all_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_view_all_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_view_all_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_cateory_view_all_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_cateory_view_all_font_family', array(
	    'section'  => 'vw_book_store_pro_category_tabs_sec',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_box_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_box_border_color',array(
		'label' => __('Box Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_box_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_cateory_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_cateory_box_bgcolor',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_category_tabs_sec',
		'settings' => 'vw_book_store_pro_cateory_box_bgcolor',
	)));

	// Alpha Color Picker setting.
	$wp_customize->add_setting(
		'vw_book_store_pro_category_alphacolor',
		array(
			'default'     => 'rgba(117, 182, 74, 0.6)',
			'type'        => 'theme_mod',
			'capability'  => 'edit_theme_options',
			'transport'   => 'postMessage'
	));
	// Alpha Color Picker control.
	$wp_customize->add_control(
		new Customize_Alpha_Color_Control($wp_customize,
			'vw_book_store_pro_category_alphacolor',
			array(
				'label'         => __( 'Box Hover RGB Color Picker', 'vw-book-store-pro' ),
				'section'       => 'vw_book_store_pro_category_tabs_sec',
				'settings'      => 'vw_book_store_pro_category_alphacolor',
				'show_opacity'  => true, // Optional.
				'palette'	=> array(
					'rgb(150, 50, 220)', // RGB, RGBa, and hex values supported
					'rgba(50,50,50,0.8)',
					'rgba( 255, 255, 255, 0.2 )', // Different spacing = no problem
					'#00CC99' // Mix of color types = no problem
	))));

	/* ----------------------------Latest Collection --------------------------------*/
	$wp_customize->add_section('vw_book_store_pro_latest_collection_section',array(
		'title'	=> __('Latest Collection','vw-book-store-pro'),
		'description'	=> __('Add Latest Collection details here','vw-book-store-pro'),
		'priority'	=> null,
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_section_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_section_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_latest_collection_section',
        'choices' => array(
            'Enable' => __('Enable', 'vw-book-store-pro'),
            'Disable' => __('Disable', 'vw-book-store-pro')
	)));

	$wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_latest_collection_section_enable', array(
	    'selector' => '#latest_collection .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_latest_collection_section_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_bgcolor',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_bgimage',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_latest_collection_bgimage',array(
        'label' => __('Background image ','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_latest_collection_section',
        'settings' => 'vw_book_store_pro_latest_collection_bgimage'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_bgimage_attachment', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_bgimage_attachment', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_latest_collection_section',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$args = array(
       'type'                     => 'product',
        'child_of'                 => 0,
        'parent'                   => '',
        'orderby'                  => 'term_group',
        'order'                    => 'ASC',
        'hide_empty'               => false,
        'hierarchical'             => 1,
        'number'                   => '',
        'taxonomy'                 => 'product_cat',
        'pad_counts'               => false
    );
    $categories = get_categories( $args );
    $cats = array();
    $i = 0;
    foreach($categories as $category){
        if($i==0){
            $default = $category->slug;
            $i++;
        }
        $cats[$category->slug] = $category->name;
    }
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_category',array(
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_latest_collection_category',array(
        'type'    => 'select',
        'choices' => $cats,
        'label' => __('Select Product Category','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_latest_collection_section',
    ));
    $wp_customize->add_setting('vw_book_store_pro_latest_collection_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_collection_section',
		'setting'	=> 'vw_book_store_pro_latest_collection_title',
		'type'		=> 'text'
	));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_sale',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_sale',array(
		'label'	=> __('Section Sale Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_collection_section',
		'setting'	=> 'vw_book_store_pro_latest_collection_sale',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_desc',array(
		'default'   => '',
		'capability'         => 'edit_theme_options',
		'sanitize_callback'  => 'wp_kses_post'
	));
	$wp_customize->add_control(new VW_Book_Store_Pro_Editor_Control($wp_customize,'vw_book_store_pro_latest_collection_desc',array(
		'label' => __('Section Description','vw-book-store-pro'),
		'description' => __('Add Text','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting'   => 'vw_book_store_pro_latest_collection_desc',       
	)));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_btn',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_textarea_field',
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_btn',array(
		'label' => __('View More Button Text','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting'	=> 'vw_book_store_pro_latest_collection_btn',
		'type'	=> 'text'
	));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_btn_url',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_btn_url',array(
		'label' => __('Button URL','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting'	=> 'vw_book_store_pro_latest_collection_btn_url',
		'type'	=> 'text'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_section_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_section_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	// Alpha Color Picker setting.
	$wp_customize->add_setting(
		'vw_book_store_pro_latest_collection_alphacolor',
		array(
			'default'     => 'rgba(247, 247, 247, 0.8)',
			'type'        => 'theme_mod',
			'capability'  => 'edit_theme_options',
			'transport'   => 'postMessage'
	));
	// Alpha Color Picker control.
	$wp_customize->add_control(
		new Customize_Alpha_Color_Control($wp_customize,
			'vw_book_store_pro_latest_collection_alphacolor',
			array(
				'label'         => __( 'Circle RGB Color Picker', 'vw-book-store-pro' ),
				'section'       => 'vw_book_store_pro_latest_collection_section',
				'settings'      => 'vw_book_store_pro_latest_collection_alphacolor',
				'show_opacity'  => true, // Optional.
				'palette'	=> array(
					'rgb(150, 50, 220)', // RGB, RGBa, and hex values supported
					'rgba(50,50,50,0.8)',
					'rgba( 255, 255, 255, 0.2 )', // Different spacing = no problem
					'#00CC99' // Mix of color types = no problem
	))));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_title_top_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_title_top_color',array(
		'label' => __('Section Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_title_top_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_title_top_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_title_top_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Top Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_title_top_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_title_top_font_size',array(
		'label' => __('Section Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_title_top_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_section_title2_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_section_title2_ct_pallete',
	array(
		'label' => __('Sale Heading Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_title_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_section_text_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_section_text_ct_pallete',
	array(
		'label' => __('Section Text Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_text_color',array(
		'label' => __('Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_text_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Text Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_text_font_size',array(
		'label' => __('Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_section_button_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_section_button_ct_pallete',
	array(
		'label' => __('Section Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_btn_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_btn_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_btn_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_btn_text_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_btn_text_bgcolor',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_btn_text_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_btn_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_btn_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_btn_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_btn_hover_text_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_btn_hover_text_bgcolor',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_btn_hover_text_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_btn_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_btn_text_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_btn_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_btn_text_font_size',array(
		'label' => __('Button Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_btn_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_product_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_product_title_ct_pallete',
	array(
		'label' => __('Product Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_box_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_box_title_color',array(
		'label' => __('Box Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_box_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_box_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_box_title_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Box Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_box_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_box_title_font_size',array(
		'label' => __('Product Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_box_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_product_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_product_desc_ct_pallete',
	array(
		'label' => __('Product Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_box_content_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_box_content_color',array(
		'label' => __('Box Content Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_box_content_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_box_content_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_box_content_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Box Content Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_box_content_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_box_content_font_size',array(
		'label' => __('Box Content Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_box_content_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_product_btn_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_collection_product_btn_ct_pallete',
	array(
		'label' => __('Product Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_cart_btn_bgcolor', array(
	'default' => '',
	'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_cart_btn_bgcolor',array(
		'label' => __('Cart Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_cart_btn_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_cart_btn_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_cart_btn_text_color',array(
		'label' => __('Cart Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_cart_btn_text_color',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_cart_btn_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_cart_btn_hover_bgcolor',array(
		'label' => __('Cart Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_cart_btn_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_cart_btn_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_cart_btn_hover_text_color',array(
		'label' => __('Cart Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_cart_btn_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_collection_cart_btn_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_collection_cart_btn_text_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_collection_section',
	    'label'    => __( 'Cart Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_collection_cart_btn_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_collection_cart_btn_text_font_size',array(
		'label' => __('Cart Button Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'setting' => 'vw_book_store_pro_latest_collection_cart_btn_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_collection_box_bg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_collection_box_bg_color',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_collection_section',
		'settings' => 'vw_book_store_pro_latest_collection_box_bg_color',
	)));

	/*--------------------------Our Records------------------------*/
	$wp_customize->add_section('vw_book_store_pro_our_records',array(
		'title'	=> __('Our Records','vw-book-store-pro'),
		'description'	=> __('Add our records sections content here.','vw-book-store-pro'),
		'panel' => 'vw_book_store_pro_panel_id',
	));
	//Our Records enable or disable
	$wp_customize->add_setting('vw_book_store_pro_our_records_enable',array(
        'default'=> 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
    ));
	$wp_customize->add_control('vw_book_store_pro_our_records_enable', array(
        'type' => 'radio',
        'label' => 'Do you want this section',
        'section' => 'vw_book_store_pro_our_records',
        'choices' => array(
            'Enable' => 'Enable',
            'Disable' => 'Disable'
        ),
    ));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_our_records_enable', array(
	    'selector' => '#our_records .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_our_records_enable',
	));

    //Our Records background color picker setting
	$wp_customize->add_setting( 'vw_book_store_pro_our_records_bg_color', array(
		'default' => __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_hex_color',
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_records_bg_color', array(
		'label' => 'Background Color',
		'section' => 'vw_book_store_pro_our_records',
		'settings' => 'vw_book_store_pro_our_records_bg_color',
	)));
	//Our Records background image picker setting
	$wp_customize->add_setting('vw_book_store_pro_our_records_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));		
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_our_records_bg_image',array(
            'label' => __('Background image','vw-book-store-pro'),
            'section' => 'vw_book_store_pro_our_records',
            'settings' => 'vw_book_store_pro_our_records_bg_image'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_records_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_our_records_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_our_records',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_our_records_number',array(
        'default'   => 5,
        'sanitize_callback' => 'sanitize_text_field',
    ));

    $wp_customize->add_control('vw_book_store_pro_our_records_number',array(
        'label' => __('Number of Records to show','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_our_records',
        'type'      => 'number'
    ));

	$pricing_number_count =  get_theme_mod('vw_book_store_pro_our_records_number', 4);

	for($i=1;$i<=$pricing_number_count;$i++) {

		$wp_customize->add_setting( 'vw_book_store_pro_counter_box_numbers'.$i,
		array(
			'default' => '',
			'transport' => 'postMessage',
			'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
		));
		$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_counter_box_numbers'.$i,
		array(
			'label' => __('Record'.$i,'vw-book-store-pro'),
			'section' => 'vw_book_store_pro_our_records'
		)));

		$wp_customize->add_setting('vw_book_store_pro_counter_bgimage'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_counter_bgimage'.$i,array(
	            'label' => __('Counter Background Image'.$i,'vw-book-store-pro'),
	            'section' => 'vw_book_store_pro_our_records',
	            'settings' => 'vw_book_store_pro_counter_bgimage'.$i
		)));
		$wp_customize->add_setting('vw_book_store_pro_our_records_image'.$i,array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_our_records_image'.$i,array(
	            'label' => __('Counter Image'.$i,'vw-book-store-pro'),
	            'section' => 'vw_book_store_pro_our_records',
	            'settings' => 'vw_book_store_pro_our_records_image'.$i
		)));
		$wp_customize->add_setting('vw_book_store_pro_number_title1'.$i,array(
			'default'=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));		
		$wp_customize->add_control('vw_book_store_pro_number_title1'.$i,array(
			'label'	=> __('Number'.$i,'vw-book-store-pro'),
			'section'=> 'vw_book_store_pro_our_records',
			'type'=> 'text'
		));
		$wp_customize->add_setting('vw_book_store_pro_circle_content1'.$i,array(
			'default'=> '',
			'sanitize_callback'	=> 'sanitize_text_field',
		));		
		$wp_customize->add_control('vw_book_store_pro_circle_content1'.$i,array(
			'label'	=> __('Counter Title'.$i,'vw-book-store-pro'),
			'section'=> 'vw_book_store_pro_our_records',
			'type'	=> 'text'
		));
	}

	$wp_customize->add_setting( 'vw_book_store_pro_our_records_content_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_records_content_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_records'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_records_section_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_records_section_ct_pallete',
	array(
		'label' => __('Number Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_records'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_records_number_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_records_number_color', array(
		'label' => 'Text Color',
		'section' => 'vw_book_store_pro_our_records',
		'settings' => 'vw_book_store_pro_records_number_color',

	)));
	$wp_customize->add_setting('vw_book_store_pro_records_number_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	 ));
	$wp_customize->add_control(
	    'vw_book_store_pro_records_number_font_family', array(
	    'section'  => 'vw_book_store_pro_our_records',
	    'label'    => __( 'Number Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_records_number_font_size',array(
	  'default' => '',
	  'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_records_number_font_size',array(
	  'label' => __('Number Font Size','vw-book-store-pro'),
	  'description' => __('Add font size in px','vw-book-store-pro'),
	  'section' => 'vw_book_store_pro_our_records',
	  'setting' => 'vw_book_store_pro_records_number_font_size',
	  'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_records_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_records_title_ct_pallete',
	array(
		'label' => __('Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_records'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_records_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_records_title_color', array(
		'label' => 'Text Color',
		'section' => 'vw_book_store_pro_our_records',
		'settings' => 'vw_book_store_pro_records_title_color',

	)));
	$wp_customize->add_setting('vw_book_store_pro_records_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	 ));
	$wp_customize->add_control(
	    'vw_book_store_pro_records_title_font_family', array(
	    'section'  => 'vw_book_store_pro_our_records',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_records_title_font_size',array(
	  'default' => '',
	  'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_records_title_font_size',array(
	  'label' => __('Title Font Size','vw-book-store-pro'),
	  'description' => __('Add font size in px','vw-book-store-pro'),
	  'section' => 'vw_book_store_pro_our_records',
	  'setting' => 'vw_book_store_pro_records_title_font_size',
	  'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_records_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_records_border_color', array(
		'label' => 'Border Color',
		'section' => 'vw_book_store_pro_our_records',
		'settings' => 'vw_book_store_pro_records_border_color',

	)));

	/*------------------------------------product Tabs Section -------------------------------------*/
    $wp_customize->add_section('vw_book_store_pro_best_seller',array(
        'title' => __("Best Seller Section",'vw-book-store-pro'),
        'description'=> __('Add/Edit Products Slide sections Text here.','vw-book-store-pro'),
        'panel' => 'vw_book_store_pro_panel_id',
    ));

    $wp_customize->add_setting('vw_book_store_pro_best_seller_enable',array(
        'default'=> 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
    ));
    $wp_customize->add_control('vw_book_store_pro_best_seller_enable',array(
        'type' => 'radio',
        'label' => 'Do you want this section',
        'section' => 'vw_book_store_pro_best_seller',
        'choices' => array(
            'Enable' => 'Enable',
            'Disable' => 'Disable'
    )));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_best_seller_enable', array(
	    'selector' => '#best_seller .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_best_seller_enable',
	));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_bgcolor', array(
        'default' => '',
        'sanitize_callback' => 'sanitize_hex_color'
    ));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_bgcolor', array(
        'label' => 'Background Color',
        'section' => 'vw_book_store_pro_best_seller',
        'settings' => 'vw_book_store_pro_best_seller_bgcolor',
    )));
    $wp_customize->add_setting('vw_book_store_pro_best_seller_bgimage',array(
        'default'=> '',
        'sanitize_callback' => 'esc_url_raw',
    ));
    $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_best_seller_bgimage',
        array(
            'label' => __('Background Image','vw-book-store-pro'),
            'section' => 'vw_book_store_pro_best_seller',
            'settings' => 'vw_book_store_pro_best_seller_bgimage'
    )));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_best_seller',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

    $wp_customize->add_setting('vw_book_store_pro_best_seller_title',array(
        'default'=> __('Best Seller','vw-book-store-pro'),
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control('vw_book_store_pro_best_seller_title',array(
        'label' => __('Section Title','vw-book-store-pro'),
        'section'=> 'vw_book_store_pro_best_seller',
        'setting'=> 'vw_book_store_pro_best_seller_title',
        'type'=> 'text'
    ));

    $wp_customize->add_setting('vw_book_store_pro_best_seller_btn',array(
		'default'	=> __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_btn',array(
		'label'	=> __('Button Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_best_seller',
		'setting'	=> 'vw_book_store_pro_best_seller_btn',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_btn_link',array(
		'default'	=> __('#','vw-book-store-pro'),
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_btn_link',array(
		'label'	=> __('Button Link','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_best_seller',
		'setting'	=> 'vw_book_store_pro_best_seller_btn_link',
		'type'		=> 'url'
	));

	$wp_customize->add_setting(
      'vw_book_store_pro_best_seller_btn_icon',
      array(
        'default'     => 'fas fa-long-arrow-alt-right',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_best_seller_btn_icon',
        array(
          'settings'    => 'vw_book_store_pro_best_seller_btn_icon',
          'section'   => 'vw_book_store_pro_best_seller',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Icon (For Button)', 'vw-book-store-pro' ),
        )
      )
    );
    //choose category
    $wp_customize->add_setting('vw_book_store_pro_tab_number',array(
        'default'   => 5,
        'sanitize_callback' => 'sanitize_text_field',
    ));

    $wp_customize->add_control('vw_book_store_pro_tab_number',array(
        'label' => __('Number of Tabs to show','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_best_seller',
        'type'      => 'number'
    ));
    $count =  get_theme_mod('vw_book_store_pro_tab_number', 5);
    $args = array(
           'type'                     => 'product',
            'child_of'                 => 0,
            'parent'                   => '',
            'orderby'                  => 'term_group',
            'order'                    => 'ASC',
            'hide_empty'               => false,
            'hierarchical'             => 1,
            'number'                   => '',
            'taxonomy'                 => 'product_cat',
            'pad_counts'               => false
        );
        $categories = get_categories( $args );
        $cats = array();
        $i = 0;
        foreach($categories as $category){
            if($i==0){
                $default = $category->slug;
                $i++;
            }
            $cats[$category->slug] = $category->name;
        }
    for($i=1;$i<=$count;$i++) {        
        $wp_customize->add_setting('vw_book_store_pro_slideproduct_tab1title'.$i,array(
            'default'=> __('Product Category','vw-book-store-pro').$i,
            'sanitize_callback' => 'sanitize_text_field'
        ));
        $wp_customize->add_control('vw_book_store_pro_slideproduct_tab1title'.$i,array(
            'label' => __('Tab Title'.$i,'vw-book-store-pro'),
            'section'=> 'vw_book_store_pro_best_seller',
            'setting'=> 'vw_book_store_pro_slideproduct_tab1title'.$i,
            'type'=> 'text'
        ));
        $wp_customize->add_setting('vw_book_store_pro_cate_tab'.$i,array(
            'sanitize_callback' => 'sanitize_text_field',
        ));
        $wp_customize->add_control('vw_book_store_pro_cate_tab'.$i,array(
            'type'    => 'select',
            'choices' => $cats,
            'label' => __('Select Tab product category'.$i,'vw-book-store-pro'),
            'section' => 'vw_book_store_pro_best_seller',
        ));
        $wp_customize->add_setting('vw_book_store_pro_tab_category_products_limit'.$i,array(
	        'default'   => '',
	        'sanitize_callback' => 'sanitize_text_field',
		));

	    $wp_customize->add_control('vw_book_store_pro_tab_category_products_limit'.$i,array(
	        'label' => __('Number of products to show in this category'.$i,'vw-book-store-pro'),
	        'section'   => 'vw_book_store_pro_best_seller',
	        'type'      => 'number'
	    ));
    }

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_section_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_section_title_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_title_ct_pallete',
	array(
		'label' => __('Product Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_product_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_product_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_product_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_product_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_product_title_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_product_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_product_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_product_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_desc_ct_pallete',
	array(
		'label' => __('Product Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_product_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_product_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_product_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_product_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_product_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_product_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_product_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_product_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_content_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_content_ct_pallete',
	array(
		'label' => __('Product Meta Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_pro_meta_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_pro_meta_bgcolor',array(
		'label' => __('Meta Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_pro_meta_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_pro_meta_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_pro_meta_text_color',array(
		'label' => __('Meta Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_pro_meta_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_box_pro_meta_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_box_pro_meta_text_font_size',array(
		'label' => __('Meta Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_box_pro_meta_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_pro_meta_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_pro_meta_hover_bgcolor',array(
		'label' => __('Meta Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_pro_meta_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_pro_meta_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_pro_meta_hover_text_color',array(
		'label' => __('Meta Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_pro_meta_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_pro_meta_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_pro_meta_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Meta Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_view_all_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_view_all_ct_pallete',
	array(
		'label' => __('View All Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_view_all_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_view_all_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_view_all_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_view_all_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_view_all_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_view_all_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_view_all_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_view_all_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_view_all_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_view_all_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_view_all_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_view_all_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_view_all_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_view_all_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_view_all_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_view_all_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_view_all_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_border_color',array(
		'label' => __('Box Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_bgcolor',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_bgcolor',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_tab_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_best_seller_tab_ct_pallete',
	array(
		'label' => __('Tab Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_tab_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_tab_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_tab_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_best_seller_tab_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_best_seller_tab_title_font_family', array(
	    'section'  => 'vw_book_store_pro_best_seller',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_best_seller_tab_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_best_seller_tab_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'setting' => 'vw_book_store_pro_best_seller_tab_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_tab_active_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_tab_active_title_color',array(
		'label' => __('Active Tab Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_tab_active_title_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_best_seller_box_tab_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_best_seller_box_tab_border_color',array(
		'label' => __('Tab Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_best_seller',
		'settings' => 'vw_book_store_pro_best_seller_box_tab_border_color',
	)));

    /*------------------------------Author Section----------------------------------------*/
	$wp_customize->add_section('vw_book_store_pro_author_sec',array(
		'title'	=> __('Our Author Section','vw-book-store-pro'),
		'description'	=> __('This section is only for author title and styling. <a href="'.esc_url(home_url()).'/wp-admin/edit.php?post_type=author" target="_blank">Click here</a> to add auther','vw-book-store-pro'),
		'priority'	=> null,
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_author_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_author_enable',
    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_author_sec',
	    'choices' => array(
        'Enable' => __('Enable', 'vw-book-store-pro'),
        'Disable' => __('Disable', 'vw-book-store-pro')
	     ),
    ));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_author_enable', array(
	    'selector' => '#author .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_author_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_author_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_author_bgcolor', array(
			'label' => __('Background Color', 'vw-book-store-pro'),
			'section' => 'vw_book_store_pro_author_sec',
			'settings' => 'vw_book_store_pro_author_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_author_bgimage',array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'vw_book_store_pro_our_author_bgimage',
	        array(
	            'label' => __('Background image','vw-book-store-pro'),
	            'section' => 'vw_book_store_pro_author_sec',
	            'settings' => 'vw_book_store_pro_our_author_bgimage'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_our_author_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_author_sec',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_author_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_author_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_author_sec',
		'setting'	=> 'vw_book_store_pro_author_title',
		'type'		=> 'text'
	));
	
	$wp_customize->add_setting( 'vw_book_store_pro_our_author_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_author_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_author_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_author_section_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_our_author_section_font_family', array(
	    'section'  => 'vw_book_store_pro_author_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_our_author_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_our_author_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'setting' => 'vw_book_store_pro_our_author_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_author_title_ct_pallete',
	array(
		'label' => __('Auther Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_our_author_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_author_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_our_author_title_font_family', array(
	    'section'  => 'vw_book_store_pro_author_sec',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_our_author_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_our_author_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'setting' => 'vw_book_store_pro_our_author_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_author_desc_ct_pallete',
	array(
		'label' => __('Auther Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_our_author_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_author_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_our_author_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_author_sec',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_our_author_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_our_author_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'setting' => 'vw_book_store_pro_our_author_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_box_content_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_author_box_content_ct_pallete',
	array(
		'label' => __('Social Link Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_social_link_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_social_link_icon_color',array(
		'label' => __('Social Link Icon Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_social_link_icon_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_social_link_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_social_link_hover_bgcolor',array(
		'label' => __('Social Link Background Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_social_link_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_our_author_social_link_icon_hover_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_social_link_icon_hover_color',array(
		'label' => __('Social Link Icon Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_social_link_icon_hover_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_box_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_box_border_color',array(
		'label' => __('Title Bottom Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_box_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_author_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_author_box_bgcolor',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec',
		'settings' => 'vw_book_store_pro_our_author_box_bgcolor',
	)));

	// Alpha Color Picker setting.
	$wp_customize->add_setting(
		'vw_book_store_pro_our_author_alphacolor',
		array(
			'default'     => 'rgba(117, 182, 74, 0.6)',
			'type'        => 'theme_mod',
			'capability'  => 'edit_theme_options',
			'transport'   => 'postMessage'
	));
	// Alpha Color Picker control.
	$wp_customize->add_control(
		new Customize_Alpha_Color_Control($wp_customize,
			'vw_book_store_pro_our_author_alphacolor',
			array(
				'label'         => __( 'Box Hover RGB Color Picker', 'vw-book-store-pro' ),
				'section'       => 'vw_book_store_pro_author_sec',
				'settings'      => 'vw_book_store_pro_our_author_alphacolor',
				'show_opacity'  => true, // Optional.
				'palette'	=> array(
					'rgb(150, 50, 220)', // RGB, RGBa, and hex values supported
					'rgba(50,50,50,0.8)',
					'rgba( 255, 255, 255, 0.2 )', // Different spacing = no problem
					'#00CC99' // Mix of color types = no problem
	))));
  
	/*---------------------------------Our Sponsors--------------------------*/
	$wp_customize->add_section('vw_book_store_pro_our_partners_section',array(
		'title'	=> __('Our Sponsors','vw-book-store-pro'),
		'description'	=> __('Add partners details here','vw-book-store-pro'),
		'priority'	=> null,
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_our_partners_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_our_partners_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_our_partners_section',
        'choices' => array(
            'Enable' => __('Enable', 'vw-book-store-pro'),
            'Disable' => __('Disable', 'vw-book-store-pro')
	)));

	$wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_our_partners_enable', array(
	    'selector' => '#our_partners .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_our_partners_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_partnersbg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_our_partnersbg_color',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'settings' => 'vw_book_store_pro_our_partnersbg_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_partnersbg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_our_partnersbg_image',array(
        'label' => __('Background image ','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_our_partners_section',
        'settings' => 'vw_book_store_pro_our_partnersbg_image'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_partners_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_our_partners_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_our_partners_section',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_our_partner_title',array(
	'default'	=> '',
	'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_our_partner_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_our_partners_section',
		'setting'	=> 'vw_book_store_pro_our_partner_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_our_partners_number',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_our_partners_number',array(
		'label'	=> __('Number of boxes to show','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_our_partners_section',
		'type'		=> 'number'
	));
	$count =  get_theme_mod('vw_book_store_pro_our_partners_number');
	for($i=1, $j=1; $i<=$count; $i++, $j++) {
		if($j==4){ $j=1; }
		$wp_customize->add_setting('vw_book_store_pro_our_partners_image'.$i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_our_partners_image'.$i,
	        array(
	            'label' => __('Slider Image ','vw-book-store-pro').$i,
	            'section' => 'vw_book_store_pro_our_partners_section',
	            'settings' => 'vw_book_store_pro_our_partners_image'.$i
		)));	
	}

	$wp_customize->add_setting( 'vw_book_store_pro_our_partner_content_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_partner_content_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_partner_section_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_partner_section_ct_pallete',
	array(
		'label' => __('Section Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section'
	)));

	$wp_customize->add_setting('vw_book_store_pro_partners_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_partners_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'settings' => 'vw_book_store_pro_partners_title_color',
	)));	
	$wp_customize->add_setting('vw_book_store_pro_partners_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_partners_title_font_family', array(
	    'section'  => 'vw_book_store_pro_our_partners_section',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_partners_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_partners_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'setting' => 'vw_book_store_pro_partners_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting('vw_book_store_pro_partners_box_bg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_partners_box_bg_color', array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'settings' => 'vw_book_store_pro_partners_box_bg_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_partners_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_partners_border_color', array(
		'label' => __('Box Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'settings' => 'vw_book_store_pro_partners_border_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_partners_title_bottom_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_partners_title_bottom_border_color', array(
		'label' => __('Title Bottom Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_our_partners_section',
		'settings' => 'vw_book_store_pro_partners_title_bottom_border_color',
	)));

	/* ------------------------------ Testimonial Section -----------------------------------*/
	$wp_customize->add_section('vw_book_store_pro_testimonial',array(
			'title'	=> __('Testimonial','vw-book-store-pro'),
			'description'	=> __('This section is only for Testimonial title and styling. <a href="'.esc_url(home_url()).'/wp-admin/edit.php?post_type=testimonials" target="_blank">Click here</a> to add testimonials.','vw-book-store-pro'),
			'priority'	=> null,
			'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_testimonial_enable',
	    array(
	        'default' => 'Enable',
	        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_testimonial_enable',
    array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_testimonial',
	        'choices' => array(
	            'Enable' => __('Enable', 'vw-book-store-pro'),
	            'Disable' => __('Disable', 'vw-book-store-pro')
	    ),
    ));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_testimonial_enable', array(
	    'selector' => '#testimonials .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_testimonial_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_testimonial_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_testimonial_bgcolor', array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_bgcolor',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_testimonial_bgimage',array(
			'default'	=>'',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'vw_book_store_pro_our_testimonial_bgimage',
	        array(
	            'label' => __('Background image','vw-book-store-pro'),
	            'section' => 'vw_book_store_pro_testimonial',
	            'settings' => 'vw_book_store_pro_our_testimonial_bgimage'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_our_testimonial_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_testimonial',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_testimonial_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_testimonial',
		'setting'	=> 'vw_book_store_pro_testimonial_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_content_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_content_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_section_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_section_ct_pallete',
	array(
		'label' => __('Section Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_testimonial_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_title_color',
	)));
	
	$wp_customize->add_setting('vw_book_store_pro_testimonial_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_testimonial_title_font_family', array(
	    'section'  => 'vw_book_store_pro_testimonial',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_testimonial_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'setting' => 'vw_book_store_pro_testimonial_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_name_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_name_ct_pallete',
	array(
		'label' => __('Name Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_name_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_testimonial_name_color', array(
		'label' => __('Testimonial Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_name_color',
	)));
	
	$wp_customize->add_setting('vw_book_store_pro_testimonial_name_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_testimonial_name_font_family', array(
	    'section'  => 'vw_book_store_pro_testimonial',
	    'label'    => __( 'Testimonial Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_name_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_testimonial_name_font_size',array(
		'label' => __('Name Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'setting' => 'vw_book_store_pro_testimonial_name_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_desig_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_desig_ct_pallete',
	array(
		'label' => __('Designation Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_desig_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_testimonial_desig_color', array(
		'label' => __('Designation Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_desig_color',
	)));
	
	$wp_customize->add_setting('vw_book_store_pro_testimonial_desig_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_testimonial_desig_font_family', array(
	    'section'  => 'vw_book_store_pro_testimonial',
	    'label'    => __( 'Designation Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_desig_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_testimonial_desig_font_size',array(
		'label' => __('Designation Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'setting' => 'vw_book_store_pro_testimonial_desig_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_text_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_text_ct_pallete',
	array(
		'label' => __('Name Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_testimonial_text_color', array(
		'label' => __('Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_text_color',
	)));
	
	$wp_customize->add_setting('vw_book_store_pro_testimonial_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_testimonial_text_font_family', array(
	    'section'  => 'vw_book_store_pro_testimonial',
	    'label'    => __( 'Text Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array,
	));

	$wp_customize->add_setting('vw_book_store_pro_testimonial_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_testimonial_text_font_size',array(
		'label' => __('Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial',
		'setting' => 'vw_book_store_pro_testimonial_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_our_testimonial_other_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_our_testimonial_other_ct_pallete',
	array(
		'label' => __('Other Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_testimonial'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_testimonial_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 		'vw_book_store_pro_testimonial_box_bgcolor', array(
		'label' => 'Box Background Color',
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_box_bgcolor',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_testimonial_qoute_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 		'vw_book_store_pro_testimonial_qoute_color', array(
		'label' => 'Quote Color',
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_qoute_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_testimonial_title_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 		'vw_book_store_pro_testimonial_title_border_color', array(
		'label' => 'Border Color',
		'section' => 'vw_book_store_pro_testimonial',
		'settings' => 'vw_book_store_pro_testimonial_title_border_color',
	)));


	//Latest Post
	$wp_customize->add_section('vw_book_store_pro_latest_post',array(
		'title'	=> __('Latest Post','vw-book-store-pro'),
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_post_enable',
    array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
    ));
	$wp_customize->add_control(
    'vw_book_store_pro_radio_post_enable',
	    array(
	        'type' => 'radio',
	        'label' => __('Do you want this section', 'vw-book-store-pro'),
	        'section' => 'vw_book_store_pro_latest_post',
	        'choices' => array(
	            'Enable' => __('Enable', 'vw-book-store-pro'),
	            'Disable' => __('Disable', 'vw-book-store-pro')
	    ),
    ));

    $wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_post_enable', array(
	    'selector' => '#latest_post .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_post_enable',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 		'vw_book_store_pro_latest_post_color', array(
		'label' => 'Background Color',
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_our_latest_post_bgimage',array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'vw_book_store_pro_our_latest_post_bgimage',
	        array(
	            'label' => __('Background image','vw-book-store-pro'),
	            'section' => 'vw_book_store_pro_latest_post',
	            'settings' => 'vw_book_store_pro_our_latest_post_bgimage'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_our_latest_post_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_our_latest_post_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_latest_post',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_latestpost_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latestpost_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_post',
		'setting'	=> 'vw_book_store_pro_latestpost_title',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_latestpost_btn',array(
		'default'	=> __('','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latestpost_btn',array(
		'label'	=> __('Button Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_post',
		'setting'	=> 'vw_book_store_pro_latestpost_btn',
		'type'		=> 'text'
	));

	$wp_customize->add_setting('vw_book_store_pro_latestpost_btn_link',array(
		'default'	=> __('#','vw-book-store-pro'),
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('vw_book_store_pro_latestpost_btn_link',array(
		'label'	=> __('Button Link','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_post',
		'setting'	=> 'vw_book_store_pro_latestpost_btn_link',
		'type'		=> 'url'
	));

	$wp_customize->add_setting(
      'vw_book_store_pro_latestpost_btn_icon',
      array(
        'default'     => 'fas fa-long-arrow-alt-right',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_latestpost_btn_icon',
        array(
          'settings'    => 'vw_book_store_pro_latestpost_btn_icon',
          'section'   => 'vw_book_store_pro_latest_post',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Icon (For Button)', 'vw-book-store-pro' ),
        )
      )
    );
    
	$wp_customize->add_setting('vw_book_store_pro_latestpost_readmore',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latestpost_readmore',array(
		'label'	=> __('Read More Text','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_latest_post',
		'setting'	=> 'vw_book_store_pro_latestpost_readmore',
		'type'		=> 'text'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_section_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_section_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_post_section_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_section_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_title_ct_pallete',
	array(
		'label' => __('Post Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_latest_post_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_title_color',array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_post_title_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_title_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_title_font_size',array(
		'label' => __('Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_desc_ct_pallete',
	array(
		'label' => __('Post Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_latest_post_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_post_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_box_content_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_box_content_ct_pallete',
	array(
		'label' => __('Social Link Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_link_icon_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_link_icon_color',array(
		'label' => __('Social Link Icon Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_link_icon_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_link_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_link_hover_bgcolor',array(
		'label' => __('Social Link Background Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_link_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_link_icon_hover_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_link_icon_hover_color',array(
		'label' => __('Social Link Icon Hover Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_link_icon_hover_color',
	)));

/*	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_box_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_box_border_color',array(
		'label' => __('Title Bottom Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_box_border_color',
	)));*/

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_box_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_box_bgcolor',array(
		'label' => __('Box Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_box_bgcolor',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_read_more_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_read_more_ct_pallete',
	array(
		'label' => __('Read More Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_latest_post_read_more_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_read_more_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_read_more_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_read_more_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_read_more_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_read_more_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_read_more_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_read_more_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_read_more_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_read_more_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_read_more_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_read_more_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_read_more_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_read_more_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_read_more_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_post_read_more_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_read_more_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_view_all_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_view_all_ct_pallete',
	array(
		'label' => __('View All Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_latest_post_view_all_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_view_all_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_view_all_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_view_all_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_view_all_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_view_all_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_view_all_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_view_all_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_view_all_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_view_all_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_view_all_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_view_all_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_view_all_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_view_all_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_view_all_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_latest_post_view_all_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_view_all_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_date_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_latest_post_date_ct_pallete',
	array(
		'label' => __('Date Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_latest_post_date_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_date_bgcolor',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_date_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_date_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_date_text_color',array(
		'label' => __('Date Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_date_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_date_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_latest_post_date_text_font_size',array(
		'label' => __('Date Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'setting' => 'vw_book_store_pro_latest_post_date_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting('vw_book_store_pro_latest_post_date_text_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_latest_post_date_text_font_family', array(
	    'section'  => 'vw_book_store_pro_latest_post',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));


	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_section_title_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_section_title_border_color',array(
		'label' => __('Section Title Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_section_title_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_latest_post_title_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_latest_post_title_border_color',array(
		'label' => __('Title Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_latest_post',
		'settings' => 'vw_book_store_pro_latest_post_title_border_color',
	)));

	// Alpha Color Picker setting.
	$wp_customize->add_setting(
		'vw_book_store_pro_post_alphacolor',
		array(
			'default'     => 'rgba(117,182,74,0.6)',
			'type'        => 'theme_mod',
			'capability'  => 'edit_theme_options',
			'transport'   => 'postMessage'
		)
	);
	// Alpha Color Picker control.
	$wp_customize->add_control(
		new Customize_Alpha_Color_Control($wp_customize,
			'vw_book_store_pro_post_alphacolor',
			array(
				'label'         => __( 'Image Hover RGB Color Picker', 'vw-book-store-pro' ),
				'section'       => 'vw_book_store_pro_latest_post',
				'settings'      => 'vw_book_store_pro_post_alphacolor',
				'show_opacity'  => true, // Optional.
				'palette'	=> array(
					'rgb(150, 50, 220)', // RGB, RGBa, and hex values supported
					'rgba(50,50,50,0.8)',
					'rgba( 255, 255, 255, 0.2 )', // Different spacing = no problem
					'#00CC99' // Mix of color types = no problem
				)
			)
		)
	);
	

	/*---------------------------- Newsletter Section ------------------------------*/
	$wp_customize->add_section('vw_book_store_pro_newsletter_section',array(
		'title'	=> __('Newsletter','vw-book-store-pro'),
		'description'	=> __('Add Newsletter details here','vw-book-store-pro'),
		'priority'	=> null,
		'panel' => 'vw_book_store_pro_panel_id',
	));
	$wp_customize->add_setting('vw_book_store_pro_radio_newsletter_enable',array(
        'default' => 'Enable',
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_radio_newsletter_enable',array(
        'type' => 'radio',
        'label' => __('Do you want this section', 'vw-book-store-pro'),
        'section' => 'vw_book_store_pro_newsletter_section',
        'choices' => array(
            'Enable' => __('Enable', 'vw-book-store-pro'),
            'Disable' => __('Disable', 'vw-book-store-pro')
	)));

	$wp_customize->selective_refresh->add_partial( 'vw_book_store_pro_radio_newsletter_enable', array(
	    'selector' => '#newsletter .container',
	    'render_callback' => 'vw_kids_pro_customize_partial_vw_book_store_pro_radio_newsletter_enable',
	));
	
	$wp_customize->add_setting( 'vw_book_store_pro_newsletterbg_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletterbg_color',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletterbg_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_newsletterbg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_newsletterbg_image',array(
        'label' => __('Background image ','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_newsletter_section',
        'settings' => 'vw_book_store_pro_newsletterbg_image'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_image_bg', array(
		'default'         => '',
		'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_image_bg', array(
		'type'      => 'radio',
		'label'     => __('Choose image option', 'vw-book-store-pro'),
		'section'   => 'vw_book_store_pro_newsletter_section',
		'choices'   => array(
		'vw-fixed'      => __( 'Fixed', 'vw-book-store-pro' ),
		'vw-scroll'      => __( 'Scroll', 'vw-book-store-pro' ),                    
	)));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_title',array(
		'default'	=> __('Newsletter','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_title',array(
		'label'	=> __('Section Title','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_newsletter_section',
		'type'	=> 'text'
	));
	$wp_customize->add_setting('vw_book_store_pro_newsletter_subtitle',array(
		'default'	=> __('Lorem Ipsum is simply dummy text of the printing','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_subtitle',array(
		'label'	=> __('Content','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_newsletter_section',
		'type'	=> 'text'
	));
	$wp_customize->add_setting('vw_book_store_pro_newsletter_shortcode',array(
		'default'	=> __('Add Contact Form 7 shortcode here','vw-book-store-pro'),
		'sanitize_callback'	=> 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_shortcode',array(
		'label'	=> __('','vw-book-store-pro'),
		'section'	=> 'vw_book_store_pro_newsletter_section',
		'type'	=> 'text'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_color_settings',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_newsletter_color_settings',
	array(
		'label' => __('Section Color & Typography','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_author_sec'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_title_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_newsletter_title_ct_pallete',
	array(
		'label' => __('Section Title Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_section_title_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_section_title_color', array(
		'label' => __('Title Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_section_title_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_newsletter_section_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_newsletter_section_font_family', array(
	    'section'  => 'vw_book_store_pro_newsletter_section',
	    'label'    => __( 'Title Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_section_title_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_section_title_font_size',array(
		'label' => __('Title Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'setting' => 'vw_book_store_pro_newsletter_section_title_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_desc_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_newsletter_desc_ct_pallete',
	array(
		'label' => __('Description Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_newsletter_desc_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_desc_color',array(
		'label' => __('Description Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_desc_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_newsletter_desc_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_newsletter_desc_font_family', array(
	    'section'  => 'vw_book_store_pro_newsletter_section',
	    'label'    => __( 'Description Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_desc_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_desc_font_size',array(
		'label' => __('Description Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'setting' => 'vw_book_store_pro_newsletter_desc_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_read_more_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_newsletter_read_more_ct_pallete',
	array(
		'label' => __('Submit Button Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section'
	)));

    $wp_customize->add_setting( 'vw_book_store_pro_newsletter_read_more_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_read_more_bgcolor',array(
		'label' => __('Button Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_read_more_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_read_more_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_read_more_text_color',array(
		'label' => __('Button Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_read_more_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_read_more_text_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_read_more_text_font_size',array(
		'label' => __('Button Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'setting' => 'vw_book_store_pro_newsletter_read_more_text_font_size',
		'type'    => 'number'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_read_more_hover_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_read_more_hover_bgcolor',array(
		'label' => __('Button Hover Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_read_more_hover_bgcolor',
	)));
	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_read_more_hover_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_read_more_hover_text_color',array(
		'label' => __('Button Hover Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_read_more_hover_text_color',
	)));
	$wp_customize->add_setting('vw_book_store_pro_newsletter_read_more_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_newsletter_read_more_font_family', array(
	    'section'  => 'vw_book_store_pro_newsletter_section',
	    'label'    => __( 'Button Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_input_field_ct_pallete',
	array(
		'default' => '',
		'transport' => 'postMessage',
		'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
	));
	$wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_newsletter_input_field_ct_pallete',
	array(
		'label' => __('Input Field Typography ','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_input_field_border_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_input_field_border_color',array(
		'label' => __('Border Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_input_field_border_color',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_input_field_bgcolor', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_input_field_bgcolor',array(
		'label' => __('Background Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_input_field_bgcolor',
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_newsletter_input_field_text_color', array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_newsletter_input_field_text_color',array(
		'label' => __('Text Color', 'vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'settings' => 'vw_book_store_pro_newsletter_input_field_text_color',
	)));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_input_field_font_family',array(
	  'default' => '',
	  'capability' => 'edit_theme_options',
	  'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
	));
	$wp_customize->add_control(
	    'vw_book_store_pro_newsletter_input_field_font_family', array(
	    'section'  => 'vw_book_store_pro_newsletter_section',
	    'label'    => __( 'Font Family','vw-book-store-pro'),
	    'type'     => 'select',
	    'choices'  => $font_array
	));

	$wp_customize->add_setting('vw_book_store_pro_newsletter_input_field_font_size',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_newsletter_input_field_font_size',array(
		'label' => __('Text Font Size','vw-book-store-pro'),
		'description' => __('Add font size in px','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_newsletter_section',
		'setting' => 'vw_book_store_pro_newsletter_input_field_font_size',
		'type'    => 'number'
	));
	
    
	/*-----------------------Blog Page Settings--------------------------*/

  $wp_customize->add_section('vw_book_store_pro_blog_page_settings',array(
    'title' => __('Blog Page Settings','vw-book-store-pro'),
    'description'   => __('See section settings below and do check documentation too.','vw-book-store-pro'),
    'priority'  => null,
    'panel' => 'vw_book_store_pro_panel_id',
  ));

  $categories = get_categories();
	$cats = array();
	$i = 0;
	foreach($categories as $category){
		if($i==0){
			$default = $category->slug;
			$i++;
		}
		$cats[$category->slug] = $category->name;
	}
	$wp_customize->add_setting('vw_book_store_pro_category_setting',array(
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('vw_book_store_pro_category_setting',array(
		'type'    => 'select',
		'choices' => $cats,
		'label' => __('Blog page (select category to show selected post)','vw-book-store-pro'),
		'section' => 'vw_book_store_pro_blog_page_settings',
	));

	$wp_customize->add_setting( 'vw_book_store_pro_toggle_comments',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));	 
	$wp_customize->add_control( new VW_Book_Store_Pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_toggle_comments',
	   array(
	      'label' => esc_html__( 'Comment', 'vw-book-store-pro' ),
	      'section' => 'vw_book_store_pro_blog_page_settings'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_toggle_date',
	   array(
	      'default' => 1,
	      'transport' => 'refresh',
	      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));	 
	$wp_customize->add_control( new VW_Book_Store_Pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_toggle_date',
	   array(
	      'label' => esc_html__( 'Post Date', 'vw-book-store-pro' ),
	      'section' => 'vw_book_store_pro_blog_page_settings'
	)));

  $wp_customize->add_setting('vw_book_store_pro_post_content_blog',array(
        'default' => __('Excerpt Content','vw-book-store-pro'),
          'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
  ));
  $wp_customize->add_control('vw_book_store_pro_post_content_blog',array(
      'type' => 'radio',
      'label' => __('Post Content Type','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_blog_page_settings',
      'choices' => array(
          'No Content' => __('No Content','vw-book-store-pro'),
          'Full Content' => __('Full Content','vw-book-store-pro'),
          'Excerpt Content' => __('Excerpt Content','vw-book-store-pro'),
      ),
  ) );
  $wp_customize->add_setting( 'vw_book_store_pro_excerpt_length', array(
      'default'              => 25,
      'sanitize_callback' => 'sanitize_text_field'
  ) );
  $wp_customize->add_control( 'vw_book_store_pro_excerpt_length', array(
      'label' => esc_html__( 'Post Excerpt Length','vw-book-store-pro' ),
      'section'  => 'vw_book_store_pro_blog_page_settings',
      'type'  => 'number',
      'settings' => 'vw_book_store_pro_excerpt_length',
      'input_attrs' => array(
        'step'             => 1,
        'min'              => 0,
        'max'              => 50,
      ),
  ) );

  $wp_customize->add_setting( 'vw_book_store_pro_button_excerpt_suffix', array(
      'default'   => '[...]',
      'sanitize_callback' => 'sanitize_text_field'
  ) );
  $wp_customize->add_control( 'vw_book_store_pro_button_excerpt_suffix', array(
      'label'       => esc_html__( 'Excerpt Suffix','vw-book-store-pro' ),
      'section'     => 'vw_book_store_pro_blog_page_settings',
      'type'        => 'text',
      'settings' => 'vw_book_store_pro_button_excerpt_suffix'
  ) );

  //Blog layout
  $wp_customize->add_setting('vw_book_store_pro_blog_layout_option',array(
        'default' => __('Left','vw-book-store-pro'),
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
    ));
    $wp_customize->add_control(new vw_book_store_pro_Image_Radio_Control($wp_customize, 'vw_book_store_pro_blog_layout_option', array(
        'type' => 'select',
        'label' => __('Blog Layouts','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_blog_page_settings',
        'choices' => array(
            'Left' => get_template_directory_uri().'/assets/images/slider-content1.png',
            'Center' => get_template_directory_uri().'/assets/images/slider-content2.png',
            'Right' => get_template_directory_uri().'/assets/images/slider-content3.png',
    ))));
    // Featured image setting
    $wp_customize->add_setting( 'vw_book_store_pro_blog_featured_image_enable',
       array(
          'default' => 1,
          'transport' => 'refresh',
          'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
    ));
    $wp_customize->add_control( new VW_Book_Store_Pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_blog_featured_image_enable',
         array(
            'label' => esc_html__( 'Hide/show featured image', 'vw-book-store-pro' ),
            'section' => 'vw_book_store_pro_blog_page_settings'
    )));

    $wp_customize->add_setting('vw_book_store_pro_blog_featured_image_box_shadow',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_blog_featured_image_box_shadow',array(
        'label' => __('Featured Image Box Shadow','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_blog_page_settings',
        'type'      => 'text'
    )); 
    $wp_customize->add_setting( 'vw_book_store_pro_blog_featured_image_border_radius', array(
      'default'              => "",
      'type'                 => 'theme_mod',
      'transport'        => 'refresh',
      'sanitize_callback'    => 'absint',
      'sanitize_js_callback' => 'absint',
  ) );
  $wp_customize->add_control( 'vw_book_store_pro_blog_featured_image_border_radius', array(
      'label'       => esc_html__( 'Featured Image Border Radius','vw-book-store-pro' ),
      'section'     => 'vw_book_store_pro_blog_page_settings',
      'type'        => 'range',
      'input_attrs' => array(
        'step'             => 1,
        'min'              => 1,
        'max'              => 50,
  ),) );

  $wp_customize->add_setting('vw_book_store_pro_plugin_single_blog_option',array(
        'default' => __('two_col','vw-book-store-pro'),
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
  ));
  $wp_customize->add_control('vw_book_store_pro_plugin_single_blog_option',array(
        'type' => 'select',
        'label' => __('Post Layout','vw-book-store-pro'),
        'description' => __('Here you can change the Posts layout for Blog Pages. ','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_blog_page_settings',
        'choices' => array(
            'one_col' => __('One Columns','vw-book-store-pro'),
            'two_col' => __('Two Columns','vw-book-store-pro'),
            'three_col' => __('Three Column','vw-book-store-pro')
        ),
  ) );

    $wp_customize->add_setting('vw_book_store_pro_product_padding_left',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_product_padding_left',array(
        'label' => __('Sale Badge Padding Left and Right','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_blog_page_settings',
        'type'      => 'number'
    ));
  // --------------- Post General Settings ---------------
  $wp_customize->add_section('vw_book_store_pro_post_general_settings',array(
    'title' => __('Single Post Settings','vw-book-store-pro'),
    'description'   => __('See section settings below and do check documentation too.','vw-book-store-pro'),
    'priority'  => null,
    'panel' => 'vw_book_store_pro_panel_id',
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_date',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
  )); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_date',
     array(
        'label' => esc_html__( 'Show or Hide Post Date', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
  )));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_comments',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
  )); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_comments',
     array(
        'label' => esc_html__( 'Show or Hide Comments', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_author',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_author',
     array(
        'label' => esc_html__( 'Show or Hide Author', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_share',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_share',
     array(
        'label' => esc_html__( 'Show or Hide Share Icons', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_share_facebook',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_share_facebook',
     array(
        'label' => esc_html__( 'Post Share Facebook', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_share_linkedin',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_share_linkedin',
     array(
        'label' => esc_html__( 'Post Share Linkedin', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_share_twitter',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_share_twitter',
     array(
        'label' => esc_html__( 'Post Share Twitter', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_category',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_category',
     array(
        'label' => esc_html__( 'Show or Hide Category', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_general_settings_post_sidebar',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   )
  ); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_general_settings_post_sidebar',
     array(
        'label' => esc_html__( 'Show or Hide Sidebar', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_general_settings'
     )
  ));

	$wp_customize->add_setting( 'vw_book_store_pro_tags',array(
	  'default' => 1,
	  'transport' => 'refresh',
	  'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));  
	$wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_tags',array(
	  'label' => esc_html__( 'Show / Hide Tags','vw-book-store-pro' ),
	  'section' => 'vw_book_store_pro_post_general_settings'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_related_posts',array(
	  'default' => 1,
	  'transport' => 'refresh',
	  'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));  
	$wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_related_posts',array(
	  'label' => esc_html__( 'Show / Hide Related Posts','vw-book-store-pro' ),
	  'section' => 'vw_book_store_pro_post_general_settings'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_pagination',array(
	  'default' => 1,
	  'transport' => 'refresh',
	  'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));  
	$wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_pagination',array(
	  'label' => esc_html__( 'Show / Hide Pagination','vw-book-store-pro' ),
	  'section' => 'vw_book_store_pro_post_general_settings'
	)));

	$wp_customize->add_setting( 'vw_book_store_pro_autherdetails',array(
	  'default' => 1,
	  'transport' => 'refresh',
	  'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
	));  
	$wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_autherdetails',array(
	  'label' => esc_html__( 'Show / Hide Auther Details','vw-book-store-pro' ),
	  'section' => 'vw_book_store_pro_post_general_settings'
	)));

	$wp_customize->add_setting('vw_book_store_pro_related_posts_title',array(
	   'default' => 'Related Posts',
	   'sanitize_callback'  => 'sanitize_text_field'
	));
	$wp_customize->add_control('vw_book_store_pro_related_posts_title',array(
	   'type' => 'text',
	   'label' => __('Related Posts Title','vw-book-store-pro'),
	   'section' => 'vw_book_store_pro_post_general_settings'
	));

	$wp_customize->add_setting( 'vw_book_store_pro_related_post_count', array(
	  'default' => 3,
	  'sanitize_callback' => 'sanitize_text_field'
  ) );
  $wp_customize->add_control( 'vw_book_store_pro_related_post_count', array(
      'label' => esc_html__( 'Related Posts Count','vw-book-store-pro' ),
      'section' => 'vw_book_store_pro_post_general_settings',
      'type' => 'number',
      'settings' => 'vw_book_store_pro_related_post_count',
      'input_attrs' => array(
        'step'             => 1,
        'min'              => 0,
        'max'              => 6,
    ),) );
  $wp_customize->add_setting('vw_book_store_pro_blog_category_prev_title',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_blog_category_prev_title',array(
        'label' => __('Previous Title','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_post_general_settings',
        'type'      => 'text'
    ));

    $wp_customize->add_setting('vw_book_store_pro_blog_category_next_title',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_blog_category_next_title',array(
        'label' => __('Next Title','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_post_general_settings',
        'type'      => 'text'
    ));
    
  //Page Title layout
  $wp_customize->add_setting('vw_book_store_pro_page_title_content_option',array(
        'default' => __('Left','vw-book-store-pro'),
        'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
  ));
  $wp_customize->add_control(new vw_book_store_pro_Image_Radio_Control($wp_customize, 'vw_book_store_pro_page_title_content_option', array(
        'type' => 'select',
        'label' => __('Page Title Layouts','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_post_general_settings',
        'choices' => array(
            'Left' => get_template_directory_uri(). '/assets/images/header-layout1.png',
            'Center' => get_template_directory_uri(). '/assets/images/header-layout2.png',
            'Right' => get_template_directory_uri(). '/assets/images/header-layout3.png',
  ))));

  $wp_customize->add_section('vw_book_store_pro_post_product_general_settings',array(
    'title' => __('General Settings','vw-book-store-pro'),
    'description'   => __('See section settings below and do check documentation too.','vw-book-store-pro'),
    'priority'  => null,
    'panel' => 'vw_book_store_pro_panel_id',
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_post_product_general_settings_shop_sidebar',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
  )); 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_post_product_general_settings_shop_sidebar',
     array(
        'label' => esc_html__( 'Hide Shop Page Sidebar', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_product_general_settings'
  )));

  $wp_customize->add_setting( 'vw_book_store_pro_products_single_page_sidebar',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
   ));
 
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_products_single_page_sidebar',
     array(
        'label' => esc_html__( 'Hide Product Page Sidebar', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_product_general_settings'
  )));

   $wp_customize->add_setting( 'vw_book_store_pro_products_spinner_settings',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
  ));
  $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_products_spinner_settings',
    array(
    'label' => __('Spinner Settings','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings'
  )));
  $wp_customize->add_setting( 'vw_book_store_pro_products_spinner_enable',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
  ));
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_products_spinner_enable',
     array(
        'label' => esc_html__( 'Spinner Enable/Disable', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_product_general_settings'
  )));
  $wp_customize->add_setting( 'vw_book_store_pro_products_spinner_bgcolor', array(
    'default' => '',
    'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_products_spinner_bgcolor', array(
    'label' => __('Spinner Background Color', 'vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings',
    'settings' => 'vw_book_store_pro_products_spinner_bgcolor',
  )));

   /* --------- Spinner Opacity  ----------- */

  $wp_customize->add_setting('vw_book_store_pro_spinner_opacity_color',array(
      'default'              => '1',
      'sanitize_callback' => 'vw_book_store_pro_sanitize_choices'
  ));

  $wp_customize->add_control( 'vw_book_store_pro_spinner_opacity_color', array(
    'label'       => esc_html__( 'Spinner Loader Opacity','vw-book-store-pro' ),
    'section'     => 'vw_book_store_pro_post_product_general_settings',
    'type'        => 'select',
    'settings'    => 'vw_book_store_pro_spinner_opacity_color',
    'choices' => array(
        '0' =>  esc_attr('0','vw-book-store-pro'),
        '0.1' =>  esc_attr('0.1','vw-book-store-pro'),
        '0.2' =>  esc_attr('0.2','vw-book-store-pro'),
        '0.3' =>  esc_attr('0.3','vw-book-store-pro'),
        '0.4' =>  esc_attr('0.4','vw-book-store-pro'),
        '0.5' =>  esc_attr('0.5','vw-book-store-pro'),
        '0.6' =>  esc_attr('0.6','vw-book-store-pro'),
        '0.7' =>  esc_attr('0.7','vw-book-store-pro'),
        '0.8' =>  esc_attr('0.8','vw-book-store-pro'),
        '0.9' =>  esc_attr('0.9','vw-book-store-pro'),
        '1' =>  esc_attr('1','vw-book-store-pro')
    ),
  ));

 $wp_customize->add_setting( 'vw_book_store_pro_general_settings_scroll_top',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
  ));
  $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_general_settings_scroll_top',
    array(
    'label' => __('Scroll Top Settings','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings'
  )));

   $wp_customize->add_setting( 'vw_book_store_pro_genral_section_show_scroll_top',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
    ));
    $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_genral_section_show_scroll_top',
         array(
            'label' => esc_html__( 'Show or Hide Scroll Top', 'vw-book-store-pro' ),
            'section' => 'vw_book_store_pro_post_product_general_settings'
    )));

    $wp_customize->add_setting(
      'vw_book_store_pro_genral_section_show_scroll_top_icon',
      array(
        'default'     => '',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_genral_section_show_scroll_top_icon',
        array(
          'settings'    => 'vw_book_store_pro_genral_section_show_scroll_top_icon',
          'section'   => 'vw_book_store_pro_post_product_general_settings',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Scroll Top Icon', 'vw-book-store-pro' ),
        )
      )
    );

  $wp_customize->add_setting( 'vw_book_store_pro_general_scroll_top_icon_color', array(
    'default' => '',
    'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_general_scroll_top_icon_color', array(
    'label' => __('Scroll Top Icon Color', 'vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings',
    'settings' => 'vw_book_store_pro_general_scroll_top_icon_color',
  )));

  $wp_customize->add_setting( 'vw_book_store_pro_general_scroll_top_bgcolor', array(
    'default' => '',
    'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_general_scroll_top_bgcolor', array(
    'label' => __('Scroll Top Background Color', 'vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings',
    'settings' => 'vw_book_store_pro_general_scroll_top_bgcolor',
  )));
  $wp_customize->add_setting( 'vw_book_store_pro_general_scroll_top_hover_bgcolor', array(
    'default' => '',
    'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_general_scroll_top_hover_bgcolor', array(
    'label' => __('Scroll Top Hover Background Color', 'vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings',
    'settings' => 'vw_book_store_pro_general_scroll_top_hover_bgcolor',
  )));

   $wp_customize->add_setting('vw_book_store_pro_scroll_top_layout',array(
        'default' => __('Right','vw-book-store-pro'),
        'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control(new vw_book_store_pro_Image_Radio_Control($wp_customize, 'vw_book_store_pro_scroll_top_layout', array(
        'type' => 'select',
        'label' => __('Scroll Top Layouts','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_post_product_general_settings',
        'choices' => array(
            'Left' => get_template_directory_uri().'/assets/images/layout1.png',
            'Center' => get_template_directory_uri().'/assets/images/layout2.png',
            'Right' => get_template_directory_uri().'/assets/images/layout3.png',
    ))));

    $wp_customize->add_setting('vw_book_store_pro_scroll_border_radius',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_textarea_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_scroll_border_radius',array(
      'label' => __('Scroll To Top Border Radius','vw-book-store-pro'),
      'section'   => 'vw_book_store_pro_post_product_general_settings',
      'type'      => 'number'
  ));
  $wp_customize->add_setting('vw_book_store_pro_scroll_width',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_textarea_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_scroll_width',array(
      'label' => __('Scroll To Top Width','vw-book-store-pro'),
      'section'   => 'vw_book_store_pro_post_product_general_settings',
      'type'      => 'number'
  ));
  $wp_customize->add_setting('vw_book_store_pro_scroll_height',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_textarea_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_scroll_height',array(
      'label' => __('Scroll To Top Height','vw-book-store-pro'),
      'section'   => 'vw_book_store_pro_post_product_general_settings',
      'type'      => 'number'
  ));
  $wp_customize->add_setting( 'vw_book_store_pro_site_frame_settings',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
  ));
  $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_site_frame_settings',
    array(
    'label' => __('Site Frame Settings','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_post_product_general_settings'
  )));
  $wp_customize->add_setting('vw_book_store_pro_site_frame_width',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_textarea_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_site_frame_width',array(
      'label' => __('Frame Width','vw-book-store-pro'),
      'section'   => 'vw_book_store_pro_post_product_general_settings',
      'type'      => 'number'
  ));

  $wp_customize->add_setting('vw_book_store_pro_site_frame_type',array(
        'default' => __('','vw-book-store-pro'),
        'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control('vw_book_store_pro_site_frame_type',array(
        'type' => 'select',
        'label' => __('Frame Type','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_post_product_general_settings',
        'choices' => array(
            '' => __('','vw-book-store-pro'),
            'solid' => __('Solid','vw-book-store-pro'),
            'dashed' => __('Dashed','vw-book-store-pro'),
            'double' => __('Double','vw-book-store-pro'),
            'groove' => __('Groove','vw-book-store-pro'),
            'ridge' => __('Ridge','vw-book-store-pro'),
            'inset' => __('Inset','vw-book-store-pro')
        ),  
   ) );

  $wp_customize->add_setting( 'vw_book_store_pro_site_frame_color', array(
      'default' => '',
      'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_site_frame_color', array(
      'label' => __('Frame Color', 'vw-book-store-pro'),
      'section' => 'vw_book_store_pro_post_product_general_settings',
      'settings' => 'vw_book_store_pro_site_frame_color',
  )));
  // ------------- Button Settings ----------

    $wp_customize->add_setting( 'vw_book_store_pro_site_button_setting',array(
        'default' => '',
        'transport' => 'postMessage',
        'sanitize_callback' => 'sanitize_text_field'
    ));
    $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_site_button_setting',
        array(
        'label' => __('Button Settings','vw-book-store-pro'),
        'section' => 'vw_book_store_pro_post_product_general_settings'
    )));

    $wp_customize->add_setting('vw_book_store_pro_button_padding_top_bottom',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_button_padding_top_bottom',array(
        'label' => __('Button Padding Top and Bottom','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_post_product_general_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting('vw_book_store_pro_button_padding_left_right',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_button_padding_left_right',array(
        'label' => __('Button Padding Left and Right','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_post_product_general_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting('vw_book_store_pro_button_border_radius',array(
        'default'   => '',
        'sanitize_callback' => 'sanitize_textarea_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_button_border_radius',array(
        'label' => __('Button Border Radius','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_post_product_general_settings',
        'type'      => 'number'
    ));

    $wp_customize->add_setting( 'vw_book_store_pro_site_breadcrumb_enable',
   array(
      'default' => 1,
      'transport' => 'refresh',
      'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
  ));
  $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_control( $wp_customize, 'vw_book_store_pro_site_breadcrumb_enable',
     array(
        'label' => esc_html__( 'Breadcrumb Enable/Disable', 'vw-book-store-pro' ),
        'section' => 'vw_book_store_pro_post_product_general_settings'
  )));

    //404 Page Setting
  $wp_customize->add_section('vw_book_store_pro_404_page',array(
    'title' => __('404 Page Settings','vw-book-store-pro'),
    'panel' => 'vw_book_store_pro_panel_id',
  )); 
 $wp_customize->add_setting('vw_book_store_pro_error_temp_bg_images',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_error_temp_bg_images',array(
      'label' => __('Left Side Image','vw-book-store-pro'),
      'description' => __('You can either add image or title but image has the priority then title','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_404_page',
      'settings' => 'vw_book_store_pro_error_temp_bg_images'
  )));
  $wp_customize->add_setting('vw_book_store_pro_404_page_title',array(
    'default'=> '',
    'sanitize_callback' => 'sanitize_text_field'
  ));

  $wp_customize->add_control('vw_book_store_pro_404_page_title',array(
    'label' => __('Add Title','vw-book-store-pro'),
    'input_attrs' => array(
            'placeholder' => __( '404 Not Found', 'vw-book-store-pro' ),
        ),
    'section'=> 'vw_book_store_pro_404_page',
    'type'=> 'text'
  ));
  $wp_customize->add_setting('vw_book_store_pro_404_page_content',array(
      'default'   => '',
      'capability'         => 'edit_theme_options',
      'sanitize_callback'  => 'wp_kses_post'
  ));
  $wp_customize->add_control(new vw_book_store_pro_Editor_Control($wp_customize,'vw_book_store_pro_404_page_content',array(
      'label' => __('Add Text','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_404_page',
      'setting'   => 'vw_book_store_pro_404_page_content',       
  )));
  $wp_customize->add_setting('vw_book_store_pro_404_page_button_text',array(
    'default'=> '',
    'sanitize_callback' => 'sanitize_text_field'
  ));
  $wp_customize->add_control('vw_book_store_pro_404_page_button_text',array(
    'label' => __('Add Button Text','vw-book-store-pro'),
    'input_attrs' => array(
            'placeholder' => __( 'Back to Home Page', 'vw-book-store-pro' ),
        ),
    'section'=> 'vw_book_store_pro_404_page',
    'type'=> 'text'
  ));

  
    //Responsive Media Settings
  $wp_customize->add_section('vw_book_store_pro_responsive_media',array(
    'title' => __('Responsive Media','vw-book-store-pro'),
    'panel' => 'vw_book_store_pro_panel_id',
  ));

    $wp_customize->add_setting( 'vw_book_store_pro_resp_slider_hide_show',array(
          'default' => 1,
          'transport' => 'refresh',
          'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
    ));  
    $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_Control( $wp_customize, 'vw_book_store_pro_resp_slider_hide_show',array(
          'label' => esc_html__( 'Show / Hide Slider','vw-book-store-pro' ),
          'section' => 'vw_book_store_pro_responsive_media'
    )));

  $wp_customize->add_setting( 'vw_book_store_pro_metabox_hide_show',array(
          'default' => 1,
          'transport' => 'refresh',
          'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
    ));  
    $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_Control( $wp_customize, 'vw_book_store_pro_metabox_hide_show',array(
          'label' => esc_html__( 'Show / Hide Metabox','vw-book-store-pro' ),
          'section' => 'vw_book_store_pro_responsive_media'
    )));

    $wp_customize->add_setting( 'vw_book_store_pro_sidebar_hide_show',array(
          'default' => 1,
          'transport' => 'refresh',
          'sanitize_callback' => 'vw_book_store_pro_switch_sanitization'
    ));  
    $wp_customize->add_control( new vw_book_store_pro_Toggle_Switch_Custom_Control( $wp_customize, 'vw_book_store_pro_sidebar_hide_show',array(
          'label' => esc_html__( 'Show / Hide Sidebar','vw-book-store-pro' ),
          'section' => 'vw_book_store_pro_responsive_media'
    )));

    $wp_customize->add_setting('vw_book_store_pro_site_menu_width',array(
        'default'   => '250',
        'sanitize_callback' => 'sanitize_text_field',
    ));
    $wp_customize->add_control('vw_book_store_pro_site_menu_width',array(
        'label' => __('Responsive Menu Width','vw-book-store-pro'),
        'section'   => 'vw_book_store_pro_responsive_media',
        'type'      => 'number'
    ));
    $wp_customize->add_setting(
      'vw_book_store_pro_res_open_menu_icon',
      array(
        'default'     => '',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_res_open_menu_icon',
        array(
          'settings'    => 'vw_book_store_pro_res_open_menu_icon',
          'section'   => 'vw_book_store_pro_responsive_media',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Open Menu Icon', 'vw-book-store-pro' ),
        )
      )
    );
    $wp_customize->add_setting(
      'vw_book_store_pro_res_close_menu_icon',
      array(
        'default'     => '',
        'sanitize_callback' => 'sanitize_text_field'
      )
    );
    $wp_customize->add_control(
      new vw_book_store_pro_Fontawesome_Icon_Chooser(
        $wp_customize,
        'vw_book_store_pro_res_close_menus_icon',
        array(
          'settings'    => 'vw_book_store_pro_res_close_menu_icon',
          'section'   => 'vw_book_store_pro_responsive_media',
          'type'      => 'icon',
          'label'     => esc_html__( 'Choose Close Icon', 'vw-book-store-pro' ),
        )
      )
    );

    //faq Page Setting
  $wp_customize->add_section('vw_book_store_pro_faq_page',array(
    'title' => __('Faq Page Settings','vw-book-store-pro'),
    'panel' => 'vw_book_store_pro_panel_id',
  )); 
  $wp_customize->add_setting( 'vw_book_store_pro_faq_bg_settings',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'vw_book_store_pro_text_sanitization'
  ));
  $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_faq_bg_settings',
    array(
    'label' => __('Background Settings','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_faq_page'
  )));

  $wp_customize->add_setting('vw_book_store_pro_faq_bg_image',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_faq_bg_image',array(
      'label' => __('Faq Image','vw-book-store-pro'),
      'description' => __('Dimension (400px * 600px)','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_faq_page',
      'settings' => 'vw_book_store_pro_faq_bg_image'
  )));
  $wp_customize->add_setting('vw_book_store_pro_faq_number',array(
    'default' => '',
    'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_faq_number',array(
    'label' => __('Number of faqs to show','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_faq_page',
    'type'    => 'number'
  ));
  $wp_customize->add_setting('vw_book_store_pro_faq_main_heading',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_faq_main_heading',array(
      'label' => __('Faq Main Heading','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_faq_page',
      'setting'   => 'vw_book_store_pro_faq_main_heading',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_faq_sub_heading',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_faq_sub_heading',array(
      'label' => __('Faq Subhaeding','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_faq_page',
      'setting'   => 'vw_book_store_pro_faq_sub_heading',
      'type'  => 'text'
  ));
  
  $count =  get_theme_mod('vw_book_store_pro_faq_number');
  for($i=1; $i<=$count; $i++) {
    $wp_customize->add_setting('vw_book_store_pro_faq_button'.$i,array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_faq_button'.$i,array(
      'label' => __('Faq Button','vw-book-store-pro').$i,
      'section' => 'vw_book_store_pro_faq_page',
      'setting'   => 'vw_book_store_pro_faq_button'.$i,
      'type'  => 'text'
  ));
  $wp_customize->add_setting('vw_book_store_pro_faq_content'.$i,array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_faq_content'.$i,array(
      'label' => __('Faq Content','vw-book-store-pro').$i,
      'section' => 'vw_book_store_pro_faq_page',
      'setting'   => 'vw_book_store_pro_faq_content'.$i,
      'type'  => 'text'
  ));
  }
// About us
   $wp_customize->add_section('vw_book_store_pro_about_us_page',array(
    'title' => __('About Us Page Settings','vw-book-store-pro'),
    'panel' => 'vw_book_store_pro_panel_id',
  )); 
  $wp_customize->add_setting('vw_book_store_pro_page_img',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_page_img',array(
      'label' => __('About Image','vw-book-store-pro'),
      'description' => __('You can either add image or title but image has the priority then title','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'settings' => 'vw_book_store_pro_page_img'
  )));
  $wp_customize->add_setting('vw_book_store_pro_abouts_main_head',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_abouts_main_head',array(
      'label' => __('About Main Heading','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_abouts_main_head',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_abouts_para',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_abouts_para',array(
      'label' => __('About Paragraph','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_abouts_para',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_about_paragra1',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_paragra1',array(
      'label' => __('About Paragraph1','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_paragra1',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_about_paragra2',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_paragra2',array(
      'label' => __('About Paragraph2','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_paragra2',
      'type'  => 'text'
  ));
    $wp_customize->add_setting('vw_book_store_pro_about_paragra3',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_paragra3',array(
      'label' => __('About Paragraph3','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_paragra3',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_about_buttons',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_buttons',array(
      'label' => __('About Button','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_buttons',
      'type'  => 'text'
  ));
    $wp_customize->add_setting('vw_book_store_pro_about_section_head',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_about_section_head',array(
      'label' => __('About Section2 Main Head','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_section_head',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_about_section_sub_heading',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_section_sub_heading',array(
      'label' => __('About Section2 subhead','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_section_sub_heading',
      'type'  => 'text'
  ));

  
  $wp_customize->add_setting( 'vw_book_store_pro_about_temp_bg_settings',
    array(
    'default' => '',
    'transport' => 'postMessage',
    'sanitize_callback' => 'vw_feminine_pro_text_sanitization'
  ));
  $wp_customize->add_control( new VW_Themes_Seperator_custom_Control( $wp_customize, 'vw_book_store_pro_about_temp_bg_settings',
    array(
    'label' => __('Background Settings','vw-book-store-pro'),
    'section' => 'vw_book_store_pro_about_us_page'
  )));
  $wp_customize->add_setting('vw_book_store_pro_about_temp_bg_color', array(
      'default' => '',
      'sanitize_callback' => 'sanitize_hex_color'
  ));
  $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'vw_book_store_pro_about_temp_bg_color',array(
      'label' => __('Background Color', 'vw-book-store-pro'),
      'description'   => __('Either add background color or background image, if you add both background color will be top most priority','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'settings' => 'vw_book_store_pro_about_temp_bg_color',
  )));
  $wp_customize->add_setting('vw_book_store_pro_about_temp_bg_image',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_about_temp_bg_image',array(
      'label' => __('Background image ','vw-book-store-pro'),
      'description' => __('Dimension (1600px * 800px)','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'settings' => 'vw_book_store_pro_about_temp_bg_image'
  )));
   $wp_customize->add_setting('vw_book_store_pro_about_center_bg_image',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_about_center_bg_image',array(
      'label' => __('About Center Image','vw-book-store-pro'),
      'description' => __('You can either add image or title but image has the priority then title','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'settings' => 'vw_book_store_pro_about_center_bg_image'
  )));
    $wp_customize->add_setting('vw_book_store_pro_about_temp_head',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_about_temp_head',array(
      'label' => __('About Main Heading','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_temp_head',
      'type'  => 'text'
  ));

  $wp_customize->add_setting('vw_book_store_pro_about_temp_sub_head',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_about_temp_sub_head',array(
      'label' => __('About Sub Heading','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_temp_sub_head',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_about_temp_para',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_about_temp_para',array(
      'label' => __('About Paragraph','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_about_us_page',
      'setting'   => 'vw_book_store_pro_about_temp_para',
      'type'  => 'text'
  ));

   // Our Services
   $wp_customize->add_section('vw_book_store_pro_our_services_page',array(
    'title' => __('Our Services Page Settings','vw-book-store-pro'),
    'panel' => 'vw_book_store_pro_panel_id',
  )); 
  $wp_customize->add_setting('vw_book_store_pro_services_page_img',array(
      'default'   => '',
      'sanitize_callback' => 'esc_url_raw',
  ));
  $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'vw_book_store_pro_services_page_img',array(
      'label' => __('Services Image','vw-book-store-pro'),
      'description' => __('You can either add image or title but image has the priority then title','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'settings' => 'vw_book_store_pro_services_page_img'
  )));
  $wp_customize->add_setting('vw_book_store_pro_services_main_head',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
  $wp_customize->add_control('vw_book_store_pro_services_main_head',array(
      'label' => __('Services Main Heading','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_main_head',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_services_para',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_para',array(
      'label' => __('Services Paragraph','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_para',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_services_headings1',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_headings1',array(
      'label' => __('Services Heading1','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_headings1',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_services_paragra1',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_paragra1',array(
      'label' => __('Services Paragraph1','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_paragra1',
      'type'  => 'text'
  ));
    $wp_customize->add_setting('vw_book_store_pro_services_headings2',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_headings2',array(
      'label' => __('Services Heading2','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_headings2',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_services_paragra2',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_paragra2',array(
      'label' => __('Services Paragraph2','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_paragra2',
      'type'  => 'text'
  ));
    $wp_customize->add_setting('vw_book_store_pro_services_headings3',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_headings3',array(
      'label' => __('Services Heading3','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_headings3',
      'type'  => 'text'
  ));
   $wp_customize->add_setting('vw_book_store_pro_services_paragra3',array(
      'default'   => '',
      'sanitize_callback' => 'sanitize_text_field',
  ));
   $wp_customize->add_control('vw_book_store_pro_services_paragra3',array(
      'label' => __('Services Paragraph3','vw-book-store-pro'),
      'section' => 'vw_book_store_pro_our_services_page',
      'setting'   => 'vw_book_store_pro_services_paragra3',
      'type'  => 'text'
  ));
?>