/* ══════════════════════════════════════════════
   Health King Stamina Herb Tea — style.css
   Palette: warm linen + umber ink + amber accent
   Fonts: Lora (display) + Inter (body)
══════════════════════════════════════════════ */

:root {
  --bg:          #FAF7F2;
  --surface:     #FFFFFF;
  --surface2:    #F3EDE3;
  --ink:         #2C1F0E;
  --ink2:        #3D2E1A;
  --muted:       #7A6A52;
  --border:      #E2D8CC;
  --amber:       #A0622A;
  --amber-lt:    #C4834E;
  --amber-bg:    #F8EFE3;
  --star:        #D97706;
  --rule:        #DDD0BE;
  --cta-bg:      #8B4A1A;
  --cta-h:       #6E3812;
  --disclaimer:  #F5EFE5;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

/* ── HEADER ── */
.site-header {
  background: var(--ink);
  padding: 1rem 5vw;
  text-align: center;
  border-bottom: 3px solid var(--amber);
}
.header-inner { max-width: 900px; margin: 0 auto; }

.site-logo {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.header-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ── PRODUCT SECTION ── */
.product-section {
  padding: 3rem 5vw 2rem;
}
.product-container {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── GALLERY ── */
.gallery-col {}

.gallery-scroll-wrap {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  padding: 1.5rem;
  background: var(--surface);
}

/* Thumbnail strip */
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 70px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s;
}
.gallery-thumb:hover,
.gallery-thumb:focus { border-color: var(--amber); outline: none; }
.gallery-thumb img {
  width: 70px; height: 70px;
  object-fit: cover;
}

/* ── PRODUCT INFO ── */
.product-info-col {}

.product-badge {
  display: inline-block;
  background: var(--amber-bg);
  border: 1px solid var(--amber-lt);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.product-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.product-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.stars {
  color: var(--star);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.rating-count {
  font-size: 0.82rem;
  color: var(--amber);
  text-decoration: underline;
  cursor: default;
}

.product-rule {
  height: 1px;
  background: var(--rule);
  margin: 1.2rem 0 1.4rem;
}

/* ── INFO BLOCK ── */
.info-block { display: flex; flex-direction: column; gap: 1.2rem; }

.info-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.info-section {}

.info-subheading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.45rem;
}

.info-text {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.75;
}
.info-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.mt-2 { margin-top: 0.5rem; }

.directions-list {
  list-style: decimal;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.directions-list li {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.7;
}

.disclaimer-box {
  background: var(--disclaimer);
  border-left: 3px solid var(--amber-lt);
  padding: 0.9rem 1rem;
  border-radius: 0 4px 4px 0;
}

.seo-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.65;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 2.5rem 5vw 3rem;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--cta-bg);
  color: #fff;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1rem 3rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 14px rgba(139,74,26,0.28);
}
.cta-button:hover,
.cta-button:focus {
  background: var(--cta-h);
  transform: translateY(-1px);
  outline: none;
}
.cta-button:active { transform: translateY(0); }

.cta-icon {
  font-size: 0.85rem;
  opacity: 0.75;
}

.cta-sub {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ── REVIEWS SECTION ── */
.reviews-section {
  padding: 3rem 5vw 4rem;
  background: var(--bg);
}
.reviews-container {
  max-width: 760px;
  margin: 0 auto;
}

.reviews-header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--amber);
}
.reviews-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.reviews-avg {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink2);
}
.reviews-count {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── INDIVIDUAL REVIEW ── */
.review-item {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.review-item:last-child { border-bottom: none; }

.review-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.review-avatar {
  flex-shrink: 0;
}
.review-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--surface2);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.reviewer-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.review-stars {
  color: var(--star);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.review-headline {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}

.review-provenance {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.review-attributes {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.review-body {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.78;
  margin-bottom: 0.9rem;
}

.review-photos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.review-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 2rem 5vw;
  border-top: 3px solid var(--amber);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.footer-brand {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber-lt); }
.footer-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.78rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════ */

/* Stack on mobile: image top, info bottom */
@media (max-width: 760px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Image column comes first visually */
  .gallery-col  { order: 1; }
  .product-info-col { order: 2; }

  .gallery-slide img {
    height: 260px;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  .product-section { padding: 1.5rem 4vw 1.5rem; }
  .cta-section { padding: 2rem 4vw; }
  .reviews-section { padding: 2rem 4vw 3rem; }
}

@media (max-width: 480px) {
  .gallery-slide img { height: 220px; }
  .gallery-thumb { flex: 0 0 58px; }
  .gallery-thumb img { width: 58px; height: 58px; }
  .footer-links { gap: 0.4rem; }
  .cta-button { width: 100%; justify-content: center; }
}