:root {
    --Font_Montserrat: "Montserrat", sans-serif;
    --Font_Fraunces: "Fraunces", serif;
    --Font_size: 14px;
    --Dark_cyan: hsl(158, 36%, 37%);
    --Cream: hsl(30, 38%, 92%);
    --Very_dark_blue: hsl(155, 44%, 21%);
    --Dark_grayish_blue: hsl(228, 12%, 48%);
    --White: hsl(0, 0%, 100%);
}

body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: var(--Cream);
    font-family: var(--Font_Montserrat);
    font-size: var(--Font_size);
}

img{
    width: 100%;
    height: 100%;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.product-card-wrapper{
    max-width: 700px;
    display: flex;
    margin: 7.5vw auto;
    background-color: var(--White);
    border-radius: 10px;
}

.img-sec, .product-sec{
    width: 50%;
}

.product-sec{
    padding: 1.2em 2.5em;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-type p{
    color: var(--Dark_grayish_blue);
    letter-spacing: 0.5em;
    font-size: 1em;
    font-weight: 600;
    margin-top: 0;
}

.product-name h2{
    font-size: 3em;
    font-family: var(--Font_Fraunces);
    margin: 0.6em 0px;
    line-height: 1em;
}

.product-desc p{
    font-size: 1.2em;
    color: var(--Dark_grayish_blue);
    line-height: 1.6em;
    margin: 1em 0;
    font-weight: 500;
}

.product-price{
    margin: 2em 0;
}

.product-price p{
    display: flex;
    gap: 1.5em;
    align-items: center;
}

.product-price .current-price{
    font-family: var(--Font_Fraunces);
    color: var(--Dark_cyan);
    font-size: 2.8em;
    font-weight: 700;
}

.product-price .prev-prive{
    color: var(--Dark_grayish_blue);
}

.add-to-cart button{
    width: 100%;
    font-size: 1em;
    font-weight: 700;
    display: flex;
    gap: 1em;
    justify-content: center;
    outline: none;
    border: none;
    background-color: var(--Dark_cyan);
    padding: 1em;
    border-radius: 10px;
    color: var(--White) ;
}

.add-to-cart button:hover{
    background-color: var(--Very_dark_blue);
    cursor: pointer;
}

.attribution {
    font-size: 1em;
    text-align: center;
    font-family: var(--Font_Montserrat);
    margin-bottom: 0.5em;
}

.attribution a {
    color: var(--Dark_cyan);
    font-family: var(--Font_Fraunces);
}

.attribution a:hover {
    color: var(--Very_dark_blue);
    text-decoration: none;
}

@media only screen and (max-width:768px){
    .product-card-wrapper{
        width: 90%;
    }
}

@media only screen and (max-width:700px){
    body{
        font-size: 12px;
    }
}

@media only screen and (max-width:600px){
    body{
        font-size: 10px;
    }
}

@media only screen and (min-width:426px){
    img{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .image-product-mobile{
        display: none;
    }
}

@media only screen and (max-width:425px){
    body{
        font-size: 12px;
    }

    .image-product-desktop{
        display: none;
    }

    .product-card-wrapper {
        flex-direction: column;
        width: 90%;
    }

    .img-sec, .product-sec {
        width: 100%;
    }

    img{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .product-sec {
        padding: 2.2em 2.5em;
    }
}

@media only screen and (max-width:375px){
    body{
        font-size: 10px;
    }
}

@media only screen and (max-width:320px){
    body{
        font-size: 8px;
    }
}