<?php

$ecommece_marketplace_custom_css = '';

	/*---------------------------text-transform-------------------*/

	$ecommece_marketplace_text_transform = get_theme_mod( 'menu_text_transform_ecommece_marketplace','capitalize');
    if($ecommece_marketplace_text_transform == 'CAPITALISE'){

		$ecommece_marketplace_custom_css .='.main-navigation ul li a{';

			$ecommece_marketplace_custom_css .='text-transform: capitalize;';

		$ecommece_marketplace_custom_css .='}';

	}else if($ecommece_marketplace_text_transform == 'UPPERCASE'){

		$ecommece_marketplace_custom_css .='.main-navigation ul li a{';

			$ecommece_marketplace_custom_css .='text-transform: uppercase;';

		$ecommece_marketplace_custom_css .='}';

	}else if($ecommece_marketplace_text_transform == 'LOWERCASE'){

		$ecommece_marketplace_custom_css .='.main-navigation ul li a{';

			$ecommece_marketplace_custom_css .='text-transform: lowercase;';

		$ecommece_marketplace_custom_css .='}';
	}

		/*---------------------------menu-zoom-------------------*/

		$ecommece_marketplace_menu_zoom = get_theme_mod( 'ecommece_marketplace_menu_zoom','None');

    if($ecommece_marketplace_menu_zoom == 'Zoomout'){

		$ecommece_marketplace_custom_css .='.main-navigation ul li a{';

			$ecommece_marketplace_custom_css .='';

		$ecommece_marketplace_custom_css .='}';

	}else if($ecommece_marketplace_menu_zoom == 'Zoominn'){

		$ecommece_marketplace_custom_css .='.main-navigation ul li a:hover{';

			$ecommece_marketplace_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--first-color);';

		$ecommece_marketplace_custom_css .='}';
	}

	/*---------------------------Container Width-------------------*/

$ecommece_marketplace_container_width = get_theme_mod('ecommece_marketplace_container_width');

		$ecommece_marketplace_custom_css .='body{';

			$ecommece_marketplace_custom_css .='width: '.esc_attr($ecommece_marketplace_container_width).'%; margin: auto';

		$ecommece_marketplace_custom_css .='}';

		/*---------------------------Slider-content-alignment-------------------*/

	$ecommece_marketplace_slider_content_alignment = get_theme_mod( 'ecommece_marketplace_slider_content_alignment','CENTER-ALIGN');

	 if($ecommece_marketplace_slider_content_alignment == 'LEFT-ALIGN'){

			$ecommece_marketplace_custom_css .='.blog_box{';

				$ecommece_marketplace_custom_css .='text-align:left;';

			$ecommece_marketplace_custom_css .='}';


		}else if($ecommece_marketplace_slider_content_alignment == 'CENTER-ALIGN'){

			$ecommece_marketplace_custom_css .='.blog_box{';

				$ecommece_marketplace_custom_css .='text-align:center;';

			$ecommece_marketplace_custom_css .='}';


		}else if($ecommece_marketplace_slider_content_alignment == 'RIGHT-ALIGN'){

			$ecommece_marketplace_custom_css .='.blog_box{';

				$ecommece_marketplace_custom_css .='text-align:right;';

			$ecommece_marketplace_custom_css .='}';

		}

		/*---------------------------Copyright Text alignment-------------------*/

$ecommece_marketplace_copyright_text_alignment = get_theme_mod( 'ecommece_marketplace_copyright_text_alignment','LEFT-ALIGN');

 if($ecommece_marketplace_copyright_text_alignment == 'LEFT-ALIGN'){

		$ecommece_marketplace_custom_css .='.copy-text p{';

			$ecommece_marketplace_custom_css .='text-align:left;';

		$ecommece_marketplace_custom_css .='}';


	}else if($ecommece_marketplace_copyright_text_alignment == 'CENTER-ALIGN'){

		$ecommece_marketplace_custom_css .='.copy-text p{';

			$ecommece_marketplace_custom_css .='text-align:center;';

		$ecommece_marketplace_custom_css .='}';


	}else if($ecommece_marketplace_copyright_text_alignment == 'RIGHT-ALIGN'){

		$ecommece_marketplace_custom_css .='.copy-text p{';

			$ecommece_marketplace_custom_css .='text-align:right;';

		$ecommece_marketplace_custom_css .='}';

	}

	/*---------------------------related Product Settings-------------------*/

