<?php

	$shopping_cart_woocommerce_tp_theme_css = "";

$shopping_cart_woocommerce_theme_lay = get_theme_mod( 'shopping_cart_woocommerce_tp_body_layout_settings','Full');
if($shopping_cart_woocommerce_theme_lay == 'Container'){
$shopping_cart_woocommerce_tp_theme_css .='body{';
	$shopping_cart_woocommerce_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$shopping_cart_woocommerce_tp_theme_css .='}';
$shopping_cart_woocommerce_tp_theme_css .='@media screen and (max-width:575px){';
		$shopping_cart_woocommerce_tp_theme_css .='body{';
			$shopping_cart_woocommerce_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
		$shopping_cart_woocommerce_tp_theme_css .='} }';
$shopping_cart_woocommerce_tp_theme_css .='.page-template-front-page .menubar{';
	$shopping_cart_woocommerce_tp_theme_css .='position: static;';
$shopping_cart_woocommerce_tp_theme_css .='}';
$shopping_cart_woocommerce_tp_theme_css .='.scrolled{';
	$shopping_cart_woocommerce_tp_theme_css .='width: auto; left:0; right:0;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_theme_lay == 'Container Fluid'){
$shopping_cart_woocommerce_tp_theme_css .='body{';
	$shopping_cart_woocommerce_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$shopping_cart_woocommerce_tp_theme_css .='}';
$shopping_cart_woocommerce_tp_theme_css .='@media screen and (max-width:575px){';
		$shopping_cart_woocommerce_tp_theme_css .='body{';
			$shopping_cart_woocommerce_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
		$shopping_cart_woocommerce_tp_theme_css .='} }';
$shopping_cart_woocommerce_tp_theme_css .='.page-template-front-page .menubar{';
	$shopping_cart_woocommerce_tp_theme_css .='width: 99%';
$shopping_cart_woocommerce_tp_theme_css .='}';		
$shopping_cart_woocommerce_tp_theme_css .='.scrolled{';
	$shopping_cart_woocommerce_tp_theme_css .='width: auto; left:0; right:0;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_theme_lay == 'Full'){
$shopping_cart_woocommerce_tp_theme_css .='body{';
	$shopping_cart_woocommerce_tp_theme_css .='max-width: 100%;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_scroll_position = get_theme_mod( 'shopping_cart_woocommerce_scroll_top_position','Right');
if($shopping_cart_woocommerce_scroll_position == 'Right'){
$shopping_cart_woocommerce_tp_theme_css .='#return-to-top{';
    $shopping_cart_woocommerce_tp_theme_css .='right: 20px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_scroll_position == 'Left'){
$shopping_cart_woocommerce_tp_theme_css .='#return-to-top{';
    $shopping_cart_woocommerce_tp_theme_css .='left: 20px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_scroll_position == 'Center'){
$shopping_cart_woocommerce_tp_theme_css .='#return-to-top{';
    $shopping_cart_woocommerce_tp_theme_css .='right: 50%;left: 50%;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

    
//Social icon Font size
$shopping_cart_woocommerce_social_icon_fontsize = get_theme_mod('shopping_cart_woocommerce_social_icon_fontsize');
	$shopping_cart_woocommerce_tp_theme_css .='.media-links a i{';
$shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_social_icon_fontsize).'px;';
$shopping_cart_woocommerce_tp_theme_css .='}';

// site title font size option
$shopping_cart_woocommerce_site_title_font_size = get_theme_mod('shopping_cart_woocommerce_site_title_font_size', 25);{
$shopping_cart_woocommerce_tp_theme_css .='.logo h1 , .logo p a{';
	$shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_site_title_font_size).'px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

//site tagline font size option
$shopping_cart_woocommerce_site_tagline_font_size = get_theme_mod('shopping_cart_woocommerce_site_tagline_font_size', 15);{
$shopping_cart_woocommerce_tp_theme_css .='.logo p{';
	$shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_site_tagline_font_size).'px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

// related post
$shopping_cart_woocommerce_related_post_mob = get_theme_mod('shopping_cart_woocommerce_related_post_mob', true);
$shopping_cart_woocommerce_related_post = get_theme_mod('shopping_cart_woocommerce_remove_related_post', true);
$shopping_cart_woocommerce_tp_theme_css .= '.related-post-block {';
if ($shopping_cart_woocommerce_related_post == false) {
    $shopping_cart_woocommerce_tp_theme_css .= 'display: none;';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';
$shopping_cart_woocommerce_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($shopping_cart_woocommerce_related_post == false || $shopping_cart_woocommerce_related_post_mob == false) {
    $shopping_cart_woocommerce_tp_theme_css .= '.related-post-block { display: none; }';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';

// slider btn
$shopping_cart_woocommerce_slider_button_mob = get_theme_mod('shopping_cart_woocommerce_slider_button_mob', true);
$shopping_cart_woocommerce_slider_button = get_theme_mod('shopping_cart_woocommerce_slider_button', true);
$shopping_cart_woocommerce_tp_theme_css .= '#slider .more-btn {';
if ($shopping_cart_woocommerce_slider_button == false) {
    $shopping_cart_woocommerce_tp_theme_css .= 'display: none;';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';
$shopping_cart_woocommerce_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($shopping_cart_woocommerce_slider_button == false || $shopping_cart_woocommerce_slider_button_mob == false) {
    $shopping_cart_woocommerce_tp_theme_css .= '#slider .more-btn { display: none; }';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';

//return to header mobile				
$shopping_cart_woocommerce_return_to_header_mob = get_theme_mod('shopping_cart_woocommerce_return_to_header_mob', true);
$shopping_cart_woocommerce_return_to_header = get_theme_mod('shopping_cart_woocommerce_return_to_header', true);
$shopping_cart_woocommerce_tp_theme_css .= '.return-to-header{';
if ($shopping_cart_woocommerce_return_to_header == false) {
    $shopping_cart_woocommerce_tp_theme_css .= 'display: none;';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';
$shopping_cart_woocommerce_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($shopping_cart_woocommerce_return_to_header == false || $shopping_cart_woocommerce_return_to_header_mob == false) {
    $shopping_cart_woocommerce_tp_theme_css .= '.return-to-header{ display: none; }';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';

//blog description              
$shopping_cart_woocommerce_mobile_blog_description = get_theme_mod('shopping_cart_woocommerce_mobile_blog_description', true);
$shopping_cart_woocommerce_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($shopping_cart_woocommerce_mobile_blog_description == false) {
    $shopping_cart_woocommerce_tp_theme_css .= '.blog-description{ display: none; }';
}
$shopping_cart_woocommerce_tp_theme_css .= '}';

//footer image
$shopping_cart_woocommerce_footer_widget_image = get_theme_mod('shopping_cart_woocommerce_footer_widget_image');
if($shopping_cart_woocommerce_footer_widget_image != false){
$shopping_cart_woocommerce_tp_theme_css .='#footer{';
	$shopping_cart_woocommerce_tp_theme_css .='background: url('.esc_attr($shopping_cart_woocommerce_footer_widget_image).');';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

// related product
$shopping_cart_woocommerce_related_product = get_theme_mod('shopping_cart_woocommerce_related_product',true);
if($shopping_cart_woocommerce_related_product == false){
$shopping_cart_woocommerce_tp_theme_css .='.related.products{';
	$shopping_cart_woocommerce_tp_theme_css .='display: none;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

//menu font size
$shopping_cart_woocommerce_menu_font_size = get_theme_mod('shopping_cart_woocommerce_menu_font_size', 14);{
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a, .main-navigation li.page_item_has_children:after,.main-navigation li.menu-item-has-children:after{';
	$shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_menu_font_size).'px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

// menu text tranform
$shopping_cart_woocommerce_menu_text_tranform = get_theme_mod( 'shopping_cart_woocommerce_menu_text_tranform','Uppercase');
if($shopping_cart_woocommerce_menu_text_tranform == 'Uppercase'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a {';
	$shopping_cart_woocommerce_tp_theme_css .='text-transform: uppercase;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_text_tranform == 'Lowercase'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a {';
	$shopping_cart_woocommerce_tp_theme_css .='text-transform: lowercase;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}
else if($shopping_cart_woocommerce_menu_text_tranform == 'Capitalize'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a {';
	$shopping_cart_woocommerce_tp_theme_css .='text-transform: capitalize;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}
//======================= slider Content layout ===================== //

$shopping_cart_woocommerce_slider_content_layout = get_theme_mod('shopping_cart_woocommerce_slider_content_layout', 'CENTER-ALIGN'); 
$shopping_cart_woocommerce_tp_theme_css .= '#slider .carousel-caption{';
switch ($shopping_cart_woocommerce_slider_content_layout) {
    case 'LEFT-ALIGN':
        $shopping_cart_woocommerce_tp_theme_css .= 'text-align:left; left: 50%; right: 10%';
        break;
    case 'CENTER-ALIGN':
        $shopping_cart_woocommerce_tp_theme_css .= 'text-align:center; left: 50%; right: 10%';
        break;
    case 'RIGHT-ALIGN':
        $shopping_cart_woocommerce_tp_theme_css .= 'text-align:right; left: 50%; right: 10%';
        break;
    default:
        $shopping_cart_woocommerce_tp_theme_css .= 'text-align:left; left: 50%; right: 10%';
        break;
}
$shopping_cart_woocommerce_tp_theme_css .= '}';


// Sale Tag Position (Fixed variable name conflict)
$shopping_cart_woocommerce_sale_position = get_theme_mod( 'shopping_cart_woocommerce_sale_tag_position', 'right' );
if ( $shopping_cart_woocommerce_sale_position == 'right' ) {
    $shopping_cart_woocommerce_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $shopping_cart_woocommerce_tp_theme_css .= 'right: 25px !important; left: auto !important;';
    $shopping_cart_woocommerce_tp_theme_css .= '}';
} elseif ( $shopping_cart_woocommerce_sale_position == 'left' ) {
    $shopping_cart_woocommerce_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $shopping_cart_woocommerce_tp_theme_css .= 'left: 25px !important; right:auto !important;';
    $shopping_cart_woocommerce_tp_theme_css .= '}';
}

$shopping_cart_woocommerce_woocommerce_sale_font_size = get_theme_mod('shopping_cart_woocommerce_woocommerce_sale_font_size');
if($shopping_cart_woocommerce_woocommerce_sale_font_size != false){
    $shopping_cart_woocommerce_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_font_size).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_woocommerce_sale_padding_top_bottom = get_theme_mod('shopping_cart_woocommerce_woocommerce_sale_padding_top_bottom');
if($shopping_cart_woocommerce_woocommerce_sale_padding_top_bottom != false){
    $shopping_cart_woocommerce_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $shopping_cart_woocommerce_tp_theme_css .='padding-top: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_padding_top_bottom).'px; padding-bottom: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_padding_top_bottom).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_woocommerce_sale_padding_left_right = get_theme_mod('shopping_cart_woocommerce_woocommerce_sale_padding_left_right');
if($shopping_cart_woocommerce_woocommerce_sale_padding_left_right != false){
    $shopping_cart_woocommerce_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $shopping_cart_woocommerce_tp_theme_css .='padding-left: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_padding_left_right).'px !Important; padding-right: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_padding_left_right).'px !important;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_woocommerce_sale_border_radius = get_theme_mod('shopping_cart_woocommerce_woocommerce_sale_border_radius', 100);
if($shopping_cart_woocommerce_woocommerce_sale_border_radius != false){
    $shopping_cart_woocommerce_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $shopping_cart_woocommerce_tp_theme_css .='border-radius: '.esc_attr($shopping_cart_woocommerce_woocommerce_sale_border_radius).'% !important;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

//Font Weight
$shopping_cart_woocommerce_menu_font_weight = get_theme_mod( 'shopping_cart_woocommerce_menu_font_weight','400');
if($shopping_cart_woocommerce_menu_font_weight == '100'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 100;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '200'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 200;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '300'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 300;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '400'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 400;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '500'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 500;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '600'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 600;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '700'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 700;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '800'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 800;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_menu_font_weight == '900'){
$shopping_cart_woocommerce_tp_theme_css .='.main-navigation a{';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 900;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

/*------------- Blog Page------------------*/
$shopping_cart_woocommerce_post_image_round = get_theme_mod('shopping_cart_woocommerce_post_image_round', 0);
if($shopping_cart_woocommerce_post_image_round != false){
    $shopping_cart_woocommerce_tp_theme_css .='.blog .box-image img{';
        $shopping_cart_woocommerce_tp_theme_css .='border-radius: '.esc_attr($shopping_cart_woocommerce_post_image_round).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_post_image_width = get_theme_mod('shopping_cart_woocommerce_post_image_width', '');
if($shopping_cart_woocommerce_post_image_width != false){
    $shopping_cart_woocommerce_tp_theme_css .='.blog .box-image img{';
        $shopping_cart_woocommerce_tp_theme_css .='Width: '.esc_attr($shopping_cart_woocommerce_post_image_width).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

$shopping_cart_woocommerce_post_image_length = get_theme_mod('shopping_cart_woocommerce_post_image_length', '');
if($shopping_cart_woocommerce_post_image_length != false){
    $shopping_cart_woocommerce_tp_theme_css .='.blog .box-image img{';
        $shopping_cart_woocommerce_tp_theme_css .='height: '.esc_attr($shopping_cart_woocommerce_post_image_length).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

// footer widget title font size
    $shopping_cart_woocommerce_footer_widget_title_font_size = get_theme_mod('shopping_cart_woocommerce_footer_widget_title_font_size', '');{
    $shopping_cart_woocommerce_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
        $shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_footer_widget_title_font_size).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
    }

    // Copyright text font size
    $shopping_cart_woocommerce_footer_copyright_font_size = get_theme_mod('shopping_cart_woocommerce_footer_copyright_font_size', '');{
    $shopping_cart_woocommerce_tp_theme_css .='#footer .site-info p{';
        $shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_footer_copyright_font_size).'px;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
    }

    // copyright padding
    $shopping_cart_woocommerce_footer_copyright_top_bottom_padding = get_theme_mod('shopping_cart_woocommerce_footer_copyright_top_bottom_padding', '');
    if ($shopping_cart_woocommerce_footer_copyright_top_bottom_padding !== '') { 
        $shopping_cart_woocommerce_tp_theme_css .= '.site-info {';
        $shopping_cart_woocommerce_tp_theme_css .= 'padding-top: ' . esc_attr($shopping_cart_woocommerce_footer_copyright_top_bottom_padding) . 'px;';
        $shopping_cart_woocommerce_tp_theme_css .= 'padding-bottom: ' . esc_attr($shopping_cart_woocommerce_footer_copyright_top_bottom_padding) . 'px;';
        $shopping_cart_woocommerce_tp_theme_css .= '}';
    }

    // copyright position
    $shopping_cart_woocommerce_copyright_text_position = get_theme_mod( 'shopping_cart_woocommerce_copyright_text_position','Center');
    if($shopping_cart_woocommerce_copyright_text_position == 'Center'){
    $shopping_cart_woocommerce_tp_theme_css .='#footer .site-info p{';
    $shopping_cart_woocommerce_tp_theme_css .='text-align:center;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
    }else if($shopping_cart_woocommerce_copyright_text_position == 'Left'){
    $shopping_cart_woocommerce_tp_theme_css .='#footer .site-info p{';
    $shopping_cart_woocommerce_tp_theme_css .='text-align:left;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
    }else if($shopping_cart_woocommerce_copyright_text_position == 'Right'){
    $shopping_cart_woocommerce_tp_theme_css .='#footer .site-info p{';
    $shopping_cart_woocommerce_tp_theme_css .='text-align:right;';
    $shopping_cart_woocommerce_tp_theme_css .='}';
}

// Header Image title font size
$shopping_cart_woocommerce_header_image_title_font_size = get_theme_mod('shopping_cart_woocommerce_header_image_title_font_size', '32');{
$shopping_cart_woocommerce_tp_theme_css .='.box-text h2{';
    $shopping_cart_woocommerce_tp_theme_css .='font-size: '.esc_attr($shopping_cart_woocommerce_header_image_title_font_size).'px;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}


/*--------------------------- banner image Opacity -------------------*/
    $shopping_cart_woocommerce_theme_lay = get_theme_mod( 'shopping_cart_woocommerce_header_banner_opacity_color','0.5');
        if($shopping_cart_woocommerce_theme_lay == '0'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.1'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.1';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.2'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.2';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.3'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.3';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.4'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.4';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.5'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.5';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.6'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.6';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.7'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.7';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.8'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.8';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '0.9'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:0.9';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }else if($shopping_cart_woocommerce_theme_lay == '1'){
            $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
                $shopping_cart_woocommerce_tp_theme_css .='opacity:1';
            $shopping_cart_woocommerce_tp_theme_css .='}';
        }

    $shopping_cart_woocommerce_header_banner_image_overlay = get_theme_mod('shopping_cart_woocommerce_header_banner_image_overlay', true);
    if($shopping_cart_woocommerce_header_banner_image_overlay == false){
        $shopping_cart_woocommerce_tp_theme_css .='.single-page-img, .featured-image{';
            $shopping_cart_woocommerce_tp_theme_css .='opacity:1;';
        $shopping_cart_woocommerce_tp_theme_css .='}';
    }

    $shopping_cart_woocommerce_header_banner_image_ooverlay_color = get_theme_mod('shopping_cart_woocommerce_header_banner_image_ooverlay_color', true);
    if($shopping_cart_woocommerce_header_banner_image_ooverlay_color != false){
        $shopping_cart_woocommerce_tp_theme_css .='.box-image-page{';
            $shopping_cart_woocommerce_tp_theme_css .='background-color: '.esc_attr($shopping_cart_woocommerce_header_banner_image_ooverlay_color).';';
        $shopping_cart_woocommerce_tp_theme_css .='}';
    }

    // Slider Height
    $shopping_cart_woocommerce_slider_img_height      = get_theme_mod('shopping_cart_woocommerce_slider_img_height');
    $shopping_cart_woocommerce_slider_img_height_resp = get_theme_mod('shopping_cart_woocommerce_slider_img_height_responsive');

    // Desktop height
    $shopping_cart_woocommerce_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $shopping_cart_woocommerce_tp_theme_css .= '#slider img {';
    if ( $shopping_cart_woocommerce_slider_img_height ) {
        $shopping_cart_woocommerce_tp_theme_css .= 'height: ' . esc_attr( $shopping_cart_woocommerce_slider_img_height ) . ';';
    }
    $shopping_cart_woocommerce_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $shopping_cart_woocommerce_tp_theme_css .= '}';
    $shopping_cart_woocommerce_tp_theme_css .= '}';

    // Mobile height
    $shopping_cart_woocommerce_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $shopping_cart_woocommerce_tp_theme_css .= '#slider img {';
    if ( $shopping_cart_woocommerce_slider_img_height_resp ) {
        $shopping_cart_woocommerce_tp_theme_css .= 'height: ' . esc_attr( $shopping_cart_woocommerce_slider_img_height_resp ) . ' !important;';
    }
    $shopping_cart_woocommerce_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $shopping_cart_woocommerce_tp_theme_css .= '}';
    $shopping_cart_woocommerce_tp_theme_css .= '}';

    
// footer widget letter case
$shopping_cart_woocommerce_footer_widget_title_text_tranform = get_theme_mod( 'shopping_cart_woocommerce_footer_widget_title_text_tranform','');
if($shopping_cart_woocommerce_footer_widget_title_text_tranform == 'Uppercase'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='text-transform: uppercase;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_text_tranform == 'Lowercase'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='text-transform: lowercase;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}
else if($shopping_cart_woocommerce_footer_widget_title_text_tranform == 'Capitalize'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='text-transform: capitalize;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

//Footer Font Weight
$shopping_cart_woocommerce_footer_widget_title_font_weight = get_theme_mod( 'shopping_cart_woocommerce_footer_widget_title_font_weight','');
if($shopping_cart_woocommerce_footer_widget_title_font_weight == '100'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 100;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '200'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 200;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '300'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 300;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '400'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 400;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '500'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 500;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '600'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 600;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '700'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 700;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '800'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 800;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_font_weight == '900'){
$shopping_cart_woocommerce_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $shopping_cart_woocommerce_tp_theme_css .='font-weight: 900;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

// footer widget position
$shopping_cart_woocommerce_footer_widget_title_position = get_theme_mod( 'shopping_cart_woocommerce_footer_widget_title_position','');
if($shopping_cart_woocommerce_footer_widget_title_position == 'Right'){
$shopping_cart_woocommerce_tp_theme_css .='#footer aside.widget-area{';
$shopping_cart_woocommerce_tp_theme_css .='text-align: right;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_position == 'Left'){
$shopping_cart_woocommerce_tp_theme_css .='#footer aside.widget-area{';
$shopping_cart_woocommerce_tp_theme_css .='text-align: left;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}else if($shopping_cart_woocommerce_footer_widget_title_position == 'Center'){
$shopping_cart_woocommerce_tp_theme_css .='#footer aside.widget-area{';
$shopping_cart_woocommerce_tp_theme_css .='text-align: center;';
$shopping_cart_woocommerce_tp_theme_css .='}';
}

// Slider animation
$shopping_cart_woocommerce_slider_sec_animation = get_theme_mod( 'shopping_cart_woocommerce_slider_sec_animation', true );
if ( $shopping_cart_woocommerce_slider_sec_animation ) {
    $shopping_cart_woocommerce_tp_theme_css .= '#slider { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// About Section ANimation
$shopping_cart_woocommerce_about_sec_animation = get_theme_mod( 'shopping_cart_woocommerce_about_sec_animation', true );
if ( $shopping_cart_woocommerce_about_sec_animation ) {
    $shopping_cart_woocommerce_tp_theme_css .= '#about { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// footer Section ANimation
$shopping_cart_woocommerce_footer_animation = get_theme_mod( 'shopping_cart_woocommerce_footer_animation', true );
if ( $shopping_cart_woocommerce_footer_animation ) {
    $shopping_cart_woocommerce_tp_theme_css .= '#footer { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// Output the complete CSS
if ( ! empty( $shopping_cart_woocommerce_tp_theme_css ) ) {
    echo '<style id="shopping-cart-woocommerce-dynamic-css">' . $shopping_cart_woocommerce_tp_theme_css . '</style>';
}
?>
