<?php

	$electronic_supermarket_tp_theme_css = "";

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

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

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

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

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


// related post
$electronic_supermarket_related_post_mob = get_theme_mod('electronic_supermarket_related_post_mob', true);
$electronic_supermarket_related_post = get_theme_mod('electronic_supermarket_remove_related_post', true);
$electronic_supermarket_tp_theme_css .= '.related-post-block {';
if ($electronic_supermarket_related_post == false) {
    $electronic_supermarket_tp_theme_css .= 'display: none;';
}
$electronic_supermarket_tp_theme_css .= '}';
$electronic_supermarket_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($electronic_supermarket_related_post == false || $electronic_supermarket_related_post_mob == false) {
    $electronic_supermarket_tp_theme_css .= '.related-post-block { display: none; }';
}
$electronic_supermarket_tp_theme_css .= '}';

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

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

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

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

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

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

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

//======================= slider Content layout ===================== //

$electronic_supermarket_slider_content_layout = get_theme_mod('electronic_supermarket_slider_content_layout', 'LEFT-ALIGN'); 
$electronic_supermarket_tp_theme_css .= '#slider .carousel-caption{';
switch ($electronic_supermarket_slider_content_layout) {
    case 'LEFT-ALIGN':
        $electronic_supermarket_tp_theme_css .= 'text-align:left; right: 30%; left: 15%';
        break;
    case 'CENTER-ALIGN':
        $electronic_supermarket_tp_theme_css .= 'text-align:center; left: 15%; right: 15%';
        break;
    case 'RIGHT-ALIGN':
        $electronic_supermarket_tp_theme_css .= 'text-align:right; left: 30%; right: 15%';
        break;
    default:
        $electronic_supermarket_tp_theme_css .= 'text-align:left; right: 30%; left: 15%';
        break;
}
$electronic_supermarket_tp_theme_css .= '}';


//sale position
$electronic_supermarket_scroll_position = get_theme_mod( 'electronic_supermarket_sale_tag_position','right');
if($electronic_supermarket_scroll_position == 'right'){
$electronic_supermarket_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $electronic_supermarket_tp_theme_css .='right: 25px !important; left: auto !important';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_scroll_position == 'left'){
$electronic_supermarket_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $electronic_supermarket_tp_theme_css .='left: 25px !important; right: auto !important';
$electronic_supermarket_tp_theme_css .='}';
}

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

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

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

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

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

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

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

// footer widget title font size
	$electronic_supermarket_footer_widget_title_font_size = get_theme_mod('electronic_supermarket_footer_widget_title_font_size', '');{
	$electronic_supermarket_tp_theme_css .='#footer h3{';
		$electronic_supermarket_tp_theme_css .='font-size: '.esc_attr($electronic_supermarket_footer_widget_title_font_size).'px;';
	$electronic_supermarket_tp_theme_css .='}';
	}

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

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

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

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

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

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

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


    //First Cap ( Blog Post )
    $electronic_supermarket_show_first_caps = get_theme_mod('electronic_supermarket_show_first_caps', 'false');
    if($electronic_supermarket_show_first_caps == 'true' ){
    $electronic_supermarket_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter{';
    $electronic_supermarket_tp_theme_css .=' font-size: 55px; font-weight: 600;';
    $electronic_supermarket_tp_theme_css .=' margin-right: 6px;';
    $electronic_supermarket_tp_theme_css .=' line-height: 1;';
    $electronic_supermarket_tp_theme_css .='}';
    }elseif($electronic_supermarket_show_first_caps == 'false' ){
    $electronic_supermarket_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter {';
    $electronic_supermarket_tp_theme_css .='display: none;';
    $electronic_supermarket_tp_theme_css .='}';
    }

    // Menu hover effect
    $electronic_supermarket_menus_item = get_theme_mod( 'electronic_supermarket_menus_item_style','None');
    if($electronic_supermarket_menus_item == 'None'){
        $electronic_supermarket_tp_theme_css .='.main-navigation a:hover{';
            $electronic_supermarket_tp_theme_css .='';
        $electronic_supermarket_tp_theme_css .='}';
    }else if($electronic_supermarket_menus_item == 'Zoom In'){
        $electronic_supermarket_tp_theme_css .='.main-navigation a:hover{';
            $electronic_supermarket_tp_theme_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
        $electronic_supermarket_tp_theme_css .='}';
    }

    
// footer widget letter case
$electronic_supermarket_footer_widget_title_text_tranform = get_theme_mod( 'electronic_supermarket_footer_widget_title_text_tranform','');
if($electronic_supermarket_footer_widget_title_text_tranform == 'Uppercase'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='text-transform: uppercase;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_text_tranform == 'Lowercase'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='text-transform: lowercase;';
$electronic_supermarket_tp_theme_css .='}';
}
else if($electronic_supermarket_footer_widget_title_text_tranform == 'Capitalize'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='text-transform: capitalize;';
$electronic_supermarket_tp_theme_css .='}';
}

//Footer Font Weight
$electronic_supermarket_footer_widget_title_font_weight = get_theme_mod( 'electronic_supermarket_footer_widget_title_font_weight','');
if($electronic_supermarket_footer_widget_title_font_weight == '100'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 100;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '200'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 200;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '300'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 300;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '400'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 400;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '500'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 500;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '600'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 600;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '700'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 700;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '800'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 800;';
$electronic_supermarket_tp_theme_css .='}';
}else if($electronic_supermarket_footer_widget_title_font_weight == '900'){
$electronic_supermarket_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 {';
    $electronic_supermarket_tp_theme_css .='font-weight: 900;';
$electronic_supermarket_tp_theme_css .='}';
}

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