:root {
    --main-bg-color: hsl(30, 38%, 92%);
    --product-bg-color: hsl(0, 0%, 100%);
    --action-color: hsl(158, 36%, 37%);
    --action-active-color: hsl(158, 36%, 27%);
    --subHeader-color: hsl(228, 12%, 48%);
    --header-color: hsl(212, 21%, 14%);
    --call-to-action-font: 'Fraunces', serif;
    --primary-font: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--main-bg-color);
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section--main {
    background-color: var(--product-bg-color);
    width: 37.5rem;
    height: 28.125rem;
    display: flex;
    overflow: hidden;
    border-radius: .4rem;
}

.block {
    flex: 1;
}

.block--main-image {
    background-image: url("./assets/image-product-desktop.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 300px;
}

.block--information {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--product-bg-color);
    padding: 2rem;
}

.subHeading {
    order: 0;
    letter-spacing: .3rem;
    font-weight: 500;
    color: var(--subHeader-color);
}

.subHeading,
.paragraph,
.block__originalPrice {
    font-size: .85rem;
}

.heading {
    font-size: 2rem;
    line-height: 1.9rem;
    font-family: var(--call-to-action-font);
    font-weight: 700;
    max-width: 10ch;
    order: 1;
}

.paragraph {
    order: 2;
    line-height: 1.45rem;
    margin-top: .5rem;
    font-family: var(--primary-font);
    color: var(--subHeader-color);
    font-weight: 500;
    max-width: 29ch;
}

.block--pricing {
    order: 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: .9rem;
}

.block__price {
    font-weight: 700;
    font-family: var(--call-to-action-font);
    color: var(--action-color);
    font-size: 2rem;
    text-decoration: none;
}

.block__originalPrice {
    color: var(--subHeader-color);
    position: relative;
    margin-top: .1rem;
}

.button {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: var(--primary-font);
    font-weight: 700;
    color: var(--product-bg-color);
    background-color: var(--action-color);
    padding: 1rem 2rem;
    gap: .5rem;
    border-radius: .35rem;
    cursor: pointer;
    font-size: .9rem;
}

.button:active,
.button:hover {
    background-color: var(--action-active-color);
}













/*
Mobile
*/
@media (max-width:600px) {
    .section--main {
        width: 21.4375rem;
        flex-direction: column;
        height: 38.1875rem;
    }

    .block--information {
        padding: 1rem;
    }

    .heading {
        max-width: fit-content;
    }

    .paragraph {
        max-width: 32ch;
    }

    .block--main-image {
        background-image: url("./assets/image-product-mobile.jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (min-width:650px) {}