<?php
// Add plugin-specific colors and fonts to the custom CSS
if ( ! function_exists( 'tourimo_woocommerce_get_css' ) ) {
	add_filter( 'tourimo_filter_get_css', 'tourimo_woocommerce_get_css', 10, 2 );
	function tourimo_woocommerce_get_css( $css, $args ) {

		if ( isset( $css['fonts'] ) && isset( $args['fonts'] ) ) {
			$fonts         = $args['fonts'];
			$css['fonts'] .= <<<CSS


.woocommerce .checkout table.shop_table .product-name .variation,
.woocommerce .shop_table.order_details td.product-name .variation,
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price,
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce table.cart td.product-name a, .woocommerce-page table.cart td.product-name a
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .outofstock_label  {
	{$fonts['p_font-family']}
}
.woocommerce ul.products li.product .post_header, .woocommerce-page ul.products li.product .post_header,
.single-product div.product .woocommerce-tabs .wc-tabs li a,
.woocommerce span.onsale,
.woocommerce div.product .summary .stock,
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta,
.woocommerce-page #reviews #comments ol.commentlist li .comment-text p.meta,
.woocommerce #content table.cart td.product-name a, .woocommerce-page #content table.cart td.product-name a,
.woocommerce-MyAccount-navigation,
.woocommerce ul.products li.product h3,
.woocommerce div.product .product_meta {
	{$fonts['h5_font-family']}
}
.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button,
.woocommerce .woocommerce-message .button,
.woocommerce #review_form #respond p.form-submit input[type="submit"],
.woocommerce-page #review_form #respond p.form-submit input[type="submit"],
.woocommerce table.my_account_orders .order-actions .button,
.woocommerce .button, .woocommerce-page .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button
.woocommerce #respond input#submit,
.woocommerce input[type="button"], .woocommerce-page input[type="button"],
.woocommerce input[type="submit"], .woocommerce-page input[type="submit"] {
	{$fonts['button_font-family']}
	{$fonts['button_font-size']}
	{$fonts['button_font-weight']}
	{$fonts['button_font-style']}
	{$fonts['button_line-height']}
	{$fonts['button_text-decoration']}
	{$fonts['button_text-transform']}
	{$fonts['button_letter-spacing']}
}
.woocommerce ul.products li.product .post_header .post_tags,
.woocommerce div.product .product_meta span > a, .woocommerce div.product .product_meta span > span,
.woocommerce div.product form.cart .reset_variations {
	{$fonts['info_font-family']}
}

.woocommerce div.product .woocommerce-tabs h2,
.woocommerce #content div.product .woocommerce-tabs h2,
.woocommerce-page div.product .woocommerce-tabs h2,
.woocommerce-page #content div.product .woocommerce-tabs h2,
.woocommerce #review_form #respond #reply-title,
.woocommerce-MyAccount-navigation ul li {
	{$fonts['h5_font-family']}
	{$fonts['h5_font-size']}
	{$fonts['h5_font-weight']}
	{$fonts['h5_font-style']}
	{$fonts['h5_line-height']}
	{$fonts['h5_text-decoration']}
	{$fonts['h5_text-transform']}
	{$fonts['h5_letter-spacing']}
	{$fonts['h5_margin-bottom']}
}

.woocommerce div.product .product_meta span>a,
.woocommerce div.product .product_meta span>span,
.woocommerce .widget_shopping_cart .buttons a, 
.woocommerce.widget_shopping_cart .buttons a  {
	{$fonts['p_font-family']}
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.widget_shopping_cart .quantity, 
.woocommerce .widget_shopping_cart .quantity,
.woocommerce.widget_shopping_cart ul.cart_list li a,
.woocommerce ul.cart_list li span .amount, 
.woocommerce ul.product_list_widget li span .amount, 
.woocommerce-page ul.cart_list li span .amount, 
.woocommerce-page ul.product_list_widget li span .amount,
.woocommerce .widget_shopping_cart .cart_list li a.remove, 
.woocommerce.widget_shopping_cart .cart_list li a.remove,
.woocommerce.widget_shopping_cart .total .amount, 
.woocommerce .widget_shopping_cart .total .amount, 
.woocommerce-page.widget_shopping_cart .total .amount, 
.woocommerce-page .widget_shopping_cart .total .amount {
	{$fonts['h5_font-family']}
	{$fonts['h5_font-style']}
}
.woocommerce .widget_price_filter .price_label span {
	{$fonts['h6_font-family']}
}
.woocommerce .widget_shopping_cart .total, 
.woocommerce.widget_shopping_cart .total,
.woocommerce .widget_price_filter .price_label {
	{$fonts['info_font-family']}
	{$fonts['info_font-style']}
}
.woocommerce ul.product-categories li,
.woocommerce-page ul.product-categories li {
	{$fonts['h6_font-family']}
	{$fonts['h6_font-weight']}
	{$fonts['h6_font-style']}	
}
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-checkout h3,
.woocommerce-order-details__title, 
.woocommerce-column__title,
.woocommerce .woocommerce-MyAccount-content h3,
.woocommerce-account h2, 
.woocommerce-account .address .title h3 {
	{$fonts['h4_font-size']}
	{$fonts['h4_line-height']}
}
.woocommerce form .form-row label:not(.checkbox),
.woocommerce-page form .form-row label:not(.checkbox) {
	{$fonts['h6_font-size']}
	{$fonts['h6_font-family']}
}
table.shop_table.woocommerce-checkout-review-order-table tbody td,
table.shop_table.woocommerce-checkout-review-order-table tfoot td,
table.shop_table.woocommerce-checkout-review-order-table tbody th,
table.shop_table.woocommerce-checkout-review-order-table tfoot th {
	{$fonts['p_font-size']}
	{$fonts['p_font-family']}
	{$fonts['p_font-style']}	
	{$fonts['p_font-weight']}
}
li.woocommerce-notice.woocommerce-notice--info.woocommerce-info {
	{$fonts['p_font-size']}
}

CSS;
		}

		if ( isset( $css['vars'] ) && isset( $args['vars'] ) ) {
			$vars         = $args['vars'];
			$css['vars'] .= <<<CSS

.woocommerce .button, .woocommerce-page .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button
.woocommerce #respond input#submit,
.woocommerce input[type="button"], .woocommerce-page input[type="button"],
.woocommerce input[type="submit"], .woocommerce-page input[type="submit"],
.woocommerce .woocommerce-message .button,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce #review_form #respond p.form-submit input[type="submit"],
.woocommerce-page #review_form #respond p.form-submit input[type="submit"],
.woocommerce table.my_account_orders .order-actions .button,
.yith-woocompare-widget a.clear-all,
.single-product div.product .woocommerce-tabs .wc-tabs li a,
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container-single .chosen-single,
.woocommerce .shop_mode_thumbs ul.products li.product .post_item, 
.woocommerce-page .shop_mode_thumbs ul.products li.product .post_item,
.woocommerce .shop_mode_list ul.products li.product .post_featured,
.woocommerce-page .shop_mode_list ul.products li.product .post_featured,
.woocommerce .products.related ul.products li.product>.post_item.post_layout_thumbs,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-control-thumbs li img,
.woocommerce ul.products li.product .post_featured,
.woocommerce ul.products li.product .post_featured .mask,
.woocommerce ul.cart_list li img,
.woocommerce-page ul.cart_list li img,
.woocommerce ul.product_list_widget li img,
.woocommerce-page ul.product_list_widget li img,
.woocommerce .checkout input[type="checkbox"]  +  span:before {
	-webkit-border-radius: {$vars['rad']};
	    -ms-border-radius: {$vars['rad']};
			border-radius: {$vars['rad']};
}
.woocommerce div.product form.cart div.quantity span.q_inc, .woocommerce-page div.product form.cart div.quantity span.q_inc,
.woocommerce .shop_table.cart div.quantity span.q_inc, .woocommerce-page .shop_table.cart div.quantity span.q_inc {
	-webkit-border-radius: 0 {$vars['rad']} 0 0;
	    -ms-border-radius: 0 {$vars['rad']} 0 0;
			border-radius: 0 {$vars['rad']} 0 0;
}
.woocommerce div.product form.cart div.quantity span.q_dec, .woocommerce-page div.product form.cart div.quantity span.q_dec,
.woocommerce .shop_table.cart div.quantity span.q_dec, .woocommerce-page .shop_table.cart div.quantity span.q_dec {
	-webkit-border-radius: 0 0 {$vars['rad']} 0;
	    -ms-border-radius: 0 0 {$vars['rad']} 0;
			border-radius: 0 0 {$vars['rad']} 0;
}
.woocommerce ul.products li.product .yith_buttons_wrap,
.woocommerce ul.products li.product .yith_buttons_wrap a > .tooltip {
	-webkit-border-radius: {$vars['rad3']};
	    -ms-border-radius: {$vars['rad3']};
			border-radius: {$vars['rad3']};
}
CSS;
		}

		if ( isset( $css['colors'] ) && isset( $args['colors'] ) ) {
			$colors         = $args['colors'];
			$css['colors'] .= <<<CSS

/* Page header */
.woocommerce .woocommerce-breadcrumb {
	color: {$colors['text']};
}
.woocommerce .woocommerce-breadcrumb a {
	color: {$colors['text_link']};
}
.woocommerce .woocommerce-breadcrumb a:hover {
	color: {$colors['text_hover']};
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
	background-color: {$colors['text_link']};
}

/* List and Single product */
.single_product_layout_stretched .page_content_wrap {
	background-color: {$colors['alter_bg_color_04']};
}
.woocommerce.single_product_layout_stretched #content div.product div.summary, .woocommerce-page.single_product_layout_stretched #content div.product div.summary,
.woocommerce.single_product_layout_stretched div.product div.summary, .woocommerce-page.single_product_layout_stretched div.product div.summary {
	background-color: {$colors['bg_color']};
}
.woocommerce.single_product_layout_stretched.sidebar_show #content div.product .woocommerce-tabs, .woocommerce-page.single_product_layout_stretched.sidebar_show #content div.product .woocommerce-tabs,
.woocommerce.single_product_layout_stretched.sidebar_show div.product .woocommerce-tabs, .woocommerce-page.single_product_layout_stretched.sidebar_show div.product .woocommerce-tabs {
	background-color: {$colors['bg_color']};
}

.woocommerce .woocommerce-ordering select {
	border-color: {$colors['input_bg_color']};
}
.woocommerce span.onsale {
	color: {$colors['inverse_link']};
	background-color: {$colors['text_link']};
}
.woocommerce .shop_mode_thumbs ul.products li.product .post_item, 
.woocommerce-page .shop_mode_thumbs ul.products li.product .post_item {
	background-color: {$colors['bg_color']};
	border-color: {$colors['bd_color']};
}
.woocommerce .shop_mode_thumbs ul.products li.product .post_item:hover, 
.woocommerce-page .shop_mode_thumbs ul.products li.product .post_item:hover {
	background-color: {$colors['bg_color']};
	border-color: {$colors['bd_color']};
}

.woocommerce ul.products li.product .post_featured {
	border-color: {$colors['bd_color']};
	background-color: {$colors['bg_color']};
}

.woocommerce ul.products li.product .outofstock_label {
	background-color: {$colors['extra_bg_color']};
	color: {$colors['extra_dark']};
}
.woocommerce ul.products li.product .post_header a {
	color: {$colors['alter_link']};
}
.woocommerce ul.products li.product .post_header a:hover {
	color: {$colors['alter_hover']};
}
.woocommerce ul.products li.product .post_header .post_tags,
.woocommerce ul.products li.product .post_header .post_tags a {
	color: {$colors['alter_link']};
}
.woocommerce ul.products li.product .post_header .post_tags a:hover {
	color: {$colors['alter_hover']};
}

.woocommerce ul.products li.product .yith_buttons_wrap {
	border-color: {$colors['extra_bd_color']};
	background-color: {$colors['extra_bg_color']};
}
.woocommerce ul.products li.product .yith_buttons_wrap > :nth-child(n+1) {
	border-color: {$colors['extra_bd_color']};
}
.woocommerce ul.products li.product .yith_buttons_wrap a {
	color: {$colors['extra_link']};
}
.woocommerce ul.products li.product .yith_buttons_wrap a:hover {
	color: {$colors['extra_hover']};
}
.woocommerce ul.products li.product .yith_buttons_wrap a > .tooltip {
	color: {$colors['extra_text']};
	background-color: {$colors['extra_bg_color']};
	border-color: {$colors['extra_bg_color']};
}
.woocommerce.single-product ul.products li.product .yith_buttons_wrap {
	border-color: {$colors['alter_bd_color']};
	background-color: {$colors['alter_bg_color']};
}
.woocommerce.single-product ul.products li.product .yith_buttons_wrap > :nth-child(n+1) {
	border-color: {$colors['alter_bd_color']};
}
.woocommerce.single-product ul.products li.product .yith_buttons_wrap a {
	color: {$colors['alter_link']};
}
.woocommerce.single-product ul.products li.product .yith_buttons_wrap a:hover {
	color: {$colors['alter_hover']};
}
.woocommerce.single-product ul.products li.product .yith_buttons_wrap a > .tooltip {
	color: {$colors['alter_text']};
	background-color: {$colors['alter_bg_color']};
	border-color: {$colors['alter_bg_color']};
}

.woocommerce ul.products li.product .price, 
.woocommerce-page ul.products li.product .price,
.woocommerce ul.products li.product .price ins, 
.woocommerce-page ul.products li.product .price ins {
	color: {$colors['alter_dark']};
}
.woocommerce ul.products li.product .price del, 
.woocommerce-page ul.products li.product .price del {
	color: {$colors['alter_light']};
}

.woocommerce div.product p.price, 
.woocommerce div.product span.price {
	color: {$colors['text_dark']};
}
.woocommerce span.amount, 
.woocommerce-page span.amount {
	color: {$colors['text_hover']};
}
.woocommerce table.shop_table td span.amount {
	color: {$colors['text_dark']};
}
aside.woocommerce del,
.woocommerce del, 
.woocommerce del > span.amount, 
.woocommerce-page del, 
.woocommerce-page del > span.amount {
	color: {$colors['text_light']} !important;
}
.woocommerce .price del:before {
	background-color: {$colors['text_light']};
}

/* Cart table */
.woocommerce table.cart tbody td.actions  {
	background-color: {$colors['bg_color']}!important;
}
.woocommerce table.cart>tbody>tr:nth-child(2n+1)>td {
    background-color: {$colors['bg_color']}!important;	
}
.woocommerce table.cart .quantity input{
	color: {$colors['input_light']};	
}
input#coupon_code {
    background-color: {$colors['input_bg_color']};	
}
.woocommerce .shop_table.cart div.quantity span, 
.woocommerce-page .shop_table.cart div.quantity span {
	color: {$colors['extra_link2']};		
}
.woocommerce div.product form.cart div.quantity span, 
.woocommerce-page div.product form.cart div.quantity span,
.woocommerce .shop_table.cart div.quantity span, 
.woocommerce-page .shop_table.cart div.quantity span {
	color: {$colors['input_text']};
	background-color: {$colors['input_bg_color']};
}
.woocommerce div.product form.cart div.quantity span:hover, 
.woocommerce-page div.product form.cart div.quantity span:hover,
.woocommerce .shop_table.cart div.quantity span:hover, 
.woocommerce-page .shop_table.cart div.quantity span:hover {
	color: {$colors['input_bg_color']};
	background-color: {$colors['input_text']};
}
.woocommerce div.product form.cart div.quantity input[type="number"], 
.woocommerce-page div.product form.cart div.quantity input[type="number"],
.woocommerce .shop_table.cart input[type="number"], 
.woocommerce-page .shop_table.cart div.quantity input[type="number"] {
	background-color: {$colors['input_bg_color']};
	border-color: {$colors['input_bg_color']};
}
.woocommerce a.remove {
	color: {$colors['text_link']} !important; 
}
.woocommerce a.remove:hover {
	color: {$colors['text_hover']} !important; 
}


.woocommerce div.product .product_meta span > a,
.woocommerce div.product .product_meta span > span {
	color: {$colors['text_link']};
}
.woocommerce div.product .product_meta a:hover {
	color: {$colors['text_hover']};
}

.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images img {
	border-color: {$colors['bd_color']};
}
.woocommerce div.product div.images a:hover img {
	border-color: {$colors['text_link']};
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	border-color: {$colors['bd_color']};
}

.woocommerce div.product .woocommerce-tabs ul.tabs li, 
.woocommerce #content div.product .woocommerce-tabs ul.tabs li, 
.woocommerce-page div.product .woocommerce-tabs ul.tabs li, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: {$colors['bg_color']};
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: {$colors['bd_color_03']};
}

.woocommerce .shop_mode_list ul.products li.product .post_featured,
.woocommerce-page .shop_mode_list ul.products li.product .post_featured,
.woocommerce .shop_mode_list ul.products li.product+li.product .post_item,
.woocommerce-page .shop_mode_list ul.products li.product+li.product .post_item  {
	border-color: {$colors['alter_bd_color']};
}

.single_product_layout_stretched div.product .trx-stretch-width {
	background-color: {$colors['bg_color']};	
}
.single_product_layout_stretched div.product .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs .panel, 
.woocommerce-page div.product .woocommerce-tabs .panel,
.woocommerce #content div.product .woocommerce-tabs .panel, 
.woocommerce-page #content div.product .woocommerce-tabs .panel {
	border-color: {$colors['bd_color']};
}
.single-product div.product .woocommerce-tabs .wc-tabs li a {
	color: {$colors['text_dark']};
}
.single-product div.product .woocommerce-tabs .wc-tabs li.active a {
	color: {$colors['text_hover']};
}
.single-product div.product .woocommerce-tabs .wc-tabs li:not(.active) a:hover {
	color: {$colors['text_hover']};
}

.single_product_layout_stretched div.product .woocommerce-tabs .wc-tabs li a {
	color: {$colors['text_dark']};
}
.single_product_layout_stretched div.product .woocommerce-tabs .wc-tabs li.active a {
	color: {$colors['text_link']};
}
.single_product_layout_stretched div.product .woocommerce-tabs .wc-tabs li:not(.active) a:hover {
	color: {$colors['text_hover']};
}

.single-product div.product .woocommerce-tabs .panel {
	color: {$colors['text']};
}
.single_product_layout_stretched div.product .woocommerce-tabs .panel {
	border-color: {$colors['bd_color']};
}
.woocommerce table.shop_attributes tr:nth-child(2n+1) > * {
	background-color: {$colors['alter_bg_color_04']};
}
.woocommerce table.shop_attributes tr:nth-child(2n) > *,
.woocommerce table.shop_attributes tr.alt > * {
	background-color: {$colors['alter_bg_color_02']};
}
.woocommerce table.shop_attributes th {
	color: {$colors['text_dark']};
}

.group_table .woocommerce-grouped-product-list-item__label a {
	color: {$colors['text_dark']};
}

.group_table .woocommerce-grouped-product-list-item__label a:hover {
	color: {$colors['text_hover']};
}

/* Related Products */
.single-product .related {
	border-color: {$colors['bd_color']};
}
.woocommerce .products.related ul.products li.product>.post_item.post_layout_thumbs {
	border-color: {$colors['bd_color']};
}

/* Rating */
.star-rating span,
.star-rating:before {
	color: {$colors['text_hover']};
}
.woocommerce #review_form_wrapper,
.woocommerce-page #review_form_wrapper {
	border-color: {$colors['bd_color']};
}
#review_form #respond p.form-submit input[type="submit"] {
	color: {$colors['extra_dark']};
	border-color: {$colors['extra_bg_color']};
	background-color: {$colors['extra_bg_color']};
}
#review_form #respond p.form-submit input[type="submit"]:hover,
#review_form #respond p.form-submit input[type="submit"]:focus {
	color: {$colors['extra_bg_color']};
	border-color: {$colors['extra_bg_color']};
	background-color: transparent;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta,
