/* ===== Base ===== */
:root {
  --green-900: #14532d;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --text:      #1f2937;
  --muted:     #6b7280;
  --line:      #e5e7eb;
  --star:      #f59e0b;
  --bg:        #f7faf7;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Devanagari', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--green-600);
}
.site-name {
  display: block;
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.05rem; }
}

/* ===== Product card ===== */
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(20, 83, 45, 0.08);
}
@media (min-width: 768px) {
  .product-card { padding: 36px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  background: var(--green-50);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.slide {
  display: none;
  position: absolute;
  inset: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 { display: block; }

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--green-600); color: #fff; }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.thumb {
  display: block;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--green-50);
  transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--green-600); }

#img-1:checked ~ .gallery-thumbs .thumb-1,
#img-2:checked ~ .gallery-thumbs .thumb-2,
#img-3:checked ~ .gallery-thumbs .thumb-3,
#img-4:checked ~ .gallery-thumbs .thumb-4 {
  border-color: var(--green-700);
  box-shadow: 0 0 0 2px var(--green-100);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--green-900);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.6rem; }
}
.section-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.features { list-style: none; padding: 0; margin-bottom: 0; }
.features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.97rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-600);
}
.features strong { color: var(--green-900); }

.info-note {
  background: var(--green-50);
  border-left: 4px solid var(--green-600);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 460px;
  padding: 20px 32px;
  background: var(--green-600);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(21, 128, 61, 0.4);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.45rem; padding: 22px 40px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.review {
  padding: 22px 0;
}
.review + .review {
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 14px;
  background: var(--green-100);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.review-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 2px;
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--green-700);
  font-weight: 600;
}
.review-text {
  margin-top: 8px;
  font-size: 0.95rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--green-900);
  color: #e7f6ec;
}
.footer-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: #bbf7d0;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.7; }