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

body {
    max-width: 1920px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    height: 100vh;
    background-color: hsl(30, 38%, 92%);
}

/* Wrapper */

.wrapper {
    min-width: 355px;
    width: 650px;
    height: 500px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 3%;
}

.wrapper .parfume-image {
    width: 49%;
    height: 100%;
    float: left;
}

.wrapper .parfume-image .parfume-image-mobile {
    display: none;
}

.wrapper .parfume-image .parfume-image-desktop{
    width: 100%;
    height: 100%;
    border-top-left-radius: 3%;
    border-bottom-left-radius: 3%;
}

/* PARFUME INFO */

.parfume-info {
    width: 51%;
    height: 100%;
    float: right;
    padding: 2.5% 5%;
    position: relative;
}

.parfume-info p:first-child {
    color: hsl(228, 12%, 48%);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    margin: 15px 0;   
}

.parfume-info h2 {
    margin-top: 0;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 2em;
    color: hsl(212, 21%, 14%);
    line-height: 1em;
}

.parfume-info p {
    color: hsl(228, 12%, 48%);
    font-size: 17px;
    line-height: 1.4em;
    margin: 20px 0;
}

/* PRICE */

.price {
    display: table;
    margin-bottom: 0;
    position: absolute;
    bottom: 26%;
}

.price .discount-price {
    color: hsl(158, 36%, 37%);
    font-size: 2em;
    font-family: 'Fraunces', serif;
}

.price .non-discount-price {
    text-decoration: line-through;
    color: hsl(228, 12%, 48%);
    padding-left: 15%;
    display: table-cell;
    vertical-align: middle;
}

/* CART BUTTON */

.cart-btn {
    background-color: hsl(158, 36%, 37%);
    padding: 5% 3%;
    text-align: center;
    border-radius: 0.4em;
    position: absolute;
    width: 81%;
    bottom: 8%;
    left: 9.5%;
}

.cart-btn a {
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.4px;
    font-family: 'Montserrat', sans-serif;
    margin-left: 3%;
}

.cart-btn:hover {
    background-color: hsl(158, 42%, 26%);
}

.clearfix {zoom: 1;}
.clearfix:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}

/* MOBILE VERSION */

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

@media only screen and (max-width: 413px) {
    .wrapper {
        height: auto;
        margin-top: 25px;
    }

    .wrapper .parfume-image {
        float: none;
        width: 100%;
        height: 35%;
    }

    .wrapper .parfume-image .parfume-image-desktop {
        display: none;
    }

    .wrapper .parfume-image .parfume-image-mobile {
        display: inline;
        width: 100%;
        height: 100%;
        border-top-left-radius: 3%;
        border-top-right-radius: 3%;
    }

    .wrapper .parfume-info {
        float: none;
        width: auto;
        height: auto;
        position: static;
        padding: 2.5% 8%;
        margin-bottom: 5%;
    }

    .parfume-info .price {
        position: static;
        margin-top: 10%;
    }

    .parfume-info .cart-btn {
        position: static;
        width: 100%;
        margin-top: 10%;
    }
}

