/* =============================================
   BASE & TOKENS — green minimalist palette
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-400: #74C69D;
  --green-100: #D8F3DC;
  --green-50:  #F0FAF3;
  --sage-100:  #E9F5EE;
  --white:     #FFFFFF;
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-400:  #9CA3AF;
  --gray-600:  #4B5563;
  --gray-800:  #1F2937;
  --star:      #F59E0B;
  --radius:    10px;
  --shadow:    0 2px 16px rgba(27,67,50,0.09);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--green-50);
  color: var(--gray-800);
  line-height: 1.65;
  min-height: 100vh;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--green-800);
  color: var(--white);
  padding: 18px 16px 14px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(27,67,50,0.3);
  border-bottom: 3px solid var(--green-600);
}

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

.header-brand {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 6px;
}

.site-header h1.header-title {
  font-size: clamp(0.88rem, 1.8vw, 1.08rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto;
}

/* =============================================
   PRODUCT SECTION
   ============================================= */
.product-section {
  padding: 36px 16px 20px;
}

.product-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border: 1px solid var(--green-100);
}

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

.gallery-block {
  flex: 0 0 400px;
  max-width: 400px;
  background: var(--sage-100);
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--green-100);
}

.gallery-slides {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
}

.gallery-slide { flex: 0 0 100%; display: none; }

.gallery-slide img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

#img1:checked ~ .gallery-slides .gallery-slide:nth-child(1),
#img2:checked ~ .gallery-slides .gallery-slide:nth-child(2),
#img3:checked ~ .gallery-slides .gallery-slide:nth-child(3),
#img4:checked ~ .gallery-slides .gallery-slide:nth-child(4) {
  display: block;
}

/* Dots */
.gallery-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}

#img1:checked ~ .gallery-dots .gallery-dot:nth-child(1),
#img2:checked ~ .gallery-dots .gallery-dot:nth-child(2),
#img3:checked ~ .gallery-dots .gallery-dot:nth-child(3),
#img4:checked ~ .gallery-dots .gallery-dot:nth-child(4) {
  background: var(--green-700);
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-thumbs label {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  display: block;
}

.gallery-thumbs label img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  display: block;
}

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

/* =============================================
   PRODUCT INFO
   ============================================= */
.product-info {
  flex: 1;
  padding: 28px 28px;
}

.product-title {
  font-size: clamp(0.94rem, 1.6vw, 1.1rem);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-100);
}

.desc-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 14px;
}

.desc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}

.desc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.65;
}

.bullet-icon {
  color: var(--green-600);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 5px;
}

.desc-list strong { color: var(--green-800); }

.keywords-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  background: var(--green-50);
  border-left: 3px solid var(--green-400);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
  margin-top: 6px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 36px 16px;
}

.cta-button {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 18px 52px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(64,145,108,0.38);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta-button:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.45);
}

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

/* =============================================
   REVIEWS SECTION
   ============================================= */
.reviews-section {
  max-width: 820px;
  margin: 0 auto 52px;
  padding: 0 16px;
}

.reviews-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-100);
}

.review-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child { border-bottom: none; }

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

.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--green-100);
  border: 2px solid var(--green-400);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-800);
}

.review-stars {
  color: var(--star);
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-title-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
}

.review-date {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.review-attrs {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.review-body {
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.65;
  margin-bottom: 14px;
}

.review-photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.review-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green-900);
  color: var(--green-100);
  padding: 28px 16px;
  text-align: center;
  border-top: 3px solid var(--green-700);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--green-100);
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-sep {
  color: var(--green-700);
  font-size: 0.76rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--green-100);
  opacity: 0.5;
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 860px) {
  .gallery-block {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .gallery-slide img { height: 255px; }
  .product-info { padding: 22px 18px; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 640px) {
  .product-card { flex-direction: column; }

  .gallery-block {
    flex: none;
    max-width: 100%;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--green-100);
    padding: 20px 16px 14px;
  }

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

  .gallery-thumbs label img {
    width: 54px;
    height: 54px;
  }

  .product-info { padding: 18px 16px; }
  .product-title { font-size: 0.93rem; }

  .cta-button {
    font-size: 1rem;
    padding: 16px 28px;
    width: 100%;
    max-width: 360px;
  }

  .review-photos img {
    width: 74px;
    height: 74px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .footer-sep { display: none; }
}