<?php

	$doctor_general_physician_tp_theme_css = "";

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

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

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

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

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

// related post
$doctor_general_physician_related_post_mob = get_theme_mod('doctor_general_physician_related_post_mob', true);
$doctor_general_physician_related_post = get_theme_mod('doctor_general_physician_remove_related_post', true);
$doctor_general_physician_tp_theme_css .= '.related-post-block {';
if ($doctor_general_physician_related_post == false) {
    $doctor_general_physician_tp_theme_css .= 'display: none;';
}
$doctor_general_physician_tp_theme_css .= '}';
$doctor_general_physician_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($doctor_general_physician_related_post == false || $doctor_general_physician_related_post_mob == false) {
    $doctor_general_physician_tp_theme_css .= '.related-post-block { display: none; }';
}
$doctor_general_physician_tp_theme_css .= '}';

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

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

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

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

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

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

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

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

// Output the CSS using a suitable hook (if necessary).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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