/*
* 1. Archive Product
* 
*/

.layout-container-fluid.archive-product-wrap {
    padding: 0 15px;
}

.tooltip-inner {
    white-space: nowrap;
}

.custom-select {
    position: relative;
    &:before {
	content: "\f107";
	font-family: FontAwesome;
	padding: 8px 8px;
	position: absolute;
	right: 10px;
	top: 0;
	z-index: 1;
	text-align: center;
	width: 15px;
	height: 100%;
	pointer-events: none;
	box-sizing: border-box;
    }
    &:after {
	content: "";
	display: block;
	clear: both;
    }
    select {
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    }
    select::-ms-expand { display: none; }
}
.breadcrumb-archive-product-wrap {
    .container {
	position: relative;
    }
    .catalog-filter {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 44px;
    }
}
.catalog-filter {
    padding-left: 15px;
    padding-right: 15px;
}

.woocommerce {
    .woocommerce-ordering {
		margin: 0;
		position: relative;
		&:after {
		    content: "\f107";
		    font-family: FontAwesome;
		    padding: 8px 8px;
		    position: absolute;
		    right: 10px;
		    top: 0;
		    z-index: 1;
		    text-align: center;
		    width: 15px;
		    height: 100%;
		    pointer-events: none;
		    .box-sizing(border-box);
		}
		select::-ms-expand {
		    display: none;
		}
		select {
		    color: @heading_color;
		    font-weight: bold;
		    font-size: 13px;
		    text-transform: uppercase;
		    outline: none;
		    -webkit-appearance: none;
		    -moz-appearance: none;
		    appearance: none;
		}
    }
    .woocommerce-result-count {
		margin: 0;
		font-size: 13px;
		margin-right: 30px;
		line-height: 44px;
		text-transform: uppercase;
		color: @heading_color;
		font-weight: bold;
    }

}


.catalog-filter-invisible .catalog-filter,
.result-count-invisible .woocommerce-result-count,
.catalog-ordering-invisible .woocommerce-ordering {
    display: none;
}

.woocommerce .star-rating {
    float: none;
    font-size: 12px;
    width: 90px;
    letter-spacing: 5px;
    margin-top: 20px;
    margin: 20px auto 0 auto;
    span {
	color: fade(@primary_color, 50%);
    }
}

.woocommerce form .form-row {
    padding: 0;
    margin-bottom: 10px;
    input.input-text,
    textarea,
    select {
	height: 44px;
	background-color: transparent;
	color: @text_color;
	font-size: 14px;
	border: 1px solid @primary_color !important;
    }
    textarea {
	height: 130px;
    }
    label {
	font-weight: normal;
	font-size: 13px;
	color: #202020;
	text-transform: uppercase;
	margin-bottom: 0;
	&.inline {
	    input[type=checkbox],
	    input[type=radio] {
		margin: auto;
		vertical-align: middle;
	    }
	}
    }
}

