/* ===== THEME: Dusty Rose & Charcoal ===== */
* { box-sizing: border-box; }

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

/* Override Tailwind utility colors used inline in HTML */
.bg-green-50 { background-color: #f7f0ee; }
.bg-white { background-color: #ffffff; }
.text-green-800 { color: #b3697a; }
.text-green-900 { color: #2e2a2c; }
.text-gray-700 { color: #4a4345; }
.text-gray-600 { color: #7a7072; }
.text-gray-500 { color: #948a8c; }
.border-green-100 { border-color: #e8d3d8; }

/* ===== Header ===== */
.site-header.bg-white {
  background-color: #2e2a2c !important;
  box-shadow: none !important;
}

.site-header h2.text-green-800 {
  color: #d99cae !important;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== Product card ===== */
.product {
  background-color: #ffffff !important;
  border: 1px solid #e8d3d8;
  border-radius: 10px !important;
  box-shadow: 0 12px 30px rgba(46, 42, 44, 0.1) !important;
}

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

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

.gallery-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f7f0ee;
  border-radius: 8px !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: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e8d3d8;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.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: #b3697a;
}

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

.cta-button {
  display: inline-block;
  background-color: #b3697a;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 58px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(179, 105, 122, 0.4);
  transition: background-color 0.2s, transform 0.2s;
}

.cta-button:hover {
  background-color: #2e2a2c;
  transform: translateY(-2px);
}

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

.reviews h3.text-green-900 { color: #2e2a2c !important; }

.review-card {
  padding: 20px 0;
  border-bottom: 1px solid #e8d3d8;
}

.review-card:last-child { border-bottom: none; }

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

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

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

.review-stars { color: #b3697a; margin: 2px 0 0 0; letter-spacing: 1px; }
.review-title { font-weight: 700; margin: 4px 0 0 0; color: #4a4345; }
.review-sub { font-size: 0.85rem; color: #948a8c; margin: 8px 0 0 0; }
.review-attrs { font-size: 0.85rem; color: #948a8c; margin: 2px 0 8px 0; }
.review-text { font-size: 0.95rem; line-height: 1.6; color: #4a4345; 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: 8px;
  border: 2px solid #e8d3d8;
}

/* ===== Footer ===== */
.site-footer.bg-white {
  background-color: #2e2a2c !important;
  border-top: none !important;
}

.site-footer p.text-green-800 { color: #d99cae !important; }
.site-footer .text-gray-600 { color: #c7bcbe !important; }
.footer-link { color: #d99cae; text-decoration: none; }
.footer-link:hover { text-decoration: underline; color: #ffffff; }

/* ===== 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; }
}