/* =============================================
   BASE RESET & DESIGN TOKENS
   — Palette: deep charcoal, sage green, warm cream
   — Type: Albert Sans
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal:    #2C3331;
  --charcoal-mid:#3D4543;
  --sage:        #7A9B82;
  --sage-dark:   #5E7C66;
  --cream:       #F4F1E8;
  --moss-light:  #E7EEE5;
  --white:       #ffffff;
  --border:      #D9DED4;
  --text-main:   #232B27;
  --text-muted:  #5A655D;
  --text-light:  #97A199;
  --star:        #C9A24B;
  --font:        'Albert Sans', system-ui, sans-serif;
  --radius:      14px;
  --shadow:      0 3px 16px rgba(44,51,49,0.08);
}

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

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

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--charcoal);
  padding: 18px 24px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(44,51,49,0.3);
}

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

.header-title {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--cream);
  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(--moss-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.gallery-main {
  position: relative;
  border-radius: 12px;
  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: 11px; }

#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: 10px;
  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(--sage); }

.thumb-label:hover { border-color: var(--charcoal-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: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.product-title {
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

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

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

.desc-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  border-bottom: 2px solid var(--moss-light);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.feature-block {
  padding: 16px 18px;
  margin-bottom: 4px;
  background: var(--moss-light);
  border-radius: 10px;
}

.feature-tag {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

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

.desc-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--sage);
  padding-left: 12px;
  margin-top: 10px;
  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(--sage-dark);
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 20px 60px;
  border-radius: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(94,124,102,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.cta-btn:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44,51,49,0.45);
}

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

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

.reviews-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  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(--moss-light);
  background: var(--moss-light);
}

.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--charcoal); }
.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: 9px; border: 1px solid var(--border); }

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

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sage);
  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: #9BAE9F; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }
.footer-copy { font-size: 0.78rem; color: #5A6A5D; }

/* =============================================
   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: 17px 28px; width: 100%; }
  .reviews-section { padding: 0 12px; }
  .review-avatar { width: 40px; height: 40px; }
  .review-photo img { max-width: 90px; }
}