<?php

	$amusement_park_tp_theme_css = "";

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

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

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

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

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

// related post
$amusement_park_related_post_mob = get_theme_mod('amusement_park_related_post_mob', true);
$amusement_park_related_post = get_theme_mod('amusement_park_remove_related_post', true);
$amusement_park_tp_theme_css .= '.related-post-block {';
if ($amusement_park_related_post == false) {
    $amusement_park_tp_theme_css .= 'display: none;';
}
$amusement_park_tp_theme_css .= '}';
$amusement_park_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($amusement_park_related_post == false || $amusement_park_related_post_mob == false) {
    $amusement_park_tp_theme_css .= '.related-post-block { display: none; }';
}
$amusement_park_tp_theme_css .= '}';

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

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

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

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

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

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

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

// header
$amusement_park_slider_arrows = get_theme_mod('amusement_park_slider_arrows',true);
if($amusement_park_slider_arrows == false){
$amusement_park_tp_theme_css .='.page-template-front-page .headerbox{';
	$amusement_park_tp_theme_css .='position:static; background-color: #544983;';
$amusement_park_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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