
.cpfl-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.cpfl-sidebar {
    width: 25%;
    min-width: 200px;
}

.cpfl-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpfl-sidebar li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #dcdcdc !important;
    transition: background 0.3s;
}

.cpfl-sidebar li a:hover {
    background: #b2a055 !important;
    transition: background 0.3s;
}
.cpfl-sidebar li a:hover,
.cpfl-cat.active-cat {
    background: #b2a054 !important;
    color: #fff;
}

.cpfl-products {
    width: 70%;
    flex: 1;
}

.cpfl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpfl-item {
    border: 1px solid #000000;
    padding: 12px;
    background: #fff;
    border-radius: 0px;
    text-align: center;
}

.cpfl-item h4 {
    font-size: 14px;
    /*height: 40px;*/
    overflow: hidden;
    margin: 10px 0;
}  */


.cpfl-item h4 {
    font-size: 18px;
    overflow: hidden;
    margin: 10px 0;
    font-weight: 600;
}


li.cpfl-item h4 {
    font-size: 18px;
    margin: 10px 0;
    font-weight: 600;;
    line-height: 32px;
    overflow: hidden;
    color: ##b2a055;
}


.cpfl-item h4 a {
    text-decoration: none;
    color: #b2a054;
}
.cpfl-price {
    font-weight: bold;
    color: #444;
}


@media (max-width: 768px) {
    .cpfl-wrapper {
        flex-direction: column;
    }

    .cpfl-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .cpfl-products {
        width: 100%;
    }

    .cpfl-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .cpfl-item {
    border: 1px solid #000000;
    padding: 12px;
    background: #fff;
    border-radius: 3px;
    text-align: center;
}

li.cpfl-item h4 {
    font-size: 18px;
    margin: 10px 0;
    font-weight: 600;;
    line-height: 32px;
    overflow: hidden;
    color: #b2a055;
}


}

/************* Mobile Css ******************/


.cpfl-mobile-wrapper {
    margin: 20px 0;
}

.cpfl-mobile-scroll {
    display: flex;
    overflow-x: auto;
    padding: 10px 5px;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.cpfl-mobile-scroll::-webkit-scrollbar {
    display: none;
}

.cpfl-mobile-cat {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    scroll-snap-align: start;
    transition: all 0.2s ease;
}

.cpfl-mobile-cat.active-cat {
    background-color: #eeeeee;
    color: #000000;
}

.cpfl-products {
    padding: 0px !important;
}


.cpfl-mobile-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    min-width: 80px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}  



.cpfl-mobile-cat {
    display: flex;
    padding: 5px 5px;
    min-width: 50px;
    border: 0px solid #ddd;
    border-radius: 3px;
    background: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}



.cpfl-cat-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4%;
    margin-bottom: 6px;
}

.cpfl-cat-label {
    text-align: center;
    line-height: 1.2;
    color: #333;
}


.cpfl-mobile-cat.active-cat {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.cpfl-mobile-cat button:hover, html input[type="button"]:hover, input[type="reset"]:hover {
    background: #ffffff !important;
    color: #000000 !important;
}
.cpfl-rating .star {
    font-size: 18px;
    color: #ccc; /* Default color for empty stars */
}

.cpfl-rating .star.filled {
    color: gold; /* Gold color for filled stars */
}
