<?php 
	$wp_customize->add_panel( 'wpdevart_amstore_woocommerce_settings_panel', 
    array(
		'title'	=> esc_html__('WooCommerce WpDevArt','amstore'),			
        'description'	=> esc_html__('WooCommerce custom settings','amstore'),		
		'priority'		=> 29
    ) 
	);

	##################------ WooCommerce ------##################

	$wp_customize->add_section('woocommerce_general_section',array(
		'title'	=> esc_html__('WooCommerce Layout','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));
    $wp_customize->add_setting( 'wpdevart_amstore_woocommerce_shop_category_layout',
	array(
		'default' => esc_html('sidebarnone'),
		'transport' => 'refresh',
		'sanitize_callback' => 'wpdevart_amstore_text_sanitization'
	)
	);
	$wp_customize->add_control( new Wpdevart_Image_Radio_Button_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_shop_category_layout',
	array(
		'label' => esc_html__( 'WooCommerce Shop/Category pages layout', 'amstore' ),
		'description' => esc_html__( 'Choose the WooCommerce Shop/Category pages layout.', 'amstore' ),
		'section' => 'woocommerce_general_section',
		'choices' => array(
		'sidebarleft' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-left.png',
			'name' => esc_html__( 'Left Sidebar', 'amstore' )
		),
		'sidebarnone' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-none.png',
			'name' => esc_html__( 'No Sidebar', 'amstore' )
		),
		'sidebarright' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-right.png',
			'name' => esc_html__( 'Right Sidebar', 'amstore' )
		)
		)
	)
	) );
	$wp_customize->add_setting( 'wpdevart_amstore_woocommerce_product_pages_layout',
	array(
		'default' => esc_html('sidebarnone'),
		'transport' => 'refresh',
		'sanitize_callback' => 'wpdevart_amstore_text_sanitization'
	)
	);
	$wp_customize->add_control( new Wpdevart_Image_Radio_Button_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_product_pages_layout',
	array(
		'label' => esc_html__( 'WooCommerce Products pages layout', 'amstore' ),
		'description' => esc_html__( 'Choose the WooCommerce products pages layout.', 'amstore' ),
		'section' => 'woocommerce_general_section',
		'choices' => array(
		'sidebarleft' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-left.png',
			'name' => esc_html__( 'Left Sidebar', 'amstore' )
		),
		'sidebarnone' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-none.png',
			'name' => esc_html__( 'No Sidebar', 'amstore' )
		),
		'sidebarright' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-right.png',
			'name' => esc_html__( 'Right Sidebar', 'amstore' )
		)
		)
	)
	) );
	$wp_customize->add_setting( 'wpdevart_amstore_woocommerce_cart_checkout_account_layout',
	array(
		'default' => esc_html('sidebarnone'),
		'transport' => 'refresh',
		'sanitize_callback' => 'wpdevart_amstore_text_sanitization'
	)
	);
	$wp_customize->add_control( new Wpdevart_Image_Radio_Button_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_cart_checkout_account_layout',
	array(
		'label' => esc_html__( 'WooCommerce Cart/Checkout/Account layout', 'amstore' ),
		'description' => esc_html__( 'Choose the WooCommerce Cart/Checkout/Account pages layout.', 'amstore' ),
		'section' => 'woocommerce_general_section',
		'choices' => array(
		'sidebarleft' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-left.png',
			'name' => esc_html__( 'Left Sidebar', 'amstore' )
		),
		'sidebarnone' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-none.png',
			'name' => esc_html__( 'No Sidebar', 'amstore' )
		),
		'sidebarright' => array(
			'image' => trailingslashit( get_template_directory_uri() ) . 'images/sidebar-right.png',
			'name' => esc_html__( 'Right Sidebar', 'amstore' )
		)
		)
	)
	) );
	
	##################------ WooCommerce Typography ------##################

	$wp_customize->add_section('woocommerce_typography_section',array(
		'title'	=> esc_html__('WooCommerce Typography','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting( 'wpdevart_amstore_woocommerce_text_font_size',
	array(
		'default' => esc_html('17'),
		'sanitize_callback' => 'wpdevart_amstore_sanitize_integer'
		)
	);
	$wp_customize->add_control( new Wpdevart_Slider_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_text_font_size',
		array(
		'label' => esc_html__( 'Text font-size for Woo pages (px)', 'amstore' ),
		'section' => 'woocommerce_typography_section',
		'input_attrs' => array(
			'min' => esc_html('16'),
			'max' => esc_html('20'),
			'step' => esc_html('1'),
		),
		)
	) );
	$wp_customize->add_setting( 'wpdevart_amstore_woocommerce_link_font_size',
	array(
		'default' => esc_html('17'),
		'sanitize_callback' => 'wpdevart_amstore_sanitize_integer'
		)
	);
	$wp_customize->add_control( new Wpdevart_Slider_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_link_font_size',
		array(
		'label' => esc_html__( 'Link font-size for Woo pages (px)', 'amstore' ),
		'section' => 'woocommerce_typography_section',
		'input_attrs' => array(
			'min' => esc_html('16'),
			'max' => esc_html('20'),
			'step' => esc_html('1'),
		),
		)
	) );
	$wp_customize->add_setting( 'wpdevart_amstore_woocommerce_heading_h1_font_size',
	array(
		'default' => esc_html('40'),
		'sanitize_callback' => 'wpdevart_amstore_sanitize_integer'
		)
	);
	$wp_customize->add_control( new Wpdevart_Slider_Custom_Control( $wp_customize, 'wpdevart_amstore_woocommerce_heading_h1_font_size',
		array(
		'label' => esc_html__( 'Title font-size for Woo pages (px)', 'amstore' ),
		'section' => 'woocommerce_typography_section',
		'input_attrs' => array(
			'min' => esc_html('35'),
			'max' => esc_html('60'),
			'step' => esc_html('1'),
		),
		)
	) );

	##################------ WooCommerce Shop/Product Colors ------##################

	$wp_customize->add_section('woocommerce_global_colors_section',array(
		'title'	=> esc_html__('WooCommerce Colors','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting('wpdevart_amstore_woocommerce_page_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_page_bg_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_page_bg_color', array(
        'label' => esc_html__('WooCommerce pages bg color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_page_bg_color'
    )));

	$wp_customize->add_setting('wpdevart_amstore_woocommerce_products_blocks_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_products_blocks_bg_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_products_blocks_bg_color', array(
        'label' => esc_html__('WooCommerce product summary bg color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_products_blocks_bg_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_heading_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_heading_color', esc_html('#000000')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_heading_color', array(
        'label' => esc_html__('WooCommerce pages headings color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_heading_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_text_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_text_color', esc_html('#333333')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_text_color', array(
        'label' => esc_html__('WooCommerce pages text color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_text_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_link_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_link_color', esc_html('#000000')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_link_color', array(
        'label' => esc_html__('WooCommerce pages link color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_link_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_link_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_link_hover_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_link_hover_color', array(
        'label' => esc_html__('WooCommerce pages link hover color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_link_hover_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_sales_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_sales_bg_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_sales_bg_color', array(
        'label' => esc_html__('WooCommerce Sales background color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_sales_bg_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_sales_text_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_sales_text_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_sales_text_color', array(
        'label' => esc_html__('WooCommerce Sales text color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_sales_text_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_active_tab_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_active_tab_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_active_tab_color', array(
        'label' => esc_html__('WooCommerce product active tab color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_active_tab_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_inactive_tab_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_inactive_tab_color', esc_html('#7e7e7e')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_inactive_tab_color', array(
        'label' => esc_html__('WooCommerce product inactive tab color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_inactive_tab_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_tab_border_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_tab_border_color', esc_html('#e2eeff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_tab_border_color', array(
        'label' => esc_html__('WooCommerce product tab border color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_tab_border_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_rating_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_rating_color', esc_html('#f6901b')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_rating_color', array(
        'label' => esc_html__('WooCommerce rating/star color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_rating_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woocommerce_info_border_icon_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woocommerce_info_border_icon_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woocommerce_info_border_icon_color', array(
        'label' => esc_html__('WooCommerce Info border/icon color','amstore'),
        'section' => 'woocommerce_global_colors_section',
        'settings' => 'wpdevart_amstore_woocommerce_info_border_icon_color'
    )));

	##################------ WooCommerce Primary Button ------##################

	$wp_customize->add_section('woocommerce_primary_button_colors_section',array(
		'title'	=> esc_html__('WooCommerce Primary Button','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_bg_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_bg_color', array(
		'label' => esc_html__('WooCommerce primary button bg color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_bg_color'
	)));
	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_border_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_border_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_border_color', array(
		'label' => esc_html__('WooCommerce primary button border color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_border_color'
	)));
	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_link_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_link_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_link_color', array(
		'label' => esc_html__('WooCommerce primary button text color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_link_color'
	)));
	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_bg_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_bg_hover_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_bg_hover_color', array(
		'label' => esc_html__('WooCommerce primary button bg hover color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_bg_hover_color'
	)));
	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_border_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_border_hover_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_border_hover_color', array(
		'label' => esc_html__('WooCommerce primary button border hover color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_border_hover_color'
	)));
	$wp_customize->add_setting('wpdevart_amstore_woo_primary_button_link_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_primary_button_link_hover_color', esc_html('#1283f7')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_primary_button_link_hover_color', array(
		'label' => esc_html__('WooCommerce primary button text hover color','amstore'),
		'section' => 'woocommerce_primary_button_colors_section',
		'settings' => 'wpdevart_amstore_woo_primary_button_link_hover_color'
	)));

	##################------ WooCommerce Shop/Category Structure ------##################

	$wp_customize->add_section('woocommerce_shop_cat_page_title_section',array(
		'title'	=> esc_html__('Shop/Category Title Banner','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting('wpdevart_amstore_shop_cat_page_title_alignment',array(
		'default'	=> esc_html('center'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
	$wp_customize->add_control('wpdevart_amstore_shop_cat_page_title_alignment',array(
			'label'	=> esc_html__('Position of Title/Breadcrumbs','amstore'),
			'section'	=> 'woocommerce_shop_cat_page_title_section',
			'setting'	=> 'wpdevart_amstore_shop_cat_page_title_alignment',
			'type' => 'select',
			'choices' => array(
				'left' => esc_html__('Left','amstore'),
				'center' => esc_html__('Center','amstore'),
				'right' => esc_html__('Right','amstore')
				)
	));	
	$wp_customize->add_setting('wpdevart_amstore_shop_cat_page_banner_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_shop_cat_page_banner_bg_color', esc_html('#fcfcfc')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_shop_cat_page_banner_bg_color', array(
        'label' => esc_html__('Banner BG color','amstore'),
        'section' => 'woocommerce_shop_cat_page_title_section',
        'settings' => 'wpdevart_amstore_shop_cat_page_banner_bg_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_shop_cat_page_banner_gradient_type',array(
		'default'	=> esc_html('to bottom'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
	$wp_customize->add_control('wpdevart_amstore_shop_cat_page_banner_gradient_type',array(
			'label'	=> esc_html__('Banner gradient type','amstore'),
			'section'	=> 'woocommerce_shop_cat_page_title_section',
			'setting'	=> 'wpdevart_amstore_shop_cat_page_banner_gradient_type',
			'type' => 'select',
			'choices' => array(
				'to right' => esc_html__('To right','amstore'),
				'to left' => esc_html__('To left','amstore'),
				'to bottom' => esc_html__('To bottom','amstore'),
				'to top' => esc_html__('To top','amstore'),
				'to bottom right' => esc_html__('To bottom right','amstore'),
				'to bottom left' => esc_html__('To bottom left','amstore'),
				'to top right' => esc_html__('To top right','amstore'),
				'to top left' => esc_html__('To top left','amstore'),
				)
	));	
	$wp_customize->add_setting('wpdevart_amstore_shop_cat_page_banner_gradient_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_shop_cat_page_banner_gradient_color', esc_html('#fcfcfc')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_shop_cat_page_banner_gradient_color', array(
        'label' => esc_html__('Banner gradient color','amstore'),
        'section' => 'woocommerce_shop_cat_page_title_section',
        'settings' => 'wpdevart_amstore_shop_cat_page_banner_gradient_color'
    )));
	
	##################------ WooCommerce Shop by Category Section ------##################

	$wp_customize->add_section('woocommerce_shop_shop_by_category_section',array(
		'title'	=> esc_html__('WooCommerce Shop by Category Section','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting( 'wpdevart_amstore_hide_woo_by_category_section_shop',
    array(
       'default' => esc_html(''),
       'transport' => 'refresh',
       'sanitize_callback' => 'wpdevart_amstore_switch_sanitization'
    )
    );
    $wp_customize->add_control( new Wpdevart_Toggle_Switch_Custom_control( $wp_customize, 'wpdevart_amstore_hide_woo_by_category_section_shop',
        array(
			'label'	=> esc_html__('Show on the Shop Page','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
        )
    ) );
	$wp_customize->add_setting( 'wpdevart_amstore_hide_woo_by_category_section_category',
    array(
       'default' => esc_html(''),
       'transport' => 'refresh',
       'sanitize_callback' => 'wpdevart_amstore_switch_sanitization'
    )
    );
    $wp_customize->add_control( new Wpdevart_Toggle_Switch_Custom_control( $wp_customize, 'wpdevart_amstore_hide_woo_by_category_section_category',
        array(
			'label'	=> esc_html__('Show on Category Pages','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
        )
    ) );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_title',array(
		'default'	=> esc_html(''),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category_title',
            array(
                'label'    => esc_html__('Shop by Category title','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category_title',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_link_color',array(
        'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_shop_by_category_link_color', esc_html('#000000')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_link_color', array(
        'label' => esc_html__('Category link color','amstore'),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_link_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_link_hover_color',array(
        'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_shop_by_category_link_hover_color', esc_html('#6b6b6b')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_link_hover_color', array(
        'label' => esc_html__('Category link hover color','amstore'),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_link_hover_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category1_text',array(
		'default'	=> esc_html('SmartPhones'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category1_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category1_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category1_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category1_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category1_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image1',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category1.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image1', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image1',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category2_text',array(
		'default'	=> esc_html('Laptops'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category2_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category2_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category2_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category2_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category2_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image2',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category2.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image2', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image2',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category3_text',array(
		'default'	=> esc_html('Furniture'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category3_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category3_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category3_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category3_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category3_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image3',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category3.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image3', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image3',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category4_text',array(
		'default'	=> esc_html('TV/Audio'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category4_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category4_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category4_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category4_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category4_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image4',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category4.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image4', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image4',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category5_text',array(
		'default'	=> esc_html('Jewelry'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category5_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category5_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category5_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category5_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category5_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image5',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category5.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image5', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image5',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category6_text',array(
		'default'	=> esc_html('Washer'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category6_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category6_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category6_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category6_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category6_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image6',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category6.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image6', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image6',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category7_text',array(
		'default'	=> esc_html('Watches'),
		'sanitize_callback'	=> 'wpdevart_amstore_text_sanitization'	
	));
    $wp_customize->add_control( new WP_Customize_Control(
        $wp_customize,
        'wpdevart_amstore_woo_shop_by_category7_text',
            array(
                'label'    => esc_html__('Category page text','amstore'),
                'section'  => 'woocommerce_shop_shop_by_category_section',
                'settings' => 'wpdevart_amstore_woo_shop_by_category7_text',
                'type'     => 'text'
            )
        )
    );
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category7_url',array(
		'default'	=> esc_url('#'),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control('wpdevart_amstore_woo_shop_by_category7_url',array(
			'label'	=> esc_html__('Category page link/URL','amstore'),
			'section'	=> 'woocommerce_shop_shop_by_category_section',
			'setting'	=> 'wpdevart_amstore_woo_shop_by_category7_url'
	));
	$wp_customize->add_setting('wpdevart_amstore_woo_shop_by_category_image7',array(
		'default'	=> esc_url(get_theme_file_uri('/images/category7.jpg')),
		'sanitize_callback'	=> 'wpdevart_amstore_url_sanitization'
	));
	$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpdevart_amstore_woo_shop_by_category_image7', array(
        'label' => esc_html__('Category Image','amstore'),
		'description' => esc_html__( 'Recommended image size ~280*280', 'amstore' ),
        'section' => 'woocommerce_shop_shop_by_category_section',
        'settings' => 'wpdevart_amstore_woo_shop_by_category_image7',
        'button_labels' => array(
                    'select' => esc_html__('Select Image','amstore'),
                    'remove' => esc_html__('Remove Image','amstore'),
                    'change' => esc_html__('Change Image','amstore'),
                    )
    )));
	
	##################------ WooCommerce Pagination ------##################

	$wp_customize->add_section('wpdevart_amstore_woo_pagination_settings',array(
		'title'	=> esc_html__('WooCommerce Pagination','amstore'),					
		'priority'		=> null,
		'panel'         => 'wpdevart_amstore_woocommerce_settings_panel'
	));

	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_bg_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_bg_color', esc_html('#303030')),
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_bg_color', array(
        'label' => esc_html__('Buttons background color','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_bg_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_border_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_border_color', esc_html('#303030')),
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_border_color', array(
        'label' => esc_html__('Buttons border color','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_border_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_link_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_link_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_link_color', array(
        'label' => esc_html__('Text color of active buttons','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_link_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_text_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_text_color', esc_html('#d6d6d6')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_text_color', array(
        'label' => esc_html__('Text color of inactive buttons','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_text_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_bg_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_bg_hover_color', esc_html('#ffffff')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_bg_hover_color', array(
        'label' => esc_html__('Buttons background hover color','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_bg_hover_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_border_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_border_hover_color', esc_html('#303030')),
		'sanitize_callback'	=> 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_border_hover_color', array(
        'label' => esc_html__('Buttons border hover color','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_border_hover_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_link_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_link_hover_color', esc_html('#303030')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_link_hover_color', array(
        'label' => esc_html__('Text color of active buttons on hover','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_link_hover_color'
    )));
	$wp_customize->add_setting('wpdevart_amstore_woo_pagination_buttons_text_hover_color',array(
		'default'	=> apply_filters( 'parent_wpdevart_amstore_woo_pagination_buttons_text_hover_color', esc_html('#d6d6d6')),
		'sanitize_callback'	=> 'sanitize_hex_color'	
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_buttons_text_hover_color', array(
        'label' => esc_html__('Text color of inactive buttons on hover','amstore'),
        'section' => 'wpdevart_amstore_woo_pagination_settings',
        'settings' => 'wpdevart_amstore_woo_pagination_buttons_text_hover_color'
    )));
	$wp_customize->add_setting( 'wpdevart_amstore_woo_pagination_text_font_size',
	array(
		'default' => esc_html('18'),
		'sanitize_callback' => 'wpdevart_amstore_sanitize_integer'
		)
	);
	$wp_customize->add_control( new Wpdevart_Slider_Custom_Control( $wp_customize, 'wpdevart_amstore_woo_pagination_text_font_size',
		array(
		'label' => esc_html__( 'Font-size of buttons (px)', 'amstore' ),
		'section' => 'wpdevart_amstore_woo_pagination_settings',
		'input_attrs' => array(
			'min' => esc_html('16'),
			'max' => esc_html('20'),
			'step' => esc_html('1'),
		),
		)
	) );