/* ===== Palette: sand, evening teal & lavender ===== */
:root {
  --sand:       #f6f3ee;
  --sand-200:   #ebe4d8;
  --teal-900:   #0b3b3c;
  --teal-700:   #0f6466;
  --teal-500:   #1f9a95;
  --teal-50:    #e7f4f2;
  --lavender:   #b8b1e6;
  --lav-50:     #f1effb;
  --text:       #1f2b2b;
  --muted:      #637070;
  --line:       #e2ddd2;
  --star:       #f0a62a;
}

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: 'Yantramanav', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.product-title,
.section-subtitle,
.reviews-heading,
.site-name,
.cta-button {
  font-family: 'Eczar', Georgia, serif;
}

/* ===== Header ===== */
.site-header {
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--teal-700) 100%);
  position: relative;
}
.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-500), var(--lavender));
}
.site-name {
  display: block;
  color: #f2fbfa;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.05rem; }
}

/* ===== Product card ===== */
.product-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 1px 0 var(--sand-200), 0 24px 50px -24px rgba(11, 59, 60, 0.35);
}
@media (min-width: 768px) {
  .product-card { padding: 40px; }
}

/* ===== Gallery (radio + CSS) ===== */
.gallery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-50) 0%, #fff 45%, var(--lav-50) 100%);
}
.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.92);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(11, 59, 60, 0.15);
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--teal-700); color: #fff; }
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

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

#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(--teal-500);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--teal-900);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.55rem; }
}
.section-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-700);
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 2px solid var(--teal-500);
}
.features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.35em + 6px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}
.features strong { color: var(--teal-900); font-weight: 700; }

.info-note {
  background: var(--lav-50);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.93rem;
  color: #3e3a63;
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 18px 32px 14px;
  background: var(--teal-700);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 16px;
  border-bottom: 5px solid var(--teal-900);
  box-shadow: 0 14px 30px -10px rgba(15, 100, 102, 0.6);
  transition: background .2s, transform .15s, border-bottom-width .15s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--teal-500);
  transform: translateY(2px);
  border-bottom-width: 3px;
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.7rem; padding: 20px 44px 16px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-900);
  padding-bottom: 10px;
  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(--teal-50);
}
.review-name {
  font-size: 0.95rem;
  font-weight: 500;
  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;
  color: var(--teal-900);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-500);
}
.review-text {
  margin-top: 8px;
  font-size: 0.98rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--teal-900);
  color: #cfe5e3;
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }