.product-card {
    /* max-height: 25rem; */
    display: flex;
    background-color: var(--bs-light);
    /* border-radius: 0px 50px; */
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    /* color: var(--text-color); */
    /* border: 1px solid var(--primary-color); */
}

.product-card img {
    width: 70%;
    object-fit: cover;
    z-index: 0;
    max-height: 80vh;
    /* height: 300px; */
    /* border-bottom: 2px solid var(--accent-color); */
    /* max-height: 425px; */
}


.product-details {
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    justify-content: space-between;
    /* padding: 10px 10px; */
}


.product-card-compilation {
    max-height: 25rem;
    display: flex;
    background-color: white;
    /* border-radius: 0px 50px; */
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    flex-direction: column;
    max-height: max-content;

}

.product-card-compilation img {
    /* width: 100%; */
    height: 250px;
    object-fit: cover;
    z-index: 0;
    width: 100%;
    /* border-bottom: 2px solid var(--accent-color); */
    /* border */
    /* max-height: 425px; */
}


/* .product-details-text {
    padding: 1rem;
} */



.background-dark-blue {
    background-color: var(--primary-color);
}

.product-name {
    /* font-size: 1.5rem; */
    font-weight: bold;
    color: var(--text-dark-blue);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
}

.product-description {
    margin: 10px 0;
    max-height: 13.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    /* number of lines to show */
    line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
    /* color: var(--text-color); */
}




/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    z-index: 999;
}


.display-product .ribbon {
    font-size: 1.5rem;
}

.ribbon {
    --f: .5em;
    /* control the folded part*/
    --r: .8em;
    /* control the ribbon shape */

    position: absolute;
    top: 20px;
    left: calc(-1*var(--f));
    padding-inline: .25em;
    line-height: 1.8;
    background: linear-gradient(to right, var(--accent-color), var(--accent-color-end), var(--accent-color));
    border-bottom: var(--f) solid #0005;
    border-right: var(--r) solid #0000;
    clip-path:
        polygon(0 0, 0 calc(100% - var(--f)), var(--f) 100%,
            var(--f) calc(100% - var(--f)), 100% calc(100% - var(--f)),
            calc(100% - var(--r)) calc(50% - var(--f)/2), 100% 0);
}

@media (max-width: 990px) {
    .product-card {
        flex-direction: column;
        align-content: space-around;
        max-height: max-content;
    }

    .product-details {
        width: 100%;
        height: 100%;
        order: 2 !important;
    }

    .product-description {
        max-height: 300px;
    }

    .ribbon {
        font-size: 1rem;
    }



    .product-card img {
        width: 100%;
        max-height: 250px;
    }
}