.custom-product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
}

.custom-product-list .product-card {
    width: 100%;
    max-width: 300px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.custom-product-list .product-card-left {
    flex: 1;
}

.custom-product-list .product-card-right {
    flex: 2;
}

.custom-product-list .product-card-right h3,
.custom-product-list .product-card-right p {
    margin-bottom: 0 !important;
}


.custom-product-list .product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.custom-product-list .product-name {
    font-size: 14px;
    font-weight: bold;
    display: -webkit-box;         
    -webkit-box-orient: vertical; 
    overflow: hidden;             
    -webkit-line-clamp: 2;       
    text-overflow: ellipsis;      
    line-height: 1.5;            
}

.custom-product-list .product-sale-price {
    color: #e74c3c;
}

.custom-product-list .product-discount {
    color: #27ae60;
    font-weight: bold;
}

/* Apply strike-through to the regular price if it has the 'strike' class */
.custom-product-list .product-card .product-price.regular-price.strike {
    text-decoration: line-through;
    color: #888; /* Grey out the regular price */
}

/* Style for sale price */
.custom-product-list .product-card .product-price.sale-price {
    font-size: 14px;
    color: #e74c3c; /* Red for sale price */
    font-weight: 600;
}

/* Style for regular price (without strike-through) */
.custom-product-list .product-card .product-price.regular-price {
    font-size: 14px;
    color: #333; /* Regular price color */
}

.custom-product-list .product-card .discount {
    font-size: 10px;
    color: white;
    margin-bottom: 3px !important;
    padding: 0 5px;
    border-radius: 5px;
    background-color: green;
}

.custom-product-list .price-green {
    color: green !important;
}


