/* --------------------------------------------
	PRODUCT LISTING
	-------------------------------------------- */
.woocommerce, .single-product {
	.product-item-wrap {
		padding: 0 15px 0 15px;
		margin: 30px 0;
		@media(max-width: @screen-xs-min){
			padding: 5px;
		}
	}
	.star-rating.rating-invisible {
		display: none;
	}
	.product-item-inner {
		background-color: @white;
		position: relative;
		overflow: hidden;
		border: 1px solid #f7f7f7;
		.transition( all 0.35s ease-in-out);
	}
	.product-thumb img {
		width: 100%;
	}
	.product-flash-wrap{
		position: absolute;
		top: 15px;
		left: 0;
		span{
			font-size: 14px;
			text-transform: uppercase;
			margin-top: 0;
			z-index: 1;
			padding-left: 20px;
			border-bottom:1px solid @text_color; 
			display: block;
			&:last-child{
				border: none;
			}
			&:first-child{
				border-bottom:1px solid @text_color; 
			}
			
		}
	}
	.product-thumb {
		position: relative;
		background-color: @white;
		.product-thumb-primary {
			overflow: hidden;
			img {
				.transition(all 0.5s ease);
			}		
		}
		.product-thumb-secondary{
			img {
				.transition(all 0.5s ease);
			}	
		}
	}
	.product-thumb-secondary {
		position: absolute;
		margin: auto;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		opacity: 0;
		z-index: 1;
		.transition( all 0.2s linear);
	}
	// Background overplay for product
	.product-link {
		opacity: 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 2;
		visibility: visible;
		.transition(all 0.25s ease-in-out);
	}
	.add-to-cart-wrap {
		display: inline-block;
		position: absolute;
		opacity: 0;
		left: -10px;
		bottom: 12px;
		.transition(all 0.25s ease-in-out);
		a {
			display: inline-block;
			text-align: center;
			color: @text_color;
			display: inline-block;
			padding: 0;
			opacity: 0;
			position: relative;
			-webkit-border-radius: 0;
			-moz-border-radius: 0;
			border-radius: 0;
			font-size: 14px;
			min-width: 0;
			vertical-align: middle;
			&:before {
				font-family: FontAwesome;
				content: "\f217";
				font-style: normal;
				font-weight: normal;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
				font-size: 15px;
				line-height: 1;
				vertical-align: middle;
				display: none;
			}
			&:hover {
				background-color: transparent;
		    }
		}
	}
	.yith-wcwl-wishlistaddedbrowse a,
	.yith-wcwl-wishlistexistsbrowse a,
	.add_to_wishlist,
	.compare,
	.product-quick-view,
	.btn_add_to_cart,
	.add-to-cart-wrap a {
		text-align: center;
		color: @text_color;
		background-color: transparent;
		display: inline-block;
		padding: 0;
		position: relative;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		font-size: 0px;
		min-width: 0;
		vertical-align: middle;
		opacity: 1;
		i {
			font-size: 16px;
			line-height: 28px;
		}
		&:hover,
		&.active {
			color: @primary_color;
			background: transparent;
		}
	}
	.add-to-cart-wrap a {
		font-weight: normal;
		font-size: 14px;
		i{
			margin-right: 5px;
		}
		&:after{
			display: none;
		}
	}
	.wishlist_table {
		.add-to-cart-wrap a {
			&.loading {
		        font-size: 0 !important;
    			min-height: 38px;
			}
			&:after{
				display: block;
				font-size: 14px;
			    text-align: center;
			    width: 100%;
			    right: 0;
			    line-height: 38px;
			    top: 0;
			}
		}
	}
	.added_to_cart.wc-forward{
		padding-right: 30px;
		i{
			color: @primary_color;
		}
	}

	.compare{
		right: 30px;
		.blockUI.blockOverlay{
			background: none !important;
		}
	}
	.product-quick-view {
		right: 20px;
		margin-right: 0;
		i {
			font-size: 20px;
			&.fa-spin{
				font-size: 16px;
			}
		}
		&.active{
			i{
				&.fa-spin{
					&:before{
						content: "\f110";
						-webkit-animation: fa-spin 2s infinite linear;
						animation: fa-spin 2s infinite linear;
						font-family: FontAwesome;

					}
				}
			}
		}
	}
	.product-quick-view,.compare{
		position: absolute;
		bottom: 10px;
		opacity: 0;
		i{
			font-size: 20px;
		}
	}
	.yith-wcwl-wishlistaddedbrowse a{
		color: @primary_color;
	}

	.added-spinner {
		color: @primary_color;
	}


	.yith-wcwl-add-to-wishlist {
		display: inline-block;
		margin: 0;
		position: absolute;
		top: 25px;
		right: 0px;
		opacity: 0;
		line-height: 1;
		.transition(all 0.35s ease);
		span.feedback{
			display: none;
		}
	}

	.yith-wcwl-add-to-wishlist + div.clear {
		display: none;
	}

	.yith-wcwl-add-button {
		a{
			i{
				margin-right: 0px;
			}
		}
		font-size: 0;
		position: relative;
		.ajax-loading {
			display: none !important;
		}
	}

	.add_to_wishlist:before,
	.yith-wcwl-wishlistaddedbrowse a:before,
	.yith-wcwl-wishlistexistsbrowse a:before,
	.compare.added:before {
		font-family: FontAwesome;
		content: "\f08a";
		font-style: normal;
		font-weight: normal;
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		font-size: 16px;
		line-height: 1;
		vertical-align: middle;
	}
	.yith-wcwl-wishlistexistsbrowse a{
		&:before{
			color: @primary_color;
		}
	}
	.add_to_wishlist{
		i{
			font-size: 16px;
			line-height: 1;
			&:before{
				line-height: 1;
			}
		}
	}
	.compare{
		i{
			&.fa-spinner{
				font-size: 16px;
				line-height: 28px;
			}
		}
	}
	.compare.added:before {
		content: "\f268" !important;
		font-family: Ionicons;
		font-size: 20px;
		line-height: 28px;
	}

	.add_to_wishlist.added-spinner:before {
		content: "";
		display: none;
	}
	.added-spinner:before {
		content: "\f110";
		-webkit-animation: fa-spin 2s infinite linear;
		animation: fa-spin 2s infinite linear;
	}
	.product-info {
		padding: 10px 20px;
		text-align: center;
		background: @white;
		position: relative;
		z-index: 3;
		min-height: 92px;
		h3 {
			position: relative;
			top: 0;
			font-size: 16px;
			margin-top: 10px;
			margin-bottom: 10px;
			color: @heading_color;
			text-align: left;
			font-weight: 400;
			width: 100%;
			padding-right: 0px;
			.transition(all 0.35s ease);
		}
		.star-rating {
			position: absolute;
			right: 15px;
			bottom: 16px;
			margin-top: 0;
			font-size: 12px;
			width: 86px;
			.transition(all 0.35s ease);
		}
		span.price{
			font-size: 16px!important;
			font-weight: 500;
			display: block;
			padding: 0px 0px;
			text-align: left;
			color: @text_color !important;
			ins {
				display: inline-block;
				text-decoration: none;
				font-weight: 500 !important;
				font-style: inherit;
				color: @text_color;
			}
			del {
				color: lighten(@text_color, 20%);
				display: inline-block;
				opacity: 1;
				margin-right: 0px;
				font-weight: inherit;
				font-style: inherit;
			}
		}
	}
	.product-item-wrap.active,
	.product-item-wrap:hover {
		.product-thumb{
			.product-thumb-secondary{
				opacity: 1;
			}
		}
		.product-info {
			h3{
				color: @primary_color;
			}
			span.price,.star-rating{
				opacity: 0;
			}
			.add-to-cart-wrap{
				left: 20px;
				opacity: 1;
			}
			.yith-wcwl-add-to-wishlist{
				opacity: 1;
			}
			.product-quick-view,.compare{
				opacity: 1;
			}
		}
	}
	.product-item-wrap{
		@media(max-width:479px) and (min-width: 321px){
			.product-info {
				.yith-wcwl-add-to-wishlist,.product-quick-view,.compare{
					opacity: 0 !important;
				}
			}
		}
	}
	
	&.columns-1 .product-item-wrap {
		
	}
	&.columns-2 .product-item-wrap {
		width: 50%;
		float: left;
	}

	&.columns-3 .product-item-wrap {
		width: 33.33333333%;
		float: left;
	}

	&.columns-4 .product-item-wrap {
		width: 25%;	
		float: left;
	}

	&.columns-5 .product-item-wrap {
		width: 20%;
		float: left;
	}
	&.columns-6 .product-item-wrap {
		width: 16.6666666%;
		float: left;
	}

	&.product-slider {
		.product-item-wrap {
			float: none;
			padding-bottom: 0;
		}
	}
	@media(max-width:@screen-sm-max){
		&.columns-6 .product-item-wrap,&.columns-5 .product-item-wrap,&.columns-4 .product-item-wrap {
			width: 33.33%;
		}
	}
	@media(max-width:@screen-sm-min){
		&.columns-6 .product-item-wrap,&.columns-5 .product-item-wrap,&.columns-4 .product-item-wrap,&.columns-3 .product-item-wrap {
			width: 50%;
		}
	}
	@media(max-width:414px){
		&.columns-6 .product-item-wrap,&.columns-5 .product-item-wrap,&.columns-4 .product-item-wrap,&.columns-3 .product-item-wrap,&.columns-2 .product-item-wrap {
			width: 100%;
		}

	}

}
// WooCommerce shortcode for menu
.woocommerce{
	.product-flash-wrap{
		z-index: 2;
	}
	> .woocommerce{
		margin: 0;
		.product-item-wrap{
			padding: 0;
			.product-item-inner{
				.transition( all 0.35s ease);
				.product-thumb{
					width: 33.33%;
					float: left;
					.product-thumb-primary{
						img{
							padding-top: 0;
						}
					}
					.product-thumb-secondary{
						img{
							padding-top: 0;
						}
					}
					.product-flash-wrap{
						span{
							margin-top: 0;
						}
					}
				}
				.product-info{
					padding: 0 0 0 30px;
					width: 66.66%;
					float: left;
					text-align: left;
					.star-rating {
						position: relative;
						text-align: left;
						right: 0;
						margin: 20px 0 10px 0;
						&:before{
							left: 0;
							.translateX(0);
						}
					}
					span.price{
						margin-top: 25px;
						padding-top: 10px;
					}
					h3{
						width: 100%;
						padding-right: 0;
						margin-top: 12px;
						margin-bottom: 10px;
						font-size: 16px;
					}
					@media( min-width: 768px) and ( max-width: 991px){
						padding-left: 10px; 
						h3{
							font-size: 14px;
							margin-bottom: 0;
							margin-top: 0;
						}
						span.price{
							margin-top: 0;
						}
					}
				}
				.product-actions{
					display: none;
				}
				&:hover{
					.translate(0, -3px);
				}
			}
		}
	}
	&.columns-1{
		.woocommerce{
			.product-item-wrap {
				.product-info {
					.star-rating{
						bottom: 0;
					}
					span.price{
						margin-top: 10px !important;
					}
					span.price,.star-rating{
						opacity: 1;
					}
					.add-to-cart-wrap{
						display: none;
					}
				}
				&:hover{
					.product-info {
						span.price,.star-rating{
							opacity: 1;
						}
						.yith-wcwl-add-to-wishlist{
							opacity: 0;
						}
						.product-quick-view,.compare{
							opacity: 0;
						}
					}
				}
			}
		}
		.product-item-wrap{
			width: 100%;
			.product-info{
				h3{
					font-size: 14px;
					color: @text_color;
					text-align: left;
				}
				.star-rating {
					&:before{
						left: 0;
						.translate(0)
					}
				}
				span.price{
					text-align: left;
					
				}
				.woocommerce-product-details__short-description{
					text-align: left;
				}
			}
		}
	}
}

