:root {

    --green500: hsl(158, 36%, 37%);
    --green700: hsl(158, 42%, 18%);

    --black: hsl(212, 21%, 14%);
    --gray: hsl(228, 12%, 48%);
    --cream: hsl(30, 38%, 92%);
    --white: hsl(0, 0%, 100%);




    --montserrat: "Montserrat", sans-serif;
    --fraunces: "Fraunces", serif;
}



body {
    background-color: var(--cream);
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}


#shop-section {
    display: flex;
    background-color: var(--white);
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
}

#photo {
    width: 50%;
}

#photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


#description {
    background-color: var(--white);
    width: 50%;
    padding: 1.5rem;
}

#category {
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 1.2rem;
}

h2 {
    font-family: var(--fraunces);
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    font-size: 2rem;
}

#product-description {
    font-family: var(--montserrat);
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#new-price {
    color: var(--green500);
    font-weight: 700;
    font-family: var(--fraunces);
    font-size: 2rem;
    margin-top: 1.5rem;
}

#old-price {
    color: var(--gray);
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: 12px;
    margin-top: 0;
}

.checkout {
    display: flex;
    align-items: center;
    justify-content: center;  
    background-color: var(--green500);
    border-radius: 12px;
    gap: 1rem;
    margin-top: 0;
}

.checkout p {
    color: var(--white);
    font-family: var(--montserrat);
    font-weight: 500;
}

.checkout:hover {
    background-color: var(--green700);
    transition: background-color 0.7s ease;
    cursor: pointer;
}
/*
Font size (paragraph): 14px

 Family: [Montserrat](https://fonts.google.com/specimen/Montserrat)
- Weights: 500, 700

- Family: [Fraunces](https://fonts.google.com/specimen/Fraunces)
- Weights: 700

*/
