/* =============================================
   BASE RESET & DESIGN TOKENS
   — Palette: deep jade green, warm gold, ivory
   — Type: Noto Serif (display) + Noto Sans (body)
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --jade:        #1F4D3E;
  --jade-mid:    #2D6B56;
  --gold:        #C2954A;
  --gold-dark:   #A37935;
  --ivory:       #F6F3EA;
  --offwhite:    #FBF9F4;
  --white:       #ffffff;
  --border:      #E1DBC8;
  --text-main:   #232A26;
  --text-muted:  #5C6660;
  --text-light:  #97A09A;
  --star:        #C2954A;
  --font-d:      'Noto Serif', Georgia, serif;
  --font-b:      'Noto Sans', system-ui, sans-serif;
  --radius:      8px;
  --shadow:      0 3px 16px rgba(31,77,62,0.1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--offwhite);
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 400;
}

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--jade);
  padding: 18px 24px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(31,77,62,0.3);
  border-bottom: 2px solid var(--gold);
}

.header-inner { max-width: 1200px; margin: 0 auto; }

.header-title {
  font-family: var(--font-d);
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.4;
}

/* =============================================
   PRODUCT SECTION
   ============================================= */
.product-section {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 0 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.gallery-wrap {
  background: var(--ivory);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.gallery-main {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}

.gallery-slide { display: none; width: 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

#g1:checked ~ .gallery-main #slide1,
#g2:checked ~ .gallery-main #slide2,
#g3:checked ~ .gallery-main #slide3,
#g4:checked ~ .gallery-main #slide4 { display: block; }

.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }

.thumb-label {
  width: 62px; height: 62px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--white);
}

.thumb-label img { width: 100%; height: 100%; object-fit: cover; }

#g1:checked ~ .gallery-thumbs label[for="g1"],
#g2:checked ~ .gallery-thumbs label[for="g2"],
#g3:checked ~ .gallery-thumbs label[for="g3"],
#g4:checked ~ .gallery-thumbs label[for="g4"] { border-color: var(--gold); }

.thumb-label:hover { border-color: var(--jade-mid); }

/* =============================================
   PRODUCT INFO
   ============================================= */
.product-info {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.product-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.product-title {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 700;
  color: var(--jade);
  line-height: 1.3;
}

.product-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -8px;
}

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

.desc-heading {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jade);
  border-bottom: 2px solid var(--ivory);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.desc-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

.desc-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-top: 8px;
  line-height: 1.6;
}

/* =============================================
   CTA BUTTON
   ============================================= */
.cta-section {
  max-width: 1200px;
  margin: 52px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 19px 58px;
  border-radius: 50px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(194,149,74,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163,121,53,0.45);
}

.cta-btn:active { transform: translateY(0); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.reviews-heading {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jade);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.review-item { padding: 26px 0 30px; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }

.review-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }

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

.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--jade); }
.review-stars { color: var(--star); font-size: 1rem; letter-spacing: 1px; }
.review-title-text { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.review-date { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.review-attributes { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.review-body { font-size: 0.9rem; color: var(--text-main); line-height: 1.75; margin-bottom: 14px; }

.review-photo { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.review-photo img { max-width: 110px; border-radius: 6px; border: 1px solid var(--border); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--jade);
  color: #9DBFAF;
  padding: 40px 24px;
  text-align: center;
  margin-top: 72px;
}

.footer-brand {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 18px; }
.footer-links a { color: #9DBFAF; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--ivory); text-decoration: underline; }
.footer-copy { font-size: 0.78rem; color: #5E8270; }

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
  .gallery-wrap { padding: 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .gallery-main { aspect-ratio: 4 / 3; }
  .product-info { padding: 28px 28px 32px; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .product-section { padding: 0 12px; margin-top: 22px; }
  .gallery-main { aspect-ratio: 1 / 1; }
  .thumb-label { width: 52px; height: 52px; }
  .product-info { padding: 20px 16px 24px; gap: 14px; }
  .product-title { font-size: 1.15rem; }
  .cta-section { padding: 0 16px; margin-top: 36px; }
  .cta-btn { font-size: 1.05rem; padding: 16px 28px; width: 100%; }
  .reviews-section { padding: 0 12px; }
  .review-avatar { width: 40px; height: 40px; }
  .review-photo img { max-width: 90px; }
}