/*
	Modify woocommerce.css with 2.3.3 file wp-content/plugins/woocommerce/assets/css/woocommerce.less
*/
@import "variables.less";
@import "mixins.less";



.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	text-align: center;
	border: 1px solid #e8e8e8;
	padding: 10px;
	background: #ffffff;

	&:hover {
		z-index: 2;
		border: 1px solid #ddd;
		.box-shadow( 0 0 8px #ddd );
	}
}

.woocommerce ul.products li.product h3 {
	font-size: 18px;
	margin: 0 0 10px;
}

.woocommerce .star-rating {
	color:@theme_color;
}

.woocommerce .products .star-rating {
	display: inline-block;
}


.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: @theme_color;
}

.woocommerce ul.products li.product .price {
	color: @theme_color;
	font-size: 18px;
	ins {
		text-decoration: initial;
		font-weight: normal;
	}
	del {
		font-size: 12px;
		display: inline-block;
		margin-right: 5px;
		opacity: 1;
		color: #6F6F6F;
	}
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	top: 0;
	right: auto;
	left: 10px;
	text-align: center;
	line-height: 20px;
	font-weight: bold;
	margin: 0;
	border-radius: 0 0 22px 22px;
	padding: 3px;
	min-height: 26px;
	background: @theme_color;
	border-radius: 0 0 4px 4px;
	padding: 5px 8px;
}

.woocommerce a.added_to_cart.wc-forward {
	display: none;
}

.woocommerce div.product .product_title {
	padding: 0 0 10px;
	border-bottom: 2px solid #e8e8e8;
}

.woocommerce div.product form.cart {
	margin: 20px 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	padding: 15px 0;
}

.woocommerce div.product form.cart .variations label {
	color: #444;
}

.woocommerce div.product div.summary .price {
	text-align: left;
	font-size: 35px;
}

.woocommerce div.product div.summary .price del {
	float: left;
	margin-right: 10px;
	font-size: 20px;
	opacity: 1;
	color: #6F6F6F;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	padding: 8px 22px;
	color: #ffffff;
	background-color: #242424;
	font-weight: normal;
	.transition(400ms);
	&:hover {
		color: #ffffff;
		background-color: @theme_color;
	}
}

.woocommerce-cart table.cart input {
  line-height: 20px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  line-height: 20px;
  padding: 7px;
}

.woocommerce div.product div.summary {
	
	form.cart div.quantity {
		line-height: 44px;
		margin-right: 10px;
	}
	
	.single_add_to_cart_button {
		padding: 12px 30px;
	}
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background-color: @theme_color;
	.transition(400ms);
	&:hover {
		background-color: #242424;
	}
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  -webkit-font-smoothing: auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 -1px;
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0 0 20px;
	padding: 10px;
	border: 1px solid #e2e2e2;
	border-radius: 0;
	float: left;
	width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 0;
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-top-color: @theme_color;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after {
	display: none;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	text-decoration: inherit;
	font-weight: normal;
}

.woocommerce {
	div.product {
		div.summary {
			.price {
				line-height:40px;
				
				ins,
				del {
					line-height:40px;
				}
			}
			
		}
	}
}

.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address {
	position: relative;
	
	.input-checkbox {
		position: absolute;
		top: 12px;
	}
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background-color: #f2f2f2;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
	background-color: @theme_color;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
	background-color: lighten(@theme_color, 5%);
}


.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
	padding: 0;
	margin: 0 0 10px;
	
	a {
		font-weight: normal;
	}

	ins {
		text-decoration: inherit;
		font-size: 20px;
	}
	
	img {
		width: 80px;
		float: left;
		margin-right: 10px;
		margin-left: 0;
	}
	
}

.woocommerce div.product div.summary .product_description {
	padding: 20px;
	background: #f5f5f5;
	margin-bottom: 20px;
}

