body {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: var(--Cream);
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 700px;
    display: flex;
    border-radius: 10px;
    background-color: var(--White);
    overflow: hidden;
    flex-direction: row;
}

.img {
    flex: 1;
    width: 50%; 
    background-image: url('./images/image-product-desktop.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    min-height: 300px;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    margin: 20px 0;
    font-size: 24px;
}

.perfume {
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 10px 0;
    color: var(--Grey);
    font-size: 12px;
}

.product-info {
    line-height: 23px;
    padding: 20px 0;
    color: var(--Grey);
    margin-bottom: 10px;
    font-size: 14px;
}

.prices {
    display: flex;
    align-items: center;
}

.price {
    font-size: 30px;
    font-family: Fraunces;
    margin-right: 20px;
    color: var(--Green-500);
    font-weight: bold;
}

.normal-price {
    text-decoration: line-through;
    font-family: Fraunces;
    align-self: center;
    color: var(--Grey);
}

button {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    background-color: var(--Green-500);
    color: var(--White);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

button:active{
    background-color: var(--Green-700);
}

.icon-cart {
    height: 50%;
}

@media (max-width: 565px) {
    .container{
        flex-direction: column;
    }
    .img {
        width: 100%;
        height: 300px;
        background-image: url('./images/image-product-mobile.jpg');
        background-size: cover;
        background-position: center;
        flex-shrink: 0; 
    }

    .info {
        padding: 20px;
    }
}
