/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

#brxe-nkxxvd{
    border: 0 !important;
}
.shop-by-department-container .menu-content{
    top: 100%
}
.shop-by-department-link {
    padding: 10px;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-content {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-0:hover {
    background: #fff !important;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-0 > .sub-menu{
    position: static;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    box-shadow: none;
    padding: 0 0 0 15px;
    height: auto;
    overflow: visible;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-1:last-child > .sub-menu{
    border: 0;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-has-children > .sub-menu{
    display: none;
    border-bottom: 1px solid #ccc;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-has-children.expand > .sub-menu{
    display: block !important;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-0 > a{
    color: #000;
    font-size: 16px;
    font-weight: 600;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-1 > a {
    font-size: 14px;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-0 {
    padding: 0 0 0 15px;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-1 > a{
    margin-bottom: 0;
    padding: 8px 0;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .sub-menu > li:last-child > a {
    border-bottom: 0;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item.active > a{
    color: #ff0000;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-1 > .sub-menu > li {
    width: 100%;
    padding: 0 0 0 15px;
}
.woocommerce-page.tax-product_cat .menu-shop-by-department-container > ul.menu {
    padding: 0 10px 80px 0;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-has-children{
    position: relative;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-level-0.menu-item-has-children > a::after{
    display: none;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-has-children:after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 43px;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    background-image: linear-gradient(#2a2a2a, #2a2a2a),linear-gradient(#2a2a2a, #2a2a2a);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2px 10px, 10px 2px;
    cursor: pointer;
}
.woocommerce-page.tax-product_cat .shop-by-department-container .menu-item-has-children.expand:after{
    background-size: 10px 2px;
}
.product-cat-page{
    flex-wrap: wrap;
}
.product-cat-page .cat-list{
    width: 100%;
}
.product-cat-page .cat-list>ul {
    display: grid;
    background: #fff;
    padding: 30px;
    list-style: none;
    grid-template-columns: repeat(4,1fr);
}
.product-cat-page .cat-list .cat-name {
    font-size: 18px;
    color: #000;
    line-height: 1.2;
    display: block;
}
.product-cat-page .cat-list>ul>li {
    padding: 15px 25px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.product-cat-page .cat-list>ul>li>a {
    display: flex;
}
.product-cat-page .cat-list>ul>li .cat-image {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
.product-cat-page .cat-list .cat-name {
    font-size: 18px;
    color: #000;
    line-height: 1.2;
    display: block;
}
.product-cat-page .cat-list>ul>li .cat-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.attributes p{
    display: flex;
    gap: 7px;
}
.attributes  a:first-child{
    white-space: nowrap;
}
.attributes a:nth-child(2){
    border-left: 1px solid #ccc;
    padding-left: 7px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.ribbon-container {
    position: absolute;
    z-index: 9;
    top: -3px;
    right: -3px;
    height: 80px;
    width: 80px;
    overflow: hidden;
    border-radius: 0 12px 0 0;
}
.ribbon-container .quality-label{
    position: absolute;
    z-index: 9;
    top: -10px;
    right: -55px;
}
.ribbon-container .quality-label span {
    display: block;
    padding: 40px 30px 0;
    background: #009ff1;
    overflow: visible;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
    width: 135px;
    font-weight: 700;
    line-height: 14px;
    margin-top: -10px;
    -o-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: 0 3px 6px -5px #000;
}
.brxe-eplsdx.brxe-block,
.brxe-jadjfh.brxe-block{
    position: relative;
}
.mobile-menu-container .brxe-dropdown:before{
    display: none;
}
.mobile-menu-container .brxe-dropdown.open .brx-dropdown-content{
    position: static;
    margin: 0 !important;
}

.tax-product_cat .wpgb-facet>fieldset:last-child{
    margin-bottom: 0;
}