/* Shop page */
.shop-content-area {
    --txt_size_20:20px;
}
.shop-content-area form.wd-style-form-underlined > .wd-pf-checkboxes {
    flex:unset; max-width:unset;
    --wd-sp:24px;
}
.shop-content-area form.wd-style-form-underlined .wd-pf-title {
    --wd-form-brd-width:2px;
    --wd-form-brd-color:#5c5b5b;
    height:38px; min-width:98px;
    font-size:var(--txt_size_20); font-weight:600;
    border:var(--wd-form-brd-width) solid var(--wd-form-brd-color); border-radius:10px;
    width:fit-content; padding:5px 40px 5px 20px;
}
.shop-content-area form.wd-style-form-underlined .wd-pf-title ul li,
.shop-content-area form.wd-style-form-underlined .wd-dropdown ul li a {
    font-size:var(--txt_size_20); font-weight:600; color:#5c5b5b; background:rgba(0, 0, 0, 0);
}
.shop-content-area form.wd-style-form-underlined .wd-dropdown ul li a:hover {color:var(--br-color-primary);}
.shop-content-area form.wd-style-form-underlined .wd-pf-title:after {
    inset-inline-end:12px; margin-top:-5px; color:#5c5b5b;
}
.shop-content-area form.wd-style-form-underlined .wd-pf-title span {color:#5c5b5b;margin-inline-end:0;}
.shop-content-area .wd-pf-results:not(:empty) {padding-left:10px;}
.shop-content-area .woocommerce-result-count {
    font-size:var(--txt_size_20); font-weight:600; color:#5c5b5b;
    padding-right:20px;
}
.shop-content-area .wd-shop-ordering {width:clamp(100px, 250px, 100%) !important;}
.shop-content-area .woocommerce-ordering select {
    --wd-form-brd-width:2px;
    --wd-form-brd-color:#5c5b5b;
    height:38px;
    font-size:var(--txt_size_20); font-weight:600; color:#5c5b5b;
    border:var(--wd-form-brd-width) solid var(--wd-form-brd-color); border-radius:10px;
    padding:3px 40px 5px 20px; display:block;
}
.shop-content-area > .wpb-content-wrapper > div:nth-child(4) > .wpb_column:nth-child(2) .wpb_wrapper {
    display:flex; align-items:center; justify-content:flex-end;
}
@media only screen and (max-width:1360px) {
    .wd-product-filters-wrapp form, .shop-content-area form > .wd-pf-checkboxes {--wd-sp:10px;}
    .shop-content-area .woocommerce-result-count {padding-right:10px;}
}

/* Filter */
.shop-content-area form.wd-style-form {gap:10px 40px;}
.shop-content-area form.wd-style-form .wd-pf-checkboxes {margin:0; padding:0; width:100%; max-width:375px; flex:unset;}
.shop-content-area form.wd-style-form .wd-pf-title {
    border:1px solid #504f4f; border-radius:4px;
    padding-inline-start:10px; padding-inline-end:20px;
}
.shop-content-area form.wd-style-form .wd-pf-title span {font-size:16px; text-transform:unset;}
.shop-content-area form.wd-style-form .wd-pf-title:after {inset-inline-end:10px; color:#000;}
.shop-content-area form.wd-style-form .wd-pf-dropdown {
    left:0; right:auto; width:100%;
    border-radius:4px; border:1px solid rgba(0, 0, 0, .3);
    box-shadow:0 0 7px 0 rgba(0, 0, 0, .3);
}
.shop-content-area form.wd-style-form .wd-pf-dropdown a span.wd-text {display:none;}
@media only screen and (max-width:768px) {
    .shop-content-area form.wd-style-form {padding:10px; gap:10px;}
    .shop-content-area form.wd-style-form .wd-pf-checkboxes {width:calc(50% - 5px); max-width:unset;}
}
@media only screen and (max-width:480px) {
    .shop-content-area form.wd-style-form .wd-pf-checkboxes {width:100%;}
}

/* Product listing */
.shop-content-area .products.elements-grid {
    --wd-sp:30px;
    --wd-brd-radius:8px;
}
.shop-content-area .product-wrapper {
    padding:24px; text-align:left;
    box-shadow:0 4px 24px rgba(58, 56, 49, .14), 0 0 4px rgba(58, 56, 49, .14);
}
.shop-content-area .wd-quick-shop {filter:none; --wd-brd-radius:6px;}
.shop-content-area .product-grid-item .product-image-link {padding:0;}
.shop-content-area .product-grid-item .hover-img {background:#f5f5f3;}
.shop-content-area .product-grid-item .hover-img > a {height:100%;}
.shop-content-area .product-grid-item .hover-img > a img {width:100%; height:100%; object-fit:cover; object-position:center;}

@media only screen and (max-width:1280px) {
    .shop-content-area {
        --txt_size_20:18px;
    }
    .shop-content-area .woocommerce-ordering select {padding-top:5px;}
    .shop-content-area > .wpb-content-wrapper > div:nth-child(4) > .wpb_column:nth-child(2) {width:100%;}

    .shop-content-area .products.elements-grid {
        --wd-sp:25px;
    }
}
@media only screen and (max-width:1199px) {
    .shop-content-area > .wpb-content-wrapper > div:nth-child(4) > .wpb_column:nth-child(2) {width:100%;}
}

@media only screen and (max-width:1024px) {
    .shop-content-area .products.elements-grid {
        --wd-sp:15px;
    }
    .shop-content-area .product-wrapper {padding:10px 10px 20px;}
}
@media only screen and (max-width:768px) {
    .shop-content-area {
        --txt_size_20:16px;
    }
    .shop-content-area .woocommerce-result-count {padding-right:10px; text-align:left;}
}
@media only screen and (max-width:480px) {
    .shop-content-area {
        --txt_size_20:16px;
    }
    .shop-content-area .woocommerce-result-count {padding-right:10px; text-align:left;}
    .shop-content-area > .wpb-content-wrapper > div:nth-child(4) > .wpb_column:nth-child(2) .wpb_wrapper {flex-direction:column;}
    .shop-content-area .wd-shop-result-count {width:100%; margin-bottom:10px;}
    .shop-content-area .woocommerce-result-count {padding-right:0;}
    .shop-content-area .wd-shop-ordering {width:100% !important;}
}

/****************************
 * Products
****************************/

body .product-grid-item {text-align:left;}
.wd-shop-desc :is(.term-description,.page-description) {font-size:20px;}
.product-grid-item .wd-entities-title a{color:inherit;}

/* product sofa category */
body .product-grid-item[class*="product_cat-sofa"] .product-wrapper {padding:0; border-radius:0; box-shadow:none;}
body .product-grid-item[class*="product_cat-sofa"] .product-image-link {aspect-ratio:8/5; background:rgba(0, 0, 0, 0);}
body .product-grid-item[class*="product_cat-sofa"] .product-element-top {margin-bottom:20px;}
body .product-grid-item[class*="product_cat-sofa"] .product-grid-item .hover-img {background:rgba(0, 0, 0, 0);}
body.tax-product_cat:not([class*="term-sofa"]) .sofa-content, .search-results .sofa-content {display:none;}
