/* Product Category Layout */
/* Version: 1.0.16 */

.product-category-container {
    display: flex;
}
.prod-cat-list-content {
	padding: 60px 0;
}

.product-category-container h3,
.prod-cat-list-head h1,
.product-category-container h4 {
    color: var(--rockwood-blk);
    font-weight: 700;
}

.product-category-container h1 {
    font-size: 30px;
}

.product-category-container h3 {
    font-size: 24px;
}

.product-category-container h4 {
    font-size: 20px;
}

.prod-cat-sidebar {
    width: 20%;
	height: 100%;
	top: 124px;
	position: sticky;
}

.prod-cat-sidebar > h3 {
    margin: 20px 0 20px;
}

.prod-cat-content {
    width: 100%;
}

.prod-cat-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 450px;
}

.prod-cat-header-cont {
    width: 1440px;
	max-width: 60%;
    padding-right: 0px;
}

.prod-cat-header-cont h1 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 50px;
}

.prod-cat-header-cont p {
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    margin-bottom: 50px;
}

.ibuy {
    background-color: var(--rockwood-orange);
    color: rgba(50, 50, 50, 1);
    font-family: 'DM Sans', sans-serif;
    padding: 15px 20px;
    font-size: 15px;
	font-weight: 700;
    margin-right: 5px;
	border: 2px solid var(--rockwood-orange);
}

.ibuy::after {
    content: url(/wp-content/uploads/2023/11/Arrow-Right-1.png);
    position: relative;
    margin-left: 7px;
    top: 3px;
}

.ibuy:hover {
    background-color: var(--rockwood-blk);
	border: 2px solid var(--rockwood-blk);
    color: #fff;
}

.ibuy:hover::after {
    filter: brightness(0) saturate(100%) invert(97%) sepia(2%) saturate(236%) hue-rotate(105deg) brightness(120%) contrast(100%);
}

.find-installer {
    background-color: transparent;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    padding: 15px 40px;
    font-size: 15px;
	font-weight: 700;
    border: 2px solid var(--rockwood-orange);
}

.find-installer:hover {
    background: var(--rockwood-orange);
    color: var(--rockwood-black);
}

.prod-cat-list {
    border-left: 1px solid #CBCBCB;
    padding-left: 20px;
    margin-bottom: 100px;
}

.prod-cat-list-head {
    display: flex;
    justify-content: space-between;
    margin: 0;
    align-items: center;
    padding-top: 40px;
}

.prod-cat-list-head h1,
.prod-cat-list-head h3 {
    margin: 0;
}

.prod-cat-list-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.prod-cat-item {
/*     width: calc(100% / 3 - 20px); */
	display: flex;
	align-items: center; 
	column-gap: 15px;
    justify-content: center;

}

.prod-cat-item h4 {
    font-size: 20px;
    font-weight: 600;
/*     margin: 20px 0 10px; */
	margin: 0;
}

.prod-cat-item h4 a {
    color: var(--rockwood-orange);
}

.prod-cat-item p {
    margin-bottom: 0;
}

.sortby-dropdown {
    width: 250px;
    background: url(/wp-content/uploads/2023/12/Polygon-7.png) no-repeat 92% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    border-radius: 35px;
    color: var(--rockwood-gray-font);
}

.category-list {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #BCBACD;
}

.category-list li:not(:last-child) {
    padding-bottom: 10px;
}

.category-list .current-term a {
    font-weight: bold;
}

