/* === Global Styles === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fdfbf6;
  color: #72513c;
}

/* === Header === */
header {
  background-color: #72513c;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  flex-grow: 1;
  margin-left: 2rem;
  margin-top: 0;
}

nav ul {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* === Product Section === */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-gallery {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.product-price {
  font-size: 1.5rem;
  color: #e91e63;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.buy-button {
  display: inline-block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #e91e63;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #d81b60;
}

/* === You May Also Like Links === */
.you-may-also-like {
  margin-top: 2rem;
}

.you-may-also-like h2 {
  color: #72513c;
  margin-bottom: 0.5rem;
}

.you-may-also-like a {
  color: #e91e63;
  text-decoration: none;
  margin-right: 1rem;
}

.you-may-also-like a:hover {
  text-decoration: underline;
}

/* === Customer Reviews === */
.customer-reviews {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #444;
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

.customer-reviews h2 {
  color: #72513c;
  margin-bottom: 1rem;
}

.customer-reviews article {
  margin-bottom: 1.5rem;
}

.customer-reviews article h3 {
  margin-bottom: 0.5rem;
  color: #e91e63;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #aaa;
  background-color: #f5f3ef;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
  font-family: Arial, sans-serif;
}

/* === Responsive === */
@media (max-width: 768px) {
  .product-wrapper {
    flex-direction: column;
  }
}
