/* ===== Base ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f3f9f4;
  color: #23342a;
}

.site-header h2 {
  font-family: 'Inter', sans-serif;
}

/* ===== Product card ===== */
.product {
  border: 1px solid #d9ecdc;
}

.description-list li {
  font-size: 0.95rem;
}

/* ===== Gallery (no JS, radio + CSS) ===== */
.gallery {
  position: relative;
}

.gallery-radio {
  display: none;
}

.gallery-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f0f5f1;
}

.gallery-images .slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#img1:checked ~ .gallery-images .slide1,
#img2:checked ~ .gallery-images .slide2,
#img3:checked ~ .gallery-images .slide3,
#img4:checked ~ .gallery-images .slide4 {
  display: block;
}

.thumbs {
  flex-wrap: wrap;
}

.thumb-label {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

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

#img1:checked ~ .thumbs label[for="img1"],
#img2:checked ~ .thumbs label[for="img2"],
#img3:checked ~ .thumbs label[for="img3"],
#img4:checked ~ .thumbs label[for="img4"] {
  opacity: 1;
  border-color: #2e7d4f;
}

/* ===== CTA button ===== */
.cta-section {
  width: 100%;
}

.cta-button {
  display: inline-block;
  background-color: #2e7d4f;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 18px 56px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(46, 125, 79, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}

.cta-button:hover {
  background-color: #256a42;
  transform: translateY(-2px);
}

/* ===== Reviews (Amazon-like, vertical, no cards/borders) ===== */
.reviews {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  padding: 20px 0;
  border-bottom: 1px solid #e2ede4;
}

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

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

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

.review-name {
  font-weight: 600;
  color: #23342a;
  margin: 0;
}

.review-stars {
  color: #2e7d4f;
  margin: 2px 0 0 0;
  letter-spacing: 1px;
}

.review-title {
  font-weight: 700;
  margin: 4px 0 0 0;
  color: #1c2a20;
}

.review-sub {
  font-size: 0.85rem;
  color: #6b7c72;
  margin: 8px 0 0 0;
}

.review-attrs {
  font-size: 0.85rem;
  color: #6b7c72;
  margin: 2px 0 8px 0;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #33423a;
  margin: 0;
}

.review-photos-note {
  font-size: 0.85rem;
  color: #2e7d4f;
  margin-top: 8px;
  font-style: italic;
}

/* ===== Footer ===== */
.footer-link {
  color: #2e7d4f;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== Review photos ===== */
.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.review-photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9ecdc;
}


/* ===== Mobile-first adjustments ===== */
@media (max-width: 767px) {
  .gallery-images {
    aspect-ratio: 4 / 3;
  }

  .cta-button {
    width: 90%;
    text-align: center;
    padding: 16px 0;
    font-size: 1.1rem;
  }

  h1 {
    font-size: 1.4rem;
  }


  .review-photo {
    width: 70px;
    height: 70px;
  }
}