<?php

$hair_spa_salon_tp_theme_css = '';

	$hair_spa_salon_theme_lay = get_theme_mod( 'hair_spa_salon_tp_body_layout_settings','Full');
    if($hair_spa_salon_theme_lay == 'Container'){
		$hair_spa_salon_tp_theme_css .='body{';
			$hair_spa_salon_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$hair_spa_salon_tp_theme_css .='}';
		$hair_spa_salon_tp_theme_css .='@media screen and (max-width:575px){';
		$hair_spa_salon_tp_theme_css .='body{';
			$hair_spa_salon_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
		$hair_spa_salon_tp_theme_css .='} }';
		$hair_spa_salon_tp_theme_css .='.scrolled{';
			$hair_spa_salon_tp_theme_css .='width: auto; left:0; right:0;';
		$hair_spa_salon_tp_theme_css .='}';
	}else if($hair_spa_salon_theme_lay == 'Container Fluid'){
		$hair_spa_salon_tp_theme_css .='body{';
			$hair_spa_salon_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$hair_spa_salon_tp_theme_css .='}';
		$hair_spa_salon_tp_theme_css .='@media screen and (max-width:575px){';
		$hair_spa_salon_tp_theme_css .='body{';
			$hair_spa_salon_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
		$hair_spa_salon_tp_theme_css .='} }';
		$hair_spa_salon_tp_theme_css .='.scrolled{';
			$hair_spa_salon_tp_theme_css .='width: auto; left:0; right:0;';
		$hair_spa_salon_tp_theme_css .='}';
	}else if($hair_spa_salon_theme_lay == 'Full'){
		$hair_spa_salon_tp_theme_css .='body{';
			$hair_spa_salon_tp_theme_css .='max-width: 100%;';
		$hair_spa_salon_tp_theme_css .='}';
	}

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

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

$hair_spa_salon_site_tagline_font_size = get_theme_mod('hair_spa_salon_site_tagline_font_size', 15);{
$hair_spa_salon_tp_theme_css .='.logo p{';
$hair_spa_salon_tp_theme_css .='font-size: '.esc_attr($hair_spa_salon_site_tagline_font_size).'px;';
	$hair_spa_salon_tp_theme_css .='}';
}

// related post
$hair_spa_salon_related_post_mob = get_theme_mod('hair_spa_salon_related_post_mob', true);
$hair_spa_salon_related_post = get_theme_mod('hair_spa_salon_remove_related_post', true);
$hair_spa_salon_tp_theme_css .= '.related-post-block {';
if ($hair_spa_salon_related_post == false) {
    $hair_spa_salon_tp_theme_css .= 'display: none;';
}
$hair_spa_salon_tp_theme_css .= '}';
$hair_spa_salon_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($hair_spa_salon_related_post == false || $hair_spa_salon_related_post_mob == false) {
    $hair_spa_salon_tp_theme_css .= '.related-post-block { display: none; }';
}
$hair_spa_salon_tp_theme_css .= '}';

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

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


$hair_spa_salon_footer_widget_image = get_theme_mod('hair_spa_salon_footer_widget_image');
	if($hair_spa_salon_footer_widget_image != false){
		$hair_spa_salon_tp_theme_css .='#footer{';
			$hair_spa_salon_tp_theme_css .='background: url('.esc_attr($hair_spa_salon_footer_widget_image).');';
		$hair_spa_salon_tp_theme_css .='}';
	}

	$hair_spa_salon_related_product = get_theme_mod('hair_spa_salon_related_product',true);
		if($hair_spa_salon_related_product == false){
			$hair_spa_salon_tp_theme_css .='.related.products{';
				$hair_spa_salon_tp_theme_css .='display: none;';
			$hair_spa_salon_tp_theme_css .='}';
		}

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

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



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

//======================= slider Content layout ===================== //

$hair_spa_salon_slider_content_layout = get_theme_mod('hair_spa_salon_slider_content_layout', 'LEFT-ALIGN'); 
$hair_spa_salon_tp_theme_css .= '#slider .carousel-caption{';
switch ($hair_spa_salon_slider_content_layout) {
    case 'LEFT-ALIGN':
        $hair_spa_salon_tp_theme_css .= 'text-align:left; right: 50%; left: 15%';
        break;
    case 'CENTER-ALIGN':
        $hair_spa_salon_tp_theme_css .= 'text-align:center; left: 20%; right: 20%';
        break;
    case 'RIGHT-ALIGN':
        $hair_spa_salon_tp_theme_css .= 'text-align:right; left: 35%; right: 15%';
        break;
    default:
        $hair_spa_salon_tp_theme_css .= 'text-align:left; right: 35%; left: 15%';
        break;
}
$hair_spa_salon_tp_theme_css .= '}';

//sale position
$hair_spa_salon_scroll_position = get_theme_mod( 'hair_spa_salon_sale_tag_position','right');
if($hair_spa_salon_scroll_position == 'right'){
$hair_spa_salon_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $hair_spa_salon_tp_theme_css .='right: 25px !important; left: auto !important';
$hair_spa_salon_tp_theme_css .='}';
}else if($hair_spa_salon_scroll_position == 'left'){
$hair_spa_salon_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $hair_spa_salon_tp_theme_css .='left: 25px !important; right: auto !important';
$hair_spa_salon_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /*------------------ Slider CSS -------------------*/
    $hair_spa_salon_slider_opacity_setting = get_theme_mod('hair_spa_salon_slider_opacity_setting', true);
    $hair_spa_salon_image_opacity_color    = get_theme_mod('hair_spa_salon_image_opacity_color', '');
    $hair_spa_salon_slider_opacity         = get_theme_mod('hair_spa_salon_slider_opacity', '1');

    if ($hair_spa_salon_slider_opacity_setting) {
        // Apply opacity value to slider image
        if ($hair_spa_salon_slider_opacity !== '') {
            $hair_spa_salon_tp_theme_css .= '#slider img {';
            $hair_spa_salon_tp_theme_css .= 'opacity: ' . esc_attr($hair_spa_salon_slider_opacity) . ';';
            $hair_spa_salon_tp_theme_css .= '}';
        }

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

    // Slider Height
    $hair_spa_salon_slider_img_height      = get_theme_mod('hair_spa_salon_slider_img_height');
    $hair_spa_salon_slider_img_height_resp = get_theme_mod('hair_spa_salon_slider_img_height_responsive');

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

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

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

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

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

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

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