<?php

	$fitness_supplement_store_tp_theme_css = "";

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

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

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

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

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

// related post
$fitness_supplement_store_related_post_mob = get_theme_mod('fitness_supplement_store_related_post_mob', true);
$fitness_supplement_store_related_post = get_theme_mod('fitness_supplement_store_remove_related_post', true);
$fitness_supplement_store_tp_theme_css .= '.related-post-block {';
if ($fitness_supplement_store_related_post == false) {
    $fitness_supplement_store_tp_theme_css .= 'display: none;';
}
$fitness_supplement_store_tp_theme_css .= '}';
$fitness_supplement_store_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($fitness_supplement_store_related_post == false || $fitness_supplement_store_related_post_mob == false) {
    $fitness_supplement_store_tp_theme_css .= '.related-post-block { display: none; }';
}
$fitness_supplement_store_tp_theme_css .= '}';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /*------------------ Slider CSS -------------------*/
    $fitness_supplement_store_slider_opacity_setting = get_theme_mod('fitness_supplement_store_slider_opacity_setting', true);
    $fitness_supplement_store_image_opacity_color    = get_theme_mod('fitness_supplement_store_image_opacity_color', '');
    $fitness_supplement_store_slider_opacity         = get_theme_mod('fitness_supplement_store_slider_opacity', '0.6');

    if ($fitness_supplement_store_slider_opacity_setting) {
        // Apply opacity value to slider image
        if ($fitness_supplement_store_slider_opacity !== '') {
            $fitness_supplement_store_tp_theme_css .= '#slider img {';
            $fitness_supplement_store_tp_theme_css .= 'opacity: ' . esc_attr($fitness_supplement_store_slider_opacity) . ';';
            $fitness_supplement_store_tp_theme_css .= '}';
        }

        // Apply background color to slider if defined
        if ($fitness_supplement_store_image_opacity_color !== '') {
            $fitness_supplement_store_tp_theme_css .= '#slider {';
            $fitness_supplement_store_tp_theme_css .= 'background-color: ' . esc_attr($fitness_supplement_store_image_opacity_color) . ';';
            $fitness_supplement_store_tp_theme_css .= '}';
        }
    } else {
        // If setting is disabled, force full opacity
        $fitness_supplement_store_tp_theme_css .= '#slider img {';
        $fitness_supplement_store_tp_theme_css .= 'opacity: 0.6;';
        $fitness_supplement_store_tp_theme_css .= '}';
    }

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

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

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

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

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


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

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

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

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

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