* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fffdf6;
  color: #333;
  line-height: 1.6;
  padding: 0 20px;
}

header {
  background-color: #f9e5c6;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.site-title {
  color: #d32f2f;
  font-size: 26px;
  font-weight: 700;
}

.navbar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin-top: 10px;
}

.navbar ul li a {
  text-decoration: none;
  color: #006064;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.navbar ul li a.active {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  font-weight: bold;
}

header nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}

header nav a {
  text-decoration: none;
  color: #006064;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

header nav a:hover {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
}

header nav a.active {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  font-weight: bold;
}

main {
  background-color: #fffaf1;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
  max-width: 1200px;
  margin: auto;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 50px;
  background: linear-gradient(to right, #fff3e0, #fce4ec);
  border-radius: 12px;
  animation: fadeIn 1s ease-in-out;
}

.hero-title {
  color: #d84315;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtext {
  color: #8e24aa;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 25px;
}

.hero img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
  height: auto;
}

.product-category {
  margin: 40px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

h3 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 22px;
}

h4 {
  color: #4e342e;
  margin: 5px 0;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: stretch;
}

.product-card {
  background: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 12px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

button,
.newsletter form button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 10px 16px;
  margin-top: 12px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

button:hover,
.newsletter form button:hover {
  background-color: #b71c1c;
}

.cart-container {
  background-color: #fffaf1;
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.cart-container h3 {
  color: #2e7d32;
  margin-bottom: 20px;
  font-size: 24px;
  text-align: left;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart-table th,
.cart-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  font-size: 15px;
}

.cart-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.cart-total {
  font-size: 20px;
  font-weight: bold;
  color: #d84315;
  margin-top: 10px;
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cart-buttons button {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  background-color: #c62828;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-buttons button:hover {
  background-color: #b71c1c;
}

.testimonials {
  margin-top: 40px;
}

.testimonials h3 {
  color: #2e7d32;
  text-align: left;
  margin-bottom: 10px;
}

.testimonials p {
  font-style: italic;
  margin-bottom: 6px;
  color: #333;
}

.newsletter {
  text-align: center;
  margin-top: 40px;
}

.newsletter h4 {
  color: #00695c;
  margin-bottom: 10px;
  font-size: 20px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="email"] {
  padding: 10px;
  width: 100%;
  max-width: 596px;
  border: 1px solid #aaa;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px;
  color: #6a1b9a;
  font-weight: bold;
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 30px auto;
}

.contact-form label {
  font-weight: 500;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  align-self: flex-start;
  padding: 10px 20px;
}

#contact-status {
  color: green;
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .navbar ul {
    justify-content: center;
    gap: 60px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .hero {
    padding: 40px 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 18px;
  }

  .hero img {
    max-width: 260px;
    margin-top: 20px;
  }

  .cart-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