.woocommerce div.product div.summary .product_meta > span {
	display: block;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .related ul li.product,
.woocommerce .related ul.products li.product,
.woocommerce .upsells.products ul li.product,
.woocommerce .upsells.products ul.products li.product,
.woocommerce-page .related ul li.product,
.woocommerce-page .related ul.products li.product,
.woocommerce-page .upsells.products ul li.product,
.woocommerce-page .upsells.products ul.products li.product {
	margin: 0 2% 20px 0;
	width: 23.5%;
}

.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.last,
.woocommerce .related ul li.product.last,
.woocommerce .related ul.products li.product.last,
.woocommerce .upsells.products ul li.product.last,
.woocommerce .upsells.products ul.products li.product.last,
.woocommerce-page .related ul li.product.last,
.woocommerce-page .related ul.products li.product.last,
.woocommerce-page .upsells.products ul li.product.last,
.woocommerce-page .upsells.products ul.products li.product.last {
	margin: 0 0 20px 0;
}


@media (max-width: 1200px) {
	.woocommerce ul.products li.first, .woocommerce-page ul.products li.first {clear:none;}
	.woocommerce ul.products li.product.last, ul.products li.last { margin-right:3%; }
	
	.woocommerce .related ul.products li.product,
	.woocommerce-page .related ul.products li.product,

	.woocommerce .upsells.products ul.products li.product,
	.woocommerce-page .upsells.products ul.products li.product,
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product,
	.woocommerce .upsells.products ul li.product,
	.woocommerce-page .upsells.products ul li.product,
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		margin: 0 3% 20px 0;
		width: 31.2%;
	}

	.woocommerce .related ul.products li.product:nth-child(3n+1),
	.woocommerce-page .related ul.products li.product:nth-child(3n+1),
	.woocommerce .upsells.products ul.products li.product:nth-child(3n+1),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(3n+1),
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product:nth-child(3n+1),
	.woocommerce .upsells.products ul li.product:nth-child(3n+1),
	.woocommerce-page .upsells.products ul li.product:nth-child(3n+1),
	.woocommerce ul.products li.product:nth-child(3n+1),
	.woocommerce-page ul.products li.product:nth-child(3n+1) { margin-right:3%;}
	
	.woocommerce .related ul.products li.product:nth-child(3n+3),
	.woocommerce-page .related ul.products li.product:nth-child(3n+3),
	.woocommerce .upsells.products ul.products li.product:nth-child(3n+3),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(3n+3),
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product:nth-child(3n+3),
	.woocommerce .upsells.products ul li.product:nth-child(3n+3),
	.woocommerce-page .upsells.products ul li.product:nth-child(3n+3),
	.woocommerce ul.products li.product:nth-child(3n+3),
	.woocommerce-page ul.products li.product:nth-child(3n+3) { margin-right:0; }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
	.woocommerce .col-sm-8 ul.products li.product.last, ul.products li.last { margin-right:3.8%; }
	
	.woocommerce .col-sm-8 .related ul.products li.product,
	.woocommerce-page .col-sm-8 .related ul.products li.product,
	.woocommerce .col-sm-8 .upsells.products ul.products li.product,
	.woocommerce-page .col-sm-8 .upsells.products ul.products li.product,
	.woocommerce .col-sm-8 .related ul li.product,.woocommerce-page .related ul li.product,
	.woocommerce .col-sm-8 .upsells.products ul li.product,
	.woocommerce-page .col-sm-8 .upsells.products ul li.product,
	.woocommerce .col-sm-8 ul.products li.product,
	.woocommerce-page .col-sm-8 ul.products li.product {
		margin: 0 3.8% 20px 0;
		width: 48%;
	}

	.woocommerce .col-sm-8 .related ul.products li.product:nth-child(2n+1),
	.woocommerce-page .col-sm-8 .related ul.products li.product:nth-child(2n+1),
	.woocommerce .col-sm-8 .upsells.products ul.products li.product:nth-child(2n+1),
	.woocommerce-page .col-sm-8 .upsells.products ul.products li.product:nth-child(2n+1),
	.woocommerce .col-sm-8 .related ul li.product,.woocommerce-page .related ul li.product:nth-child(2n+1),
	.woocommerce .col-sm-8 .upsells.products ul li.product:nth-child(2n+1),
	.woocommerce-page .col-sm-8 .upsells.products ul li.product:nth-child(2n+1),
	.woocommerce .col-sm-8 ul.products li.product:nth-child(2n+1),
	.woocommerce-page .col-sm-8 ul.products li.product:nth-child(2n+1) {clear:none; margin-right:3.8%;}
	
	.woocommerce .col-sm-8 .related ul.products li.product:nth-child(2n+2),
	.woocommerce-page .col-sm-8 .related ul.products li.product:nth-child(2n+2),
	.woocommerce .col-sm-8 .upsells.products ul.products li.product:nth-child(2n+2),
	.woocommerce-page .col-sm-8 .upsells.products ul.products li.product:nth-child(2n+2),
	.woocommerce .col-sm-8 .related ul li.product,.woocommerce-page .related ul li.product:nth-child(2n+2),
	.woocommerce .col-sm-8 .upsells.products ul li.product:nth-child(2n+2),
	.woocommerce-page .col-sm-8 .upsells.products ul li.product:nth-child(2n+2),
	.woocommerce .col-sm-8 ul.products li.product:nth-child(2n+2),
	.woocommerce-page .col-sm-8 ul.products li.product:nth-child(2n+2) { margin-right:0;clear: none;}
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
	.woocommerce ul.products li.product.last, ul.products li.last { margin-right:3.8%; }
	
	.woocommerce .related ul.products li.product,
	.woocommerce-page .related ul.products li.product,
	.woocommerce .upsells.products ul.products li.product,
	.woocommerce-page .upsells.products ul.products li.product,
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product,
	.woocommerce .upsells.products ul li.product,
	.woocommerce-page .upsells.products ul li.product,
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		margin: 0 3.8% 20px 0;
		width: 48%;
	}

	.woocommerce .related ul.products li.product:nth-child(2n+1),
	.woocommerce-page .related ul.products li.product:nth-child(2n+1),
	.woocommerce .upsells.products ul.products li.product:nth-child(2n+1),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(2n+1),
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product:nth-child(2n+1),
	.woocommerce .upsells.products ul li.product:nth-child(2n+1),
	.woocommerce-page .upsells.products ul li.product:nth-child(2n+1),
	.woocommerce ul.products li.product:nth-child(2n+1),
	.woocommerce-page ul.products li.product:nth-child(2n+1) {clear:none; margin-right:3.8%;}
	
	.woocommerce .related ul.products li.product:nth-child(2n+2),
	.woocommerce-page .related ul.products li.product:nth-child(2n+2),
	.woocommerce .upsells.products ul.products li.product:nth-child(2n+2),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(2n+2),
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product:nth-child(2n+2),
	.woocommerce .upsells.products ul li.product:nth-child(2n+2),
	.woocommerce-page .upsells.products ul li.product:nth-child(2n+2),
	.woocommerce ul.products li.product:nth-child(2n+2),
	.woocommerce-page ul.products li.product:nth-child(2n+2) { margin-right:0;clear: none;}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	.woocommerce .related ul.products li.product,
	.woocommerce-page .related ul.products li.product,
	.woocommerce .upsells.products ul.products li.product,
	.woocommerce-page .upsells.products ul.products li.product,
	.woocommerce .related ul li.product,.woocommerce-page .related ul li.product,
	.woocommerce .upsells.products ul li.product,
	.woocommerce-page .upsells.products ul li.product,
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		margin: 0 0 20px 0 !important;
		width: 100% !important;
		clear: none;
	}
}