<?php

	$mobile_app_hub_tp_theme_css = "";

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

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

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

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

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

// related post
$mobile_app_hub_related_post_mob = get_theme_mod('mobile_app_hub_related_post_mob', true);
$mobile_app_hub_related_post = get_theme_mod('mobile_app_hub_remove_related_post', true);
$mobile_app_hub_tp_theme_css .= '.related-post-block {';
if ($mobile_app_hub_related_post == false) {
    $mobile_app_hub_tp_theme_css .= 'display: none;';
}
$mobile_app_hub_tp_theme_css .= '}';
$mobile_app_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($mobile_app_hub_related_post == false || $mobile_app_hub_related_post_mob == false) {
    $mobile_app_hub_tp_theme_css .= '.related-post-block { display: none; }';
}
$mobile_app_hub_tp_theme_css .= '}';

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Slider Height
    $mobile_app_hub_slider_img_height      = get_theme_mod('mobile_app_hub_slider_img_height');

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

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

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

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

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

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


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

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

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

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

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