body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main{
    background-color: hsl(30, 38%, 92%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.card{
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: hsl(0, 0%, 100%);
    border-radius: 0.75rem;
}

.card-image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.card-content{
    margin: 1.8em;
}

.product-category{
    font-family: 'Montserrat', sans-serif;
    font-style: medium;
    font-size: 12px;
    letter-spacing: 120%;
    letter-spacing: 5px;
    color: hsl(228, 12%, 48%);
    text-transform: uppercase;

}
.product-name{
    font-family: 'Fraunces', sans-serif;
    font-style: bold;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0px;
    color:black;
    
}

.product-description{
    font-family: 'Montserrat', sans-serif;
    font-style: medium;
    font-size: 14px;
    line-height: 160%;
    color: hsl(228, 12%, 48%);
    margin-bottom: 0;
    font-weight: 500;
    text-align: left;
}

.price-container{
    margin-top: -1.0em;
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-price{
    font-family: 'Fraunces', sans-serif;
    font-style: bold;
    font-size: 32px;
    font-weight: 700;
    color: hsl(158, 36%, 37%);
}

.original-price{
    font-family: 'Montserrat', sans-serif;
    font-style: medium;
    font-size: 14px;
    color: hsl(228, 12%, 48%);
    line-height: 120%;
    text-decoration: line-through;
}

.add-to-cart{
    margin-top: -0.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 0;
    background-color: hsl(158, 36%, 37%);
    color: hsl(0, 0%, 100%);
    font-family: 'Montserrat', sans-serif;
    font-style: bold;
    font-size: 14px;
    line-height: 110%;
    cursor: pointer;
    border-radius: 0.5rem;
    border: none;
}

.add-to-cart:hover{
    background-color: hsl(158, 42%, 18%);
}


.cart-icon{
    width: 16px;
    height: 16px;
    color: hsl(0, 0%, 100%);
}

@media (min-width: 48em) {
  .card {
    flex-direction: row;
    max-width: 600px;
    height: 450px;
  }
  .card-image{
    content: url(./images/image-product-desktop.jpg);
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}
}
