:root{
  --violet-dark:#352a52;
  --violet:#5b4894;
  --violet-mid:#8270bb;
  --violet-light:#f1edfa;
  --violet-line:#ddd3f2;
  --bg:#fafafc;
  --card-bg:#ffffff;
  --text:#221d33;
  --text-muted:#5e5775;
  --star:#e3a008;
  --lime-cta:#3f8f4f;
  --lime-cta-deep:#2f6f3c;
  --warn-bg:#fef6e7;
  --warn-text:#7a5b1f;
  --warn-line:#f0dba8;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background-color:var(--bg);
  color:var(--text);
  font-family:'Plus Jakarta Sans', sans-serif;
  margin:0;
  line-height:1.65;
}

/* ===================== HEADER ===================== */
.site-header{
  background-color:var(--violet-dark);
}

.site-title{
  font-size:1.0rem;
  font-weight:700;
  color:#ffffff;
  margin:0;
  line-height:1.4;
}

@media (min-width:768px){
  .site-title{
    font-size:1.2rem;
  }
}

/* ===================== HEALTH DISCLAIMER BANNER ===================== */
.disclaimer-banner{
  background-color:var(--warn-bg);
  border-bottom:1px solid var(--warn-line);
  color:var(--warn-text);
}

.disclaimer-icon{
  font-style:normal;
  margin-right:0.3rem;
}

/* ===================== PRODUCT CARD ===================== */
.product-section{
  background-color:var(--bg);
}

.product-card{
  background-color:var(--card-bg);
  border-radius:24px;
  padding:1.5rem;
  box-shadow:0 18px 40px -20px rgba(53,42,82,0.22);
}

@media (min-width:768px){
  .product-card{
    padding:2.75rem;
  }
}

/* ===================== GALLERY (CSS only, radio-driven) ===================== */
.gallery-wrap{
  position:relative;
}

.gallery-radio{
  display:none;
}

.gallery-slides{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:20px;
  background-color:var(--violet-light);
}

.gallery-slide{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .4s ease, transform .4s ease;
  transform:scale(0.98);
  display:flex;
  align-items:center;
  justify-content:center;
}

.gallery-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

#img1:checked ~ .gallery-slides .slide-1,
#img2:checked ~ .gallery-slides .slide-2,
#img3:checked ~ .gallery-slides .slide-3,
#img4:checked ~ .gallery-slides .slide-4{
  opacity:1;
  visibility:visible;
  transform:scale(1);
}

.gallery-thumbs{
  display:flex;
  gap:0.6rem;
  margin-top:0.9rem;
  overflow-x:auto;
}

.thumb-label{
  display:block;
  width:64px;
  height:64px;
  flex-shrink:0;
  border-radius:14px;
  overflow:hidden;
  border:2px solid var(--violet-line);
  cursor:pointer;
  transition:border-color .2s ease, transform .2s ease;
}

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

#img1:checked ~ .gallery-thumbs label[for="img1"],
#img2:checked ~ .gallery-thumbs label[for="img2"],
#img3:checked ~ .gallery-thumbs label[for="img3"],
#img4:checked ~ .gallery-thumbs label[for="img4"]{
  border-color:var(--violet);
  transform:translateY(-2px);
}

/* ===================== DESCRIPTION ===================== */
.product-name{
  font-size:1.2rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 1rem 0;
  line-height:1.4;
}

@media (min-width:768px){
  .product-name{
    font-size:1.45rem;
  }
}

.product-description{
  margin-top:1rem;
}

.desc-heading{
  font-weight:800;
  color:var(--violet);
  margin:0 0 0.8rem 0;
  font-size:0.95rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
}

.desc-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0.9rem;
}

.desc-list li{
  position:relative;
  padding:0.85rem 1rem 0.85rem 1.5rem;
  color:var(--text-muted);
  font-size:0.95rem;
  line-height:1.6;
  background-color:var(--violet-light);
  border-radius:14px;
}

.desc-list li::before{
  content:"";
  position:absolute;
  left:0.6rem;
  top:1.1rem;
  width:6px;
  height:6px;
  border-radius:50%;
  background-color:var(--violet);
}

.desc-list li strong{
  color:var(--text);
}

/* ===================== CTA ===================== */
.cta-section{
  background-color:var(--violet-light);
}

.cta-button{
  display:inline-block;
  background-color:var(--lime-cta);
  color:#ffffff;
  font-weight:800;
  font-size:1.1rem;
  padding:1rem 2.8rem;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 16px 30px -12px rgba(63,143,79,0.5);
  transition:background-color .2s ease, transform .2s ease;
}

.cta-button:hover{
  background-color:var(--lime-cta-deep);
  transform:translateY(-2px);
}

@media (min-width:768px){
  .cta-button{
    font-size:1.25rem;
    padding:1.1rem 3.6rem;
  }
}

/* ===================== REVIEWS ===================== */
.reviews-section{
  background-color:var(--bg);
}

.reviews-title{
  font-size:1.35rem;
  font-weight:800;
  color:var(--violet-dark);
  margin:0 0 1.8rem 0;
  text-align:center;
}

.reviews-list{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.review-item{
  background-color:var(--card-bg);
  border-radius:20px;
  padding:1.4rem;
  box-shadow:0 12px 30px -18px rgba(53,42,82,0.2);
}

@media (min-width:768px){
  .review-item{
    padding:1.8rem 2rem;
  }
}

.review-top{
  display:flex;
  align-items:flex-start;
  gap:1rem;
}

.review-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  border:2px solid var(--violet-light);
}

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

.review-user-info{
  flex:1;
}

.review-username{
  font-weight:700;
  color:var(--text);
  margin:0 0 0.2rem 0;
  font-size:0.98rem;
}

.review-stars{
  color:var(--star);
  margin:0 0 0.3rem 0;
  font-size:1rem;
  letter-spacing:0.05em;
}

.review-headline{
  font-weight:700;
  color:var(--text);
  margin:0;
  font-size:1rem;
  line-height:1.4;
}

.review-meta-line{
  color:var(--text-muted);
  font-size:0.84rem;
  margin:0.7rem 0 0.2rem 0;
}

.review-attrs{
  color:var(--violet);
  font-size:0.84rem;
  margin:0 0 0.8rem 0;
  font-weight:700;
}

.review-body p{
  color:var(--text);
  font-size:0.95rem;
  line-height:1.7;
  margin:0;
}

.review-photo{
  margin-top:1rem;
  width:120px;
  border-radius:14px;
  overflow:hidden;
  border:2px solid var(--violet-light);
}

.review-photo img{
  width:100%;
  height:auto;
  display:block;
}

/* ===================== FOOTER ===================== */
.site-footer{
  background-color:var(--violet-dark);
  color:#d6cfe8;
}

.footer-site-name{
  font-weight:800;
  font-size:1.1rem;
  color:#ffffff;
  margin:0 0 0.8rem 0;
}

.footer-note{
  font-size:0.85rem;
  line-height:1.6;
  color:#b3a7cf;
  max-width:44rem;
  margin:0 0 1.4rem 0;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  margin-bottom:1.4rem;
}

@media (min-width:640px){
  .footer-links{
    flex-direction:row;
    gap:1.6rem;
  }
}

.footer-links a{
  color:#d6cfe8;
  font-size:0.85rem;
  text-decoration:underline;
}

.footer-links a:hover{
  color:#ffffff;
}

.footer-copy{
  font-size:0.78rem;
  color:#8d7fab;
  margin:0;
  border-top:1px solid #463a6b;
  padding-top:1.2rem;
}