<?php
/**
 *
 * Kirki defaults
 *
 * @package CommerceGurus
 * @subpackage Shoptimizer
 */

if ( ! function_exists( 'shoptimizer_get_option_defaults' ) ) {

	/**
	 *
	 * Sensible defaults ftw.
	 */
	function shoptimizer_get_option_defaults() {
		$defaults = array(

			// Top Bar.
			'shoptimizer_layout_top_bar_display'           						=> 'enable',
			'shoptimizer_layout_top_bar_mobile'            						=> 'hide',

			'shoptimizer_layout_top_bar_background'        						=> '#fff',
			'shoptimizer_layout_top_bar_text'              						=> '#323232',
			'shoptimizer_layout_top_bar_border'            						=> '#eee',

			// Layout.
			'shoptimizer_layout_wrapper'										=> 'no',

			// Sidebars.
			'shoptimizer_layout_woocommerce_sidebar'       						=> 'left-woocommerce-sidebar',
			'shoptimizer_wc_product_category_widget_toggle'						=> 'disable',
			'shoptimizer_layout_archives_sidebar'          						=> 'right-archives-sidebar',
			'shoptimizer_layout_post_sidebar'              						=> 'right-post-sidebar',
			'shoptimizer_layout_page_sidebar'              						=> 'right-page-sidebar',

			// Header.
			'shoptimizer_header_layout'											=> 'default',
			'shoptimizer_header_layout_container'								=> 'contained',
			'shoptimizer_header_bg_color'                  						=> '#fff',
			'shoptimizer_header_border_color'              						=> '#eee',
			'shoptimizer_layout_search_display'            						=> 'enable',
			'shoptimizer_layout_search_display_type'							=> 'default',
			'shoptimizer_mobile_hamburger'                 						=> '#111',
			'shoptimizer_mobile_cart_color'										=> '#dc9814',
			'shoptimizer_mobile_bg'												=> '#fff',
			'shoptimizer_mobile_divider_line'              						=> '#eee',
			'shoptimizer_mobile_color'                     						=> '#222',
			'shoptimizer_sticky_mobile_header'			   						=> 'enable',
			'shoptimizer_search_mobile'											=> 'enable',
			'shoptimizer_search_mobile_position'								=> 'within-navigation',
			'shoptimizer_mobile_myaccount'										=> 'disable',
			'shoptimizer_tagline_display'				  						=> false,

			'shoptimizer_menu_display_description'         						=> true,

			'shoptimizer_layout_woocommerce_cart_icon'     						=> 'basket',

			'shoptimizer_layout_myaccount_display'								=> 'disable',

			'shoptimizer_layout_search_title'              						=> 'Search',

			'shoptimizer_cart_title'											=> 'Your Cart',
			'shoptimizer_cart_below_text'										=> '',
			'shoptimizer_sidebar_hide_cart_link'								=> false,
			'shoptimizer_minicart_quantity'										=> false,

			// Navigation.
			'shoptimizer_navigation_bg_color'              						=> '#222',
			'shoptimizer_navigation_border_color'		   						=> '',
			'shoptimizer_secondary_navigation_color'       						=> '#404040',
			'shoptimizer_navigation_color'                 						=> '#fff',
			'shoptimizer_navigation_color_header_4'        						=> '#323232',
			'shoptimizer_navigation_color_hover'           						=> '#dc9814',
			'shoptimizer_menu_hover_intent'										=> false,

			// Navigation Dropdowns.
			'shoptimizer_navigation_dropdown_background'   						=> '#fff',
			'shoptimizer_navigation_dropdown_color'        						=> '#323232',
			'shoptimizer_navigation_dropdown_hover_color'  						=> '#dc9814',

			// Navigation Cart.
			'shoptimizer_cart_color'                       						=> '#fff',
			'shoptimizer_cart_hover_color'                 						=> '#fff',
			'shoptimizer_cart_icon_color'                  						=> '#dc9814',
			'shoptimizer_cart_bubble_background_color'							=> '#444444',
			'shoptimizer_cart_bubble_border_color'								=> '#444444',

			// Sticky Header.
			'shoptimizer_sticky_header'                    						=> 'enable',
			'shoptimizer_logo_mark_image'                  						=> '',

			// Below Header.
			'shoptimizer_below_header_bg'                  						=> '#dc9814',
			'shoptimizer_below_header_text'                						=> '#fff',

			// General
			'shoptimizer_layout_woocommerce_breadcrumbs_type' 					=> 'default',

			// Mobile products per row
			'shoptimizer_layout_woocommerce_mobile_grid'						=> 'mobile-grid-two',

			// WooCommerce.
			'shoptimizer_layout_woocommerce_text_alignment' 					=> 'product-align-left',
			'shoptimizer_layout_woocommerce_cta_display'   						=> 'hover',

			'shoptimizer_layout_woocommerce_display_cart'  						=> true,

			'shoptimizer_layout_woocommerce_single_product_ajax' 				=> false,

			'shoptimizer_layout_woocommerce_display_breadcrumbs' 				=> true,
			'shoptimizer_layout_shop_title'										=> false,
			'shoptimizer_layout_woocommerce_display_count' 						=> true,
			'shoptimizer_layout_woocommerce_display_sorting' 					=> true,
			'shoptimizer_layout_woocommerce_display_badge' 						=> true,
			'shoptimizer_layout_woocommerce_display_badge_type'					=> 'bubble',
			'shoptimizer_layout_woocommerce_display_rating' 					=> true,
			'shoptimizer_layout_catalog_reviews_count'							=> false,
			'shoptimizer_layout_woocommerce_display_category' 					=> true,
			'shoptimizer_layout_woocommerce_prev_next_display' 					=> true,
			'shoptimizer_layout_woocommerce_sticky_cart_display' 				=> false,
			'shoptimizer_layout_woocommerce_related_display' 					=> true,
			'shoptimizer_layout_woocommerce_meta_display'  						=> true,

			'shoptimizer_layout_woocommerce_card_display'  						=> 'default',
			'shoptimizer_layout_woocommerce_flip_image'    						=> false,
			'shoptimizer_layout_woocommerce_load_more'    						=> false,
			'shoptimizer_layout_woocommerce_load_more_text'					=> 'Load more products',
			'shoptimizer_layout_woocommerce_grid_feature'						=> false,

			'shoptimizer_layout_woocommerce_enable_sidebar_cart' 				=> true,

			'shoptimizer_cross_sells_carousel'									=> false,
			'shoptimizer_cross_sells_carousel_heading'      					=> 'Pairs well with',

			'shoptimizer_layout_floating_button_display'   						=> true,
			'shoptimizer_layout_floating_button_text'      						=> 'Questions? Request a Call Back',

			'shoptimizer_layout_related_amount'            						=> 4,
			'shoptimizer_layout_upsells_amount'            						=> 4,

			'shoptimizer_layout_woocommerce_upsells_first' 						=> false,
			'shoptimizer_upsells_title_text'               						=> 'Customers also bought',

			'shoptimizer_display_cross_sells'									=> true,
			'shoptimizer_layout_cross_sells_amount'        						=> 4,

			'shoptimizer_layout_pdp_gallery_width'								=> 'wide',

			'shoptimizer_layout_pdp_short_description_position'					=> 'top',
			'shoptimizer_layout_pdp_block_editor'								=> true,
			'shoptimizer_layout_pdp_description_width'							=> 'full-width',
			'shoptimizer_widgets_disable_block_editor'							=> true,

			'shoptimizer_layout_progress_bar_display'      						=> true,
			'shoptimizer_layout_woocommerce_simple_checkout' 					=> true,

			'shoptimizer_layout_woocommerce_mobile_cart_page'					=> true,
			'shoptimizer_ajaxcart_quantity'										=> false,

			'shoptimizer_checkout_coupon_position'								=> 'bottom',

			'shoptimizer_layout_woocommerce_sticky_cart_position' 				=> 'bottom',

			'shoptimizer_layout_woocommerce_category_position' 					=> 'within-content',
			'shoptimizer_layout_woocommerce_category_image' 					=> true,
			'shoptimizer_layout_woocommerce_category_description' 				=> true,

			'shoptimizer_mobile_menu_text_display'         						=> 'yes',
			'shoptimizer_mobile_menu_text'                 						=> 'MENU',

			// Blog.
			'shoptimizer_layout_blog'                      						=> 'grid grid-2',
			'shoptimizer_layout_blog_title'                      				=> true,
			'shoptimizer_layout_blog_summary_display'      						=> true,
			'shoptimizer_layout_singlepost'                						=> 'singlepost-layout-one',
			'shoptimizer_layout_blog_author'               						=> true,
			'shoptimizer_layout_blog_meta'                 						=> true,
			'shoptimizer_layout_blog_prev_next'            						=> false,
			'shoptimizer_post_featured_image'              						=> true,

			// Colors.
			'shoptimizer_color_general_swatch'             						=> '#dc9814',

			'shoptimizer_color_general_links'              						=> '#1e68c4',
			'shoptimizer_color_general_links_hover'        						=> '#111',

			'shoptimizer_color_body_bg'                    						=> '#fff',

			'shoptimizer_product_bg'                       						=> '#f8f8f8',

			'shoptimizer_ratings_color'                    						=> '#ee9e13',

			'shoptimizer_woocommerce_button_text'          						=> '#fff',
			'shoptimizer_woocommerce_button_bg'            						=> '#3bb54a',
			'shoptimizer_woocommerce_button_hover_bg'      						=> '#009245',

			'shoptimizer_sale_flash_bg'                    						=> '#3bb54a',
			'shoptimizer_sale_flash_text'                  						=> '#fff',

			'shoptimizer_floating_button_bg'               						=> '#dc9814',
			'shoptimizer_floating_button_text'             						=> '#fff',

			'shoptimizer_archives_description_bg'          						=> '#efeee3',
			'shoptimizer_archives_description_text'        						=> '#222',

			'shoptimizer_progress_bar_color'               						=> '#3bb54a',

			// Footer.
			'shoptimizer_below_content_display'            						=> 'show',
			'shoptimizer_footer_display'                   						=> 'show',
			'shoptimizer_copyright_display'                						=> 'show',

			'shoptimizer_below_content_icons'              						=> '#999',

			'shoptimizer_footer_bg'                       						=> '#111',
			'shoptimizer_footer_heading_color'             						=> '#fff',
			'shoptimizer_footer_color'                     						=> '#ccc',
			'shoptimizer_footer_links_color'               						=> '#999',
			'shoptimizer_footer_links_hover_color'         						=> '#fff',

			// Speed Settings.
			'shoptimizer_general_speed_critical_css'       						=> 'no',
			'shoptimizer_general_speed_minify_main_css'    						=> 'yes',
			'shoptimizer_general_speed_rivolicons'         						=> 'no',

			// Accessibility.
			'shoptimizer_general_accessibility_reduced_motion'					=> true,
			'shoptimizer_general_accessibility_hide_default_patterns'			=> true,

		);

		return apply_filters( 'shoptimizer_get_option_defaults', $defaults );
	}
}// End if().
