/* ===== Palette: warm lamplight & slate ===== */
:root {
  --cream:     #fffaf0;
  --honey-50:  #fff4dc;
  --honey-200: #ffe1a1;
  --honey-400: #ffc24d;
  --amber-600: #e08a00;
  --amber-700: #b86e00;
  --slate-900: #1f2937;
  --slate-700: #374151;
  --text:      #2a2f38;
  --muted:     #6b7280;
  --line:      #f0e4c8;
  --star:      #f2a516;
}

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

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -120px, var(--honey-200) 0%, transparent 70%),
    var(--cream);
  color: var(--text);
  font-family: 'Khula', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  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: 'Baloo 2', 'Khula', system-ui, sans-serif;
}

/* ===== Header ===== */
.site-header {
  background: transparent;
}
.site-name {
  display: block;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .site-name { font-size: 1.12rem; }
}

/* ===== Product card ===== */
.product-card {
  background: var(--white, #fff);
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 60px -20px rgba(224, 138, 0, 0.25);
}
@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: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fff 0%, var(--honey-50) 55%, var(--honey-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: 50%;
  background: var(--slate-900);
  color: var(--honey-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s, box-shadow .2s;
  user-select: none;
}
.nav:hover {
  background: var(--honey-400);
  color: var(--slate-900);
  box-shadow: 0 0 18px rgba(255, 194, 77, 0.8);
}
.nav.prev { left: 12px; }
.nav.next { right: 12px; }

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

#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(--amber-600);
  box-shadow: 0 0 16px rgba(255, 194, 77, 0.7);
}

/* ===== Product info ===== */
.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--slate-900);
}
@media (min-width: 768px) {
  .product-title { font-size: 1.6rem; }
}
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-700);
}
.section-subtitle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--honey-400);
  box-shadow: 0 0 10px 3px rgba(255, 194, 77, 0.7);
}
.features { list-style: none; padding: 0; margin: 0; }
.features li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}
.features li:last-child { border-bottom: 0; }
.features strong {
  color: var(--slate-900);
  font-weight: 600;
}

.info-note {
  background: var(--slate-900);
  color: #f3f4f6;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.92rem;
  border-left: 5px solid var(--honey-400);
}

/* ===== CTA ===== */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  padding: 18px 32px 14px;
  background: linear-gradient(180deg, var(--honey-400), var(--amber-600));
  color: var(--slate-900);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 0 0 4px var(--honey-50),
    0 0 40px rgba(255, 194, 77, 0.65),
    0 12px 24px rgba(184, 110, 0, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px var(--honey-50),
    0 0 60px rgba(255, 194, 77, 0.9),
    0 16px 28px rgba(184, 110, 0, 0.35);
}
@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(--slate-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(--honey-50);
}
.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(--slate-900);
}
.review-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber-700);
}
.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;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .review-photos img { width: 120px; height: 120px; }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 48px;
  background: var(--slate-900);
  color: #d1d5db;
}
.footer-name {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links a {
  color: var(--honey-400);
  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; }