*,::after,::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    min-height: 100vh;
    background-color: hsl(30, 38%, 92%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card{
    margin: 1.5rem;
    background-color: hsl(0, 0%, 100%);
    border-radius: 0.5rem;
}

img{
    width: 100%;
    height: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-content{
    padding: 2rem;
}

.product-category{
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.3rem;
}

.product-name{
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 1.5rem 0;
}

.product-description{
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
}

.price-info{
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.discount-price{
    color: hsl(158, 36%, 37%);
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 1rem;
}

.price{
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.2;
}

.btn{
    width: 100%;
    background-color: hsl(158, 36%, 37%);
    color: hsl(0, 0%, 100%);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 0.5em;
}

.btn:hover{
    background-color: hsl(158, 42%, 18%);
}

@media ( width > 550px){
    .card{
        display: flex;
        max-width: 600px;
    }
    picture{
        width: 350px;
        max-width: 50%;
    }
    .card-content{
        max-width: 50%;
    }
    img{
        border-radius: 0.5rem 0 0 0.5rem;
    }
}