.filter-item-content label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.filter-trigger {
    background-color: var(--rockwood-orange);
    color: #fff;
    font-size: 16px;
    display: block;
    padding: 10px 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.filter-trigger:hover,
.filter-trigger:focus {
    background-color: var(--rockwood-orange);
    color: #fff;
}

.reset-trigger {
    background-color: transparent;
    color: inherit;
    padding: 0;
    text-decoration: underline;
    font-weight: 400;
}

.reset-trigger:hover,
.reset-trigger:focus {
    background-color: transparent;
    color: inherit;
}

.filter-item-heading {
    z-index: 2;
    position: relative;
    cursor: pointer;
}

.filter-item-heading h3 {
    position: relative;
    z-index: 1;
}

.filter-item-heading h3::before {
    content: "";
    background: url(/wp-content/uploads/2024/01/Polygon-2.png);
    position: relative;
    right: 20px;
    top: 11px;
    width: 15px;
    height: 10px;
    float: right;
    background-size: auto;
    background-repeat: no-repeat;
    transition-duration: 200ms;
}

.filter-item-heading.active h3:before {
    transform: rotate(-90deg);
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(12%) hue-rotate(263deg) brightness(109%) contrast(70%);
}

.filter-item-content {
    display: none;
}

.filter-item-content.active {
    display: block;
}

.filter-item.prices {
    padding-bottom: 20px;
}

.filter-item.apps,
.filter-item.colors {
    margin-bottom: 20px;
    border-bottom: 1px solid #BCBACD;
}

.filter-item.apps .filter-item-content.active, 
.filter-item.colors .filter-item-content.active {
    padding-bottom: 20px;
}

/* facets */

.facetwp-checkbox .facetwp-counter {
  display: none;
}

.facetwp-facet-sort_products {
    margin: 0 !important;
}

.facetwp-facet-applications .fs-wrap {
    width: 95%;
}

.prod-cat-list-head {
/*     justify-content: flex-end; */
	justify-content: space-between;
}

@media only screen and (max-width: 1024px) {
    .prod-cat-header-cont {
        width: 100%;
    }
	.prod-cat-item {
		max-width: 48%;
	}
}

@media only screen and (max-width: 768px) {
    .product-category-container h3 {
        font-size: 18px;
    }

    .filter-item-heading h3::before {
        right: 10px;
        top: 6px;
    }

    .sortby-dropdown,
    .filter-item-content label {
        font-size: 15px;
    }

    .sortby-dropdown {
        width: 200px;
    }

    .prod-cat-item p {
        font-size: 13px;
        line-height: 1.3em;
    }

    .site-inner {
        padding: 0 2%;
    }

    .ibuy:hover {
        background-color: var(--rockwood-orange);
        color: rgba(50, 50, 50, 1);
    }

    .ibuy:hover::after {
        filter: unset;
    }

    .find-installer:hover {
        background: transparent;
        color: #fff;
    }
     .prod-cat-list-content {
       padding: 40px 0;
     }
     .prod-cat-list-head {
      	flex-direction: column;
     }
	.prod-cat-sidebar {
		width: 100% !important;
		border-bottom: 1px solid #bcbacd;
		margin-bottom: 40px;
		padding-bottom: 25px;
	}
	.prod-cat-item {
 	   max-width: 100%;
	}
	.prod-cat-header-cont {
      max-width: 100%;
      padding-right: 0;
	}
}
@media only screen and (max-width: 640px) {
	.prod-cat-item {
    	flex-direction: column;
		width: 100%;
		margin-bottom: 10px;
	}
	.prod-cat-item:last-of-type {
		margin-bottom: 0;
	}
	.prod-cat-item h4 {
		margin-bottom: 10px;
	}
	.fs-wrap {
		width: 100% !important;
	}
}
@media only screen and (max-width: 460px) {

    .prod-cat-content {
        width: 100%;
    }

    .prod-cat-header-cont {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .ibuy {
        margin-right: 0px;
        display: block;
        margin-bottom: 10px;
    }

    .find-installer {
        display: block;
    }

    .prod-cat-list,
    .prod-cat-sidebar {
        width: 90%;
        margin: auto;
    }

    .tax-product-category .site-inner {
        padding: 0;
    }

    .prod-cat-header {
        justify-content: center;
		padding: 50px 0;
    }

    .prod-cat-header-cont p {
        margin-bottom: 20px;
    }

    .prod-cat-list {
        border-left: none;
        padding: 0;
    }

    .prod-cat-list-content {
        gap: 20px;
        margin-bottom: 100px;
    }

    .prod-cat-item {
/*         width: calc(100% / 2 - 10px); */
		width: 100%;
    }

    .prod-cat-item h4 {
        font-size: 20px;
    }
	
	.prod-cat-sidebar {
		height: fit-content;
		top: 0;
		position: initial;
		padding-top: 50px;
	}
}
@media only screen and (max-width: 380px) {
	
    .prod-cat-item h4 {
        font-size: 16px;
    }
}