/* ===== Palette: kraft cream, fresh mint & forest ===== */
:root {
  --kraft:      #f4ede1;
  --kraft-200:  #e6dac5;
  --cream:      #fffcf6;
  --forest-900: #12372a;
  --forest-700: #1d5c45;
  --mint-500:   #3fb68b;
  --mint-200:   #bfe8d6;
  --mint-50:    #ecf8f2;
  --text:       #22302a;
  --muted:      #66756d;
  --line:       #e3d8c4;
  --star:       #e9a321;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--kraft);
  color: var(--text);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.product-title,
.section-subtitle,
.reviews-heading,
.site-name,
.cta-button {
  font-family: 'Fraunces', Georgia, serif;
}

/* ===== Header ===== */
.site-header {
  background: var(--forest-900);
  border-bottom: 6px solid var(--mint-500);
}
.site-name {
  display: block;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.08rem; }
}

/* ===== Product card (tea-label frame) ===== */
.product-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--kraft-200);
  outline: 2px dashed var(--mint-200);
  outline-offset: -10px;
  box-shadow: 0 22px 44px -26px rgba(18, 55, 42, 0.45);
}
@media (min-width: 768px) {
  .product-card { padding: 42px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--mint-50) 60%, var(--mint-200) 100%);
}
.slide {
  display: none;
  position: absolute;
  inset: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 { display: block; }

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--mint-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--mint-500); color: #fff; }
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--mint-50);
  border: 2px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--mint-500); transform: translateY(-2px); }

#img-1:checked ~ .gallery-thumbs .thumb-1,
#img-2:checked ~ .gallery-thumbs .thumb-2,
#img-3:checked ~ .gallery-thumbs .thumb-3,
#img-4:checked ~ .gallery-thumbs .thumb-4 {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px var(--mint-200);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--forest-900);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.7rem; }
}

.specs {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.93rem;
  background: var(--mint-50);
  border-radius: 12px;
  overflow: hidden;
}
.specs th,
.specs td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--mint-200);
}
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: 0; }
.specs th {
  width: 42%;
  font-weight: 700;
  color: var(--forest-700);
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-subtitle::before {
  content: "";
  width: 14px;
  height: 20px;
  background: var(--mint-500);
  border-radius: 0 100% 0 100%;   /* leaf shape */
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.features li:last-child { border-bottom: 0; }
.features strong { color: var(--forest-900); }

.info-note {
  border-left: 4px solid var(--mint-500);
  background: #fff;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--muted);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  background: var(--forest-700);
  color: var(--cream);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 0 0 5px var(--mint-200), 0 16px 30px -10px rgba(18, 55, 42, 0.55);
  transition: background .2s, transform .2s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--mint-500);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.65rem; padding: 22px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-900);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.review { padding: 22px 0; }
.review + .review {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 14px;
  background: var(--mint-50);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.review-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--forest-900);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest-700);
}
.review-text {
  margin-top: 8px;
  font-size: 0.98rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--forest-900);
  color: #cfe3d9;
  border-top: 6px solid var(--mint-500);
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--mint-200);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }