body:has(.woocommerce-coming-soon-store-only) .woocommerce-breadcrumb {
    display: block !important;
}
body #primary #main ul.products li.product{
    padding: unset !important;
    height: 100%;
}
body #primary #main ul.products li.product > a,body #primary #main ul.products li.product a img,body #primary #main ul.products li.product .cat-image-wrapper{
    height: 100%;
}
.secondary-wrapper #secondary{
    display:none;
}
.woof_show_mobile_filter{
    display: none !important;
}
ul.products li.product .woocommerce-loop-product__title{
    width: unset !important;
}
.product__categories{
    display: none;
}
span.price{
    display:none !important;
}
.shoptimizer-archive .col-full {
    max-width: 1440px;
}
ul.products {
    width:100% !important;
    margin-left: 0 !important
}
.product-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 5px;
    justify-content: space-between;
}
.product-row.row-2 > .product {
    width: 100% !important;
    max-width:49.8%;
   
}
.product-row .product-category{
    margin:0 !important;
}
/* .product-row.row-3 > .product {
    width: 100% !important;
    max-width:33.05%;
    
} */

.attachment-woocommerce_thumbnail{
    height:325px;
}
body #primary .woocommerce-loop-category__title{
    position: absolute !important;
    display: flex;
    justify-content: center;
    TOP: 35%;
    font-family: 'Matritsa';
    font-weight: 600 !important;
    font-size: 20px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    
}
.cat-button-wrapper {
    position: absolute ;
    display: flex !important;
    justify-content: center;
    top: 50%;
   width:100%
}
.cat-button-wrapper .cat-button{
    width:150px;
    height: 41px;
    border-radius: 2px;
    background-color: #EF6526;
    font-family: 'Matritsa';
    font-weight: 600 ;
    font-size: 16px;
    color: #ffffff ;
    text-align: center;
    padding: 10px;
}
.cat-button-wrapper .cat-button:hover{
    background-color:#d24d1f;
}
.woocommerce-card__header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Fixed comma */
    width: 100%;
    height:100%;
    padding: 10px;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
}
.product_type_variable{
    width: 150px !important;
    height:41px !important;
    border-radius: 2px !important;
    background-color: #EF6526 !important;
    font-family: 'Matritsa';
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #ffffff;
    bottom:unset !important;
    top:55%;
}
ul.products li.product .add_to_cart_button {
    opacity: 1 !important;
    visibility: visible !important;
}
.woocommerce-loop-product__link{
    font-size: 20px;
    font-weight: 400;
    font-family: 'Matritsa';
    text-transform: uppercase;
    color: #ffffff !important;

}
ul.products li.product:not(.product-category)::before {
    background-color: unset !important;
    height: 100% !important;
    box-shadow: unset !important;
}
.add_to_cart_button{
    width: 150px !important;
    height:41px !important;
    border-radius: 2px !important;
    background-color: #EF6526 !important;
    font-family: 'Matritsa';
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #ffffff;
    bottom:unset !important;
    top:55%;
}
@media (max-width:768px) {
    .mobile-filter {
       display: none !important;
    }
    .woof_show_mobile_filter{
        display: none;
    }

    ul.products {
        display: block;
        padding: 10px;
    }
    body.shop #primary #main .product-row {
        display: block;
    }
   .product-row.row-2 > .product {
    max-width: 100%;
   }
   body ul.products li.product.product-category h2{
    margin: 0 !important;
   }
   .product {
         max-width: 100% !important;
    }
   li.product-category.product {
        margin-bottom: 5px !important;
    }
    img.cg-cat-image {
        height: 198px !important;
        width: 100% !important;
        object-fit: cover;
    }
    body.shop #primary #main ul.products{
        display: flex;
        gap: 0;
        padding: 0;
    }
    body.shop .shoptimizer-archive > .col-full{
        padding: 0;
    }
}

ul.products .product-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px; 
    margin-bottom: 10px; 
}

/* Odd rows → 2 items per row */
.product-row:nth-child(odd) li {
    width: 50% !important;
}

/* Even rows → 3 items per row */
.product-row:nth-child(even) li {
    width: calc(33.3333% - 13.333px); 
}

/* Responsive: all items full width on smaller screens */
@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
    }

    .product-row li {
        width: 100% !important;
    }
    .product-row:nth-child(odd) li {
        width: 100% !important;
    }
    ul.products .product-row {
        margin-bottom: 0; 
        gap: 0;
    }
}
@media screen and (min-width:768px) {
    .products .product-row:first-child {
        display: flex;
        justify-content: space-between;
        overflow: hidden;
    }

    .products .product-row:first-child>* {
        flex: 0 0 49.8%;
        box-sizing: border-box;
    }
}
body .content-area{
    width: 100%;
}

@media screen and (max-width:1024px) and (min-width:769px){
    body.woocommerce-shop.m-grid-2 #main>ul.products{
        display: flex;
    }

    body.woocommerce-shop.m-grid-2 #main>ul.products .product-row:nth-child(even) .cat-button-wrapper {
        top: 30%;
        bottom: 0;
    }
}
@media screen and (max-width:768px) {
    body #primary #main ul.products li.product{
        height: fit-content;
    }
}