/* --------------------------------------------
ORDER RECEIVED
-------------------------------------------- */
.woocommerce-order-received .woocommerce,
.woocommerce-account .woocommerce{
	h2,
	header.title h3{
		font-size: 25px;
		color: #25262C;
		margin-bottom: 20px;
	}
	address {
		line-height: 1.8;
	}
}
.woocommerce .order_details {
	padding: 0;
}



/* --------------------------------------------
ORDER TRACKING
-------------------------------------------- */
.track_order {
	text-align: left;
	.form-row{
		input.button{
			margin-top: 30px;
			height: 50px;
			min-width: 170px;
			text-transform: uppercase;
			font-size: 16px;
		}
	}
}

.track_order p:first-child {
	line-height: 1.8;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	display: none;
}

.woocommerce .track_order .form-row-first,
.woocommerce .track_order .form-row-last {
	float: none;
	margin: auto;
	margin-bottom: 20px;
	width: 100%;
	label{
		font-size: 16px;
		text-transform: capitalize;
		margin-bottom: 10px;
		color: @primary_color;
	}
	input{
		text-align: left;
		color: @primary_color;
		.placeholder{
			text-align: left;
			color: fade(@primary_color, 50%);
		}
	}
}

.woocommerce form.track_order .form-row input.input-text {
	height: 50px;
	border: 1px solid #eee !important;
	&:focus{
		border-color: @primary_color !important;	
	}
}

/* --------------------------------------------
PRODUCT-LOADMORE - INFINITESCROLL
-------------------------------------------- */
.product-paging-wrapper{
	margin-top: 50px;
}

