<?php

$seo_marketing_expert_custom_css = '';


// $seo_marketing_expert_is_dark_mode_enabled = get_theme_mod( 'seo_marketing_expert_is_dark_mode_enabled', false );

// if ( $seo_marketing_expert_is_dark_mode_enabled ) {

//     $seo_marketing_expert_custom_css .= 'body,.fixed-header,tr:nth-child(2n+2),#site-navigationnn,.blog_inner_box {';
//     $seo_marketing_expert_custom_css .= 'background: #000;';
//     $seo_marketing_expert_custom_css .= '}';

//     $seo_marketing_expert_custom_css .= '.some {';
//     $seo_marketing_expert_custom_css .= 'background: #000 !important;';
//     $seo_marketing_expert_custom_css .= '}';

// 	$seo_marketing_expert_custom_css .= '.sticky .post-content{';
//     $seo_marketing_expert_custom_css .= 'color: #000';
//     $seo_marketing_expert_custom_css .= '}';

// 	$seo_marketing_expert_custom_css .= 'h5.product-text a,#featured-product p.price,.card-header a,.comment-content.card-block p,.post-box.sticky a,#main-menu ul.sub-menu li a{';
//     $seo_marketing_expert_custom_css .= 'color: #000 !important';
//     $seo_marketing_expert_custom_css .= '}';

//     $seo_marketing_expert_custom_css .= '.some{';
//     $seo_marketing_expert_custom_css .= 'background: #fff;';
//     $seo_marketing_expert_custom_css .= '}';

//     $seo_marketing_expert_custom_css .= '.some {';
//     $seo_marketing_expert_custom_css .= 'background: #fff !important;';
//     $seo_marketing_expert_custom_css .= '}';
	

//     $seo_marketing_expert_custom_css .= 'body,h1,h2,h3,h4,h5,p,#main-menu ul li a,.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,a{';
//     $seo_marketing_expert_custom_css .= 'color: #fff;';
//     $seo_marketing_expert_custom_css .= '}';

//     $seo_marketing_expert_custom_css .= 'a.wc-block-components-product-name, .wc-block-components-product-name,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
// .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
// .wc-block-components-totals-item__label,.wc-block-components-totals-item__value,
// .wc-block-components-product-metadata .wc-block-components-product-metadata__description>p,
// .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
// .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
// .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
// .wc-block-components-quantity-selector,table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
// .wc-block-components-product-price__value.is-discounted,del.wc-block-components-product-price__regular,h1.woocommerce-products-header__title.page-title,h2.woocommerce-loop-product__title,h1.product_title.entry-title,div#tab-description h2,section.related.products h2,h2.woocommerce-Reviews-title,h2#reply-title,h2.comments-title,.logo a,.logo span,#main-menu ul li a,.text-box h2,.blog_inner_box h3,.post-content h3{';
//     $seo_marketing_expert_custom_css .= 'color: #fff !important;';
//     $seo_marketing_expert_custom_css .= '}';

// 	$seo_marketing_expert_custom_css .= '.post-box{';
//     $seo_marketing_expert_custom_css .= '    border: 1px solid rgb(229 229 229 / 48%)';
//     $seo_marketing_expert_custom_css .= '}';
// }

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

	$seo_marketing_expert_text_transform = get_theme_mod( 'menu_text_transform_seo_marketing_expert','UPPERCASE');
    if($seo_marketing_expert_text_transform == 'CAPITALISE'){

		$seo_marketing_expert_custom_css .='#main-menu ul li a{';

			$seo_marketing_expert_custom_css .='text-transform: capitalize ; font-size: 15px;';

		$seo_marketing_expert_custom_css .='}';

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

		$seo_marketing_expert_custom_css .='#main-menu ul li a{';

			$seo_marketing_expert_custom_css .='text-transform: uppercase ; font-size: 15px;';

		$seo_marketing_expert_custom_css .='}';

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

		$seo_marketing_expert_custom_css .='#main-menu ul li a{';

			$seo_marketing_expert_custom_css .='text-transform: lowercase ; font-size: 15px;';

		$seo_marketing_expert_custom_css .='}';
	}

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

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

    if($seo_marketing_expert_menu_zoom == 'None'){

		$seo_marketing_expert_custom_css .='#main-menu ul li a{';

			$seo_marketing_expert_custom_css .='';

		$seo_marketing_expert_custom_css .='}';

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

		$seo_marketing_expert_custom_css .='#main-menu ul li a:hover{';

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

		$seo_marketing_expert_custom_css .='}';
	}

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

$seo_marketing_expert_container_width = get_theme_mod('seo_marketing_expert_container_width');

		$seo_marketing_expert_custom_css .='body,.page-template-frontpage #site-navigationnn{';

			$seo_marketing_expert_custom_css .='width: '.esc_attr($seo_marketing_expert_container_width).'%; margin: auto;';

		$seo_marketing_expert_custom_css .='}';


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

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

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

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

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

		$seo_marketing_expert_custom_css .='}';


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

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

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

		$seo_marketing_expert_custom_css .='}';


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

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

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

		$seo_marketing_expert_custom_css .='}';

	}

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

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

	if($seo_marketing_expert_related_product_setting == false){

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

			$seo_marketing_expert_custom_css .='display: none;';

		$seo_marketing_expert_custom_css .='}';
	}

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

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

	if($seo_marketing_expert_scroll_top_position == 'Right'){

		$seo_marketing_expert_custom_css .='.scroll-up{';

			$seo_marketing_expert_custom_css .='right: 20px;';

		$seo_marketing_expert_custom_css .='}';

	}else if($seo_marketing_expert_scroll_top_position == 'Left'){

		$seo_marketing_expert_custom_css .='.scroll-up{';

			$seo_marketing_expert_custom_css .='left: 20px;';

		$seo_marketing_expert_custom_css .='}';

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

		$seo_marketing_expert_custom_css .='.scroll-up{';

			$seo_marketing_expert_custom_css .='right: 50%;left: 50%;';

		$seo_marketing_expert_custom_css .='}';
	}

		/*---------------------------Pagination Settings-------------------*/


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

		if($seo_marketing_expert_pagination_setting == false){

			$seo_marketing_expert_custom_css .='.nav-links{';

				$seo_marketing_expert_custom_css .='display: none;';

			$seo_marketing_expert_custom_css .='}';
		}

	/*---------------------------Woocommerce Pagination Alignment Settings-------------------*/

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

	if($seo_marketing_expert_woocommerce_pagination_position == 'Left'){

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

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

		$seo_marketing_expert_custom_css .='}';

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

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

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

		$seo_marketing_expert_custom_css .='}';

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

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

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

		$seo_marketing_expert_custom_css .='}';
	}

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

$seo_marketing_expert_first_color = get_theme_mod('seo_marketing_expert_first_color');
$seo_marketing_expert_second_color = get_theme_mod('seo_marketing_expert_second_color');

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

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

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

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