.product{
    height: 350px;
    width: 200px;
    background-color: var(--products-background);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: solid 1px var(--products-background);
    transition: transform 0.3s ease;
}

.productImage{
    margin: 5px auto 5px auto;
    height: auto;
}

.productImage img{
    max-width: 180px;
    max-height: 180px;
    border-radius: 5px;
}

.productName{
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    color: var(--text-white);
}

.productType{
    font-size: 14px;
    margin-top: auto;
    color: var(--text-white);
    text-align: left;
}

.productSideToSide{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.productInfo{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: var(--accent-white);
}

.productActions{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addToWishlistButton{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--button-background);
    border-radius: 15px;
    cursor: pointer;
    margin: auto;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.addToWishlistButton img{
    width: 20px;
    height: 20px;
    filter: var(--navbar-buttons);
}

.addToWishlistButton:hover{
    background-color: var(--button-background-hover);
    color: var(--button-text-hover);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.addToCartButton{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--button-background);
    border-radius: 15px;
    cursor: pointer;
    margin: auto;
    transition: all 0.3s ease;
}

.addToCartButton img{
    width: 20px;
    height: 20px;
    filter: var(--navbar-buttons);
}

.addToCartButton:hover{
    background-color: var(--button-background-hover);
    color: var(--button-text-hover);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/*Hover animations*/

.product:hover {
    transform: scale(1.05);
    border: solid 1px var(--products-border-hover);
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .product {
        max-width: 150px !important;
        max-height: 350px !important;
        margin: 10px auto;
    }

    .productImage img {
        max-width: 100%;
        max-height: 200px;
    }

    .product:hover {
        transform: scale(1);
        border: solid 1px var(--products-border-hover);
        transition: transform 0.3s ease;
    }
    
}
