/* ===== Palette: plum & blush ===== */
:root {
  --plum-900: #3b1d3a;
  --plum-700: #6b2d5c;
  --plum-600: #8a3a76;
  --rose-400: #e58fa7;
  --rose-200: #f8d3dc;
  --blush-50: #fff6f8;
  --cream:    #fdf8f4;
  --text:     #2d2230;
  --muted:    #7a6a78;
  --line:     #eadde4;
  --star:     #e8a33d;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, var(--blush-50) 0%, var(--cream) 60%);
  color: var(--text);
  font-family: 'Mukta', 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,
.footer-name {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}

/* ===== Header ===== */
.site-header {
  background: linear-gradient(90deg, var(--plum-900), var(--plum-700));
}
.site-name {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.55;
  letter-spacing: 0.2px;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.05rem; }
}

/* ===== Product card ===== */
.product-card {
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(59, 29, 58, 0.10);
}
@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: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #fff 0%, var(--rose-200) 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: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 29, 58, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
  user-select: none;
}
.nav:hover { background: var(--plum-600); }
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--blush-50);
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-2px); }

#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 {
  opacity: 1;
  border-color: var(--plum-600);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--plum-900);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.55rem; }
}
.section-subtitle {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--plum-700);
  border-bottom: 2px solid var(--rose-400);
  padding-bottom: 2px;
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--blush-50);
  border-radius: 14px;
  font-size: 0.97rem;
}
.features strong {
  display: block;
  color: var(--plum-700);
  margin-bottom: 2px;
}

.info-note {
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--plum-600), var(--rose-400));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(138, 58, 118, 0.35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.cta-button:hover,
.cta-button:focus {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(138, 58, 118, 0.45);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.5rem; padding: 22px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.5rem;
  color: var(--plum-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(--rose-200);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rose-200);
}
.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;
  color: var(--plum-900);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--plum-600);
}
.review-text {
  margin-top: 8px;
  font-size: 0.97rem;
}
.review-photos { margin-top: 12px; }
.review-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

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