:root{
  --char-dark:#1a1c1f;
  --char:#272a2f;
  --char-light:#3a3e45;
  --red-accent:#c0392b;
  --red-soft:#e05a48;
  --bg:#f4f4f5;
  --bg-deep:#e8e8ea;
  --card-bg:#ffffff;
  --text:#1f2023;
  --text-muted:#5c5f66;
  --star:#e3a008;
  --line:#dcdce0;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background-color:var(--bg);
  color:var(--text);
  font-family:'Rajdhani', sans-serif;
  margin:0;
  line-height:1.6;
}

/* ===================== HEADER ===================== */
.site-header{
  background-color:var(--char-dark);
  border-bottom:2px solid var(--red-accent);
}

.site-title{
  font-size:1.0rem;
  font-weight:700;
  color:#ffffff;
  margin:0;
  line-height:1.4;
  letter-spacing:0.02em;
  text-transform:uppercase;
}

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

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

.product-card{
  background-color:var(--card-bg);
  border-radius:6px;
  padding:1.5rem;
  box-shadow:0 10px 28px -14px rgba(26,28,31,0.3);
  border-top:3px solid var(--red-accent);
}

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

/* ===================== 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:4px;
  background-color:var(--char-dark);
  border:1px solid var(--line);
}

.gallery-slide{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

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

#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;
}

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

.thumb-label{
  display:block;
  width:62px;
  height:62px;
  flex-shrink:0;
  border-radius:4px;
  overflow:hidden;
  border:2px solid var(--line);
  cursor:pointer;
  transition:border-color .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(--red-accent);
}

/* ===================== DESCRIPTION ===================== */
.product-name{
  font-size:1.2rem;
  font-weight:700;
  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:700;
  color:var(--red-accent);
  margin:0 0 0.8rem 0;
  font-size:0.95rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
}

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

.desc-list li{
  position:relative;
  padding-left:1.5rem;
  color:var(--text-muted);
  font-size:0.95rem;
  line-height:1.65;
  border-left:2px solid var(--bg-deep);
  padding-top:0.1rem;
  padding-bottom:0.1rem;
}

.desc-list li::before{
  content:"";
  position:absolute;
  left:-2px;
  top:0;
  bottom:0;
  width:2px;
  background-color:var(--red-accent);
  opacity:0;
}

.desc-list li:hover::before{
  opacity:1;
}

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

/* ===================== CTA ===================== */
.cta-section{
  background-color:var(--char-dark);
  border-top:2px solid var(--red-accent);
  border-bottom:2px solid var(--red-accent);
}

.cta-button{
  display:inline-block;
  background-color:var(--red-accent);
  color:#ffffff;
  font-weight:700;
  font-size:1.1rem;
  padding:1rem 2.8rem;
  border-radius:4px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:0.04em;
  box-shadow:0 14px 28px -12px rgba(192,57,43,0.55);
  transition:background-color .2s ease, transform .2s ease;
}

.cta-button:hover{
  background-color:var(--red-soft);
  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:700;
  color:var(--char-dark);
  margin:0 0 1.8rem 0;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:0.03em;
}

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

.review-item{
  background-color:var(--card-bg);
  border-radius:6px;
  padding:1.4rem;
  box-shadow:0 6px 20px -14px rgba(26,28,31,0.25);
  border-left:3px solid var(--char-light);
}

@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(--line);
}

.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(--red-accent);
  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:4px;
  overflow:hidden;
  border:1px solid var(--line);
}

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

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

.footer-site-name{
  font-weight:700;
  font-size:1.1rem;
  color:#ffffff;
  margin:0 0 0.8rem 0;
  text-transform:uppercase;
  letter-spacing:0.03em;
}

.footer-note{
  font-size:0.85rem;
  line-height:1.6;
  color:#9d9fa3;
  max-width:42rem;
  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:#c7c8ca;
  font-size:0.85rem;
  text-decoration:underline;
}

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

.footer-copy{
  font-size:0.78rem;
  color:#76787c;
  margin:0;
  border-top:1px solid #34373c;
  padding-top:1.2rem;
}