.woocommerce-page #reviews #comments ol.commentlist li .comment-text p.meta  {
	color: {$colors['text_light']};
}
.woocommerce #reviews #comments ol.commentlist li+li, .woocommerce #reviews #comments ol.commentlist ul.children {
	border-color: {$colors['bd_color']};
}

/* Shop mode selector */
.tourimo_shop_mode_buttons a {
	color: {$colors['input_bg_color']};
}
.tourimo_shop_mode_buttons a:hover {
	color: {$colors['text_hover']};
}
.shop_mode_thumbs .tourimo_shop_mode_buttons a.woocommerce_thumbs,
.shop_mode_list .tourimo_shop_mode_buttons a.woocommerce_list {
	color: {$colors['text_hover']};
}


/* Messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	background-color: transparent;
	border-top-color: {$colors['alter_link']};
}
.woocommerce .woocommerce-message:before,
.woocommerce .woocommerce-info:before,
.woocommerce .woocommerce-error:before {
	color: {$colors['alter_link']};
}

/* Cart */
.woocommerce table.shop_table td {
	border-color: {$colors['alter_bd_color']} !important;
}
.woocommerce table.shop_table tfoot th, 
.woocommerce-page table.shop_table tfoot th {
	color: {$colors['text_dark']};
	border-color: transparent !important;
	background-color: transparent;
}
.woocommerce .quantity input.qty, 
.woocommerce #content .quantity input.qty, 
.woocommerce-page .quantity input.qty, 
.woocommerce-page #content .quantity input.qty {
	color: {$colors['input_dark']};
}
.woocommerce .cart-collaterals .cart_totals table select,
.woocommerce-page .cart-collaterals .cart_totals table select {
	color: {$colors['input_text']};
	background-color: {$colors['input_bg_color']};
}
.woocommerce .cart-collaterals .cart_totals table select:focus, 
.woocommerce-page .cart-collaterals .cart_totals table select:focus {
	color: {$colors['input_dark']};
	background-color: {$colors['input_bg_hover']};
}
.woocommerce .cart-collaterals .shipping_calculator .shipping-calculator-button:after,
.woocommerce-page .cart-collaterals .shipping_calculator .shipping-calculator-button:after {
	color: {$colors['text_dark']};
}
.woocommerce table.shop_table .cart-subtotal .amount, 
.woocommerce-page table.shop_table .cart-subtotal .amount,
.woocommerce table.shop_table .shipping td, 
.woocommerce-page table.shop_table .shipping td {
	color: {$colors['text_dark']};
}
.woocommerce table.cart > tbody > tr:nth-child(2n) > td {
    background-color: {$colors['alter_bd_color_02']};
}
.woocommerce table.cart td+td a, .woocommerce #content table.cart td+td a, 
.woocommerce-page table.cart td+td a, .woocommerce-page #content table.cart td+td a,
.woocommerce table.cart td+td span, .woocommerce #content table.cart td+td span, 
.woocommerce-page table.cart td+td span, .woocommerce-page #content table.cart td+td span {
	color: {$colors['text_dark']};
}
.woocommerce table.cart td+td a:hover, .woocommerce #content table.cart td+td a:hover, 
.woocommerce-page table.cart td+td a:hover, .woocommerce-page #content table.cart td+td a:hover {
	color: {$colors['text_link']};
}
#add_payment_method table.cart td.actions .coupon .input-text, 
.woocommerce-cart table.cart td.actions .coupon .input-text, 
.woocommerce-checkout table.cart td.actions .coupon .input-text {
	border-color: {$colors['input_bd_color']};
}
.showcoupon {
	color: {$colors['text_hover']};		
}
a.woocommerce-privacy-policy-link {
	color: {$colors['text_hover']};		
}
.woocommerce table.shop_table tfoot th,
.woocommerce-page table.shop_table tfoot th {
    border-color: {$colors['alter_bd_color']}!important;
}

