<?php

	$coupons_deals_first_color = get_theme_mod('coupons_deals_first_color');
	$coupons_deals_second_color = get_theme_mod('coupons_deals_second_color');
	$coupons_deals_custom_css ='';

	/*------------------ Global First Color -----------*/

	if ($coupons_deals_first_color) {
		$coupons_deals_custom_css .= ':root {';
		$coupons_deals_custom_css .= '--first-theme-color: ' . esc_attr($coupons_deals_first_color) . ' !important;';
		$coupons_deals_custom_css .= '} ';
	}

	/*------------------ Global Second Color -----------*/

	if ($coupons_deals_second_color) {
		$coupons_deals_custom_css .= ':root {';
		$coupons_deals_custom_css .= '--second-theme-color: ' . esc_attr($coupons_deals_second_color) . ' !important;';
		$coupons_deals_custom_css .= '} ';
	}

	// media
	$coupons_deals_custom_css .='@media screen and (max-width:1000px) {';
	$coupons_deals_custom_css .='.primary-navigation ul li a, .primary-navigation ul ul a:hover, .primary-navigation ul ul a:focus, .primary-navigation ul ul a, #site-navigation li a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_second_color).'!important;';
	$coupons_deals_custom_css .='} }';

	/*---------------------------Width Layout -------------------*/
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_width_layout_options','Default');
    if($coupons_deals_theme_lay == 'Default'){
		$coupons_deals_custom_css .='body{';
			$coupons_deals_custom_css .='max-width: 100%;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Container Layout'){
		$coupons_deals_custom_css .='body{';
			$coupons_deals_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Box Layout'){
		$coupons_deals_custom_css .='body{';
			$coupons_deals_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$coupons_deals_custom_css .='}';
	}

	/*---------------------------Slider Content Layout -------------------*/
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_slider_content_layout','Left');
    if($coupons_deals_theme_lay == 'Left'){
		$coupons_deals_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$coupons_deals_custom_css .='text-align:left;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Center'){
		$coupons_deals_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn{';
			$coupons_deals_custom_css .='text-align:center;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Right'){
		$coupons_deals_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$coupons_deals_custom_css .='text-align:right;';
		$coupons_deals_custom_css .='}';
	}

	/*------------ Slider Opacity -------------------*/
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_slider_opacity','0.7');
	if($coupons_deals_theme_lay == '0'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.1'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.1';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.2'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.2';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.3'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.3';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.4'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.4';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.5'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.5';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.6'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.6';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.7'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.7';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.8'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.8';
	$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == '0.9'){
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='opacity:0.9';
	$coupons_deals_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$coupons_deals_footer_text_align = get_theme_mod('coupons_deals_footer_text_align');
	$coupons_deals_custom_css .='.copyright-wrapper{';
		$coupons_deals_custom_css .='text-align: '.esc_attr($coupons_deals_footer_text_align).';';
	$coupons_deals_custom_css .='}';
	$coupons_deals_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$coupons_deals_custom_css .='text-align: center;'.esc_attr($coupons_deals_footer_text_align).'';
	$coupons_deals_custom_css .='} }';

	$coupons_deals_footer_text_padding = get_theme_mod('coupons_deals_footer_text_padding');
	$coupons_deals_custom_css .='.copyright-wrapper{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_footer_text_padding).'px !important; padding-bottom: '.esc_attr($coupons_deals_footer_text_padding).'px !important;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_footer_bg_color = get_theme_mod('coupons_deals_footer_bg_color');
	$coupons_deals_custom_css .='.footer-wp{';
		$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_footer_bg_color).';';
	$coupons_deals_custom_css .='}';

	$coupons_deals_footer_bg_image = get_theme_mod('coupons_deals_footer_bg_image');
	if($coupons_deals_footer_bg_image != false){
		$coupons_deals_custom_css .='.footer-wp{';
			$coupons_deals_custom_css .='background: url('.esc_attr($coupons_deals_footer_bg_image).'); background-size: cover;';
		$coupons_deals_custom_css .='}';
	}

    // footer image position
	$coupons_deals_footer_img_position = get_theme_mod('coupons_deals_footer_img_position','center center');
	if($coupons_deals_footer_img_position != false){
		$coupons_deals_custom_css .='.footer-wp{';
			$coupons_deals_custom_css .='background-position: '.esc_attr($coupons_deals_footer_img_position).'!important;';
		$coupons_deals_custom_css .='}';
	}	

	// Footer Attatchment
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_footer_attatchment','scroll');
	if($coupons_deals_theme_lay == 'fixed'){
		$coupons_deals_custom_css .='.footer-wp{';
			$coupons_deals_custom_css .='background-attachment: fixed;';
		$coupons_deals_custom_css .='}';
	}elseif ($coupons_deals_theme_lay == 'scroll'){
		$coupons_deals_custom_css .='.footer-wp{';
			$coupons_deals_custom_css .='background-attachment: scroll;';
		$coupons_deals_custom_css .='}';
	}

	// footer heading font size
	$coupons_deals_footer_heading_font_size = get_theme_mod('coupons_deals_footer_heading_font_size');
	$coupons_deals_custom_css .='.footer-wp h3{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_footer_heading_font_size).'px;';
	$coupons_deals_custom_css .='}';

	// letter spacing
	$coupons_deals_footer_heading_letter_spacing = get_theme_mod('coupons_deals_footer_heading_letter_spacing');
	$coupons_deals_custom_css .='.footer-wp h3{';
	$coupons_deals_custom_css .='letter-spacing: '.esc_attr($coupons_deals_footer_heading_letter_spacing).'px;';
	$coupons_deals_custom_css .='}';	

	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_footer_text_tranform','Capitalize');
    if($coupons_deals_theme_lay == 'Uppercase'){
		$coupons_deals_custom_css .='.footer-wp h3{';
			$coupons_deals_custom_css .='text-transform: Uppercase;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Lowercase'){
		$coupons_deals_custom_css .='.footer-wp h3{';
			$coupons_deals_custom_css .='text-transform: Lowercase;';
		$coupons_deals_custom_css .='}';
	}
	else if($coupons_deals_theme_lay == 'Capitalize'){
		$coupons_deals_custom_css .='.footer-wp h3{';
			$coupons_deals_custom_css .='text-transform: Capitalize;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_footer_heading_font_weight = get_theme_mod( 'coupons_deals_footer_heading_font_weight','500');
	if($coupons_deals_footer_heading_font_weight != ''){
		$coupons_deals_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$coupons_deals_custom_css .='font-weight: '.esc_attr($coupons_deals_footer_heading_font_weight).';';
		$coupons_deals_custom_css .='}';
	}

	// footer padding
	$coupons_deals_footer_padding = get_theme_mod('coupons_deals_footer_padding');
	$coupons_deals_custom_css .='.footer-wp{';
		$coupons_deals_custom_css .='padding: '.esc_attr($coupons_deals_footer_padding).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_copyright_text_font_size = get_theme_mod('coupons_deals_copyright_text_font_size', 15);
	$coupons_deals_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_copyright_text_font_size).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_footer_heading = get_theme_mod( 'coupons_deals_footer_heading','Left');
    if($coupons_deals_footer_heading == 'Left'){
		$coupons_deals_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$coupons_deals_custom_css .='text-align: left;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_footer_heading == 'Center'){
		$coupons_deals_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$coupons_deals_custom_css .='text-align: center;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$coupons_deals_custom_css .='margin: 7px auto;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$coupons_deals_custom_css .='text-align: left;';
				$coupons_deals_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$coupons_deals_custom_css .='margin: 7px 0 0;';
				$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_footer_heading == 'Right'){
		$coupons_deals_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$coupons_deals_custom_css .='text-align: right; padding-bottom: 25px;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$coupons_deals_custom_css .='position: relative;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$coupons_deals_custom_css .='position: absolute; right: 0;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$coupons_deals_custom_css .='text-align: left;';
				$coupons_deals_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$coupons_deals_custom_css .='left: 0;';
				$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_footer_content = get_theme_mod( 'coupons_deals_footer_content','Left');
    if($coupons_deals_footer_content == 'Left'){
		$coupons_deals_custom_css .='.footer-wp .widget,.footer-wp caption{';
		$coupons_deals_custom_css .='text-align: left;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_footer_content == 'Center'){
		$coupons_deals_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$coupons_deals_custom_css .='text-align: center;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$coupons_deals_custom_css .='text-align: left;';
				$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_footer_content == 'Right'){
		$coupons_deals_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$coupons_deals_custom_css .='text-align: right;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$coupons_deals_custom_css .='text-align: left;';
				$coupons_deals_custom_css .='} }';
	}

   //Footer Style 
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_footer_template','coupons_deals-footer-one');
    if($coupons_deals_theme_lay == 'coupons_deals-footer-one'){
		$coupons_deals_custom_css .='.footer-wp{';
			$coupons_deals_custom_css .='';
		$coupons_deals_custom_css .='}';

	}else if($coupons_deals_theme_lay == 'coupons_deals-footer-two'){
		$coupons_deals_custom_css .='.footer-wp {';
			$coupons_deals_custom_css .='background: #E3F2FD !important;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$coupons_deals_custom_css .='color:#000 !important;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp p{';
			$coupons_deals_custom_css .='color:#000 !important;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp ul li::before{';
			$coupons_deals_custom_css .='background:#000;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$coupons_deals_custom_css .='border: 1px solid #000;';
		$coupons_deals_custom_css .='}';

	}else if($coupons_deals_theme_lay == 'coupons_deals-footer-three'){
		$coupons_deals_custom_css .='.footer-wp {';
			$coupons_deals_custom_css .='background: #0A0A1F !important;;';
		$coupons_deals_custom_css .='}';
	}
	else if($coupons_deals_theme_lay == 'coupons_deals-footer-four'){
		$coupons_deals_custom_css .='.footer-wp {';
			$coupons_deals_custom_css .='background: #F5F5DC !important;;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$coupons_deals_custom_css .='color:#000 !important;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp p{';
			$coupons_deals_custom_css .='color:#000 !important;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp ul li::before{';
			$coupons_deals_custom_css .='background:#000;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$coupons_deals_custom_css .='border: 1px solid #000;';
		$coupons_deals_custom_css .='}';
	}
    else if($coupons_deals_theme_lay == 'coupons_deals-footer-five'){
	$coupons_deals_custom_css .='.footer-wp {';
		$coupons_deals_custom_css .='background: #333333 !important;;';
	$coupons_deals_custom_css .='}';
   }

	//Footer Social Icon Alignment
	$coupons_deals_footer_icon_alignment = get_theme_mod( 'coupons_deals_footer_icon_alignment','center');
    if($coupons_deals_footer_icon_alignment == 'left'){
		$coupons_deals_custom_css .='footer .socialicons{';
			$coupons_deals_custom_css .='text-align:left !important;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_footer_icon_alignment == 'center'){
		$coupons_deals_custom_css .='footer .socialicons{';
			$coupons_deals_custom_css .='text-align:center !important;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_footer_icon_alignment == 'right'){
		$coupons_deals_custom_css .='footer .socialicons{';
			$coupons_deals_custom_css .='text-align:right !important;';
		$coupons_deals_custom_css .='}';
	}	   

	//Footer icon color
	$coupons_deals_footer_icon_color_option = get_theme_mod('coupons_deals_footer_icon_color_option');
	$coupons_deals_custom_css .='footer .socialicons a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_footer_icon_color_option).' !important;';
	$coupons_deals_custom_css .='}';  

	//Footer Social Icon Top Bottom padding 
	$coupons_deals_footer_icon_to_top_padding = get_theme_mod('coupons_deals_footer_icon_to_top_padding');
	$coupons_deals_custom_css .='footer .socialicons a i{';
	$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_footer_icon_to_top_padding).'px;!important;';
	$coupons_deals_custom_css .='padding-bottom: '.esc_attr($coupons_deals_footer_icon_to_top_padding).'px;!important;';
	$coupons_deals_custom_css .='}';

	//Social icon color
	$coupons_deals_social_icon_color = get_theme_mod('coupons_deals_social_icon_color');
	$coupons_deals_custom_css .='.social-icons i{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_social_icon_color).' !important;';
	$coupons_deals_custom_css .='}'; 

	/*------------- Back to Top  -------------------*/
	$coupons_deals_back_to_top_border_radius = get_theme_mod('coupons_deals_back_to_top_border_radius');
	$coupons_deals_custom_css .='#scrollbutton i{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_back_to_top_border_radius).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_scroll_icon_font_size = get_theme_mod('coupons_deals_scroll_icon_font_size', 22);
	$coupons_deals_custom_css .='#scrollbutton i{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_scroll_icon_font_size).'px;';
	$coupons_deals_custom_css .='}';

	// back to top icon color
	$coupons_deals_scroll_icon_color = get_theme_mod('coupons_deals_scroll_icon_color');
	if($coupons_deals_scroll_icon_color != false){
		$coupons_deals_custom_css .='#scrollbutton i{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_scroll_icon_color).';';
		$coupons_deals_custom_css .='}';
	}

	// back to top icon hover color
	$coupons_deals_scroll_icon_hover_color = get_theme_mod('coupons_deals_scroll_icon_hover_color');
	if($coupons_deals_scroll_icon_hover_color != false){
		$coupons_deals_custom_css .='#scrollbutton i:hover{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_scroll_icon_hover_color).';';
		$coupons_deals_custom_css .='}';
	}

	// back to top bg color
	$coupons_deals_scroll_icon_bg_color = get_theme_mod('coupons_deals_scroll_icon_bg_color');
	if($coupons_deals_scroll_icon_bg_color != false){
		$coupons_deals_custom_css .='#scrollbutton i{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_scroll_icon_bg_color).';';
			$coupons_deals_custom_css .='border-color: '.esc_attr($coupons_deals_scroll_icon_bg_color).';';
		$coupons_deals_custom_css .='}';
	}

	// back to top bg hover color
	$coupons_deals_scroll_icon_bg_hover_color = get_theme_mod('coupons_deals_scroll_icon_bg_hover_color');
	if($coupons_deals_scroll_icon_bg_hover_color != false){
		$coupons_deals_custom_css .='#scrollbutton i:hover{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_scroll_icon_bg_hover_color).';';
			$coupons_deals_custom_css .='border-color: '.esc_attr($coupons_deals_scroll_icon_bg_hover_color).';';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_top_bottom_scroll_padding = get_theme_mod('coupons_deals_top_bottom_scroll_padding', 12);
	$coupons_deals_custom_css .='#scrollbutton i{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($coupons_deals_top_bottom_scroll_padding).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_left_right_scroll_padding = get_theme_mod('coupons_deals_left_right_scroll_padding', 17);
	$coupons_deals_custom_css .='#scrollbutton i{';
		$coupons_deals_custom_css .='padding-left: '.esc_attr($coupons_deals_left_right_scroll_padding).'px; padding-right: '.esc_attr($coupons_deals_left_right_scroll_padding).'px;';
	$coupons_deals_custom_css .='}';

	//First Cap
	$coupons_deals_show_first_caps = get_theme_mod('coupons_deals_show_first_caps', 'false');
	if($coupons_deals_show_first_caps == 'true' ){
	$coupons_deals_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter{';
	$coupons_deals_custom_css .=' font-size: 55px; font-weight: 600;';
	$coupons_deals_custom_css .=' margin-right: 6px;';
	$coupons_deals_custom_css .=' line-height: 1;';
	$coupons_deals_custom_css .='}';
	}elseif($coupons_deals_show_first_caps == 'false' ){
	$coupons_deals_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter {';
	$coupons_deals_custom_css .='display: none;';
	$coupons_deals_custom_css .='}';
	}

	/*-------------- Post Button  -------------------*/

	$coupons_deals_btn_font_size_option = get_theme_mod('coupons_deals_btn_font_size_option');
	$coupons_deals_custom_css .='.postbtn a{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_btn_font_size_option).'px !important;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_button_text_tranform','Capitalize');
    if($coupons_deals_theme_lay == 'Uppercase'){
		$coupons_deals_custom_css .='.postbtn a{';
			$coupons_deals_custom_css .='text-transform: uppercase;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Lowercase'){
		$coupons_deals_custom_css .='.postbtn a{';
			$coupons_deals_custom_css .='text-transform: lowercase;';
		$coupons_deals_custom_css .='}';
	}
	else if($coupons_deals_theme_lay == 'Capitalize'){
		$coupons_deals_custom_css .='.postbtn a{';
			$coupons_deals_custom_css .='text-transform: capitalize;';
		$coupons_deals_custom_css .='}';
	}

	// button font weight
	$coupons_deals_button_font_weight = get_theme_mod( 'coupons_deals_button_font_weight','600');
	if($coupons_deals_button_font_weight != ''){
		$coupons_deals_custom_css .='.postbtn a{';
			$coupons_deals_custom_css .='font-weight: '.esc_attr($coupons_deals_button_font_weight).';';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_post_button_padding_top = get_theme_mod('coupons_deals_post_button_padding_top');
	$coupons_deals_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_post_button_padding_top).'px; padding-bottom: '.esc_attr($coupons_deals_post_button_padding_top).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_post_button_padding_right = get_theme_mod('coupons_deals_post_button_padding_right');
	$coupons_deals_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$coupons_deals_custom_css .='padding-left: '.esc_attr($coupons_deals_post_button_padding_right).'px; padding-right: '.esc_attr($coupons_deals_post_button_padding_right).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_post_button_border_radius = get_theme_mod('coupons_deals_post_button_border_radius');
	$coupons_deals_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_post_button_border_radius).'px;';
	$coupons_deals_custom_css .='}';

	// button letter spacing
	$coupons_deals_button_letter_spacing = get_theme_mod('coupons_deals_button_letter_spacing', '0');
	$coupons_deals_custom_css .='.postbtn a {';
		$coupons_deals_custom_css .='letter-spacing: '.esc_attr($coupons_deals_button_letter_spacing).'px;';
	$coupons_deals_custom_css .='}';	
	
	//Button Shape
	$coupons_deals_btn_shape = get_theme_mod('coupons_deals_btn_shape', 'Round');
	if($coupons_deals_btn_shape == 'Square' ){
		$coupons_deals_custom_css .='.inner-service .mainbox .postbtn a{';
			$coupons_deals_custom_css .=' border-radius: 0';
		$coupons_deals_custom_css .='}';
	}elseif($coupons_deals_btn_shape == 'Round' ){
		$coupons_deals_custom_css .='.inner-service .mainbox .postbtn a{';
			$coupons_deals_custom_css .=' border-radius: .625em';
		$coupons_deals_custom_css .='}';
	}elseif($coupons_deals_btn_shape == 'Pill' ){
		$coupons_deals_custom_css .='.inner-service .mainbox .postbtn a{';
			$coupons_deals_custom_css .=' border-radius: 2em;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_post_comment_enable = get_theme_mod('coupons_deals_post_comment_enable',true);
	if($coupons_deals_post_comment_enable == false){
		$coupons_deals_custom_css .='#comments{';
			$coupons_deals_custom_css .='display: none;';
		$coupons_deals_custom_css .='}';
	}

	// preloader background image
	$coupons_deals_preloader_bg_image = get_theme_mod('coupons_deals_preloader_bg_image');
	if($coupons_deals_preloader_bg_image != false){
		$coupons_deals_custom_css .='.frame{';
			$coupons_deals_custom_css .='background: url('.esc_attr($coupons_deals_preloader_bg_image).'); background-size: cover;';
		$coupons_deals_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$coupons_deals_preloader_bg_color_option = get_theme_mod('coupons_deals_preloader_bg_color_option');
	$coupons_deals_preloader_icon_color_option = get_theme_mod('coupons_deals_preloader_icon_color_option');
	$coupons_deals_custom_css .='.frame{';
		$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_preloader_bg_color_option).';';
	$coupons_deals_custom_css .='}';
	$coupons_deals_custom_css .='.dot-1,.dot-2,.dot-3{';
		$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_preloader_icon_color_option).';';
	$coupons_deals_custom_css .='}';

	// preloader type
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_preloader_type','First Preloader Type');
    if($coupons_deals_theme_lay == 'First Preloader Type'){
		$coupons_deals_custom_css .='.dot-1, .dot-2, .dot-3{';
			$coupons_deals_custom_css .='';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Second Preloader Type'){
		$coupons_deals_custom_css .='.dot-1, .dot-2, .dot-3{';
			$coupons_deals_custom_css .='border-radius:0;';
		$coupons_deals_custom_css .='}';
	}

	/*------------------ Skin Option  -------------------*/
	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_background_skin','Without Background');
    if($coupons_deals_theme_lay == 'With Background'){
		$coupons_deals_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$coupons_deals_custom_css .='background-color: #fff; padding:20px;';
		$coupons_deals_custom_css .='}';
		$coupons_deals_custom_css .='.login-box a{';
			$coupons_deals_custom_css .='background-color: #fff;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Without Background'){
		$coupons_deals_custom_css .='{';
			$coupons_deals_custom_css .='background-color: transparent;';
		$coupons_deals_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$coupons_deals_woocommerce_button_padding_top = get_theme_mod('coupons_deals_woocommerce_button_padding_top',12);
	$coupons_deals_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($coupons_deals_woocommerce_button_padding_top).'px;';
	$coupons_deals_custom_css .='}';
	

	$coupons_deals_woocommerce_button_padding_right = get_theme_mod('coupons_deals_woocommerce_button_padding_right',15);
	$coupons_deals_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$coupons_deals_custom_css .='padding-left: '.esc_attr($coupons_deals_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($coupons_deals_woocommerce_button_padding_right).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woocommerce_button_border_radius = get_theme_mod('coupons_deals_woocommerce_button_border_radius',10);
	$coupons_deals_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_woocommerce_button_border_radius).'px;';
	$coupons_deals_custom_css .='}';

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

	$coupons_deals_woocommerce_product_border_enable = get_theme_mod('coupons_deals_woocommerce_product_border_enable',true);
	if($coupons_deals_woocommerce_product_border_enable == false){
		$coupons_deals_custom_css .='.products li{';
			$coupons_deals_custom_css .='border: none;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_woocommerce_product_padding_top = get_theme_mod('coupons_deals_woocommerce_product_padding_top',10);
	$coupons_deals_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($coupons_deals_woocommerce_product_padding_top).'px !important;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woocommerce_product_padding_right = get_theme_mod('coupons_deals_woocommerce_product_padding_right',10);
	$coupons_deals_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$coupons_deals_custom_css .='padding-left: '.esc_attr($coupons_deals_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($coupons_deals_woocommerce_product_padding_right).'px !important;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woocommerce_product_border_radius = get_theme_mod('coupons_deals_woocommerce_product_border_radius',0);
	$coupons_deals_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_woocommerce_product_border_radius).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woocommerce_product_box_shadow = get_theme_mod('coupons_deals_woocommerce_product_box_shadow', 5);
	$coupons_deals_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$coupons_deals_custom_css .='box-shadow: '.esc_attr($coupons_deals_woocommerce_product_box_shadow).'px '.esc_attr($coupons_deals_woocommerce_product_box_shadow).'px '.esc_attr($coupons_deals_woocommerce_product_box_shadow).'px #eee;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woo_product_sale_top_bottom_padding = get_theme_mod('coupons_deals_woo_product_sale_top_bottom_padding', 0);
	$coupons_deals_woo_product_sale_left_right_padding = get_theme_mod('coupons_deals_woo_product_sale_left_right_padding', 0);
	$coupons_deals_custom_css .='.woocommerce span.onsale{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($coupons_deals_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($coupons_deals_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($coupons_deals_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woo_product_sale_border_radius = get_theme_mod('coupons_deals_woo_product_sale_border_radius',50);
	$coupons_deals_custom_css .='.woocommerce span.onsale {';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_woo_product_sale_border_radius).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_woo_product_sale_position = get_theme_mod('coupons_deals_woo_product_sale_position', 'Right');
	if($coupons_deals_woo_product_sale_position == 'Right' ){
		$coupons_deals_custom_css .='.woocommerce ul.products li.product .onsale{';
			$coupons_deals_custom_css .=' left:auto; right:0;';
		$coupons_deals_custom_css .='}';
	}elseif($coupons_deals_woo_product_sale_position == 'Left' ){
		$coupons_deals_custom_css .='.woocommerce ul.products li.product .onsale{';
			$coupons_deals_custom_css .=' left:0; right:auto;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_wooproduct_sale_font_size = get_theme_mod('coupons_deals_wooproduct_sale_font_size',14);
	$coupons_deals_custom_css .='.woocommerce span.onsale{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_wooproduct_sale_font_size).'px;';
	$coupons_deals_custom_css .='}';

	// featured image dimention
	$coupons_deals_post_featured_coupons_dimention = get_theme_mod('coupons_deals_post_featured_coupons_dimention', 'Default');
	$coupons_deals_post_featured_coupons_custom_width = get_theme_mod('coupons_deals_post_featured_coupons_custom_width');
	$coupons_deals_post_featured_coupons_custom_height = get_theme_mod('coupons_deals_post_featured_coupons_custom_height');
	if($coupons_deals_post_featured_coupons_dimention == 'Custom'){
		$coupons_deals_custom_css .='#featured-coupon .text-content img{';
			$coupons_deals_custom_css .='width: '.esc_attr($coupons_deals_post_featured_coupons_custom_width).'px; height: '.esc_attr($coupons_deals_post_featured_coupons_custom_height).'px; object-fit: cover;';
		$coupons_deals_custom_css .='}';
	}

	// blog post Pagination Alignment
	$coupons_deals_post_pagination_alignment = get_theme_mod( 'coupons_deals_post_pagination_option','Left');
	if($coupons_deals_post_pagination_alignment == 'Left'){
		$coupons_deals_custom_css .='.navigation nav.pagination{';
			$coupons_deals_custom_css .='justify-content: left;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_post_pagination_alignment == 'Center'){
		$coupons_deals_custom_css .='.navigation nav.pagination{';
			$coupons_deals_custom_css .='justify-content: center;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_post_pagination_alignment == 'Right'){
		$coupons_deals_custom_css .='.navigation nav.pagination{';
			$coupons_deals_custom_css .='justify-content: right;';
		$coupons_deals_custom_css .='}';
	}

	// single featured image dimention
	$coupons_deals_single_post_featured_image_dimention = get_theme_mod('coupons_deals_single_post_featured_image_dimention', 'Default');
	$coupons_deals_single_post_featured_image_custom_width = get_theme_mod('coupons_deals_single_post_featured_image_custom_width');
	$coupons_deals_single_post_featured_image_custom_height = get_theme_mod('coupons_deals_single_post_featured_image_custom_height');
	if($coupons_deals_single_post_featured_image_dimention == 'Custom'){
		$coupons_deals_custom_css .='.single-post-page .feature-box img{';
			$coupons_deals_custom_css .='width: '.esc_attr($coupons_deals_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($coupons_deals_single_post_featured_image_custom_height).'px!important;';
		$coupons_deals_custom_css .='}';
	}

	// Responsive Media
	$coupons_deals_post_date = get_theme_mod( 'coupons_deals_display_post_date',true);
	if($coupons_deals_post_date == true && get_theme_mod( 'coupons_deals_metafields_date',true) != true){
    	$coupons_deals_custom_css .='.metabox .entry-date{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_post_date == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.metabox .entry-date{';
			$coupons_deals_custom_css .='display:inline-block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_post_date == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.metabox .entry-date{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_post_author = get_theme_mod( 'coupons_deals_display_post_author',true);
	if($coupons_deals_post_author == true && get_theme_mod( 'coupons_deals_metafields_author',true) != true){
    	$coupons_deals_custom_css .='.metabox .entry-author{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_post_author == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.metabox .entry-author{';
			$coupons_deals_custom_css .='display:inline-block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_post_author == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.metabox .entry-author{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_post_comment = get_theme_mod( 'coupons_deals_display_post_comment',true);
	if($coupons_deals_post_comment == true && get_theme_mod( 'coupons_deals_metafields_comment',true) != true){
    	$coupons_deals_custom_css .='.metabox .entry-comments{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_post_comment == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.metabox .entry-comments{';
			$coupons_deals_custom_css .='display:inline-block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_post_comment == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.metabox .entry-comments{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_post_time = get_theme_mod( 'coupons_deals_display_post_time',true);
	if($coupons_deals_post_time == true && get_theme_mod( 'coupons_deals_metafields_time',true) != true){
    	$coupons_deals_custom_css .='.metabox .entry-time{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_post_time == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.metabox .entry-time{';
			$coupons_deals_custom_css .='display:inline-block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_post_time == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.metabox .entry-time{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	if($coupons_deals_post_date == false && $coupons_deals_post_author == false && $coupons_deals_post_comment == false && $coupons_deals_post_time == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
    	$coupons_deals_custom_css .='.metabox {';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_metafields_date = get_theme_mod( 'coupons_deals_metafields_date',true);
	$coupons_deals_metafields_author = get_theme_mod( 'coupons_deals_metafields_author',true);
	$coupons_deals_metafields_comment = get_theme_mod( 'coupons_deals_metafields_comment',true);
	$coupons_deals_metafields_time = get_theme_mod( 'coupons_deals_metafields_time',true);
	if($coupons_deals_metafields_date == false && $coupons_deals_metafields_author == false && $coupons_deals_metafields_comment == false && $coupons_deals_metafields_time == false){
		$coupons_deals_custom_css .='@media screen and (min-width:576px) {';
    	$coupons_deals_custom_css .='.metabox {';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_slider = get_theme_mod( 'coupons_deals_display_slider',true);
	if($coupons_deals_slider == true && get_theme_mod( 'coupons_deals_slider_hide', false) == false){
    	$coupons_deals_custom_css .='#slider{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_slider == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='#slider{';
			$coupons_deals_custom_css .='display:block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_slider == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='#slider{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_sidebar = get_theme_mod( 'coupons_deals_display_sidebar',true);
    if($coupons_deals_sidebar == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='#sidebar{';
			$coupons_deals_custom_css .='display:block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_sidebar == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='#sidebar{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_scroll = get_theme_mod( 'coupons_deals_display_scrolltop',true);
	if($coupons_deals_scroll == true && get_theme_mod( 'coupons_deals_hide_show_scroll',true) != true){
    	$coupons_deals_custom_css .='#scrollbutton i{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_scroll == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='#scrollbutton i{';
			$coupons_deals_custom_css .='display:block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_scroll == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='#scrollbutton i{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_preloader = get_theme_mod( 'coupons_deals_display_preloader',false);
	if($coupons_deals_preloader == true && get_theme_mod( 'coupons_deals_preloader',false) == false){
		$coupons_deals_custom_css .='@media screen and (min-width:575px) {';
    	$coupons_deals_custom_css .='.frame{';
			$coupons_deals_custom_css .=' visibility: hidden;';
		$coupons_deals_custom_css .='} }';
	}
    if($coupons_deals_preloader == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.frame{';
			$coupons_deals_custom_css .='visibility:visible;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_preloader == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.frame{';
			$coupons_deals_custom_css .='visibility: hidden;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_search = get_theme_mod( 'coupons_deals_display_search_category',true);
	if($coupons_deals_search == true && get_theme_mod( 'coupons_deals_search_enable_disable',true) != true){
    	$coupons_deals_custom_css .='.search-cat-box{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_search == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.search-cat-box{';
			$coupons_deals_custom_css .='display:block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_search == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.search-cat-box{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	$coupons_deals_myaccount = get_theme_mod( 'coupons_deals_display_myaccount',true);
	if($coupons_deals_myaccount == true && get_theme_mod( 'coupons_deals_myaccount_enable_disable',true) != true){
    	$coupons_deals_custom_css .='.login-box{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_myaccount == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.login-box{';
			$coupons_deals_custom_css .='display:block;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_myaccount == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.login-box{';
			$coupons_deals_custom_css .='display:none;';
		$coupons_deals_custom_css .='} }';
	}

	// menu settings
	$coupons_deals_menu_font_size_option = get_theme_mod('coupons_deals_menu_font_size_option');
	$coupons_deals_custom_css .='.primary-navigation ul li a{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_menu_font_size_option).'px;';
	$coupons_deals_custom_css .='}';

	// menu top-bottom padding
	$coupons_deals_menu_top_bottom_padding = get_theme_mod('coupons_deals_menu_top_bottom_padding');
	$coupons_deals_custom_css .='.primary-navigation ul li a{';
		$coupons_deals_custom_css .='padding-top: '.esc_attr($coupons_deals_menu_top_bottom_padding).'px;';
		$coupons_deals_custom_css .='padding-bottom: '.esc_attr($coupons_deals_menu_top_bottom_padding).'px;';
	$coupons_deals_custom_css .='}';

	// menu left-right padding
	$coupons_deals_menu_left_right_padding = get_theme_mod('coupons_deals_menu_left_right_padding');
	$coupons_deals_custom_css .='.primary-navigation ul li a{';
		$coupons_deals_custom_css .='padding-left: '.esc_attr($coupons_deals_menu_left_right_padding).'px;';
		$coupons_deals_custom_css .='padding-right: '.esc_attr($coupons_deals_menu_left_right_padding).'px;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_text_tranform_menu','Uppercase');
    if($coupons_deals_theme_lay == 'Uppercase'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Lowercase'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='text-transform: lowercase;';
		$coupons_deals_custom_css .='}';
	}
	else if($coupons_deals_theme_lay == 'Capitalize'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='text-transform: Capitalize;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_theme_lay = get_theme_mod( 'coupons_deals_font_weight_option_menu','');
    if($coupons_deals_theme_lay == 'Bold'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='font-weight:bold;';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_theme_lay == 'Normal'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='font-weight: normal;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_slider_heading_color = get_theme_mod('coupons_deals_slider_heading_color');
	$coupons_deals_custom_css .='#slider .inner_carousel h1{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_slider_heading_color).';';
	$coupons_deals_custom_css .='}';

	$coupons_deals_slider_text_color = get_theme_mod('coupons_deals_slider_text_color');
	$coupons_deals_custom_css .='#slider .inner_carousel p{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_slider_text_color).';';
	$coupons_deals_custom_css .='}';

	$coupons_deals_slider_btn_text_color = get_theme_mod('coupons_deals_slider_btn_text_color');
	$coupons_deals_custom_css .='#slider .more-btn a{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_slider_btn_text_color).';';
	$coupons_deals_custom_css .='}';

	// slider height
	$coupons_deals_option_slider_height = get_theme_mod('coupons_deals_option_slider_height');
	$coupons_deals_custom_css .='#slider .slider-bg img{';
		$coupons_deals_custom_css .='height: '.esc_attr($coupons_deals_option_slider_height).'px;';
	$coupons_deals_custom_css .='}';

	// slider content spacing
	$coupons_deals_slider_content_top_padding = get_theme_mod('coupons_deals_slider_content_top_padding');
	$coupons_deals_slider_content_left_padding = get_theme_mod('coupons_deals_slider_content_left_padding');
	$coupons_deals_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$coupons_deals_custom_css .='top: '.esc_attr($coupons_deals_slider_content_top_padding).'%; bottom: '.esc_attr($coupons_deals_slider_content_top_padding).'%;left: '.esc_attr($coupons_deals_slider_content_left_padding).'%;right: '.esc_attr($coupons_deals_slider_content_left_padding).'%;';
	$coupons_deals_custom_css .='}';

	// slider overlay
	$coupons_deals_enable_slider_overlay = get_theme_mod('coupons_deals_enable_slider_overlay', true);
	if($coupons_deals_enable_slider_overlay == false){
		$coupons_deals_custom_css .='#slider image{';
			$coupons_deals_custom_css .='opacity:1;';
		$coupons_deals_custom_css .='}';
	} 
	$coupons_deals_slider_overlay_color = get_theme_mod('coupons_deals_slider_overlay_color', true);
	if($coupons_deals_enable_slider_overlay != false){
		$coupons_deals_custom_css .='#slider{';
			$coupons_deals_custom_css .='background: '.esc_attr($coupons_deals_slider_overlay_color).';';
		$coupons_deals_custom_css .='}';
	}

	//  comment form width
	$coupons_deals_comment_form_width = get_theme_mod( 'coupons_deals_comment_form_width');
	$coupons_deals_custom_css .='#comments textarea{';
		$coupons_deals_custom_css .='width: '.esc_attr($coupons_deals_comment_form_width).'%;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_title_comment_form = get_theme_mod('coupons_deals_title_comment_form', 'Leave a Reply');
	if($coupons_deals_title_comment_form == ''){
		$coupons_deals_custom_css .='#comments h2#reply-title {';
			$coupons_deals_custom_css .='display: none;';
		$coupons_deals_custom_css .='}';
	}

	$coupons_deals_comment_form_button_content = get_theme_mod('coupons_deals_comment_form_button_content', 'Post Comment');
	if($coupons_deals_comment_form_button_content == ''){
		$coupons_deals_custom_css .='#comments p.form-submit {';
			$coupons_deals_custom_css .='display: none;';
		$coupons_deals_custom_css .='}';
	}

	// featured image setting
	$coupons_deals_image_border_radius = get_theme_mod('coupons_deals_image_border_radius', 0);
	$coupons_deals_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_image_border_radius).'%;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_image_box_shadow = get_theme_mod('coupons_deals_image_box_shadow',0);
	$coupons_deals_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$coupons_deals_custom_css .='box-shadow: '.esc_attr($coupons_deals_image_box_shadow).'px '.esc_attr($coupons_deals_image_box_shadow).'px '.esc_attr($coupons_deals_image_box_shadow).'px #b5b5b5;';
	$coupons_deals_custom_css .='}';

	// grid post image setting
	$coupons_deals_grid_image_border_radius = get_theme_mod('coupons_deals_grid_image_border_radius', 0);
	$coupons_deals_custom_css .='.gridbox .box-image img{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_grid_image_border_radius).'%;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_grid_image_box_shadow = get_theme_mod('coupons_deals_grid_image_box_shadow',0);
	$coupons_deals_custom_css .='.gridbox .box-image img{';
		$coupons_deals_custom_css .='box-shadow: '.esc_attr($coupons_deals_grid_image_box_shadow).'px '.esc_attr($coupons_deals_grid_image_box_shadow).'px '.esc_attr($coupons_deals_grid_image_box_shadow).'px #b5b5b5;';
	$coupons_deals_custom_css .='}';

	// single featured image setting
	$coupons_deals_single_image_border_radius = get_theme_mod('coupons_deals_single_image_border_radius', 0);
	$coupons_deals_custom_css .='.feature-box img{';
		$coupons_deals_custom_css .='border-radius: '.esc_attr($coupons_deals_single_image_border_radius).'%;';
	$coupons_deals_custom_css .='}';

	$coupons_deals_single_image_box_shadow = get_theme_mod('coupons_deals_single_image_box_shadow',0);
	$coupons_deals_custom_css .='.feature-box img{';
		$coupons_deals_custom_css .='box-shadow: '.esc_attr($coupons_deals_single_image_box_shadow).'px '.esc_attr($coupons_deals_single_image_box_shadow).'px '.esc_attr($coupons_deals_single_image_box_shadow).'px #b5b5b5;';
	$coupons_deals_custom_css .='}';

	// category color
	$coupons_deals_category_color = get_theme_mod('coupons_deals_category_color');
	$coupons_deals_custom_css .='.type-post .category ul li a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_category_color).';';
	$coupons_deals_custom_css .='}';

	// category hover color
	$coupons_deals_category_hover_color = get_theme_mod('coupons_deals_category_hover_color');
	$coupons_deals_custom_css .='.type-post .category ul li a:hover{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_category_hover_color).';';
	$coupons_deals_custom_css .='}';

	// Post Block
	$coupons_deals_post_block_option = get_theme_mod( 'coupons_deals_post_block_option','By Block');
    if($coupons_deals_post_block_option == 'By Without Block'){
		$coupons_deals_custom_css .='.mainbox-post, .layout2 .mainbox, .layout1.mainbox,.layout3.mainbox, .post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery{';
			$coupons_deals_custom_css .='border:none; margin:30px 0;';
		$coupons_deals_custom_css .='}';
	}

	//Grid Post Block
	$coupons_deals_grid_post_block_option = get_theme_mod( 'coupons_deals_grid_post_block_option','By Block');
    if($coupons_deals_grid_post_block_option == 'By Without Block'){
		$coupons_deals_custom_css .='.gridbox .inner-service {';
			$coupons_deals_custom_css .='border:none; margin:30px 0;';
		$coupons_deals_custom_css .='}';
	}

	// post image 
	$coupons_deals_post_featured_color = get_theme_mod('coupons_deals_post_featured_color', 'var(--first-theme-color)');
	$coupons_deals_post_featured_image = get_theme_mod('coupons_deals_post_featured_image','Image');
	if($coupons_deals_post_featured_image == 'Color'){
		$coupons_deals_custom_css .='.post-color{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_post_featured_color).';';
		$coupons_deals_custom_css .='}';
	}

	// featured image dimention
	$coupons_deals_post_featured_image_dimention = get_theme_mod('coupons_deals_post_featured_image_dimention', 'Default');
	$coupons_deals_post_featured_image_custom_width = get_theme_mod('coupons_deals_post_featured_image_custom_width');
	$coupons_deals_post_featured_image_custom_height = get_theme_mod('coupons_deals_post_featured_image_custom_height');
	if($coupons_deals_post_featured_image_dimention == 'Custom'){
		$coupons_deals_custom_css .='.box-image img{';
			$coupons_deals_custom_css .='width: '.esc_attr($coupons_deals_post_featured_image_custom_width).'px; height: '.esc_attr($coupons_deals_post_featured_image_custom_height).'px;';
		$coupons_deals_custom_css .='}';
	}

	// featured image dimention
	$coupons_deals_custom_post_color_width = get_theme_mod('coupons_deals_custom_post_color_width');
	$coupons_deals_custom_post_color_height = get_theme_mod('coupons_deals_custom_post_color_height');
	if($coupons_deals_post_featured_image == 'Color'){
		$coupons_deals_custom_css .='.post-color{';
			$coupons_deals_custom_css .='width: '.esc_attr($coupons_deals_custom_post_color_width).'px; height: '.esc_attr($coupons_deals_custom_post_color_height).'px;';
		$coupons_deals_custom_css .='}';
	}

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

	// site tagline font size
	$coupons_deals_site_tagline_font_size = get_theme_mod('coupons_deals_site_tagline_font_size', 15);
	$coupons_deals_custom_css .='p.site-description{';
	$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_site_tagline_font_size).'px;';
	$coupons_deals_custom_css .='}';

	// site logo padding 
	$coupons_deals_logo_padding_font_size = get_theme_mod('coupons_deals_logo_padding_font_size', '');
	$coupons_deals_custom_css .='.logo{';
	$coupons_deals_custom_css .='padding: '.esc_attr($coupons_deals_logo_padding_font_size).'px !important;';
	$coupons_deals_custom_css .='}';

	// woocommerce Product Navigation
	$coupons_deals_wooproducts_nav = get_theme_mod('coupons_deals_wooproducts_nav', 'Yes');
	if($coupons_deals_wooproducts_nav == 'No'){
		$coupons_deals_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$coupons_deals_custom_css .='display: none;';
		$coupons_deals_custom_css .='}';
	}

	/*------ copyright text color -------*/
	$coupons_deals_footer_text_color = get_theme_mod('coupons_deals_footer_text_color');
	if($coupons_deals_footer_text_color != false){
		$coupons_deals_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_footer_text_color).';';
		$coupons_deals_custom_css .='}';
	}

	/*------ copyright background css -------*/
	$coupons_deals_footer_text_bg_color = get_theme_mod('coupons_deals_footer_text_bg_color');
	if($coupons_deals_footer_text_bg_color != false){
		$coupons_deals_custom_css .='.copyright-wrapper{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_footer_text_bg_color).';';
		$coupons_deals_custom_css .='}';
	}

	// social icons font size
	$coupons_deals_social_icons_size = get_theme_mod('coupons_deals_social_icons_size', 15);
	$coupons_deals_custom_css .='.social-icons i{';
		$coupons_deals_custom_css .='font-size: '.esc_attr($coupons_deals_social_icons_size).'px;';
	$coupons_deals_custom_css .='}';

	// site title color
	$coupons_deals_site_title_color = get_theme_mod('coupons_deals_site_title_color');
	$coupons_deals_custom_css .='.site-title a{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_site_title_color).' !important;';
	$coupons_deals_custom_css .='}';

	// site tagline color
	$coupons_deals_site_tagline_color = get_theme_mod('coupons_deals_site_tagline_color');
	$coupons_deals_custom_css .='.site-description{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_site_tagline_color).' !important;';
	$coupons_deals_custom_css .='}';

	// site toggle button color
	$coupons_deals_toggle_button_color = get_theme_mod('coupons_deals_toggle_button_color');
	$coupons_deals_custom_css .='.toggle-menu i{';
		$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_toggle_button_color).';';
	$coupons_deals_custom_css .='}';

	// menu font weight
	$coupons_deals_font_weight_option_menu = get_theme_mod( 'coupons_deals_font_weight_option_menu','600');
	if($coupons_deals_font_weight_option_menu != ''){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='font-weight: '.esc_attr($coupons_deals_font_weight_option_menu).';';
		$coupons_deals_custom_css .='}';
	}

	// Menu Item Hover Style	
	$coupons_deals_menus_item = get_theme_mod( 'coupons_deals_menus_item_style','None');
	if($coupons_deals_menus_item == 'None'){
		$coupons_deals_custom_css .='.primary-navigation ul li a{';
			$coupons_deals_custom_css .='';
		$coupons_deals_custom_css .='}';
	}else if($coupons_deals_menus_item == 'Zoom In'){
		$coupons_deals_custom_css .='.primary-navigation ul li a:hover{';
			$coupons_deals_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.1) !important;';
		$coupons_deals_custom_css .='}';
	}	
	
	// menu color
	$coupons_deals_menu_color = get_theme_mod('coupons_deals_menu_color');
	$coupons_deals_custom_css .='.primary-navigation a, .primary-navigation ul li a, #site-navigation li a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_menu_color).' !important;';
	$coupons_deals_custom_css .='}';

	// Sub menu color
	$coupons_deals_sub_menu_color = get_theme_mod('coupons_deals_sub_menu_color');
	$coupons_deals_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a, #site-navigation ul.children li a, .primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_sub_menu_color).' !important;';
	$coupons_deals_custom_css .='}';

	// menu hover color
	$coupons_deals_menu_hover_color = get_theme_mod('coupons_deals_menu_hover_color');
	$coupons_deals_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover, #site-navigation li a:hover{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_menu_hover_color).' !important;';
	$coupons_deals_custom_css .='}';

	// sub menu hover color
	$coupons_deals_sub_menu_hover_color = get_theme_mod('coupons_deals_sub_menu_hover_color');
	$coupons_deals_custom_css .='.primary-navigation a:hover, .primary-navigation ul.children li a:hover, #site-navigation ul.children li a:hover, .primary-navigation ul.sub-menu li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$coupons_deals_custom_css .='color: '.esc_attr($coupons_deals_sub_menu_hover_color).' !important;';
	$coupons_deals_custom_css .='}';

	// Sub menu bg color
	$coupons_deals_sub_menu_bg_color = get_theme_mod('coupons_deals_sub_menu_bg_color');
	$coupons_deals_custom_css .='#site-navigation ul.children li a, #site-navigation ul.sub-menu li a{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_sub_menu_bg_color).' !important;';
	$coupons_deals_custom_css .='}';

	// Sub menu bg hover color
	$coupons_deals_sub_menu_bg_hover_color = get_theme_mod('coupons_deals_sub_menu_bg_hover_color');
	$coupons_deals_custom_css .='#site-navigation ul.children li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$coupons_deals_custom_css .='background-color: '.esc_attr($coupons_deals_sub_menu_bg_hover_color).' !important;';
	$coupons_deals_custom_css .='}';

	// topbar padding option
	$coupons_deals_topbar_padding_settings = get_theme_mod('coupons_deals_topbar_padding_settings', '');
		$coupons_deals_custom_css .='.top-header{';
			$coupons_deals_custom_css .='padding: '.esc_attr($coupons_deals_topbar_padding_settings).'px;';
		$coupons_deals_custom_css .='}';

	// site logo margin 
	$coupons_deals_logo_margin = get_theme_mod('coupons_deals_logo_margin', '');
	$coupons_deals_custom_css .='.logo{';
	$coupons_deals_custom_css .='margin: '.esc_attr($coupons_deals_logo_margin).'px ;';
	$coupons_deals_custom_css .='}';

	// Fixed Copyright
	$coupons_deals_fixed_copyright = get_theme_mod( 'coupons_deals_display_fixed_copyright',false);
	if($coupons_deals_fixed_copyright == true && get_theme_mod( 'coupons_deals_sticky_copyright',false) != true){
    	$coupons_deals_custom_css .='.fixed-copyright{';
			$coupons_deals_custom_css .='position:static;';
		$coupons_deals_custom_css .='} ';
	}
    if($coupons_deals_fixed_copyright == true){
    	$coupons_deals_custom_css .='@media screen and (max-width:575px) {';
		$coupons_deals_custom_css .='.fixed-copyright{';
			$coupons_deals_custom_css .='position:fixed;';
		$coupons_deals_custom_css .='} }';
	}else if($coupons_deals_fixed_copyright == false){
		$coupons_deals_custom_css .='@media screen and (max-width:575px){';
		$coupons_deals_custom_css .='.fixed-copyright{';
			$coupons_deals_custom_css .='position:static;';
		$coupons_deals_custom_css .='} }';
	}

	// Hover effect on single post featured image (FIXED)

	$coupons_deals_show_featured = get_theme_mod(
		'coupons_deals_featured_image_hide_show',
		1
	);

	$coupons_deals_hover_effect = get_theme_mod(
		'coupons_deals_featured_image_hover',
		'none'
	);

	$coupons_deals_hover_duration = get_theme_mod(
		'coupons_deals_featured_image_hover_duration',
		0.4
	);

	if ( $coupons_deals_show_featured && $coupons_deals_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$coupons_deals_custom_css .= '
		.coupons-deals-featured-image{
			overflow: hidden;
		}
		.coupons-deals-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $coupons_deals_hover_duration ) . 's ease,
				filter ' . esc_attr( $coupons_deals_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $coupons_deals_hover_effect === 'zoom-in' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $coupons_deals_hover_effect === 'zoom-out' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img{
				transform: scale(1.2);
			}
			.coupons-deals-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $coupons_deals_hover_effect === 'grayscale' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img{
				filter: grayscale(0%);
			}
			.coupons-deals-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $coupons_deals_hover_effect === 'sepia' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $coupons_deals_hover_effect === 'blur' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $coupons_deals_hover_effect === 'bright' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $coupons_deals_hover_effect === 'translate' ) {
			$coupons_deals_custom_css .= '
			.coupons-deals-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
