<?php

$fashion_boutique_custom_css = '';


$fashion_boutique_is_dark_mode_enabled = get_theme_mod( 'fashion_boutique_is_dark_mode_enabled', false );

if ( $fashion_boutique_is_dark_mode_enabled ) {

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

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

	$fashion_boutique_custom_css .= '.sticky h3.post-title,.sticky .post-content{';
    $fashion_boutique_custom_css .= 'color: #000';
    $fashion_boutique_custom_css .= '}';

	$fashion_boutique_custom_css .= 'h5.product-text a,#featured-product p.price,.card-header a,.comment-content.card-block p,.post-box.sticky a,.blog_box h3 a{';
    $fashion_boutique_custom_css .= 'color: #000 !important';
    $fashion_boutique_custom_css .= '}';

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

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

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

    $fashion_boutique_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,.logo a,.logo span,li.menu-item-has-children:after{';
    $fashion_boutique_custom_css .= 'color: #fff !important;';
    $fashion_boutique_custom_css .= '}';

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

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

	$fashion_boutique_text_transform = get_theme_mod( 'menu_text_transform_fashion_boutique','CAPITALISE');

    if($fashion_boutique_text_transform == 'CAPITALISE'){

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

			$fashion_boutique_custom_css .='text-transform: capitalize ; font-size: 14px;';

		$fashion_boutique_custom_css .='}';

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

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

			$fashion_boutique_custom_css .='text-transform: uppercase ; font-size: 14px;';

		$fashion_boutique_custom_css .='}';

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

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

			$fashion_boutique_custom_css .='text-transform: lowercase ; font-size: 14px;';

		$fashion_boutique_custom_css .='}';
	}
	/*---------------------------menu-transition-------------------*/

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

		if($fashion_boutique_menu_zoom == 'None'){

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

				$fashion_boutique_custom_css .='';

			$fashion_boutique_custom_css .='}';

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

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

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

			$fashion_boutique_custom_css .='}';
		}

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

	$fashion_boutique_container_width = get_theme_mod('fashion_boutique_container_width');

			$fashion_boutique_custom_css .='body,.admin-bar .sticky-header.fixed-header,.sticky-header.fixed-header{';

				$fashion_boutique_custom_css .='width: '.esc_attr($fashion_boutique_container_width).'%; margin: 0 auto;';

			$fashion_boutique_custom_css .='}';

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

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

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

			$fashion_boutique_custom_css .='.blog_box{';

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

			$fashion_boutique_custom_css .='}';


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

			$fashion_boutique_custom_css .='.blog_box{';

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

			$fashion_boutique_custom_css .='}';


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

			$fashion_boutique_custom_css .='.blog_box{';

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

			$fashion_boutique_custom_css .='}';

		}


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

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

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

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

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

		$fashion_boutique_custom_css .='}';


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

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

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

		$fashion_boutique_custom_css .='}';


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

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

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

		$fashion_boutique_custom_css .='}';

	}

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


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

	if($fashion_boutique_related_product_setting == false){

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

			$fashion_boutique_custom_css .='display: none;';

		$fashion_boutique_custom_css .='}';
	}

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

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

	if($fashion_boutique_scroll_top_position == 'Right'){

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

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

		$fashion_boutique_custom_css .='}';

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

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

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

		$fashion_boutique_custom_css .='}';

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

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

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

		$fashion_boutique_custom_css .='}';
	}

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


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

	if($fashion_boutique_pagination_setting == false){

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

			$fashion_boutique_custom_css .='display: none;';

		$fashion_boutique_custom_css .='}';
	}


	/*--------------------------- Slider Opacity -------------------*/

	$fashion_boutique_slider_opacity_color = get_theme_mod( 'fashion_boutique_slider_opacity_color','unset');

	if($fashion_boutique_slider_opacity_color == '0'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.1'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.1';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.2'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.2';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.3'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.3';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.4'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.4';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.5'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.5';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.6'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.6';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.7'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.7';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.8'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.8';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == '0.9'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:0.9';

		$fashion_boutique_custom_css .='}';

		}else if($fashion_boutique_slider_opacity_color == 'unset'){

		$fashion_boutique_custom_css .='.blog_inner_box img{';

			$fashion_boutique_custom_css .='opacity:unset';

		$fashion_boutique_custom_css .='}';

		}

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

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

	if($fashion_boutique_woocommerce_pagination_position == 'Left'){

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

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

		$fashion_boutique_custom_css .='}';

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

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

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

		$fashion_boutique_custom_css .='}';

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

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

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

		$fashion_boutique_custom_css .='}';
	}

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

$fashion_boutique_first_color = get_theme_mod('fashion_boutique_first_color');
$fashion_boutique_second_color = get_theme_mod('fashion_boutique_second_color');

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

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

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

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