* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f3ece9;
  color: #222;
}

header {
  display: flex;
  min-height: 100vh;
}

.navbar {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #555;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #b58f87;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #b58f87;
}

.title h2 {
  font-size: 45px;
  color: #b58f87;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.price {
  color: #b58f87;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: black;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #b58f87;
}

.product-detail-container {
  display: flex;
  gap: 50px;
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.product-detail-img {
  flex: 1;
  max-width: 420px;
  display: flex;
  justify-content: center;
}

.product-detail-img img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-detail-info {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  text-align: left;
}

#p-title {
  font-size: 36px;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
}

#p-price {
  font-size: 32px;
  color: #b58f87;
  font-weight: bold;
  margin-bottom: 25px;
  border-bottom: 2px solid #f3ece9;
  padding-bottom: 15px;
}

.detail-specs h3 {
  font-size: 22px;
  color: #b58f87;
  margin-bottom: 15px;
}

.detail-specs p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.detail-specs p strong {
  display: inline-block;
  width: 200px;
  color: #333;
}

#p-scent-layers, #p-story {
  display: block;
  margin-top: 5px;
  padding: 12px 15px;
  background: #fdfbfb;
  border-left: 3px solid #b58f87;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.detail-actions {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.detail-actions .btn {
  flex: 1;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 992px) {
  .product-detail-container {
    flex-direction: column;
    gap: 30px;
    padding: 25px;
  }

  .product-detail-img {
    max-width: 100%;
  }

  .product-detail-img img {
    max-height: 400px;
  }

  .detail-actions {
    flex-direction: column;
    gap: 12px;
  }
}