<?php
	$storefront_ecommerce_first_color = get_theme_mod('storefront_ecommerce_first_color');
	$storefront_ecommerce_custom_css ='';

	/*------------------ Global First Color -----------*/

	if ($storefront_ecommerce_first_color) {
		$storefront_ecommerce_custom_css .= ':root {';
		$storefront_ecommerce_custom_css .= '--first-theme-color: ' . esc_attr($storefront_ecommerce_first_color) . ' !important;';
		$storefront_ecommerce_custom_css .= '} ';
	}	

	// $storefront_ecommerce_custom_css .='#scrollbutton {';
	// 	$storefront_ecommerce_custom_css .='box-shadow: inset 0px 0px 0px '.esc_attr($storefront_ecommerce_first_color).', 0px 5px 0px 0px '.esc_attr($storefront_ecommerce_first_color).', 0px 5px 4px #000;';
	// $storefront_ecommerce_custom_css .='}';

	/*---------------------------Width Layout -------------------*/
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_width_layout_options','Default');
    if($storefront_ecommerce_theme_lay == 'Default'){
		$storefront_ecommerce_custom_css .='body{';
			$storefront_ecommerce_custom_css .='max-width: 100%;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Container Layout'){
		$storefront_ecommerce_custom_css .='body{';
			$storefront_ecommerce_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Box Layout'){
		$storefront_ecommerce_custom_css .='body{';
			$storefront_ecommerce_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$storefront_ecommerce_custom_css .='}';
	}

	//slider heading color
	$storefront_ecommerce_slider_heading_color = get_theme_mod('storefront_ecommerce_slider_heading_color');
	$storefront_ecommerce_custom_css .='#slider .carousel-caption h1{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_slider_heading_color).';';
	$storefront_ecommerce_custom_css .='}';

	//slider text color
	$storefront_ecommerce_slider_text_color = get_theme_mod('storefront_ecommerce_slider_text_color');
	$storefront_ecommerce_custom_css .='#slider .inner_carousel p{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_slider_text_color).';';
	$storefront_ecommerce_custom_css .='}';

	//slider button text color
	$storefront_ecommerce_slider_btn_text_color = get_theme_mod('storefront_ecommerce_slider_btn_text_color');
	$storefront_ecommerce_custom_css .='#slider .more-btn a{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_slider_btn_text_color).';';
	$storefront_ecommerce_custom_css .='}';

	//slider button bg color
	$storefront_ecommerce_slider_btn_bg_color = get_theme_mod('storefront_ecommerce_slider_btn_bg_color');
	$storefront_ecommerce_custom_css .='#slider .more-btn a{';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_slider_btn_bg_color).';';
	$storefront_ecommerce_custom_css .='}';

	/*---------------------------Slider Content Layout -------------------*/
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_slider_content_layout','Left');
    if($storefront_ecommerce_theme_lay == 'Left'){
		$storefront_ecommerce_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$storefront_ecommerce_custom_css .='text-align:left;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Center'){
		$storefront_ecommerce_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn{';
			$storefront_ecommerce_custom_css .='text-align:center; ';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Right'){
		$storefront_ecommerce_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$storefront_ecommerce_custom_css .='text-align:right;';
		$storefront_ecommerce_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$storefront_ecommerce_footer_text_align = get_theme_mod('storefront_ecommerce_footer_text_align');
	$storefront_ecommerce_custom_css .='.copyright-wrapper{';
		$storefront_ecommerce_custom_css .='text-align: '.esc_attr($storefront_ecommerce_footer_text_align).';';
	$storefront_ecommerce_custom_css .='}';
	$storefront_ecommerce_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$storefront_ecommerce_custom_css .='text-align: center;'.esc_attr($storefront_ecommerce_footer_text_align).'';
	$storefront_ecommerce_custom_css .='} }';

	$storefront_ecommerce_footer_text_padding = get_theme_mod('storefront_ecommerce_footer_text_padding');
	$storefront_ecommerce_custom_css .='.copyright-wrapper{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_footer_text_padding).'px; padding-bottom: '.esc_attr($storefront_ecommerce_footer_text_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_footer_bg_color = get_theme_mod('storefront_ecommerce_footer_bg_color');
	$storefront_ecommerce_custom_css .='.footer-wp{';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_footer_bg_color).';';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_footer_bg_image = get_theme_mod('storefront_ecommerce_footer_bg_image');
	if($storefront_ecommerce_footer_bg_image != false){
		$storefront_ecommerce_custom_css .='.footer-wp{';
			$storefront_ecommerce_custom_css .='background: url('.esc_attr($storefront_ecommerce_footer_bg_image).'); background-size: cover;';
		$storefront_ecommerce_custom_css .='}';
	}

    // footer image position
	$storefront_ecommerce_footer_img_position = get_theme_mod('storefront_ecommerce_footer_img_position','center center');
	if($storefront_ecommerce_footer_img_position != false){
		$storefront_ecommerce_custom_css .='.footer-wp{';
			$storefront_ecommerce_custom_css .='background-position: '.esc_attr($storefront_ecommerce_footer_img_position).'!important;';
		$storefront_ecommerce_custom_css .='}';
	}	

	// Footer Attatchment
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_footer_attatchment','scroll');
	if($storefront_ecommerce_theme_lay == 'fixed'){
		$storefront_ecommerce_custom_css .='.footer-wp{';
			$storefront_ecommerce_custom_css .='background-attachment: fixed;';
		$storefront_ecommerce_custom_css .='}';
	}elseif ($storefront_ecommerce_theme_lay == 'scroll'){
		$storefront_ecommerce_custom_css .='.footer-wp{';
			$storefront_ecommerce_custom_css .='background-attachment: scroll;';
		$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_footer_heading_font_weight = get_theme_mod( 'storefront_ecommerce_footer_heading_font_weight','500');
	if($storefront_ecommerce_footer_heading_font_weight != ''){
		$storefront_ecommerce_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$storefront_ecommerce_custom_css .='font-weight: '.esc_attr($storefront_ecommerce_footer_heading_font_weight).';';
		$storefront_ecommerce_custom_css .='}';
	}

	// footer heading font size
	$storefront_ecommerce_footer_heading_font_size = get_theme_mod('storefront_ecommerce_footer_heading_font_size');
	$storefront_ecommerce_custom_css .='.footer-wp h3{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_footer_heading_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// letter spacing
	$storefront_ecommerce_footer_heading_letter_spacing = get_theme_mod('storefront_ecommerce_footer_heading_letter_spacing',1);
	$storefront_ecommerce_custom_css .='.footer-wp h3{';
	$storefront_ecommerce_custom_css .='letter-spacing: '.esc_attr($storefront_ecommerce_footer_heading_letter_spacing).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_footer_text_tranform','Capitalize');
    if($storefront_ecommerce_theme_lay == 'Uppercase'){
		$storefront_ecommerce_custom_css .='.footer-wp h3{';
			$storefront_ecommerce_custom_css .='text-transform: uppercase;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Lowercase'){
		$storefront_ecommerce_custom_css .='.footer-wp h3{';
			$storefront_ecommerce_custom_css .='text-transform: lowercase;';
		$storefront_ecommerce_custom_css .='}';
	}
	else if($storefront_ecommerce_theme_lay == 'Capitalize'){
		$storefront_ecommerce_custom_css .='.footer-wp h3{';
			$storefront_ecommerce_custom_css .='text-transform: capitalize;';
		$storefront_ecommerce_custom_css .='}';
	}
	
	// footer padding
	$storefront_ecommerce_footer_padding = get_theme_mod('storefront_ecommerce_footer_padding');
	$storefront_ecommerce_custom_css .='.footer-wp{';
		$storefront_ecommerce_custom_css .='padding: '.esc_attr($storefront_ecommerce_footer_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_copyright_text_font_size = get_theme_mod('storefront_ecommerce_copyright_text_font_size', 15);
	$storefront_ecommerce_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_copyright_text_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_footer_heading = get_theme_mod( 'storefront_ecommerce_footer_heading','Left');
    if($storefront_ecommerce_footer_heading == 'Left'){
		$storefront_ecommerce_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$storefront_ecommerce_custom_css .='text-align: left;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_footer_heading == 'Center'){
		$storefront_ecommerce_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$storefront_ecommerce_custom_css .='text-align: center;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$storefront_ecommerce_custom_css .='margin: 7px auto;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$storefront_ecommerce_custom_css .='text-align: left;';
				$storefront_ecommerce_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$storefront_ecommerce_custom_css .='margin: 7px 0 0;';
				$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_footer_heading == 'Right'){
		$storefront_ecommerce_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$storefront_ecommerce_custom_css .='text-align: right; padding-bottom: 25px;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$storefront_ecommerce_custom_css .='position: relative;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$storefront_ecommerce_custom_css .='position: absolute; right: 0;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$storefront_ecommerce_custom_css .='text-align: left;';
				$storefront_ecommerce_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$storefront_ecommerce_custom_css .='left: 0;';
				$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_footer_content = get_theme_mod( 'storefront_ecommerce_footer_content','Left');
    if($storefront_ecommerce_footer_content == 'Left'){
		$storefront_ecommerce_custom_css .='.footer-wp .widget{';
		$storefront_ecommerce_custom_css .='text-align: left;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_footer_content == 'Center'){
		$storefront_ecommerce_custom_css .='.footer-wp .widget{';
			$storefront_ecommerce_custom_css .='text-align: center;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$storefront_ecommerce_custom_css .='text-align: left;';
				$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_footer_content == 'Right'){
		$storefront_ecommerce_custom_css .='.footer-wp .widget{';
			$storefront_ecommerce_custom_css .='text-align: right;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$storefront_ecommerce_custom_css .='text-align: left;';
				$storefront_ecommerce_custom_css .='} }';
	}

   //Footer Style 
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_footer_template','storefront_ecommerce-footer-one');
    if($storefront_ecommerce_theme_lay == 'storefront_ecommerce-footer-one'){
		$storefront_ecommerce_custom_css .='.footer-wp{';
			$storefront_ecommerce_custom_css .='';
		$storefront_ecommerce_custom_css .='}';

	}else if($storefront_ecommerce_theme_lay == 'storefront_ecommerce-footer-two'){
		$storefront_ecommerce_custom_css .='.footer-wp {';
			$storefront_ecommerce_custom_css .='background: #E3F2FD !important;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$storefront_ecommerce_custom_css .='color:#000 !important;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp p{';
			$storefront_ecommerce_custom_css .='color:#000 !important;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp ul li::before{';
			$storefront_ecommerce_custom_css .='background:#000;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$storefront_ecommerce_custom_css .='border: 1px solid #000;';
		$storefront_ecommerce_custom_css .='}';

	}else if($storefront_ecommerce_theme_lay == 'storefront_ecommerce-footer-three'){
		$storefront_ecommerce_custom_css .='.footer-wp {';
			$storefront_ecommerce_custom_css .='background: #0A0A1F !important;;';
		$storefront_ecommerce_custom_css .='}';
	}
	else if($storefront_ecommerce_theme_lay == 'storefront_ecommerce-footer-four'){
		$storefront_ecommerce_custom_css .='.footer-wp {';
			$storefront_ecommerce_custom_css .='background: #F5F5DC !important;;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$storefront_ecommerce_custom_css .='color:#000 !important;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp p{';
			$storefront_ecommerce_custom_css .='color:#000 !important;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp ul li::before{';
			$storefront_ecommerce_custom_css .='background:#000;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$storefront_ecommerce_custom_css .='border: 1px solid #000;';
		$storefront_ecommerce_custom_css .='}';
	}
    else if($storefront_ecommerce_theme_lay == 'storefront_ecommerce-footer-five'){
	$storefront_ecommerce_custom_css .='.footer-wp {';
		$storefront_ecommerce_custom_css .='background: #333333 !important;;';
	$storefront_ecommerce_custom_css .='}';
   }	
   
	//Footer Social Icon Alignment
	$storefront_ecommerce_footer_icon_alignment = get_theme_mod( 'storefront_ecommerce_footer_icon_alignment','center');
    if($storefront_ecommerce_footer_icon_alignment == 'left'){
		$storefront_ecommerce_custom_css .='footer .socialicons{';
			$storefront_ecommerce_custom_css .='text-align:left !important;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_footer_icon_alignment == 'center'){
		$storefront_ecommerce_custom_css .='footer .socialicons{';
			$storefront_ecommerce_custom_css .='text-align:center !important;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_footer_icon_alignment == 'right'){
		$storefront_ecommerce_custom_css .='footer .socialicons{';
			$storefront_ecommerce_custom_css .='text-align:right !important;';
		$storefront_ecommerce_custom_css .='}';
	}
	
	//Social icon color
	$storefront_ecommerce_social_icon_color = get_theme_mod('storefront_ecommerce_social_icon_color');
	$storefront_ecommerce_custom_css .='.social-icon i{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_social_icon_color).' !important;';
	$storefront_ecommerce_custom_css .='}'; 	

	/*------------- Back to Top  -------------------*/
	$storefront_ecommerce_back_to_top_border_radius = get_theme_mod('storefront_ecommerce_back_to_top_border_radius');
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_back_to_top_border_radius).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_scroll_icon_font_size = get_theme_mod('storefront_ecommerce_scroll_icon_font_size', 22);
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_scroll_icon_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// back to top icon color
	$storefront_ecommerce_scroll_icon_color = get_theme_mod('storefront_ecommerce_scroll_icon_color');
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_scroll_icon_color).';';
	$storefront_ecommerce_custom_css .='}';

	// back to top icon hover color
	$storefront_ecommerce_scroll_icon_hover_color = get_theme_mod('storefront_ecommerce_scroll_icon_hover_color');
	$storefront_ecommerce_custom_css .='#scrollbutton:hover {';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_scroll_icon_hover_color).';';
	$storefront_ecommerce_custom_css .='}';

	// back to top bg color
	$storefront_ecommerce_scroll_icon_background = get_theme_mod('storefront_ecommerce_scroll_icon_background');
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_scroll_icon_background).';';
		$storefront_ecommerce_custom_css .='border-color: '.esc_attr($storefront_ecommerce_scroll_icon_background).';';
	$storefront_ecommerce_custom_css .='}';

	// back to top bg hover color
	$storefront_ecommerce_scroll_icon_bg_hover = get_theme_mod('storefront_ecommerce_scroll_icon_bg_hover');
	$storefront_ecommerce_custom_css .='#scrollbutton:hover {';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_scroll_icon_bg_hover).';';
		$storefront_ecommerce_custom_css .='border-color: '.esc_attr($storefront_ecommerce_scroll_icon_bg_hover).';';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_top_bottom_scroll_padding = get_theme_mod('storefront_ecommerce_top_bottom_scroll_padding', 7);
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($storefront_ecommerce_top_bottom_scroll_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_left_right_scroll_padding = get_theme_mod('storefront_ecommerce_left_right_scroll_padding', 17);
	$storefront_ecommerce_custom_css .='#scrollbutton {';
		$storefront_ecommerce_custom_css .='padding-left: '.esc_attr($storefront_ecommerce_left_right_scroll_padding).'px; padding-right: '.esc_attr($storefront_ecommerce_left_right_scroll_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	//First Cap
	$storefront_ecommerce_show_first_caps = get_theme_mod('storefront_ecommerce_show_first_caps', 'false');
	if($storefront_ecommerce_show_first_caps == 'true' ){
	$storefront_ecommerce_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter{';
	$storefront_ecommerce_custom_css .=' font-size: 55px; font-weight: 600;';
	$storefront_ecommerce_custom_css .=' margin-right: 6px;';
	$storefront_ecommerce_custom_css .=' line-height: 1;';
	$storefront_ecommerce_custom_css .='}';
	}elseif($storefront_ecommerce_show_first_caps == 'false' ){
	$storefront_ecommerce_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter {';
	$storefront_ecommerce_custom_css .='display: none;';
	$storefront_ecommerce_custom_css .='}';
	}

	/*-------------- Post Button  -------------------*/

	$storefront_ecommerce_btn_font_size_option = get_theme_mod('storefront_ecommerce_btn_font_size_option');
	$storefront_ecommerce_custom_css .='.postbtn a{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_btn_font_size_option).'px !important;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_post_button_padding_top = get_theme_mod('storefront_ecommerce_post_button_padding_top');
	$storefront_ecommerce_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_post_button_padding_top).'px; padding-bottom: '.esc_attr($storefront_ecommerce_post_button_padding_top).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_post_button_padding_right = get_theme_mod('storefront_ecommerce_post_button_padding_right');
	$storefront_ecommerce_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$storefront_ecommerce_custom_css .='padding-left: '.esc_attr($storefront_ecommerce_post_button_padding_right).'px; padding-right: '.esc_attr($storefront_ecommerce_post_button_padding_right).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_post_button_border_radius = get_theme_mod('storefront_ecommerce_post_button_border_radius');
	$storefront_ecommerce_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_post_button_border_radius).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_post_comment_enable = get_theme_mod('storefront_ecommerce_post_comment_enable',true);
	if($storefront_ecommerce_post_comment_enable == false){
		$storefront_ecommerce_custom_css .='#comments{';
			$storefront_ecommerce_custom_css .='display: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	// preloader background image
	$storefront_ecommerce_preloader_bg_image = get_theme_mod('storefront_ecommerce_preloader_bg_image');
	if($storefront_ecommerce_preloader_bg_image != false){
		$storefront_ecommerce_custom_css .='.frame{';
			$storefront_ecommerce_custom_css .='background: url('.esc_attr($storefront_ecommerce_preloader_bg_image).'); background-size: cover;';
		$storefront_ecommerce_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$storefront_ecommerce_preloader_bg_color_option = get_theme_mod('storefront_ecommerce_preloader_bg_color_option');
	$storefront_ecommerce_preloader_icon_color_option = get_theme_mod('storefront_ecommerce_preloader_icon_color_option');
	$storefront_ecommerce_custom_css .='.frame{';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_preloader_bg_color_option).';';
	$storefront_ecommerce_custom_css .='}';
	$storefront_ecommerce_custom_css .='.dot-1,.dot-2,.dot-3{';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_preloader_icon_color_option).';';
	$storefront_ecommerce_custom_css .='}';

	// preloader type
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_preloader_type','First Preloader Type');
    if($storefront_ecommerce_theme_lay == 'First Preloader Type'){
		$storefront_ecommerce_custom_css .='.dot-1, .dot-2, .dot-3{';
			$storefront_ecommerce_custom_css .='';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Second Preloader Type'){
		$storefront_ecommerce_custom_css .='.dot-1, .dot-2, .dot-3{';
			$storefront_ecommerce_custom_css .='border-radius:0;';
		$storefront_ecommerce_custom_css .='}';
	}

	/*------------------ Skin Option  -------------------*/
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_background_skin','Without Background');
    if($storefront_ecommerce_theme_lay == 'With Background'){
		$storefront_ecommerce_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$storefront_ecommerce_custom_css .='background-color: #fff; padding:20px;';
		$storefront_ecommerce_custom_css .='}';
		$storefront_ecommerce_custom_css .='.login-box a{';
			$storefront_ecommerce_custom_css .='background-color: #fff;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Without Background'){
		$storefront_ecommerce_custom_css .='{';
			$storefront_ecommerce_custom_css .='background-color: transparent;';
		$storefront_ecommerce_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$storefront_ecommerce_woocommerce_button_padding_top = get_theme_mod('storefront_ecommerce_woocommerce_button_padding_top',12);
	$storefront_ecommerce_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($storefront_ecommerce_woocommerce_button_padding_top).'px;';
	$storefront_ecommerce_custom_css .='}';
	

	$storefront_ecommerce_woocommerce_button_padding_right = get_theme_mod('storefront_ecommerce_woocommerce_button_padding_right',15);
	$storefront_ecommerce_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$storefront_ecommerce_custom_css .='padding-left: '.esc_attr($storefront_ecommerce_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($storefront_ecommerce_woocommerce_button_padding_right).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woocommerce_button_border_radius = get_theme_mod('storefront_ecommerce_woocommerce_button_border_radius',0);
	$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.added_to_cart{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_woocommerce_button_border_radius).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_related_product_enable = get_theme_mod('storefront_ecommerce_related_product_enable',true);
	if($storefront_ecommerce_related_product_enable == false){
		$storefront_ecommerce_custom_css .='.related.products{';
			$storefront_ecommerce_custom_css .='display: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_woocommerce_product_border_enable = get_theme_mod('storefront_ecommerce_woocommerce_product_border_enable',true);
	if($storefront_ecommerce_woocommerce_product_border_enable == false){
		$storefront_ecommerce_custom_css .='.products li{';
			$storefront_ecommerce_custom_css .='border: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_woocommerce_product_padding_top = get_theme_mod('storefront_ecommerce_woocommerce_product_padding_top',0);
	$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($storefront_ecommerce_woocommerce_product_padding_top).'px !important;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woocommerce_product_padding_right = get_theme_mod('storefront_ecommerce_woocommerce_product_padding_right',0);
	$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$storefront_ecommerce_custom_css .='padding-left: '.esc_attr($storefront_ecommerce_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($storefront_ecommerce_woocommerce_product_padding_right).'px !important;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woocommerce_product_border_radius = get_theme_mod('storefront_ecommerce_woocommerce_product_border_radius',3);
	$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_woocommerce_product_border_radius).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woocommerce_product_box_shadow = get_theme_mod('storefront_ecommerce_woocommerce_product_box_shadow', 0);
	$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$storefront_ecommerce_custom_css .='box-shadow: '.esc_attr($storefront_ecommerce_woocommerce_product_box_shadow).'px '.esc_attr($storefront_ecommerce_woocommerce_product_box_shadow).'px '.esc_attr($storefront_ecommerce_woocommerce_product_box_shadow).'px #ddd;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woo_product_sale_top_bottom_padding = get_theme_mod('storefront_ecommerce_woo_product_sale_top_bottom_padding', 0);
	$storefront_ecommerce_woo_product_sale_left_right_padding = get_theme_mod('storefront_ecommerce_woo_product_sale_left_right_padding', 0);
	$storefront_ecommerce_custom_css .='.woocommerce span.onsale{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($storefront_ecommerce_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($storefront_ecommerce_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($storefront_ecommerce_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woo_product_sale_border_radius = get_theme_mod('storefront_ecommerce_woo_product_sale_border_radius',0);
	$storefront_ecommerce_custom_css .='.woocommerce span.onsale {';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_woo_product_sale_border_radius).'px;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_woo_product_sale_position = get_theme_mod('storefront_ecommerce_woo_product_sale_position', 'Right');
	if($storefront_ecommerce_woo_product_sale_position == 'Right' ){
		$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product .onsale{';
			$storefront_ecommerce_custom_css .=' left:auto; right:0;';
		$storefront_ecommerce_custom_css .='}';
	}elseif($storefront_ecommerce_woo_product_sale_position == 'Left' ){
		$storefront_ecommerce_custom_css .='.woocommerce ul.products li.product .onsale{';
			$storefront_ecommerce_custom_css .=' left:0; right:auto;';
		$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_wooproduct_sale_font_size = get_theme_mod('storefront_ecommerce_wooproduct_sale_font_size',14);
	$storefront_ecommerce_custom_css .='.woocommerce span.onsale{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_wooproduct_sale_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// Responsive Media
	$storefront_ecommerce_post_date = get_theme_mod( 'storefront_ecommerce_display_post_date',true);
	if($storefront_ecommerce_post_date == true && get_theme_mod( 'storefront_ecommerce_metafields_date',true) != true){
    	$storefront_ecommerce_custom_css .='.metabox .entry-date{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_post_date == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.metabox .entry-date{';
			$storefront_ecommerce_custom_css .='display:inline-block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_post_date == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.metabox .entry-date{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_post_author = get_theme_mod( 'storefront_ecommerce_display_post_author',true);
	if($storefront_ecommerce_post_author == true && get_theme_mod( 'storefront_ecommerce_metafields_author',true) != true){
    	$storefront_ecommerce_custom_css .='.metabox .entry-author{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_post_author == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.metabox .entry-author{';
			$storefront_ecommerce_custom_css .='display:inline-block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_post_author == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.metabox .entry-author{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_post_comment = get_theme_mod( 'storefront_ecommerce_display_post_comment',true);
	if($storefront_ecommerce_post_comment == true && get_theme_mod( 'storefront_ecommerce_metafields_comment',true) != true){
    	$storefront_ecommerce_custom_css .='.metabox .entry-comments{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_post_comment == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.metabox .entry-comments{';
			$storefront_ecommerce_custom_css .='display:inline-block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_post_comment == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.metabox .entry-comments{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_post_time = get_theme_mod( 'storefront_ecommerce_display_post_time',true);
	if($storefront_ecommerce_post_time == true && get_theme_mod( 'storefront_ecommerce_metafields_time',true) != true){
    	$storefront_ecommerce_custom_css .='.metabox .entry-time{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_post_time == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.metabox .entry-time{';
			$storefront_ecommerce_custom_css .='display:inline-block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_post_time == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.metabox .entry-time{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	if($storefront_ecommerce_post_date == false && $storefront_ecommerce_post_author == false && $storefront_ecommerce_post_comment == false && $storefront_ecommerce_post_time == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
    	$storefront_ecommerce_custom_css .='.metabox {';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_metafields_date = get_theme_mod( 'storefront_ecommerce_metafields_date',true);
	$storefront_ecommerce_metafields_author = get_theme_mod( 'storefront_ecommerce_metafields_author',true);
	$storefront_ecommerce_metafields_comment = get_theme_mod( 'storefront_ecommerce_metafields_comment',true);
	$storefront_ecommerce_metafields_time = get_theme_mod( 'storefront_ecommerce_metafields_time',true);
	if($storefront_ecommerce_metafields_date == false && $storefront_ecommerce_metafields_author == false && $storefront_ecommerce_metafields_comment == false && $storefront_ecommerce_metafields_time == false){
		$storefront_ecommerce_custom_css .='@media screen and (min-width:576px) {';
    	$storefront_ecommerce_custom_css .='.metabox {';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_slider = get_theme_mod( 'storefront_ecommerce_display_slider',true);
	if($storefront_ecommerce_slider == false && get_theme_mod( 'storefront_ecommerce_slider_hide', false) == false){
    	$storefront_ecommerce_custom_css .='#slider{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_slider == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='#slider{';
			$storefront_ecommerce_custom_css .='display:block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_slider == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='#slider{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	// slider overlay
	$storefront_ecommerce_enable_slider_overlay = get_theme_mod('storefront_ecommerce_enable_slider_overlay', true);
	if($storefront_ecommerce_enable_slider_overlay == false){
		$storefront_ecommerce_custom_css .='#slider img{';
			$storefront_ecommerce_custom_css .='opacity:1;';
		$storefront_ecommerce_custom_css .='}';
	} 
	$storefront_ecommerce_slider_overlay_color = get_theme_mod('storefront_ecommerce_slider_overlay_color', true);
	if($storefront_ecommerce_enable_slider_overlay != false){
		$storefront_ecommerce_custom_css .='#slider{';
			$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_slider_overlay_color).';';
		$storefront_ecommerce_custom_css .='}';
	}

	/*------------ Slider Opacity -------------------*/
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_slider_opacity','0.7');
	if($storefront_ecommerce_theme_lay == '0'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.1'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.1';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.2'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.2';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.3'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.3';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.4'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.4';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.5'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.5';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.6'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.6';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.7'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.7';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.8'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.8';
	$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == '0.9'){
	$storefront_ecommerce_custom_css .='#slider .slider-bg img{';
		$storefront_ecommerce_custom_css .='opacity:0.9';
	$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_sidebar = get_theme_mod( 'storefront_ecommerce_display_sidebar',true);
    if($storefront_ecommerce_sidebar == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='#sidebar{';
			$storefront_ecommerce_custom_css .='display:block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_sidebar == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='#sidebar{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_scroll = get_theme_mod( 'storefront_ecommerce_display_scrolltop',true);
	if($storefront_ecommerce_scroll == true && get_theme_mod( 'storefront_ecommerce_hide_show_scroll',true) != true){
    	$storefront_ecommerce_custom_css .='#scrollbutton {';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_scroll == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='#scrollbutton {';
			$storefront_ecommerce_custom_css .='display:block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_scroll == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='#scrollbutton {';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_preloader = get_theme_mod( 'storefront_ecommerce_display_preloader',false);
	if($storefront_ecommerce_preloader == true && get_theme_mod( 'storefront_ecommerce_preloader',false) == false){
		$storefront_ecommerce_custom_css .='@media screen and (min-width:575px) {';
    	$storefront_ecommerce_custom_css .='.frame{';
			$storefront_ecommerce_custom_css .=' visibility: hidden;';
		$storefront_ecommerce_custom_css .='} }';
	}
    if($storefront_ecommerce_preloader == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.frame{';
			$storefront_ecommerce_custom_css .='visibility:visible;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_preloader == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.frame{';
			$storefront_ecommerce_custom_css .='visibility: hidden;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_search = get_theme_mod( 'storefront_ecommerce_display_search_category',true);
	if($storefront_ecommerce_search == true && get_theme_mod( 'storefront_ecommerce_search_enable_disable',true) != true){
    	$storefront_ecommerce_custom_css .='.search-cat-box{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_search == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.search-cat-box{';
			$storefront_ecommerce_custom_css .='display:block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_search == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.search-cat-box{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	$storefront_ecommerce_myaccount = get_theme_mod( 'storefront_ecommerce_display_myaccount',true);
	if($storefront_ecommerce_myaccount == true && get_theme_mod( 'storefront_ecommerce_myaccount_enable_disable',true) != true){
    	$storefront_ecommerce_custom_css .='.login-box{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_myaccount == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.login-box{';
			$storefront_ecommerce_custom_css .='display:block;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_myaccount == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.login-box{';
			$storefront_ecommerce_custom_css .='display:none;';
		$storefront_ecommerce_custom_css .='} }';
	}

	// menu settings
	$storefront_ecommerce_menu_font_size_option = get_theme_mod('storefront_ecommerce_menu_font_size_option');
	$storefront_ecommerce_custom_css .='.primary-navigation ul li a{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_menu_font_size_option).'px;';
	$storefront_ecommerce_custom_css .='}';

	// menu top-bottom padding
	$storefront_ecommerce_menu_top_bottom_padding = get_theme_mod('storefront_ecommerce_menu_top_bottom_padding');
	$storefront_ecommerce_custom_css .='.primary-navigation ul li a{';
		$storefront_ecommerce_custom_css .='padding-top: '.esc_attr($storefront_ecommerce_menu_top_bottom_padding).'px;';
		$storefront_ecommerce_custom_css .='padding-bottom: '.esc_attr($storefront_ecommerce_menu_top_bottom_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	// menu left-right padding
	$storefront_ecommerce_menu_left_right_padding = get_theme_mod('storefront_ecommerce_menu_left_right_padding');
	$storefront_ecommerce_custom_css .='.primary-navigation ul li a{';
		$storefront_ecommerce_custom_css .='padding-left: '.esc_attr($storefront_ecommerce_menu_left_right_padding).'px;';
		$storefront_ecommerce_custom_css .='padding-right: '.esc_attr($storefront_ecommerce_menu_left_right_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	// Menu Text Transform
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_text_tranform_menu','Uppercase');
    if($storefront_ecommerce_theme_lay == 'Uppercase'){
		$storefront_ecommerce_custom_css .='.primary-navigation a{';
			$storefront_ecommerce_custom_css .='text-transform: uppercase;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Lowercase'){
		$storefront_ecommerce_custom_css .='.primary-navigation a{';
			$storefront_ecommerce_custom_css .='text-transform: lowercase;';
		$storefront_ecommerce_custom_css .='}';
	}
	else if($storefront_ecommerce_theme_lay == 'Capitalize'){
		$storefront_ecommerce_custom_css .='.primary-navigation a{';
			$storefront_ecommerce_custom_css .='text-transform: capitalize;';
		$storefront_ecommerce_custom_css .='}';
	}

	// menu font weight
	$storefront_ecommerce_font_weight_option_menu = get_theme_mod( 'storefront_ecommerce_font_weight_option_menu','600');
	if($storefront_ecommerce_font_weight_option_menu != ''){
		$storefront_ecommerce_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$storefront_ecommerce_custom_css .='font-weight: '.esc_attr($storefront_ecommerce_font_weight_option_menu).';';
		$storefront_ecommerce_custom_css .='}';
	}

	//  comment form width
	$storefront_ecommerce_comment_form_width = get_theme_mod( 'storefront_ecommerce_comment_form_width');
	$storefront_ecommerce_custom_css .='#comments textarea{';
		$storefront_ecommerce_custom_css .='width: '.esc_attr($storefront_ecommerce_comment_form_width).'%;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_title_comment_form = get_theme_mod('storefront_ecommerce_title_comment_form', 'Leave a Reply');
	if($storefront_ecommerce_title_comment_form == ''){
		$storefront_ecommerce_custom_css .='#comments h2#reply-title {';
			$storefront_ecommerce_custom_css .='display: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	$storefront_ecommerce_comment_form_button_content = get_theme_mod('storefront_ecommerce_comment_form_button_content', 'Post Comment');
	if($storefront_ecommerce_comment_form_button_content == ''){
		$storefront_ecommerce_custom_css .='#comments p.form-submit {';
			$storefront_ecommerce_custom_css .='display: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	// featured image setting
	$storefront_ecommerce_image_border_radius = get_theme_mod('storefront_ecommerce_image_border_radius', 0);
	$storefront_ecommerce_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_image_border_radius).'%;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_image_box_shadow = get_theme_mod('storefront_ecommerce_image_box_shadow',0);
	$storefront_ecommerce_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$storefront_ecommerce_custom_css .='box-shadow: '.esc_attr($storefront_ecommerce_image_box_shadow).'px '.esc_attr($storefront_ecommerce_image_box_shadow).'px '.esc_attr($storefront_ecommerce_image_box_shadow).'px #b5b5b5;';
	$storefront_ecommerce_custom_css .='}';

	// blog post Pagination Alignment
	$storefront_ecommerce_post_pagination_alignment = get_theme_mod( 'storefront_ecommerce_post_pagination_option','Left');
	if($storefront_ecommerce_post_pagination_alignment == 'Left'){
		$storefront_ecommerce_custom_css .='.navigation nav.pagination{';
			$storefront_ecommerce_custom_css .='justify-content: left;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_post_pagination_alignment == 'Center'){
		$storefront_ecommerce_custom_css .='.navigation nav.pagination{';
			$storefront_ecommerce_custom_css .='justify-content: center;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_post_pagination_alignment == 'Right'){
		$storefront_ecommerce_custom_css .='.navigation nav.pagination{';
			$storefront_ecommerce_custom_css .='justify-content: right;';
		$storefront_ecommerce_custom_css .='}';
	}

	// grid post image setting
	$storefront_ecommerce_grid_image_border_radius = get_theme_mod('storefront_ecommerce_grid_image_border_radius', 0);
	$storefront_ecommerce_custom_css .='.gridbox .box-image img{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_grid_image_border_radius).'%;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_grid_image_box_shadow = get_theme_mod('storefront_ecommerce_grid_image_box_shadow',0);
	$storefront_ecommerce_custom_css .='.gridbox .box-image img{';
		$storefront_ecommerce_custom_css .='box-shadow: '.esc_attr($storefront_ecommerce_grid_image_box_shadow).'px '.esc_attr($storefront_ecommerce_grid_image_box_shadow).'px '.esc_attr($storefront_ecommerce_grid_image_box_shadow).'px #b5b5b5;';
	$storefront_ecommerce_custom_css .='}';

	// single featured image setting
	$storefront_ecommerce_single_image_border_radius = get_theme_mod('storefront_ecommerce_single_image_border_radius', 0);
	$storefront_ecommerce_custom_css .='.feature-box img{';
		$storefront_ecommerce_custom_css .='border-radius: '.esc_attr($storefront_ecommerce_single_image_border_radius).'%;';
	$storefront_ecommerce_custom_css .='}';

	$storefront_ecommerce_single_image_box_shadow = get_theme_mod('storefront_ecommerce_single_image_box_shadow',0);
	$storefront_ecommerce_custom_css .='.feature-box img{';
		$storefront_ecommerce_custom_css .='box-shadow: '.esc_attr($storefront_ecommerce_single_image_box_shadow).'px '.esc_attr($storefront_ecommerce_single_image_box_shadow).'px '.esc_attr($storefront_ecommerce_single_image_box_shadow).'px #b5b5b5;';
	$storefront_ecommerce_custom_css .='}';

	// single featured image dimention
	$storefront_ecommerce_single_post_featured_image_dimention = get_theme_mod('storefront_ecommerce_single_post_featured_image_dimention', 'Default');
	$storefront_ecommerce_single_post_featured_image_custom_width = get_theme_mod('storefront_ecommerce_single_post_featured_image_custom_width');
	$storefront_ecommerce_single_post_featured_image_custom_height = get_theme_mod('storefront_ecommerce_single_post_featured_image_custom_height');
	if($storefront_ecommerce_single_post_featured_image_dimention == 'Custom'){
		$storefront_ecommerce_custom_css .='.single-post-page .feature-box img{';
			$storefront_ecommerce_custom_css .='width: '.esc_attr($storefront_ecommerce_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($storefront_ecommerce_single_post_featured_image_custom_height).'px!important;';
		$storefront_ecommerce_custom_css .='}';
	}

	// category color
	$storefront_ecommerce_category_color = get_theme_mod('storefront_ecommerce_category_color');
	$storefront_ecommerce_custom_css .='.type-post .category ul li a{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_category_color).';';
	$storefront_ecommerce_custom_css .='}';

	// category hover color
	$storefront_ecommerce_category_hover_color = get_theme_mod('storefront_ecommerce_category_hover_color');
	$storefront_ecommerce_custom_css .='.type-post .category ul li a:hover{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_category_hover_color).';';
	$storefront_ecommerce_custom_css .='}';

	// Button Text Transform
	$storefront_ecommerce_theme_lay = get_theme_mod( 'storefront_ecommerce_transform_button_text','Capitalize');
    if($storefront_ecommerce_theme_lay == 'Uppercase'){
		$storefront_ecommerce_custom_css .='.postbtn a{';
			$storefront_ecommerce_custom_css .='text-transform: uppercase;';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_theme_lay == 'Lowercase'){
		$storefront_ecommerce_custom_css .='.postbtn a{';
			$storefront_ecommerce_custom_css .='text-transform: lowercase;';
		$storefront_ecommerce_custom_css .='}';
	}
	else if($storefront_ecommerce_theme_lay == 'Capitalize'){
		$storefront_ecommerce_custom_css .='.postbtn a{';
			$storefront_ecommerce_custom_css .='text-transform: capitalize;';
		$storefront_ecommerce_custom_css .='}';
	}

	// button font weight
	$storefront_ecommerce_button_font_weight = get_theme_mod( 'storefront_ecommerce_button_font_weight','500');
	if($storefront_ecommerce_button_font_weight != ''){
		$storefront_ecommerce_custom_css .='.postbtn a{';
			$storefront_ecommerce_custom_css .='font-weight: '.esc_attr($storefront_ecommerce_button_font_weight).';';
		$storefront_ecommerce_custom_css .='}';
	}

	//Button hover effect
	$storefront_ecommerce_button_hover_effect = get_theme_mod('storefront_ecommerce_button_hover_effect', 'disable');
	if ($storefront_ecommerce_button_hover_effect !== 'disable') {
		$storefront_ecommerce_custom_css .= '.postbtn a:hover {';
		switch ($storefront_ecommerce_button_hover_effect) {
			case 'pulse':
				$storefront_ecommerce_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$storefront_ecommerce_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$storefront_ecommerce_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$storefront_ecommerce_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$storefront_ecommerce_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$storefront_ecommerce_custom_css .= '}';
	}

	//keyframes for all animations
	$storefront_ecommerce_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	// button letter spacing
	$storefront_ecommerce_button_letter_spacing = get_theme_mod('storefront_ecommerce_button_letter_spacing', '0');
	$storefront_ecommerce_custom_css .='.postbtn a {';
		$storefront_ecommerce_custom_css .='letter-spacing: '.esc_attr($storefront_ecommerce_button_letter_spacing).'px;';
	$storefront_ecommerce_custom_css .='}';		

	//Button Shape
	$storefront_ecommerce_btn_shape = get_theme_mod('storefront_ecommerce_btn_shape', 'Square');
	if($storefront_ecommerce_btn_shape == 'Square' ){
		$storefront_ecommerce_custom_css .='.inner-service .mainbox .postbtn a{';
			$storefront_ecommerce_custom_css .=' border-radius: 0';
		$storefront_ecommerce_custom_css .='}';
	}elseif($storefront_ecommerce_btn_shape == 'Round' ){
		$storefront_ecommerce_custom_css .='.inner-service .mainbox .postbtn a{';
			$storefront_ecommerce_custom_css .=' border-radius: .3em';
		$storefront_ecommerce_custom_css .='}';
	}elseif($storefront_ecommerce_btn_shape == 'Pill' ){
		$storefront_ecommerce_custom_css .='.inner-service .mainbox .postbtn a{';
			$storefront_ecommerce_custom_css .=' border-radius: 2em;';
		$storefront_ecommerce_custom_css .='}';
	}

	// Post Block
	$storefront_ecommerce_post_block_option = get_theme_mod( 'storefront_ecommerce_post_block_option','By Block');
    if($storefront_ecommerce_post_block_option == 'By Without Block'){
		$storefront_ecommerce_custom_css .='.related-inner-box, .mainbox-post, .layout2 .mainbox, .layout1.mainbox,.layout3.mainbox, .post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery{';
			$storefront_ecommerce_custom_css .='border:none; margin:30px 0;';
		$storefront_ecommerce_custom_css .='}';
	}

	//Grid Post Block
	$storefront_ecommerce_grid_post_block_option = get_theme_mod( 'storefront_ecommerce_grid_post_block_option','By Block');
    if($storefront_ecommerce_grid_post_block_option == 'By Without Block'){
		$storefront_ecommerce_custom_css .='.inner-service .gridbox {';
			$storefront_ecommerce_custom_css .='border:none; margin:30px 0;';
		$storefront_ecommerce_custom_css .='}';
	}

	// post image 
	$storefront_ecommerce_post_featured_color = get_theme_mod('storefront_ecommerce_post_featured_color', '#5c727d');
	$storefront_ecommerce_post_featured_image = get_theme_mod('storefront_ecommerce_post_featured_image','Image');
	if($storefront_ecommerce_post_featured_image == 'Color'){
		$storefront_ecommerce_custom_css .='.post-color{';
			$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_post_featured_color).';';
		$storefront_ecommerce_custom_css .='}';
	}

	// featured image dimention
	$storefront_ecommerce_post_featured_image_dimention = get_theme_mod('storefront_ecommerce_post_featured_image_dimention', 'Default');
	$storefront_ecommerce_post_featured_image_custom_width = get_theme_mod('storefront_ecommerce_post_featured_image_custom_width');
	$storefront_ecommerce_post_featured_image_custom_height = get_theme_mod('storefront_ecommerce_post_featured_image_custom_height');
	if($storefront_ecommerce_post_featured_image_dimention == 'Custom'){
		$storefront_ecommerce_custom_css .='.box-image img{';
			$storefront_ecommerce_custom_css .='width: '.esc_attr($storefront_ecommerce_post_featured_image_custom_width).'px; height: '.esc_attr($storefront_ecommerce_post_featured_image_custom_height).'px;';
		$storefront_ecommerce_custom_css .='}';
	}

	// featured image dimention
	$storefront_ecommerce_custom_post_color_width = get_theme_mod('storefront_ecommerce_custom_post_color_width');
	$storefront_ecommerce_custom_post_color_height = get_theme_mod('storefront_ecommerce_custom_post_color_height');
	if($storefront_ecommerce_post_featured_image == 'Color'){
		$storefront_ecommerce_custom_css .='.post-color{';
			$storefront_ecommerce_custom_css .='width: '.esc_attr($storefront_ecommerce_custom_post_color_width).'px; height: '.esc_attr($storefront_ecommerce_custom_post_color_height).'px;';
		$storefront_ecommerce_custom_css .='}';
	}

	// site title font size
	$storefront_ecommerce_site_title_font_size = get_theme_mod('storefront_ecommerce_site_title_font_size', 25);
	$storefront_ecommerce_custom_css .='.logo .site-title{';
	$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_site_title_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// site logo padding 
	$storefront_ecommerce_logo_padding = get_theme_mod('storefront_ecommerce_logo_padding', '');
	$storefront_ecommerce_custom_css .='.logo{';
	$storefront_ecommerce_custom_css .='padding: '.esc_attr($storefront_ecommerce_logo_padding).'px;';
	$storefront_ecommerce_custom_css .='}';

	// site tagline font size
	$storefront_ecommerce_site_tagline_font_size = get_theme_mod('storefront_ecommerce_site_tagline_font_size', 13);
	$storefront_ecommerce_custom_css .='p.site-description{';
	$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_site_tagline_font_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// woocommerce Product Navigation
	$storefront_ecommerce_wooproducts_nav = get_theme_mod('storefront_ecommerce_wooproducts_nav', 'Yes');
	if($storefront_ecommerce_wooproducts_nav == 'No'){
		$storefront_ecommerce_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$storefront_ecommerce_custom_css .='display: none;';
		$storefront_ecommerce_custom_css .='}';
	}

	// Header Contact Icons Font Size
    $storefront_ecommerce_header_icons_size = get_theme_mod('storefront_ecommerce_header_icons_size', '16');
    $storefront_ecommerce_custom_css .='.woo-icons a i{';
        $storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_header_icons_size).'px;';
    $storefront_ecommerce_custom_css .='}'; 

	// social icons font size
	$storefront_ecommerce_social_icons_size = get_theme_mod('storefront_ecommerce_social_icons_size', 15);
	$storefront_ecommerce_custom_css .='.social-icon i{';
		$storefront_ecommerce_custom_css .='font-size: '.esc_attr($storefront_ecommerce_social_icons_size).'px;';
	$storefront_ecommerce_custom_css .='}';

	// site title color
	$storefront_ecommerce_site_title_color = get_theme_mod('storefront_ecommerce_site_title_color');
	$storefront_ecommerce_custom_css .='.site-title a{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_site_title_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	// site tagline color
	$storefront_ecommerce_site_tagline_color = get_theme_mod('storefront_ecommerce_site_tagline_color');
	$storefront_ecommerce_custom_css .='.site-description{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_site_tagline_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	// site toggle button color
	$storefront_ecommerce_toggle_button_color = get_theme_mod('storefront_ecommerce_toggle_button_color');
	$storefront_ecommerce_custom_css .='.toggle-menu i{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_toggle_button_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	//Copyright text color
	$storefront_ecommerce_copyright_text_color = get_theme_mod('storefront_ecommerce_copyright_text_color');
	$storefront_ecommerce_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
		$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_copyright_text_color).';';
	$storefront_ecommerce_custom_css .='}';

	//Copyright background css
	$storefront_ecommerce_copyright_text_background = get_theme_mod('storefront_ecommerce_copyright_text_background');
	$storefront_ecommerce_custom_css .='.copyright-wrapper{';
		$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_copyright_text_background).';';
	$storefront_ecommerce_custom_css .='}';

	// Menu Item Hover Style	
	$storefront_ecommerce_menus_item = get_theme_mod( 'storefront_ecommerce_menus_item_style','None');
    if($storefront_ecommerce_menus_item == 'None'){
		$storefront_ecommerce_custom_css .='.primary-navigation ul li a{';
			$storefront_ecommerce_custom_css .='';
		$storefront_ecommerce_custom_css .='}';
	}else if($storefront_ecommerce_menus_item == 'Zoom In'){
		$storefront_ecommerce_custom_css .='.primary-navigation ul li a:hover{';
			$storefront_ecommerce_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$storefront_ecommerce_custom_css .='}';
	}	

	// menu color
	$storefront_ecommerce_menu_color = get_theme_mod('storefront_ecommerce_menu_color');
	$storefront_ecommerce_custom_css .='.primary-navigation a, .primary-navigation ul li a, #site-navigation li a{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_menu_color).';';
	$storefront_ecommerce_custom_css .='}';

	// Sub menu color
	$storefront_ecommerce_sub_menu_color = get_theme_mod('storefront_ecommerce_sub_menu_color');
	$storefront_ecommerce_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a, #site-navigation ul.children li a, .primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_sub_menu_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	// menu hover color
	$storefront_ecommerce_menu_hover_color = get_theme_mod('storefront_ecommerce_menu_hover_color');
	$storefront_ecommerce_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover, #site-navigation ul.children li a:hover, #site-navigation li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_menu_hover_color).';';
	$storefront_ecommerce_custom_css .='}';

	// Sub menu hover color
	$storefront_ecommerce_sub_menu_hover_color = get_theme_mod('storefront_ecommerce_sub_menu_hover_color');
	$storefront_ecommerce_custom_css .='.primary-navigation ul.children li a:hover, #site-navigation ul.children li a:hover, .primary-navigation ul.sub-menu li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$storefront_ecommerce_custom_css .='color: '.esc_attr($storefront_ecommerce_sub_menu_hover_color).' !important;';
	$storefront_ecommerce_custom_css .='}';	

	// Sub menu bg color
	$storefront_ecommerce_sub_menu_bg_color = get_theme_mod('storefront_ecommerce_sub_menu_bg_color');
	$storefront_ecommerce_custom_css .='#site-navigation ul.children li a, #site-navigation ul.sub-menu li a{';
			$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_sub_menu_bg_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	// Sub menu bg hover color
	$storefront_ecommerce_sub_menu_bg_hover_color = get_theme_mod('storefront_ecommerce_sub_menu_bg_hover_color');
	$storefront_ecommerce_custom_css .='#site-navigation ul.children li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$storefront_ecommerce_custom_css .='background-color: '.esc_attr($storefront_ecommerce_sub_menu_bg_hover_color).' !important;';
	$storefront_ecommerce_custom_css .='}';

	// topbar padding option
	$storefront_ecommerce_topbar_padding_settings = get_theme_mod('storefront_ecommerce_topbar_padding_settings', 10);
		$storefront_ecommerce_custom_css .='.topbar{';
			$storefront_ecommerce_custom_css .='padding: '.esc_attr($storefront_ecommerce_topbar_padding_settings).'px !important;';
		$storefront_ecommerce_custom_css .='}';

	// site logo margin 
	$storefront_ecommerce_logo_margin = get_theme_mod('storefront_ecommerce_logo_margin', '');
	$storefront_ecommerce_custom_css .='.logo{';
	$storefront_ecommerce_custom_css .='margin: '.esc_attr($storefront_ecommerce_logo_margin).'px ;';
	$storefront_ecommerce_custom_css .='}';

	// Fixed Copyright
	$storefront_ecommerce_fixed_copyright = get_theme_mod( 'storefront_ecommerce_display_fixed_copyright',false);
	if($storefront_ecommerce_fixed_copyright == true && get_theme_mod( 'storefront_ecommerce_sticky_copyright',false) != true){
    	$storefront_ecommerce_custom_css .='.fixed-copyright{';
			$storefront_ecommerce_custom_css .='position:static;';
		$storefront_ecommerce_custom_css .='} ';
	}
    if($storefront_ecommerce_fixed_copyright == true){
    	$storefront_ecommerce_custom_css .='@media screen and (max-width:575px) {';
		$storefront_ecommerce_custom_css .='.fixed-copyright{';
			$storefront_ecommerce_custom_css .='position:fixed;';
		$storefront_ecommerce_custom_css .='} }';
	}else if($storefront_ecommerce_fixed_copyright == false){
		$storefront_ecommerce_custom_css .='@media screen and (max-width:575px){';
		$storefront_ecommerce_custom_css .='.fixed-copyright{';
			$storefront_ecommerce_custom_css .='position:static;';
		$storefront_ecommerce_custom_css .='} }';
	}

	// Hover effect on single post featured image (FIXED)

	$storefront_ecommerce_show_featured = get_theme_mod(
		'storefront_ecommerce_featured_image_hide_show',
		1
	);

	$storefront_ecommerce_hover_effect = get_theme_mod(
		'storefront_ecommerce_featured_image_hover',
		'none'
	);

	$storefront_ecommerce_hover_duration = get_theme_mod(
		'storefront_ecommerce_featured_image_hover_duration',
		0.4
	);

	if ( $storefront_ecommerce_show_featured && $storefront_ecommerce_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$storefront_ecommerce_custom_css .= '
		.storefront-ecommerce-featured-image{
			overflow: hidden;
		}
		.storefront-ecommerce-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $storefront_ecommerce_hover_duration ) . 's ease,
				filter ' . esc_attr( $storefront_ecommerce_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $storefront_ecommerce_hover_effect === 'zoom-in' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img:hover{
				transform: scale(1.2);
			}';
		}
 
		/* ZOOM OUT */
		if ( $storefront_ecommerce_hover_effect === 'zoom-out' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img{
				transform: scale(1.2);
			}
			.storefront-ecommerce-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $storefront_ecommerce_hover_effect === 'grayscale' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img{
				filter: grayscale(0%);
			}
			.storefront-ecommerce-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $storefront_ecommerce_hover_effect === 'sepia' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $storefront_ecommerce_hover_effect === 'blur' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $storefront_ecommerce_hover_effect === 'bright' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $storefront_ecommerce_hover_effect === 'translate' ) {
			$storefront_ecommerce_custom_css .= '
			.storefront-ecommerce-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
