:root {
  --dark-cyan: hsl(158, 36%, 37%);
  --cream: hsl(30, 38%, 92%);
  --very-dark-blue: hsl(212, 21%, 14%);
  --dark-grayish-blue: hsl(228, 12%, 48%);
  --white: #ffffff;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.product-card {
  background-color: var(--white);
  max-width: 600px;
  display: flex; /* Side-by-side layout */
  border-radius: 10px;
  overflow: hidden;
}

/* IMAGE SECTION (LEFT) */
.product-card__image-container {
  flex: 1;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps the perfume bottle clear and sharp */
  display: block;
}

/* CONTENT SECTION (RIGHT) */
.product-card__content {
  flex: 1;
  padding: 32px;
}

.category {
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--dark-grayish-blue);
  font-size: 12px;
  margin-bottom: 20px;
}

.title {
  font-family: 'Fraunces', serif;
  color: var(--very-dark-blue);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 20px;
}

.description {
  color: var(--dark-grayish-blue);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.current-price {
  font-family: 'Fraunces', serif;
  color: var(--dark-cyan);
  font-size: 32px;
}

.old-price {
  color: var(--dark-grayish-blue);
  text-decoration: line-through;
  font-size: 14px;
}

.cart-btn {
  width: 100%;
  background-color: var(--dark-cyan);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.cart-btn:hover {
  background-color: #1a4031;
}

/* MOBILE VIEW */
@media (max-width: 600px) {
  .product-card {
    flex-direction: column; /* Stack image on top of text */
    max-width: 343px;
  }
}