$ecommece_marketplace_related_product_setting = get_theme_mod('ecommece_marketplace_related_product_setting',true);

	if($ecommece_marketplace_related_product_setting == false){

		$ecommece_marketplace_custom_css .='.related.products, .related h2{';

			$ecommece_marketplace_custom_css .='display: none;';

		$ecommece_marketplace_custom_css .='}';
	}

		/*---------------------------Scroll to Top Alignment Settings-------------------*/

		$ecommece_marketplace_scroll_top_position = get_theme_mod( 'ecommece_marketplace_scroll_top_position','Right');

		if($ecommece_marketplace_scroll_top_position == 'Right'){
	
			$ecommece_marketplace_custom_css .='.scroll-up{';
	
				$ecommece_marketplace_custom_css .='right: 20px;';
	
			$ecommece_marketplace_custom_css .='}';
	
		}else if($ecommece_marketplace_scroll_top_position == 'Left'){
	
			$ecommece_marketplace_custom_css .='.scroll-up{';
	
				$ecommece_marketplace_custom_css .='left: 20px;';
	
			$ecommece_marketplace_custom_css .='}';
	
		}else if($ecommece_marketplace_scroll_top_position == 'Center'){
	
			$ecommece_marketplace_custom_css .='.scroll-up{';
	
				$ecommece_marketplace_custom_css .='right: 50%;left: 50%;';
	
			$ecommece_marketplace_custom_css .='}';
		}
	
			/*---------------------------Pagination Settings-------------------*/
	
	
	$ecommece_marketplace_pagination_setting = get_theme_mod('ecommece_marketplace_pagination_setting',true);
	
		if($ecommece_marketplace_pagination_setting == false){
	
			$ecommece_marketplace_custom_css .='.nav-links{';
	
				$ecommece_marketplace_custom_css .='display: none;';
	
			$ecommece_marketplace_custom_css .='}';
		}

		/*---------------------------woocommerce pagination alignment settings-------------------*/

	$ecommece_marketplace_woocommerce_pagination_position = get_theme_mod( 'ecommece_marketplace_woocommerce_pagination_position','Center');

	if($ecommece_marketplace_woocommerce_pagination_position == 'Left'){

		$ecommece_marketplace_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$ecommece_marketplace_custom_css .='text-align: left;';

		$ecommece_marketplace_custom_css .='}';

	}else if($ecommece_marketplace_woocommerce_pagination_position == 'Center'){

		$ecommece_marketplace_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$ecommece_marketplace_custom_css .='text-align: center;';

		$ecommece_marketplace_custom_css .='}';

	}else if($ecommece_marketplace_woocommerce_pagination_position == 'Right'){

		$ecommece_marketplace_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$ecommece_marketplace_custom_css .='text-align: right;';

		$ecommece_marketplace_custom_css .='}';
	}

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

$ecommece_marketplace_first_color = get_theme_mod('ecommece_marketplace_first_color');
$ecommece_marketplace_second_color = get_theme_mod('ecommece_marketplace_second_color');

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

if ($ecommece_marketplace_first_color) {
  $ecommece_marketplace_custom_css .= ':root {';
  $ecommece_marketplace_custom_css .= '--first-color: ' . esc_attr($ecommece_marketplace_first_color) . ' !important;';
  $ecommece_marketplace_custom_css .= '} ';
}

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

if ($ecommece_marketplace_second_color) {
  $ecommece_marketplace_custom_css .= ':root {';
  $ecommece_marketplace_custom_css .= '--second-color: ' . esc_attr($ecommece_marketplace_second_color) . ' !important;';
  $ecommece_marketplace_custom_css .= '} ';
}