* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(30, 38%, 92%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container {
    display: flex;
    max-width: 500px;
    width: 100%;
    height: 450px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.image-container {
    width: 50%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.text-container {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.category {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: hsl(158, 36%, 37%);
    margin-bottom: 1rem;
    font-weight: 500;
}

h1 {
    font-family: 'Fraunces', serif;
    color: hsl(212, 21%, 14%);
    line-height: 1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.description {
    color: hsl(228, 12%, 48%);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-family: 'Fraunces', serif;
    color: #3c8067;
    font-size: 2rem;
    font-weight: 700;
}

.original-price {
    text-decoration: line-through;
    color: hsl(228, 12%, 48%);
    font-size: 0.9rem;
}

button {
    background-color: hsl(158, 36%, 37%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: hsl(158, 42%, 18%);
}

/* Responsive design for mobile */
@media (max-width: 640px) {
    .container {
        flex-direction: column;
        height: auto;
        max-width: 340px;
    }
    
    .image-container,
    .text-container {
        width: 100%;
    }
    
    .image-container {
        height: 240px;
    }
    
    .text-container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}


