@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Regular.woff2') format('woff2'),
         url('Montserrat-Regular.woff') format('woff');
  }

:root{
 /*primary */ 
    --Dark-cyan: hsl(158, 36%, 37%);
    --Cream: hsl(30, 38%, 92%);

/*Neutral*/
    --Very-dark-blue: hsl(212, 21%, 14%);
    --Dark-grayish-blue: hsl(228, 12%, 48%);
    --White: hsl(0, 0%, 100%);

/*font size*/
    --fs-primary: 16px;

 /*font-weight*/   
    --fw-bold: 700;
    --fw-reg: 500;
}
*,
::after,
::before{
    box-sizing:border-box;
    margin:0px;
    padding: 0px;
}


body{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--Cream);
    flex-direction:column;
    font-family: Montserrat, sans-serif;

}

.main-wrapper{
    display: grid;
    grid-auto-flow: column;
    width:100%;
    max-width: 550px;
    background: var(--White);
    position: relative;
    border-radius: 9px;
    overflow: hidden;
}
.picture-section{
    background: url(image-product-desktop.jpg) no-repeat;
    background-size:cover;
    background-position: center;
    width:275px;
    height:375px;

}
.content-section{
    padding: 1.5rem;
    display: grid;
    grid-auto-flow: grid;
}
.sub-title{
    font-family: Montserrat, sans-serif;
    color: var(--Dark-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 11px;
    font-weight: var(--fw-reg);
}
.title{
    font-family: 'Fraunces', serif;
    color: var(--Very-dark-blue);
    line-height: 0.9;
    word-spacing: 1px;
}

.content-description{
    line-height: 1.6;
    color: var(--Dark-grayish-blue);
    font-size: 13px;
}
.price-section{
    display:flex;
    align-items: center;
    gap: 1rem;
    color: var(--Dark-cyan);

}
.orig-price{
    text-decoration: line-through;
    font-size: 12px;
    font-family: 'Fraunces', serif;
    
}
.sale-price{
    font-size:2.5rem;
    font-family: 'Fraunces', serif;
    margin-bottom: 0.8rem;
    
}
button{
    display: flex;
    padding: 0.4rem;
    border-radius: 5px;
    background: var(--Dark-cyan);
    color: var(--White);
    border: none;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--fw-bold)
    
}
button:hover{
    background: var(--Dark-grayish-blue);
    cursor: pointer;
    transform:scale(1.1);
}
@media screen and (max-width: 720px) {
    .main-wrapper{
        display: grid;
        grid-template-rows: 2fr 1fr;
        grid-template-columns: 1fr;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        width:350px;
        overflow: hidden;
        height: 90vh;
    }
        .picture-section{
            background: url(image-product-mobile.jpg) no-repeat;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            display: block;
            background-size: cover;
            background-position: center;
            width: 100%;
            grid-row: 1;
            height: 100%;
            
        }
        .content-section{
            grid-row: 2;
            gap: 1.5rem;
        
        }
        button{
            padding:1rem;
        }
     
    }
    