.site-content-archive-product {
    .noo-filter-categories-mobile {
		display: none;
		@media(max-width: @screen-sm-max){
		    display: block;
		    cursor: pointer;
		    &:after{
			content: "\f067";
			font-family: FontAwesome;
			width: 20px;
			height: 20px;
			.rounded(100%);
			border: 1px solid @text_color;
			display: inline-block;
			text-align: center;
			line-height: 20px;
			font-size: 12px;
			margin-left: 10px;
		    }
		    &.active{
			&:after{
			    content: "\f068";
			}
		    }
		}
    }
    .noo-filter-categories {
		width: 80%;
		padding-left: 15px;
		float: left;
		li{
		    display: inline-block;
		    margin-right: 15px;
		    &.current-cat a{
			color: @primary_color;
			font-weight: bold;
		    }
		    span{
			display: inline-block;
			margin-right: 15px;
		    }
		}
		@media(max-width: @screen-sm-max){
		    width: 100%;
		    float: none;
		    display: none;
		    li{
			display: block;
			margin-right: 0;
			span{
			    display: none;
			}
		    }
		}
    }
    .noo-filter-search {
		text-align: right;
		width: 20%;
		float: right;
		padding-right: 15px;
		padding-left: 0;
		list-style-type: none;
		li{
		    display: inline-block;
		    cursor: pointer;
		    &.active {
				span#noo-shop-search-btn, span.invert-color {
				    color: @primary_color;
				}
		    }
		    span {
			margin: 0 20px;
			float: left;
		    }
		}
		@media(max-width: @screen-sm-max) {
		    text-align: left;
		    width: 100%;
		    float: left;
		}
    }
    .noo-search-field {
		display: none;
    }
    .archive-product-wrap {
		position: relative;
		.noo-filter-widget {
		    &.left,
		    &.right {
			.woocommerce-sidebar {
			    display: block;
			    aside{
				width: 100%;
			    }
			}
			@media(max-width: @screen-sm-max) {
			    float: none;
			}
		    }
		    &.left{
			float: left;
		    }
		    &.right {
			float: right;
		    }
		    @media(max-width: @screen-sm-max) {
			.widget{
			    padding: 0;
			    width: 100%;
			    .widget-title{
				cursor: pointer;
				padding: 10px 0;
				margin: 0;
				&:before{
				    content: "\f105";
				    font-family: FontAwesome;
				    width: auto;
				    height: auto;
				    top: auto;
				    background: none;
				    right: 0;
				}
				span{
				    padding-left: 0;
				}
				&.active{
				    &:before{
					content: "\f107";
				    }
				}
			    }
			    ul{
				display: none;
			    }
			}
		    }
		}
		&.noo-loading-product,
		&.noo-loaded-product {
		    .product-listing {
			.opacity(0);
			.transition(all 0.2s);
		    }
		}
		.noo-shop-results-bar {
		    margin-top: 30px;
		    a {
			display: inline-block;
			padding: 5px 10px;
			border: 1px solid @border_color;
			margin: 0 5px;
			&:before {
			    content: "\f00d";
			    font-family: FontAwesome;
			    padding-right: 10px;
			}
			&:first-child {
			    margin-left: 0;
			}
		    }
		}
		.woocommerce-sidebar {
		    display: none;
		    aside {
			h4.widget-title {
			    margin-bottom: 25px;
			}
			width: 25%;
			float: left;
			margin-top: 0;
			.noo-filter-widgets, .noo-price-filter{
			    list-style-type: none;
			    padding-left: 0;
			}
			.noo-filter-color {
			    a{
				display: inline-block;
			    }
			}
			.tagcloud {
			    .current-tag {
				background-color: @primary_color;
				color: #ffffff;
			    }
			}
			ul {
			    li {
				&.wc-layered-nav-term {
				    a{
					display: inline-block;
				    }
				}
			    }
			}
		    }
		}
		.noo-search-field {
		    display: none;
		}
		.product-listing {
		    margin: 0 -15px 30px;
		    min-height: 450px;
		    .opacity(1);
		    .transition(all 0.2s);
		    .product-item-wrap{
			float: left;
		    }
		    @media(max-width:480px) {
			margin: 0 0 30px 0;
		    }
		}
		.noo-spinner {
		    text-align: center;
		    position: relative;
		    top: 50px;
		    .fa-spinner{
			position: absolute;
		    }
		}
		.woocommerce-no-products {
		    min-height: 450px;
		    margin-top: 30px;
		}
    }
    .woocommerce-pagination {
	text-align: center;
	.noo-shop-loadmore,
	.noo-show-all {
	    display: inline-block;
	    cursor: pointer;
	    border: 1px solid @primary_color;
	    padding: 10px 60px;
	    color: @text_color;
	    font-weight: bold;
	    text-transform: uppercase;
	    .transition(all 0.2s ease);
	    i {
		line-height: 0;
	    }
	    &:hover {
		background-color: @primary_color;
		color: @white;
	    }
	    &.noo-hide-loadmore,
	    &.noo-show-loadmore {
		opacity: 0;
		.transition(all 0.2s);
	    }
	}
	.noo-show-all {
	    background-color: @primary_color;
	    color: @white;
	}
    }
    .container-fluid {
	.noo-filter-categories,
	.noo-filter-search {
	    padding-right: 30px;
	}
    }
}
.site-content-archive-product {
    padding: 80px 0 50px;
}
.noo-product-category {
    > a {
	display: block;
    }
    .product-category-inner {
		position: relative;
		&:hover {
		    .text-left {
			h2 {
			    color: @primary_color;
			    &:before {
				width: 100%;
				left: 0;
			    }
			}
		    }
		}
		.text-left {
		    position: absolute;
		    bottom: 20px;
		    left: 20px;
		    h2 {
				font-size: 24px;
				margin: 0;
				mark {
				    color: inherit;
				    background-color: transparent;
				    padding: 0;
				}
				&:before{
				    content: '';
				    width: 0;
				    height: 2px;
				    bottom: -2px;
				    background-color: @primary_color;
				    position: absolute;
				    right: 0;
				    .transition(all 0.35s ease);
				}
		    }
		}
    }
}