<?php

	$interior_design_studio_tp_theme_css = "";

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

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

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

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

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

// related post
$interior_design_studio_related_post_mob = get_theme_mod('interior_design_studio_related_post_mob', true);
$interior_design_studio_related_post = get_theme_mod('interior_design_studio_remove_related_post', true);
$interior_design_studio_tp_theme_css .= '.related-post-block {';
if ($interior_design_studio_related_post == false) {
    $interior_design_studio_tp_theme_css .= 'display: none;';
}
$interior_design_studio_tp_theme_css .= '}';
$interior_design_studio_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($interior_design_studio_related_post == false || $interior_design_studio_related_post_mob == false) {
    $interior_design_studio_tp_theme_css .= '.related-post-block { display: none; }';
}
$interior_design_studio_tp_theme_css .= '}';

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

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

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

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

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

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

// patient
// Retrieve the customer review setting from the theme customization options.
$interior_design_studio_customer_review = get_theme_mod('interior_design_studio_customer_review', '');

// Check if the customer review is empty.
if (empty($interior_design_studio_customer_review)) {
    // Initialize the CSS variable if not already done.
    if (!isset($interior_design_studio_tp_theme_css)) {
        $interior_design_studio_tp_theme_css = '';
    }
    
    // Append the necessary CSS to remove padding, border, and border-radius when the review is empty.
    $interior_design_studio_tp_theme_css .= '.customzer-rating {';
    $interior_design_studio_tp_theme_css .= 'padding: 0; border: 0; border-radius: 0;';
    $interior_design_studio_tp_theme_css .= '}';
    // Append the necessary CSS to remove padding, border, and border-radius when the review is empty.
    $interior_design_studio_tp_theme_css .= '.half-width-border-top::before{';
    $interior_design_studio_tp_theme_css .= 'right:0; top:-40px;';
    $interior_design_studio_tp_theme_css .= '}';
}

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

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

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


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

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

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

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

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

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

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

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

    /*------------------ Slider CSS -------------------*/
    $interior_design_studio_slider_opacity_setting = get_theme_mod('interior_design_studio_slider_opacity_setting', true);
    $interior_design_studio_image_opacity_color    = get_theme_mod('interior_design_studio_image_opacity_color', '');
    $interior_design_studio_slider_opacity         = get_theme_mod('interior_design_studio_slider_opacity', '1');

    if ($interior_design_studio_slider_opacity_setting) {
        // Apply opacity value to slider image
        if ($interior_design_studio_slider_opacity !== '') {
            $interior_design_studio_tp_theme_css .= '#slider img {';
            $interior_design_studio_tp_theme_css .= 'opacity: ' . esc_attr($interior_design_studio_slider_opacity) . ';';
            $interior_design_studio_tp_theme_css .= '}';
        }

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

    // Slider Height
    $interior_design_studio_slider_img_height      = get_theme_mod('interior_design_studio_slider_img_height');
    $interior_design_studio_slider_img_height_resp = get_theme_mod('interior_design_studio_slider_img_height_responsive');

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

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

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

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

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

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

// footer widget position
$interior_design_studio_footer_widget_title_position = get_theme_mod( 'interior_design_studio_footer_widget_title_position','');
if($interior_design_studio_footer_widget_title_position == 'Right'){
$interior_design_studio_tp_theme_css .='#footer aside.widget-area{';
$interior_design_studio_tp_theme_css .='text-align: right;';
$interior_design_studio_tp_theme_css .='}';
}else if($interior_design_studio_footer_widget_title_position == 'Left'){
$interior_design_studio_tp_theme_css .='#footer aside.widget-area{';
$interior_design_studio_tp_theme_css .='text-align: left;';
$interior_design_studio_tp_theme_css .='}';
}else if($interior_design_studio_footer_widget_title_position == 'Center'){
$interior_design_studio_tp_theme_css .='#footer aside.widget-area{';
$interior_design_studio_tp_theme_css .='text-align: center;';
$interior_design_studio_tp_theme_css .='}';
}
// Sale Tag Position (Fixed variable name conflict)
$interior_design_studio_sale_position = get_theme_mod( 'interior_design_studio_sale_tag_position', 'right' );
if ( $interior_design_studio_sale_position == 'right' ) {
    $interior_design_studio_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $interior_design_studio_tp_theme_css .= 'right: 25px !important; left: auto !important;';
    $interior_design_studio_tp_theme_css .= '}';
} elseif ( $interior_design_studio_sale_position == 'left' ) {
    $interior_design_studio_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $interior_design_studio_tp_theme_css .= 'left: 25px !important; right:auto !important;';
    $interior_design_studio_tp_theme_css .= '}';
}

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

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

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

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