/* Checkout */
#add_payment_method #payment ul.payment_methods, 
.woocommerce-cart #payment ul.payment_methods, 
.woocommerce-checkout #payment ul.payment_methods {
	border-color:{$colors['bd_color']};
}
#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
	color:{$colors['alter_text']};
	background-color:{$colors['alter_bg_color']};
}
#add_payment_method #payment div.payment_box:before, 
.woocommerce-cart #payment div.payment_box:before, 
.woocommerce-checkout #payment div.payment_box:before {
	border-color: transparent transparent {$colors['input_bg_hover']};
}
.woocommerce .order_details li strong, 
.woocommerce-page .order_details li strong {
	color: {$colors['text_dark']};
}
.woocommerce .order_details.woocommerce-thankyou-order-details {
	color:{$colors['alter_text']};
	background-color:{$colors['alter_bg_color']};
}
.woocommerce .order_details.woocommerce-thankyou-order-details strong {
	color:{$colors['alter_dark']};
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-navigation ul li,
.woocommerce-MyAccount-navigation li+li {
	border-color: {$colors['bd_color']};
}
.woocommerce-MyAccount-navigation li.is-active a {
	color: {$colors['text_link']};
}

/* Widgets */
.widget_product_search form:after {
	color: {$colors['input_light']};
}
.widget_product_search form:hover:after {
	color: {$colors['input_dark']};
}

/* Cart */
.widget_shopping_cart .total {
	color: {$colors['text_dark']};
	border-color: {$colors['bd_color']};
}
.widget_shopping_cart  ul.product_list_widget li dl {
	border-color: {$colors['bd_color']};
}
.widget_shopping_cart  ul.product_list_widget li img {
	border-color: {$colors['bd_color']};
}
.widget_shopping_cart  ul.product_list_widget li a {
	color: {$colors['text_dark']};
}
.widget_shopping_cart  ul.product_list_widget li a:hover {
	color: {$colors['text_hover']};
}
.widget_shopping_cart  ul.product_list_widget li span .amount {
	color: {$colors['text_hover']};
}
.widget_shopping_cart  ul.product_list_widget li a.remove{
	color: {$colors['text_link']}!important;
}
.widget_shopping_cart  ul.product_list_widget li a.remove:hover {
	color: {$colors['text_hover']}!important;
}
.widget_shopping_cart .quantity {
	color: {$colors['text_light']};
}
.widget_shopping_cart .total {
	color: {$colors['text_light']};
}
.widget_shopping_cart .button.wc-forward:not(.checkout) { 
	background-color: {$colors['text_link2']}; 
	border-color: {$colors['text_link2']};
	color: {$colors['bg_color']};
}
.widget_shopping_cart .button.wc-forward:not(.checkout):hover {
	background-color: transparent;
	border-color: {$colors['text_link2']};
	color: {$colors['text_link2']};
}
.widget_layered_nav ul li.chosen a {
	color: {$colors['text_dark']};
}

/* Checkout */
.woocommerce .checkout input[type="checkbox"] + span:before {
	color: {$colors['input_dark']};
	background-color: {$colors['input_bg_color']} !important;
}

/* Price filter */
.widget_price_filter .price_slider_wrapper .ui-widget-content { 
	background: {$colors['alter_bd_color']};
}
 .widget_price_filter .price_label {
	color: {$colors['alter_light']};
}
 .widget_price_filter .price_label span { 
	color: {$colors['alter_hover']}!important;
}

/* WooCommerce Search widget */
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field input[type="text"],
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field .trx_addons_woocommerce_search_form_field_label {
	border-color: {$colors['text_link']};
	color: {$colors['text_link']};
}
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field input[type="text"]:focus,
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field .trx_addons_woocommerce_search_form_field_label:hover {
	border-color: {$colors['text_hover']};
	color: {$colors['text_hover']};
}
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field_list {
	color: {$colors['alter_text']};
	border-color: {$colors['alter_bd_color']};
	background-color: {$colors['alter_bg_color']};
}
.trx_addons_woocommerce_search_type_inline .trx_addons_woocommerce_search_form_field_list li:hover {
	color: {$colors['alter_dark']};
	background-color: {$colors['alter_bg_hover']};
}



/* Third-party plugins
---------------------------------------------- */
.yith_magnifier_zoom_wrap .yith_magnifier_zoom_magnifier {
	border-color: {$colors['bd_color']};
}

.yith-woocompare-widget a.clear-all {
	color: {$colors['inverse_link']};
	background-color: {$colors['alter_link']};
}
.yith-woocompare-widget a.clear-all:hover {
	color: {$colors['inverse_hover']};
	background-color: {$colors['alter_hover']};
}

.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container-single .chosen-single {
	color: {$colors['input_text']};
	background: {$colors['input_bg_color']};
}
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container-single .chosen-single:hover {
	color: {$colors['input_dark']};
	background: {$colors['input_bg_hover']};
}
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container .chosen-drop {
	color: {$colors['input_dark']};
	background: {$colors['input_bg_hover']};
	border-color: {$colors['input_bd_hover']};
}
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container .chosen-results li {
	color: {$colors['input_dark']};
}
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container .chosen-results li:hover,
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container .chosen-results li.highlighted,
.widget.WOOCS_SELECTOR .woocommerce-currency-switcher-form .chosen-container .chosen-results li.result-selected {
	color: {$colors['alter_link']} !important;
}

CSS;
		}

		return $css;
	}
}



