/* ===== Palette: charcoal & retro gold ===== */
:root {
  --ink-950:  #17140f;
  --ink-800:  #2b261e;
  --gold-600: #b8862b;
  --gold-500: #d4a03c;
  --gold-200: #f1dfb4;
  --sand-50:  #faf6ee;
  --text:     #29241c;
  --muted:    #7a705f;
  --line:     #e8dfcd;
  --star:     #d4a03c;
}

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

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

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

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

/* ===== Header ===== */
.site-header {
  background: var(--ink-950);
  border-bottom: 1px solid var(--gold-600);
  box-shadow: inset 0 -4px 0 var(--ink-800);
}
.site-name {
  display: block;
  color: var(--gold-200);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .site-name { font-size: 1rem; }
}

/* ===== Product card ===== */
.product-card {
  background: #fff;
  border-radius: 6px;
  padding: 18px;
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 16px 40px rgba(23, 20, 15, 0.08);
}
@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: 4px;
  overflow: hidden;
  background: var(--sand-50);
  outline: 1px solid var(--line);
  outline-offset: 6px;
}
.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;
  background: var(--ink-950);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s;
  user-select: none;
}
.nav:hover { background: var(--gold-500); color: var(--ink-950); }
.nav.prev { left: 0; }
.nav.next { right: 0; }

.gallery-thumbs { margin-top: 22px; }
.thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand-50);
  border: 1px solid var(--line);
  filter: grayscale(60%);
  transition: filter .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { filter: none; }

#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 {
  filter: none;
  border: 2px solid var(--gold-500);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink-950);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.5rem; }
}
.section-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-600);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.features { list-style: none; padding: 0; margin: 0; counter-reset: feat; }
.features li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  font-size: 0.97rem;
  counter-increment: feat;
}
.features li::before {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: 'Martel', Georgia, serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold-600);
}
.features strong { color: var(--ink-950); }

.info-note {
  background: var(--sand-50);
  border: 1px solid var(--gold-200);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  background: var(--ink-950);
  color: var(--gold-500);
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--gold-500);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--gold-500);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--gold-500);
  color: var(--ink-950);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink-950);
}
@media (min-width: 768px) {
  .cta-button { font-size: 1.45rem; padding: 22px 44px; }
}

/* ===== Reviews (Amazon-like) ===== */
.reviews {
  max-width: 820px;
  margin: 0 auto;
}
.reviews-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-950);
  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(--gold-200);
  border: 2px solid var(--gold-500);
}
.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: 600;
  line-height: 1.45;
  margin-top: 2px;
  color: var(--ink-950);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-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: 4px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--ink-950);
  color: #d9cfbb;
  border-top: 1px solid var(--gold-600);
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.65;
}
.footer-links a {
  color: var(--gold-500);
  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; }