<?php

	$home_renovation_agency_tp_theme_css = "";

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

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

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

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

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

// related post
$home_renovation_agency_related_post_mob = get_theme_mod('home_renovation_agency_related_post_mob', true);
$home_renovation_agency_related_post = get_theme_mod('home_renovation_agency_remove_related_post', true);
$home_renovation_agency_tp_theme_css .= '.related-post-block {';
if ($home_renovation_agency_related_post == false) {
    $home_renovation_agency_tp_theme_css .= 'display: none;';
}
$home_renovation_agency_tp_theme_css .= '}';
$home_renovation_agency_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($home_renovation_agency_related_post == false || $home_renovation_agency_related_post_mob == false) {
    $home_renovation_agency_tp_theme_css .= '.related-post-block { display: none; }';
}
$home_renovation_agency_tp_theme_css .= '}';

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

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

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

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

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

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

//slider false
$home_renovation_agency_slider_arrows = get_theme_mod('home_renovation_agency_slider_arrows',true);
if($home_renovation_agency_slider_arrows != true){
$home_renovation_agency_tp_theme_css .='.page-template-front-page .headerbox{';
	$home_renovation_agency_tp_theme_css .='position:static;border-bottom:1px solid #ccc;';
$home_renovation_agency_tp_theme_css .='}';
$home_renovation_agency_tp_theme_css .='.page-template-front-page .header-main{';
	$home_renovation_agency_tp_theme_css .='background:none;';
$home_renovation_agency_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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

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

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

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

    // Slider Height
    $home_renovation_agency_slider_img_height      = get_theme_mod('home_renovation_agency_slider_img_height');
    $home_renovation_agency_slider_img_height_resp = get_theme_mod('home_renovation_agency_slider_img_height_responsive');

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

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

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

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


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

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

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

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

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

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

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

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