/* ===== Palette: cream paper, ink green & six tea colours ===== */
:root {
  --paper:     #fbf7ef;
  --paper-200: #efe7d6;
  --ink:       #1f3d36;
  --ink-700:   #2f5a50;
  --text:      #26302c;
  --muted:     #6a736d;
  --line:      #e7dfcd;
  --star:      #eaa21f;

  /* one colour per tea */
  --t-peach:   #f2a36b;
  --t-ginger:  #e9c54a;
  --t-dreams:  #9b8fd1;
  --t-orange:  #d9643a;
  --t-mint:    #5bb48a;
  --t-chamo:   #f4dc8a;

  --stripe: linear-gradient(90deg,
    var(--t-peach) 0 16.66%,
    var(--t-ginger) 16.66% 33.33%,
    var(--t-dreams) 33.33% 50%,
    var(--t-orange) 50% 66.66%,
    var(--t-mint) 66.66% 83.33%,
    var(--t-chamo) 83.33% 100%);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  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: 'Young Serif', Georgia, serif;
  font-weight: 400;
}

/* ===== Header ===== */
.site-header {
  background: var(--ink);
  position: relative;
}
.site-header::after {
  content: "";
  display: block;
  height: 8px;
  background: var(--stripe);
}
.site-name {
  display: block;
  color: var(--paper);
  font-size: 1.1rem;
  line-height: 1.45;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.25rem; }
}

/* ===== Product card ===== */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(31, 61, 54, 0.45);
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--stripe);
}
@media (min-width: 768px) {
  .product-card { padding: 46px 40px 40px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.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: 10px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background .2s;
  user-select: none;
}
.nav:hover { background: var(--t-orange); }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  border: 2px solid var(--line);
  border-bottom-width: 6px;
  transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-1 { border-bottom-color: var(--t-peach); }
.thumb-2 { border-bottom-color: var(--t-dreams); }
.thumb-3 { border-bottom-color: var(--t-mint); }
.thumb-4 { border-bottom-color: var(--t-orange); }

#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(--ink);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--ink);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.95rem; }
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.specs th,
.specs td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.specs th {
  width: 40%;
  padding-right: 12px;
  font-weight: 600;
  color: var(--ink-700);
}
.specs td { color: var(--muted); }

.section-subtitle {
  font-size: 1.35rem;
  color: var(--ink);
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  position: relative;
  padding: 12px 14px 12px 20px;
  margin-bottom: 10px;
  background: var(--paper);
  border-radius: 10px;
  font-size: 0.97rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 5px;
  border-radius: 0 4px 4px 0;
}
.features li:nth-child(1)::before { background: var(--t-mint); }
.features li:nth-child(2)::before { background: var(--t-dreams); }
.features li:nth-child(3)::before { background: var(--t-orange); }
.features strong { color: var(--ink); font-weight: 600; }

.info-note {
  border: 1px dashed var(--ink-700);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* ===== CTA ===== */
.cta-button {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.5rem;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 34px -14px rgba(31, 61, 54, 0.6);
  transition: transform .2s, background .2s;
}
.cta-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--stripe);
}
.cta-button:hover,
.cta-button:focus {
  background: var(--ink-700);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.7rem; padding: 22px 44px 26px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.7rem;
  color: var(--ink);
  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(--paper-200);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 500;
  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: 600;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--ink);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t-orange);
}
.review-text {
  margin-top: 8px;
  font-size: 0.97rem;
}
.review-text strong { color: var(--ink); font-weight: 600; }
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--ink);
  color: #cfdcd7;
}
.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--stripe);
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--t-chamo);
  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; }