/* ===== THEME: Soft Lavender & Plum ===== */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3b2d4a;
}

/* Override Tailwind utility colors used inline in HTML */
.bg-green-50 { background-color: #f6f1fa; }
.bg-white { background-color: #ffffff; }
.text-green-800 { color: #6b3fa0; }
.text-green-900 { color: #4a1e6e; }
.text-gray-700 { color: #52425f; }
.text-gray-600 { color: #7a6689; }
.text-gray-500 { color: #937fa1; }
.border-green-100 { border-color: #e3d3f0; }

/* ===== Header ===== */
.site-header.bg-white {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e3d3f0;
  box-shadow: 0 2px 12px rgba(107, 63, 160, 0.06) !important;
}

.site-header h2.text-green-800 {
  color: #6b3fa0 !important;
  letter-spacing: 0.03em;
}

/* ===== Product card ===== */
.product {
  background-color: #ffffff !important;
  border: 1px solid #e3d3f0;
  border-radius: 20px !important;
  box-shadow: 0 14px 34px rgba(107, 63, 160, 0.14) !important;
}

.description-list li { font-size: 0.95rem; }
.description-list strong { color: #6b3fa0; }

/* ===== Gallery ===== */
.gallery { position: relative; }
.gallery-radio { display: none; }

.gallery-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f6f1fa;
  border-radius: 16px !important;
}

.gallery-images .slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

#img1:checked ~ .gallery-images .slide1,
#img2:checked ~ .gallery-images .slide2,
#img3:checked ~ .gallery-images .slide3,
#img4:checked ~ .gallery-images .slide4 {
  display: block;
}

.thumbs { flex-wrap: wrap; }

.thumb-label {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e3d3f0;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.thumb-label:hover { transform: translateY(-2px); }

.thumb-label img { width: 100%; height: 100%; object-fit: cover; display: block; }

#img1:checked ~ .thumbs label[for="img1"],
#img2:checked ~ .thumbs label[for="img2"],
#img3:checked ~ .thumbs label[for="img3"],
#img4:checked ~ .thumbs label[for="img4"] {
  opacity: 1;
  border-color: #a06bd6;
}

/* ===== CTA button ===== */
.cta-section { width: 100%; }

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #a06bd6, #6b3fa0);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 58px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(107, 63, 160, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(107, 63, 160, 0.48);
}

/* ===== Reviews ===== */
.reviews {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reviews h3.text-green-900 { color: #4a1e6e !important; }

.review-card {
  padding: 20px;
  margin-bottom: 14px;
  background-color: #fdfbff;
  border: 1px solid #e3d3f0;
  border-radius: 16px;
}

.review-card:last-child { margin-bottom: 0; }

.review-top { display: flex; align-items: flex-start; gap: 14px; }

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d9c2ec;
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: #4a1e6e; margin: 0; }
.review-name-link { color: #4a1e6e; text-decoration: none; }
.review-name-link:hover { color: #a06bd6; text-decoration: underline; }

.review-stars { color: #a06bd6; margin: 2px 0 0 0; letter-spacing: 1px; }
.review-title { font-weight: 700; margin: 4px 0 0 0; color: #6b3fa0; }
.review-sub { font-size: 0.85rem; color: #937fa1; margin: 8px 0 0 0; }
.review-attrs { font-size: 0.85rem; color: #937fa1; margin: 2px 0 8px 0; }
.review-text { font-size: 0.95rem; line-height: 1.6; color: #52425f; margin: 0; }

.review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.review-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e3d3f0;
}

/* ===== Footer ===== */
.site-footer.bg-white {
  background-color: #ffffff !important;
  border-top: 1px solid #e3d3f0 !important;
}

.site-footer p.text-green-800 { color: #6b3fa0 !important; }
.site-footer .text-gray-600 { color: #7a6689 !important; }
.footer-link { color: #a06bd6; text-decoration: none; }
.footer-link:hover { text-decoration: underline; color: #6b3fa0; }

/* ===== Mobile-first ===== */
@media (max-width: 767px) {
  .gallery-images { aspect-ratio: 4 / 3; }
  .cta-button { width: 90%; text-align: center; padding: 16px 0; font-size: 1.05rem; }
  h1 { font-size: 1.4rem; }
  .review-photo { width: 68px; height: 68px; }
}