<?php /**
 * Product Layout Options
 *
 * @package Kadence
 */

namespace Kadence;

use Kadence\Theme_Customizer;
use function Kadence\kadence;

$settings = array(
	'product_layout_tabs' => array(
		'control_type' =&gt; 'kadence_tab_control',
		'section'      =&gt; 'product_layout',
		'settings'     =&gt; false,
		'priority'     =&gt; 1,
		'input_attrs'  =&gt; array(
			'general' =&gt; array(
				'label'  =&gt; __( 'General', 'kadence' ),
				'target' =&gt; 'product_layout',
			),
			'design' =&gt; array(
				'label'  =&gt; __( 'Design', 'kadence' ),
				'target' =&gt; 'product_layout_design',
			),
			'active' =&gt; 'general',
		),
	),
	'product_layout_tabs_design' =&gt; array(
		'control_type' =&gt; 'kadence_tab_control',
		'section'      =&gt; 'product_layout_design',
		'settings'     =&gt; false,
		'priority'     =&gt; 1,
		'input_attrs'  =&gt; array(
			'general' =&gt; array(
				'label'  =&gt; __( 'General', 'kadence' ),
				'target' =&gt; 'product_layout',
			),
			'design' =&gt; array(
				'label'  =&gt; __( 'Design', 'kadence' ),
				'target' =&gt; 'product_layout_design',
			),
			'active' =&gt; 'design',
		),
	),
	'info_product_title' =&gt; array(
		'control_type' =&gt; 'kadence_title_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 2,
		'label'        =&gt; esc_html__( 'Product Above Content', 'kadence' ),
		'settings'     =&gt; false,
	),
	'info_product_title_design' =&gt; array(
		'control_type' =&gt; 'kadence_title_control',
		'section'      =&gt; 'product_layout_design',
		'priority'     =&gt; 2,
		'label'        =&gt; esc_html__( 'Product Above Content', 'kadence' ),
		'settings'     =&gt; false,
	),
	'product_above_layout' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 4,
		'default'      =&gt; kadence()-&gt;default( 'product_above_layout' ),
		'label'        =&gt; esc_html__( 'Above Content Layout', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'title' =&gt; array(
					'tooltip' =&gt; __( 'Enables an Extra above content title area', 'kadence' ),
					'name'    =&gt; __( 'Extra Title Area', 'kadence' ),
					'icon'    =&gt; '',
				),
				'breadcrumbs' =&gt; array(
					'tooltip' =&gt; __( 'Enables Breadcrumbs', 'kadence' ),
					'name'    =&gt; __( 'Breadcrumbs', 'kadence' ),
					'icon'    =&gt; '',
				),
				'none' =&gt; array(
					'tooltip' =&gt; __( 'Hides this area', 'kadence' ),
					'name'    =&gt; __( 'Nothing', 'kadence' ),
					'icon'    =&gt; '',
				),
			),
			'responsive' =&gt; false,
			'class'      =&gt; 'kadence-tiny-text',
		),
	),
	'product_title_inner_layout' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 4,
		'default'      =&gt; kadence()-&gt;default( 'product_title_inner_layout' ),
		'label'        =&gt; esc_html__( 'Title Container Width', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; '.product-hero-section',
				'pattern'  =&gt; 'entry-hero-layout-$',
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'standard' =&gt; array(
					'tooltip' =&gt; __( 'Background Fullwidth, Content Contained', 'kadence' ),
					'name'    =&gt; __( 'Standard', 'kadence' ),
					'icon'    =&gt; '',
				),
				'fullwidth' =&gt; array(
					'tooltip' =&gt; __( 'Background &amp; Content Fullwidth', 'kadence' ),
					'name'    =&gt; __( 'Fullwidth', 'kadence' ),
					'icon'    =&gt; '',
				),
				'contained' =&gt; array(
					'tooltip' =&gt; __( 'Background &amp; Content Contained', 'kadence' ),
					'name'    =&gt; __( 'Contained', 'kadence' ),
					'icon'    =&gt; '',
				),
			),
			'responsive' =&gt; false,
		),
	),
	'product_title_align' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Product Above Align', 'kadence' ),
		'priority'     =&gt; 4,
		'default'      =&gt; kadence()-&gt;default( 'product_title_align' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; '.product-title',
				'pattern'  =&gt; array(
					'desktop' =&gt; 'title-align-$',
					'tablet'  =&gt; 'title-tablet-align-$',
					'mobile'  =&gt; 'title-mobile-align-$',
				),
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'left' =&gt; array(
					'tooltip'  =&gt; __( 'Left Align Title', 'kadence' ),
					'dashicon' =&gt; 'editor-alignleft',
				),
				'center' =&gt; array(
					'tooltip'  =&gt; __( 'Center Align Title', 'kadence' ),
					'dashicon' =&gt; 'editor-aligncenter',
				),
				'right' =&gt; array(
					'tooltip'  =&gt; __( 'Right Align Title', 'kadence' ),
					'dashicon' =&gt; 'editor-alignright',
				),
			),
			'responsive' =&gt; true,
		),
	),
	'product_title_height' =&gt; array(
		'control_type' =&gt; 'kadence_range_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 5,
		'label'        =&gt; esc_html__( 'Above Container Min Height', 'kadence' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '#inner-wrap .product-hero-section .entry-header',
				'property' =&gt; 'min-height',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'size',
			),
		),
		'default'      =&gt; kadence()-&gt;default( 'product_title_height' ),
		'input_attrs'  =&gt; array(
			'min'     =&gt; array(
				'px'  =&gt; 10,
				'em'  =&gt; 1,
				'rem' =&gt; 1,
				'vh'  =&gt; 2,
			),
			'max'     =&gt; array(
				'px'  =&gt; 800,
				'em'  =&gt; 12,
				'rem' =&gt; 12,
				'vh'  =&gt; 100,
			),
			'step'    =&gt; array(
				'px'  =&gt; 1,
				'em'  =&gt; 0.01,
				'rem' =&gt; 0.01,
				'vh'  =&gt; 1,
			),
			'units'   =&gt; array( 'px', 'em', 'rem', 'vh' ),
		),
	),
	'product_title_elements' =&gt; array(
		'control_type' =&gt; 'kadence_sorter_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 6,
		'default'      =&gt; kadence()-&gt;default( 'product_title_elements' ),
		'label'        =&gt; esc_html__( 'Above Elements', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'settings'     =&gt; array(
			'elements'    =&gt; 'product_title_elements',
			'above_title' =&gt; 'product_title_element_above_title',
			'breadcrumb'  =&gt; 'product_title_element_breadcrumb',
			'category'    =&gt; 'product_title_element_category',
		),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'input_attrs'  =&gt; array(
			'group' =&gt; 'product_title_element',
		),
	),
	'product_above_title_font' =&gt; array(
		'control_type' =&gt; 'kadence_typography_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Product Above Title Font', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_above_title_font' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_typography',
				'selector' =&gt; '.product-hero-section .extra-title',
				'property' =&gt; 'font',
				'key'      =&gt; 'typography',
			),
		),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'input_attrs'  =&gt; array(
			'id'             =&gt; 'product_above_title_font',
			'headingInherit' =&gt; true,
		),
	),
	'product_above_category_font' =&gt; array(
		'control_type' =&gt; 'kadence_typography_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Product Above Category Font', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_above_category_font' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_typography',
				'selector' =&gt; '.product-hero-section .single-category',
				'property' =&gt; 'font',
				'key'      =&gt; 'typography',
			),
		),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'input_attrs'  =&gt; array(
			'id'             =&gt; 'product_above_category_font',
			'headingInherit' =&gt; true,
		),
	),
	'product_title_breadcrumb_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Breadcrumb Colors', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_breadcrumb_color' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '!=',
				'value'      =&gt; 'none',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '.product-title .kadence-breadcrumbs',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '.product-title .kadence-breadcrumbs a:hover',
				'property' =&gt; 'color',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'hover',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Initial Color', 'kadence' ),
					'palette' =&gt; true,
				),
				'hover' =&gt; array(
					'tooltip' =&gt; __( 'Link Hover Color', 'kadence' ),
					'palette' =&gt; true,
				),
			),
		),
	),
	'product_title_breadcrumb_font' =&gt; array(
		'control_type' =&gt; 'kadence_typography_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Breadcrumb Font', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_breadcrumb_font' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_typography',
				'selector' =&gt; '.product-title .kadence-breadcrumbs',
				'property' =&gt; 'font',
				'key'      =&gt; 'typography',
			),
		),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '!=',
				'value'      =&gt; 'none',
			),
		),
		'input_attrs'  =&gt; array(
			'id'      =&gt; 'product_title_breadcrumb_font',
			'options' =&gt; 'no-color',
		),
	),
	'product_title_background' =&gt; array(
		'control_type' =&gt; 'kadence_background_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Product Above Area Background', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_background' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_background',
				'selector' =&gt; '#inner-wrap .product-hero-section .entry-hero-container-inner',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'base',
			),
		),
		'input_attrs'  =&gt; array(
			'tooltip'  =&gt; __( 'Product Above Title Background', 'kadence' ),
		),
	),
	'product_title_featured_image' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'product_layout_design',
		'default'      =&gt; kadence()-&gt;default( 'product_title_featured_image' ),
		'label'        =&gt; esc_html__( 'Use Featured Image for Background?', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
	),
	'product_title_overlay_color' =&gt; array(
		'control_type' =&gt; 'kadence_color_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Background Overlay Color', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_overlay_color' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css',
				'selector' =&gt; '.product-hero-section .hero-section-overlay',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'color',
			),
		),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'input_attrs'  =&gt; array(
			'colors' =&gt; array(
				'color' =&gt; array(
					'tooltip' =&gt; __( 'Overlay Color', 'kadence' ),
					'palette' =&gt; true,
				),
			),
			'allowGradient' =&gt; true,
		),
	),
	'product_title_border' =&gt; array(
		'control_type' =&gt; 'kadence_borders_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Border', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_border' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_above_layout',
				'operator'   =&gt; '=',
				'value'      =&gt; 'title',
			),
		),
		'settings'     =&gt; array(
			'border_top'    =&gt; 'product_title_top_border',
			'border_bottom' =&gt; 'product_title_bottom_border',
		),
		'live_method'     =&gt; array(
			'product_title_top_border' =&gt; array(
				array(
					'type'     =&gt; 'css_border',
					'selector' =&gt; '.product-hero-section .entry-hero-container-inner',
					'pattern'  =&gt; '$',
					'property' =&gt; 'border-top',
					'key'      =&gt; 'border',
				),
			),
			'product_title_bottom_border' =&gt; array( 
				array(
					'type'     =&gt; 'css_border',
					'selector' =&gt; '.product-hero-section .entry-hero-container-inner',
					'property' =&gt; 'border-bottom',
					'pattern'  =&gt; '$',
					'key'      =&gt; 'border',
				),
			),
		),
	),
	'info_product_layout' =&gt; array(
		'control_type' =&gt; 'kadence_title_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'label'        =&gt; esc_html__( 'Product Layout', 'kadence' ),
		'settings'     =&gt; false,
	),
	'info_product_layout_design' =&gt; array(
		'control_type' =&gt; 'kadence_title_control',
		'section'      =&gt; 'product_layout_design',
		'priority'     =&gt; 10,
		'label'        =&gt; esc_html__( 'Product Layout', 'kadence' ),
		'settings'     =&gt; false,
	),
	'product_single_category_font' =&gt; array(
		'control_type' =&gt; 'kadence_typography_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Product In Content Category Font', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_single_category_font' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_typography',
				'selector' =&gt; '.woocommerce div.product .product-single-category',
				'property' =&gt; 'font',
				'key'      =&gt; 'typography',
			),
		),
		'input_attrs'  =&gt; array(
			'id'             =&gt; 'product_single_category_font',
		),
	),
	'product_title_font' =&gt; array(
		'control_type' =&gt; 'kadence_typography_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Product Title Font', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_title_font' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_typography',
				'selector' =&gt; '.woocommerce div.product .product_title',
				'property' =&gt; 'font',
				'key'      =&gt; 'typography',
			),
		),
		'input_attrs'  =&gt; array(
			'id'             =&gt; 'product_title_font',
			'headingInherit' =&gt; true,
		),
	),
	'product_layout' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Product Layout', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_layout' ),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'normal' =&gt; array(
					'tooltip' =&gt; __( 'Normal', 'kadence' ),
					'icon' =&gt; 'normal',
				),
				'narrow' =&gt; array(
					'tooltip' =&gt; __( 'Narrow', 'kadence' ),
					'icon' =&gt; 'narrow',
				),
				'fullwidth' =&gt; array(
					'tooltip' =&gt; __( 'Fullwidth', 'kadence' ),
					'icon' =&gt; 'fullwidth',
				),
				'left' =&gt; array(
					'tooltip' =&gt; __( 'Left Sidebar', 'kadence' ),
					'icon' =&gt; 'leftsidebar',
				),
				'right' =&gt; array(
					'tooltip' =&gt; __( 'Right Sidebar', 'kadence' ),
					'icon' =&gt; 'rightsidebar',
				),
			),
			'responsive' =&gt; false,
			'class'      =&gt; 'kadence-three-col',
		),
	),
	'product_sidebar_id' =&gt; array(
		'control_type' =&gt; 'kadence_select_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Product Default Sidebar', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_sidebar_id' ),
		'input_attrs'  =&gt; array(
			'options' =&gt; kadence()-&gt;sidebar_options(),
		),
	),
	'product_content_style' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Content Style', 'kadence' ),
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_content_style' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; 'body.single-product',
				'pattern'  =&gt; 'content-style-$',
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'boxed' =&gt; array(
					'tooltip' =&gt; __( 'Boxed', 'kadence' ),
					'icon' =&gt; 'boxed',
				),
				'unboxed' =&gt; array(
					'tooltip' =&gt; __( 'Unboxed', 'kadence' ),
					'icon' =&gt; 'narrow',
				),
			),
			'responsive' =&gt; false,
			'class'      =&gt; 'kadence-two-col',
		),
	),
	'product_vertical_padding' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Content Vertical Padding', 'kadence' ),
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_vertical_padding' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; 'body.single-product',
				'pattern'  =&gt; 'content-vertical-padding-$',
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'show' =&gt; array(
					'name' =&gt; __( 'Enable', 'kadence' ),
				),
				'hide' =&gt; array(
					'name' =&gt; __( 'Disable', 'kadence' ),
				),
				'top' =&gt; array(
					'name' =&gt; __( 'Top Only', 'kadence' ),
				),
				'bottom' =&gt; array(
					'name' =&gt; __( 'Bottom Only', 'kadence' ),
				),
			),
			'responsive' =&gt; false,
			'class'      =&gt; 'kadence-two-grid',
		),
	),
	'product_content_elements' =&gt; array(
		'control_type' =&gt; 'kadence_sorter_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_content_elements' ),
		'label'        =&gt; esc_html__( 'Product Elements', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'settings'     =&gt; array(
			'elements'     =&gt; 'product_content_elements',
			'category'     =&gt; 'product_content_element_category',
			'title'        =&gt; 'product_content_element_title',
			'rating'       =&gt; 'product_content_element_rating',
			'price'        =&gt; 'product_content_element_price',
			'excerpt'      =&gt; 'product_content_element_excerpt',
			'add_to_cart'  =&gt; 'product_content_element_add_to_cart',
			'extras'       =&gt; 'product_content_element_extras',
			'payments'     =&gt; 'product_content_element_payments',
			'product_meta' =&gt; 'product_content_element_product_meta',
			'share'        =&gt; 'product_content_element_share',
		),
		'input_attrs'  =&gt; array(
			'group' =&gt; 'product_content_element',
			'sortable' =&gt; false,
		),
	),
	'custom_quantity' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'custom_quantity' ),
		'label'        =&gt; esc_html__( 'Use Custom Quantity Plus and Minus', 'kadence' ),
		'transport'    =&gt; 'refresh',
	),
	'variation_direction' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'variation_direction' ),
		'label'        =&gt; esc_html__( 'Product Variation Display', 'kadence' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; 'body.single-product',
				'pattern'  =&gt; 'product-variation-style-$',
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'horizontal' =&gt; array(
					'name' =&gt; __( 'Horizontal', 'kadence' ),
				),
				'vertical' =&gt; array(
					'name' =&gt; __( 'Vertical', 'kadence' ),
				),
			),
			'responsive' =&gt; false,
		),
	),
	'product_tab_style' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'label'        =&gt; esc_html__( 'Tab Style', 'kadence' ),
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_tab_style' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'class',
				'selector' =&gt; 'body.single-product',
				'pattern'  =&gt; 'product-tab-style-$',
				'key'      =&gt; '',
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'normal' =&gt; array(
					'name' =&gt; __( 'Normal', 'kadence' ),
				),
				'center' =&gt; array(
					'name' =&gt; __( 'Center', 'kadence' ),
				),
			),
			'responsive' =&gt; false,
		),
	),
	'product_tab_title' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_tab_title' ),
		'label'        =&gt; esc_html__( 'Show default headings in tab content', 'kadence' ),
		'transport'    =&gt; 'refresh',
	),
	'product_additional_weight_dimensions' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_additional_weight_dimensions' ),
		'label'        =&gt; esc_html__( 'Show Weight and Dimensions in Additional Information tab?', 'kadence' ),
		'transport'    =&gt; 'refresh',
	),
	'product_related' =&gt; array(
		'control_type' =&gt; 'kadence_switch_control',
		'sanitize'     =&gt; 'kadence_sanitize_toggle',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'default'      =&gt; kadence()-&gt;default( 'product_related' ),
		'label'        =&gt; esc_html__( 'Show Related Products?', 'kadence' ),
		'transport'    =&gt; 'refresh',
	),
	'product_related_columns' =&gt; array(
		'control_type' =&gt; 'kadence_radio_icon_control',
		'section'      =&gt; 'product_layout',
		'priority'     =&gt; 10,
		'label'        =&gt; esc_html__( 'Related Products Columns', 'kadence' ),
		'transport'    =&gt; 'refresh',
		'default'      =&gt; kadence()-&gt;default( 'product_related_columns' ),
		'context'      =&gt; array(
			array(
				'setting'    =&gt; 'product_related',
				'operator'   =&gt; '=',
				'value'      =&gt; true,
			),
		),
		'input_attrs'  =&gt; array(
			'layout' =&gt; array(
				'2' =&gt; array(
					'name' =&gt; __( '2', 'kadence' ),
				),
				'3' =&gt; array(
					'name' =&gt; __( '3', 'kadence' ),
				),
				'4' =&gt; array(
					'name' =&gt; __( '4', 'kadence' ),
				),
			),
			'responsive' =&gt; false,
		),
	),
	'product_background' =&gt; array(
		'control_type' =&gt; 'kadence_background_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Site Background', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_background' ),
		'live_method'     =&gt; array(
			array(
				'type'     =&gt; 'css_background',
				'selector' =&gt; 'body.single-product',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'base',
			),
		),
		'input_attrs'  =&gt; array(
			'tooltip' =&gt; __( 'Product Background', 'kadence' ),
		),
	),
	'product_content_background' =&gt; array(
		'control_type' =&gt; 'kadence_background_control',
		'section'      =&gt; 'product_layout_design',
		'label'        =&gt; esc_html__( 'Content Background', 'kadence' ),
		'default'      =&gt; kadence()-&gt;default( 'product_content_background' ),
		'live_method'  =&gt; array(
			array(
				'type'     =&gt; 'css_background',
				'selector' =&gt; 'body.single-product .content-bg, body.single-product.content-style-unboxed .site',
				'property' =&gt; 'background',
				'pattern'  =&gt; '$',
				'key'      =&gt; 'base',
			),
		),
		'input_attrs'  =&gt; array(
			'tooltip' =&gt; __( 'Product Content Background', 'kadence' ),
		),
	),
);

Theme_Customizer::add_settings( $settings );

