:root {
    --bg-main: #eff6ff; /* Light Blue */
    --surface: #ffffff;
    --text-dark: #1e3a8a; /* Indigo Dark */
    --text-muted: #475569;
    --primary: #4f46e5; /* Indigo */
    --primary-hover: #3730a3;
    --border-color: #bfdbfe; /* Soft Blue */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background: var(--bg-main); color: var(--text-dark); line-height: 1.6; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: var(--primary); padding: 25px 0; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.site-title { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: 1px; }

/* Product Block */
.product-block { display: flex; gap: 50px; margin-top: 50px; background: var(--surface); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 25px rgba(30, 58, 138, 0.05); }
.gallery { width: 45%; }
.product-info { width: 55%; }

/* Gallery CSS Logic */
.gallery input { display: none; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 1/1; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: #f8fafc; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; padding: 20px; }
.slide img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

#img1:checked ~ .gallery-main #slide1,
#img2:checked ~ .gallery-main #slide2,
#img3:checked ~ .gallery-main #slide3,
#img4:checked ~ .gallery-main #slide4 { opacity: 1; pointer-events: auto; z-index: 5; }

.gallery-thumbs { display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; padding-bottom: 10px; justify-content: center; }
.gallery-thumbs label { flex-shrink: 0; width: 70px; height: 70px; border: 2px solid transparent; border-radius: 10px; cursor: pointer; opacity: 0.5; transition: 0.3s; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.gallery-thumbs label img { max-width: 80%; max-height: 80%; object-fit: contain; }
.gallery-thumbs label:hover { opacity: 1; }

#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(--primary); opacity: 1; box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2); }

/* Nav Buttons */
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(255,255,255,0.95); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: 0.3s; color: var(--primary); font-weight: bold; }
.gallery-main:hover .nav { opacity: 1; }
.nav:hover { background: var(--primary); color: #fff; }
.nav.prev { left: 15px; }
.nav.next { right: 15px; }

/* Product Info */
.product-title { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
.product-desc h3 { margin-bottom: 15px; font-size: 1.2rem; border-bottom: 2px solid var(--bg-main); padding-bottom: 10px; }
.product-desc ul { padding-left: 20px; margin-bottom: 25px; list-style-type: square; }
.product-desc li { margin-bottom: 12px; color: var(--text-muted); }
.seo-text { font-size: 0.95rem; color: #475569; background: #e0e7ff; padding: 20px; border-radius: 10px; border-left: 4px solid var(--primary); }

/* CTA */
.cta-wrapper { text-align: center; margin: 50px 0; }
.btn-cta { display: inline-block; padding: 20px 60px; font-size: 1.3rem; font-weight: bold; color: #fff; background: var(--primary); border-radius: 8px; text-decoration: none; transition: 0.3s; box-shadow: 0 8px 15px rgba(79, 70, 229, 0.3); }
.btn-cta:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 12px 20px rgba(79, 70, 229, 0.4); }

/* Reviews */
.reviews { background: var(--surface); padding: 40px; border-radius: 16px; margin-bottom: 50px; border: 1px solid var(--border-color); }
.reviews-title { font-size: 1.6rem; margin-bottom: 35px; color: var(--text-dark); }
.review-card { display: flex; gap: 25px; margin-bottom: 35px; padding-bottom: 35px; border-bottom: 1px solid var(--border-color); }
.review-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.avatar { width: 55px; height: 55px; border-radius: 12px; object-fit: cover; background: #eee; }
.review-content h4 { font-size: 1.1rem; margin-bottom: 5px; }
.stars { color: #f59e0b; margin-bottom: 5px; font-size: 1.1rem; letter-spacing: 2px; }
.stars strong { color: var(--text-dark); margin-left: 10px; font-size: 1.1rem; letter-spacing: normal; }
.meta { font-size: 0.85rem; color: #94a3b8; margin-bottom: 15px; }
.review-content p { color: var(--text-muted); }
.review-photos { display: flex; gap: 15px; margin-top: 20px; }
.review-photos img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border-color); transition: 0.2s; }
.review-photos img:hover { transform: scale(1.05); }

/* Footer */
footer { background: #1e3a8a; color: #bfdbfe; padding: 50px 0; text-align: center; }
footer h3 { color: #fff; margin-bottom: 20px; font-size: 1.3rem; }
.footer-links a { color: #bfdbfe; text-decoration: none; margin: 0 20px; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }

/* Responsive */
@media(max-width: 768px) {
    .product-block { flex-direction: column; padding: 25px; }
    .gallery, .product-info { width: 100%; }
    .nav { opacity: 0.8; width: 35px; height: 35px; font-size: 1rem; }
    .review-card { flex-direction: column; }
}