@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Funnel+Sans:ital,wght@0,700;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root{
    --cream-color: hsl(30, 38%, 92%);
    --dark-color: hsl(158, 42%, 18%);
    --Black-color: hsl(212, 21%, 14%);
    --Grey-color: hsl(228, 12%, 48%);
    --Cream-color: hsl(30, 38%, 92%);
    --White-color: hsl(0, 0%, 100%);

}
body{
        font-family: "Poppins", sans-serif;
        background-color:var(--Cream-color);
        min-height: 100vh;
        display: grid;
        place-content:center;
}
div#product{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    max-width: 500px;
    margin: 1rem;
}
picture img{
    max-width: 100%;
    height:100%;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}
div.product-content{
    background-color: #fff;
    padding: 2rem;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
}
div.product-content p.category{
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--Grey-color);
    
}
div.product-content h1{
    font-family: 'Fraunces', serif;
    font-size: 30px;
    margin: 20px 0;
    line-height: 1;
    color: (var(--Black-color));
    
}
div.product-content p{
    font-size: 12px;
    color: var(--Grey-color);
    line-height: 1.6;
}
div.product-content div.price{
    display: flex;
    align-items: center;
    margin: 20px 0;

}
div.product-content div.price p.discounr-prrice{
    font-size:25px;
    font-weight: 700;
    color:var(--dark-color);
    font-family: 'Fraunces', serif;
    margin-right: 20px;
}
button.cart{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: none;
    border-radius: 8px;
    color: #fff;
    background-color: var(--dark-color);
    width: 100%;
    font-weight: 700;
    cursor:pointer;
}
button.cart::before{
    content:" ";
    background-image: url(./images/icon-cart.svg);
    width: 15px;
    height: 16px;
    margin-right: 10px;
}
@media(max-width:700px){
    div#product{
        grid-template-columns:1fr;
    }
    picture img{
    border-top-right-radius:10px;
    border-bottom-left-radius:0;
    }
    div.product-content{
    background-color: #fff;
    padding: 2rem;
    border-top-right-radius:0;
    border-bottom-left-radius:10px;
    }
}