<?php

Kirki::add_section( 'cl_shop', array(
	    'priority'    => 10,
	    'type' => '',
	    'title'       => esc_html__( 'Shop', 'vibrance' ),
	    'tooltip' => esc_html__( 'All Shop Options', 'vibrance' ),
	) );


		Kirki::add_field( 'cl_vibrance', array(
			'settings' => 'shop_columns',
			'label'    => esc_html__( 'Shop Columns', 'vibrance' ),
			'tooltip' => esc_html__( 'Select number of items to display per Row on SHOP Page', 'vibrance' ),
			'section'  => 'cl_shop',
			'type'     => 'select',
			'priority' => 10,
			'default'  => '3',
			'choices'     => array(
				'2'  => esc_attr__( '2 Columns', 'vibrance' ),
				'3'  => esc_attr__( '3 Columns', 'vibrance' ),
				'4'  => esc_attr__( '4 Columns', 'vibrance' ),
				'5'  => esc_attr__( '5 Columns', 'vibrance' ),
				'6'  => esc_attr__( '6 Columns', 'vibrance' ),
			),
		) );

		Kirki::add_field( 'cl_vibrance', array(
		    'type' => 'slider',
		    'settings' => 'shop_item_distance',
			'label' => esc_html__( 'Distance between items', 'vibrance' ),
			'default' => '15',
			'choices'     => array(
			'min'  => '0',
			'max'  => '30',
			'step' => '1',
							),
			'inline_control' => true,
			'section'  => 'cl_shop',
			'transport' => 'postMessage'
    	));

    	Kirki::add_field( 'cl_vibrance', array(
				'settings' => 'shop_animation',
				'label'    => esc_html__( 'Animation Type', 'vibrance' ),
				
				'section'  => 'cl_shop',
				'type'     => 'select',
				'priority' => 10,
				'default'  => 'bottom-t-top',
				'choices' => array(
					'none'	=> esc_html__( 'None', 'vibrance' ),
					'top-t-bottom' =>  esc_html__( 'Top-Bottom', 'vibrance' ),
					'bottom-t-top' =>	 esc_html__( 'Bottom-Top', 'vibrance' ),
					'right-t-left' =>  esc_html__( 'Right-Left', 'vibrance' ),
					'left-t-right' =>  esc_html__( 'Left-Right', 'vibrance' ),
					'alpha-anim' =>  esc_html__( 'Fade-In', 'vibrance' ),	
					'zoom-in' =>  esc_html__( 'Zoom-In', 'vibrance' ),	
					'zoom-out' =>  esc_html__( 'Zoom-Out', 'vibrance' ),
					'zoom-reverse' =>  esc_html__( 'Zoom-Reverse', 'vibrance' )
				),
				'transport' => 'postMessage'
	) );

    	Kirki::add_field( 'cl_vibrance', array(
			'settings' => 'shop_item_heading',
			'label'    => esc_html__( 'Shop Item Heading', 'vibrance' ),
			'section'  => 'cl_shop',
			'type'     => 'select',
			'priority' => 10,
			'default'  => 'h6',
			'choices'     => array(
				'h1'  => esc_attr__( 'H1', 'vibrance' ),
				'h2'  => esc_attr__( 'H2', 'vibrance' ),
				'h3'  => esc_attr__( 'H3', 'vibrance' ),
				'h4'  => esc_attr__( 'H4', 'vibrance' ),
				'h5'  => esc_attr__( 'H5', 'vibrance' ),
				'h6'  => esc_attr__( 'H6', 'vibrance' ),
			),
			'transport' => 'postMessage'
		) );


    	Kirki::add_field( 'cl_vibrance', array(
			'settings' => 'shop_pagination_style',
			'label'    => esc_html__( 'Shop Pagination Style', 'vibrance' ),
			'section'  => 'cl_shop',
			'type'     => 'select',
			'priority' => 10,
			'default'  => 'numbers',
			'choices'     => array(
				'numbers'  => esc_attr__( 'With Page Numbers', 'vibrance' ),
				'next_prev'  => esc_attr__( 'Next/Prev', 'vibrance' ),
				'load_more'  => esc_attr__( 'Load More Button', 'vibrance' ),
				'infinite_scroll'  => esc_attr__( 'Infinite Scroll', 'vibrance' ),
			),
			'transport' => 'refresh'
		) );

		Kirki::add_field( 'cl_vibrance', array(
			'settings' => 'shop_category_layout',
			'label'    => esc_html__( 'Shop Categories Layout', 'vibrance' ),
			'tooltip' => esc_html__( 'Select shop Product Categories page layout.', 'vibrance' ),
			'section'  => 'cl_shop',
			'type'     => 'select',
			'priority' => 10,
			'default'  => 'fullwidth',
			'choices'     => array(
				'fullwidth'  => esc_attr__( 'Fullwidth', 'vibrance' ),
				'left_sidebar'  => esc_attr__( 'Left Sidebar', 'vibrance' ),
				'right_sidebar'  => esc_attr__( 'Right Sidebar', 'vibrance' )
			),
		) );

		
?>