/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-900:  #111827;
  --star:      #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  background: var(--green-800);
  padding: 0.85rem 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.site-header .brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── MAIN WRAPPER ── */
.page-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .product-card {
    grid-template-columns: 420px 1fr;
  }
}

/* ── GALLERY ── */
.gallery {
  padding: 1.25rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 768px) {
  .gallery {
    border-bottom: none;
    border-right: 1px solid var(--gray-200);
  }
}

/* CSS-only slider via radio inputs */
.slider-wrap { position: relative; }
.slider-inputs { display: none; }

.slides {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  aspect-ratio: 1 / 1;
  position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* show active slide */
#s1:checked ~ .slides .slide:nth-child(1),
#s2:checked ~ .slides .slide:nth-child(2),
#s3:checked ~ .slides .slide:nth-child(3),
#s4:checked ~ .slides .slide:nth-child(4) {
  opacity: 1;
  pointer-events: auto;
}

/* thumbnails */
.thumbnails {
  display: flex;
  gap: .5rem;
  margin-top: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thumb-label {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.thumb-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#s1:checked ~ .thumbnails .tl1,
#s2:checked ~ .thumbnails .tl2,
#s3:checked ~ .thumbnails .tl3,
#s4:checked ~ .thumbnails .tl4 {
  border-color: var(--green-600);
}

/* ── PRODUCT INFO ── */
.product-info {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-info h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
}

.product-desc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.product-desc li {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.6;
  padding-left: .1rem;
}

/* keyword block */
.keyword-note {
  font-size: .82rem;
  color: var(--gray-600);
  background: var(--green-50);
  border-left: 3px solid var(--green-400);
  padding: .65rem .85rem;
  border-radius: 0 4px 4px 0;
  line-height: 1.6;
}

/* ── CTA BUTTON ── */
.cta-section {
  text-align: center;
  padding: 2.25rem 1rem;
}
.cta-btn {
  display: inline-block;
  background: var(--green-600);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 1rem 2.75rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22,163,74,.35);
  transition: background .2s, transform .12s;
}
.cta-btn:hover {
  background: var(--green-700);
  transform: translateY(-2px);
}
.cta-btn:active {
  transform: translateY(0);
}

/* ── REVIEWS SECTION ── */
.reviews-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
.reviews-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--green-200);
}

/* individual review */
.review {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.review:last-child { border-bottom: none; }

.review-top {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: .55rem;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-meta { flex: 1; }
.review-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--gray-900);
  line-height: 1.2;
}
.review-stars {
  color: var(--star);
  font-size: 1rem;
  letter-spacing: .05em;
  line-height: 1.4;
}
.review-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-900);
}
.review-date {
  font-size: .78rem;
  color: var(--gray-600);
  margin-bottom: .2rem;
}
.review-attrs {
  font-size: .78rem;
  color: var(--gray-600);
  margin-bottom: .55rem;
}
.review-verified {
  display: inline-block;
  font-size: .75rem;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: .35rem;
}
.review-body {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: .75rem;
}
.review-photos {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.review-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--gray-200);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--green-900);
  color: #d1fae5;
  text-align: center;
  padding: 1.75rem 1.5rem;
}
.site-footer .footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  margin-bottom: .75rem;
}
.footer-links a {
  font-size: .75rem;
  color: #a7f3d0;
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: .7rem;
  color: #6ee7b7;
}