:root {
  --primary-color: #2A5C45;
  --secondary-color: #1C3D2E;
  --accent-color: #5A9F77;
  --light-color: #EDF5EF;
  --dark-color: #111F18;
  --gradient-primary: linear-gradient(135deg, #2A5C45 0%, #1C3D2E 100%);
  --hover-color: #346B53;
  --background-color: #F4FAF6;
  --text-color: #253328;
  --border-color: rgba(42, 92, 69, 0.16);
  --divider-color: rgba(28, 61, 46, 0.10);
  --shadow-color: rgba(28, 61, 46, 0.09);
  --highlight-color: #D4A843;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern BG — organic leaf-like dots scattered */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 15% 50%, rgba(90, 159, 119, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(42, 92, 69, 0.06) 0%, transparent 45%),
    radial-gradient(circle, rgba(42, 92, 69, 0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(90, 159, 119, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 16px 16px;
  background-position: 0 0, 0 0, 0 0, 8px 8px;
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* HEADER */
header {
  background: white;
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.header-deco-leaf1 {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 0 60% 0 60%;
  background: rgba(90, 159, 119, 0.13);
  border: 1.5px solid rgba(90, 159, 119, 0.25);
  display: none;
}

.header-deco-leaf2 {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%) rotate(45deg);
  width: 28px;
  height: 28px;
  border-radius: 0 50% 0 50%;
  background: rgba(42, 92, 69, 0.08);
  display: none;
}

@media (min-width: 768px) {
  .header-deco-leaf1,
  .header-deco-leaf2 {
    display: block;
  }
}

.container {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.4rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.6px;
  width: fit-content;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  border-radius: 0 50% 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
  transform: rotate(-10deg);
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.8rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* LEFT */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-container {
  background: white;
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 4px 14px var(--shadow-color);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-image {
  width: 100%;
  padding: 18px 30px;
  height: auto;
}

@media (min-width: 768px) {
  .product-image {
    padding: 20px 48px;
  }
}

/* Guarantee — dashed border style */
.guarantee-block {
  background: white;
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  color: var(--text-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.45rem;
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Features icons — 2-column grid with tall cards */
.features-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.8rem 0.8rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  transition: all 0.25s ease;
}

.feature-item:hover {
  border-color: var(--accent-color);
  background: var(--light-color);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.feature-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-color);
  font-family: var(--main-font);
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: var(--main-font);
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.25s ease;
  border-bottom: 3px solid var(--secondary-color);
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

/* RIGHT */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.8px;
  margin-bottom: 0.7rem;
  line-height: 1.15;
}

.price {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.7rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-description p + p {
  margin-top: 0.65rem;
}

.highlight-text {
  background: var(--light-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 1rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--main-font);
  letter-spacing: 0.3px;
  margin: 1rem 0;
}

.features-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: white;
  border-radius: 4px;
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  font-size: 0.84rem;
  transition: border-color 0.2s ease;
}

.features-list li:hover {
  border-left-color: var(--accent-color);
}

.feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.68rem;
  margin-top: 1px;
}

/* RANDOM FULL-WIDTH BLOCK — Manfaat Nutrisi Harian */
.nutrition-section {
  background: var(--primary-color);
  padding: 2rem 1.2rem;
  color: white;
}

.nutrition-content {
  max-width: 980px;
  margin: 0 auto;
}

.nutrition-section h2 {
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.nutrition-intro {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .nutrition-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nutrition-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s ease;
}

.nutrition-row:hover {
  background: rgba(255,255,255,0.15);
}

.nutrition-icon {
  font-size: 1.6rem;
  min-width: 32px;
  text-align: center;
}

.nutrition-row h3 {
  font-family: var(--main-font);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
  color: var(--highlight-color);
}

.nutrition-row p {
  font-size: 0.8rem;
  line-height: 1.55;
  opacity: 0.9;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--dark-color);
  padding: 2rem 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--accent-color);
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.testimonial-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--highlight-color);
  letter-spacing: 0.2px;
}

.testimonial-location {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
}

.testimonial p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
}

/* FOOTER */
footer {
  background: var(--secondary-color);
  color: white;
  padding: 1.5rem 1.2rem;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-content .logo {
  color: white;
}

.footer-content .logo-icon {
  background: var(--accent-color);
  border-radius: 0 50% 50% 50%;
  transform: rotate(-10deg);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-size: 0.74rem;
  max-width: 980px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}