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

body {
    min-height: 100vh;
    background-color: hsl(30, 38%, 92%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.card {
    display: flex;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.card1, .card2 {
    width: 50%;
}

.card1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-image {
    display: none;
}

.card2 {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.perfume {
    font-size: 12px;
    letter-spacing: 5px;
    color: hsl(228, 12%, 48%);
    margin-bottom: 20px;
}

.perfume-heading {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    color: hsl(212, 21%, 14%);
    line-height: 1;
    margin-bottom: 24px;
}

.content {
    font-size: 14px;
    color: hsl(228, 12%, 48%);
    line-height: 1.6;
    margin-bottom: 24px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

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

.pricee {
    color: hsl(228, 12%, 48%);
    text-decoration: line-through;
}

button {
    width: 100%;
    padding: 15px;
    color: white;
    background-color: hsl(158, 36%, 37%);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: hsl(158, 36%, 20%);
}

@media (max-width: 375px) {
    .card {
        flex-direction: column;
        margin: 16px;
    }

    .card1, .card2 {
        width: 100%;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
    }

    .card2 {
        padding: 24px;
    }

    .perfume-heading {
        font-size: 28px;
    }
}