.productList{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

@media (max-width: 1040px) {
    .productList{
        justify-content: center;
    }
}

.buyNowButton{
    cursor: pointer;
}

h2{
    text-align: center;
}

.product {
    position: relative;
    height: 550px;
    width: 300px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(241,239,216);
    color: rgb(18, 37, 63);

    border: 4px solid; /* Adjust thickness as needed */
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
}

.productContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: calc(100% - 40px);
}

.product .titleSpace{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.imageContainer{
    width: 80%;
    height: auto;
    max-height: 240px;
    aspect-ratio: 1 / 1; 
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product img{
    max-width: 100%;
    max-height: 100%;
}

.product .reasons{
    text-align: left;
    overflow-y: hidden;
}

.buyNowButton{
    position: absolute;
    background: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 15%,  
        #c99e32 50%,  
        /* #f7e399 75%,   */
        #916812 100%
    );
    width: 50%;
    height: 2em;
    left: 25%;
    bottom: 20px;
    display: flex;
    align-items: center;         /* Vertically aligns the text in the middle */
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    color: rgb(18, 37, 63);
}