/* =============================================
   HEALTH KING STAMINA HERB TEA — style.css
   Green minimal theme, mobile-first
   ============================================= */

:root {
  --green-dark:    #1a4731;
  --green-mid:     #2d6a4f;
  --green-main:    #40916c;
  --green-light:   #74c69d;
  --green-pale:    #d8f3dc;
  --green-bg:      #f0faf3;
  --white:         #ffffff;
  --text-dark:     #1b2e23;
  --text-body:     #344e41;
  --text-muted:    #6b8f71;
  --border:        #b7e4c7;
  --star-gold:     #e49b0f;
  --radius-card:   12px;
  --radius-sm:     6px;
  --shadow-card:   0 2px 16px rgba(45,106,79,0.10);
  font-family: 'Inter', system-ui, sans-serif;
}

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

body {
  background-color: var(--green-bg);
  color: var(--text-body);
  line-height: 1.65;
}

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

/* ─── HEADER ─── */
.site-header {
  background: var(--green-dark);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.header-logo {
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.header-title {
  color: var(--white);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

/* ─── PRODUCT SECTION ─── */
.product-section {
  padding: 32px 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ─── GALLERY ─── */
.gallery-radio { display: none; }

.gallery-block {
  position: relative;
  background: var(--green-pale);
  padding: 16px 16px 8px;
}

.gallery-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.gallery-slide {
  display: none;
  width: 100%;
}
.gallery-slide img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto;
}

/* Show active slide via radio */
#img1:checked ~ .gallery-slides .slide-1,
#img2:checked ~ .gallery-slides .slide-2,
#img3:checked ~ .gallery-slides .slide-3,
#img4:checked ~ .gallery-slides .slide-4 { display: block; }

/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 8px;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
#img1:checked ~ .gallery-dots label:nth-child(1),
#img2:checked ~ .gallery-dots label:nth-child(2),
#img3:checked ~ .gallery-dots label:nth-child(3),
#img4:checked ~ .gallery-dots label:nth-child(4) {
  background: var(--green-main);
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
.gallery-thumbs label {
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}
.gallery-thumbs label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#img1:checked ~ .gallery-thumbs label:nth-child(1),
#img2:checked ~ .gallery-thumbs label:nth-child(2),
#img3:checked ~ .gallery-thumbs label:nth-child(3),
#img4:checked ~ .gallery-thumbs label:nth-child(4) {
  border-color: var(--green-main);
}

/* ─── PRODUCT INFO ─── */
.product-info {
  padding: 24px 24px 28px;
}
.product-title {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.product-description { display: flex; flex-direction: column; gap: 16px; }

.desc-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 4px;
}
.desc-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 5px;
}
.desc-section p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
}

.product-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-bullets li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}
.product-bullets li::before {
  content: "•";
  color: var(--green-main);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: -1px;
}

.product-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-steps li { font-size: 0.88rem; }

.keywords-note {
  background: var(--green-pale);
  border-left: 3px solid var(--green-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
}
.keywords-note p { font-size: 0.86rem; color: var(--text-body); }

.disclaimer {
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disclaimer h4 { color: var(--text-muted); }
.disclaimer p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA BUTTON ─── */
.cta-section {
  padding: 32px 16px 36px;
  display: flex;
  justify-content: center;
}
.cta-button {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(64,145,108,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,106,79,0.4);
  outline: none;
}
.cta-button:active { transform: translateY(0); }

/* ─── REVIEWS ─── */
.reviews-section {
  padding: 8px 16px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-wrapper {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}
.reviews-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-pale);
}

.review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item:first-of-type { padding-top: 0; }

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-pale);
  border: 2px solid var(--border);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
}
.review-stars {
  color: var(--star-gold);
  font-size: 1rem;
  letter-spacing: 1px;
}
.review-title-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.review-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.review-tag {
  font-size: 0.78rem;
  color: var(--green-main);
  font-weight: 600;
  margin-bottom: 10px;
}
.review-body p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}
.review-photos {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.review-photos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--green-dark);
  color: var(--green-pale);
  padding: 28px 20px;
  margin-top: 8px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.footer-links a {
  color: var(--green-light);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE: tablet+ ─── */
@media (min-width: 768px) {
  .product-card {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-block {
    padding: 24px;
  }
  .gallery-slide img {
    max-height: 420px;
  }
  .product-info {
    padding: 32px 32px 36px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    grid-template-columns: 480px 1fr;
  }
  .gallery-slide img {
    max-height: 460px;
  }
  .gallery-thumbs label {
    width: 72px;
    height: 72px;
  }
}