:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --bg-color: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #475569;
    --border-color: #cbd5e1;
}

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

/* Header */
.main-header { background-color: var(--primary-blue); padding: 25px 0; text-align: center; color: white; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.main-header h1 { font-size: 1.8rem; letter-spacing: 0.5px; }

/* Product Section */
.page-content { padding: 40px 20px; }
.product-wrapper { display: flex; gap: 40px; background: white; padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.gallery { width: 45%; }
.product-info { width: 55%; }

/* Pure CSS Gallery */
.gallery input[type="radio"] { display: none; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 1/1; border: 1px solid var(--border-color); border-radius: 6px; background: #fff; overflow: hidden; }
.gallery-main .slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.gallery-main .slide img { max-width: 90%; max-height: 90%; object-fit: contain; }

/* Logic to show active slide */
#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: 10; }

.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255,255,255,0.9); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-blue); cursor: pointer; opacity: 0; transition: all 0.2s; z-index: 20; user-select: none; }
.gallery-main:hover .nav-arrow { opacity: 1; }
.nav-arrow:hover { background: var(--primary-blue); color: white; }
.prev { left: 10px; } .next { right: 10px; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 80px; height: 80px; border: 2px solid transparent; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.6; transition: 0.2s; border: 1px solid var(--border-color); background: white; }
.thumb img { max-width: 85%; max-height: 85%; object-fit: contain; }
.thumb:hover { opacity: 1; }

#img1:checked ~ .gallery-thumbs .thumb[for="img1"],
#img2:checked ~ .gallery-thumbs .thumb[for="img2"],
#img3:checked ~ .gallery-thumbs .thumb[for="img3"],
#img4:checked ~ .gallery-thumbs .thumb[for="img4"] { border-color: var(--secondary-blue); opacity: 1; box-shadow: 0 0 0 1px var(--secondary-blue); }

/* Description */
.product-info h2 { font-size: 1.8rem; color: var(--primary-blue); margin-bottom: 20px; line-height: 1.3; }
.description-text h3 { margin-bottom: 15px; border-bottom: 2px solid var(--bg-color); padding-bottom: 8px; }
.description-text ul { padding-left: 20px; margin-bottom: 20px; }
.description-text li { margin-bottom: 12px; color: var(--text-light); font-size: 0.95rem; }
.description-text li strong { color: var(--text-dark); }
.seo-note { background: #e0f2fe; padding: 15px; border-radius: 6px; border-left: 4px solid var(--secondary-blue); font-style: italic; font-size: 0.9rem; color: var(--text-light); }

/* CTA */
.cta-block { text-align: center; margin: 50px 0; }
.cta-button { display: inline-block; background: var(--secondary-blue); color: white; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; padding: 20px 60px; border-radius: 30px; text-decoration: none; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); transition: 0.3s; }
.cta-button:hover { background: var(--primary-blue); transform: translateY(-2px); }

/* Reviews */
.reviews-wrapper { background: white; padding: 40px; border-radius: 8px; border: 1px solid var(--border-color); }
.reviews-header { font-size: 1.6rem; color: var(--primary-blue); margin-bottom: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.review-box { display: flex; gap: 20px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); }
.review-box:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.reviewer-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); }
.review-content { flex: 1; }
.reviewer-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; }
.review-stars { color: #eab308; font-size: 1.1rem; margin-bottom: 5px; }
.review-stars span { color: var(--text-dark); font-weight: 700; margin-left: 8px; font-size: 1rem; }
.review-meta { font-size: 0.85rem; color: #ef4444; font-weight: 600; margin-bottom: 10px; }
.review-text { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; }
.review-images { display: flex; gap: 10px; flex-wrap: wrap; }
.review-images img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-color); transition: 0.2s; }
.review-images img:hover { opacity: 0.8; }

/* Footer */
.site-footer { background: var(--primary-blue); color: white; padding: 40px 0; text-align: center; margin-top: 40px; }
.site-footer h3 { margin-bottom: 15px; font-weight: 600; }
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #bae6fd; text-decoration: none; margin: 0 10px; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; color: white; }
.site-footer p { font-size: 0.8rem; color: #94a3b8; }

/* Mobile Responsive */
@media (max-width: 800px) {
    .product-wrapper { flex-direction: column; padding: 20px; }
    .gallery, .product-info { width: 100%; }
    .nav-arrow { opacity: 0.9; width: 35px; height: 35px; }
}
@media (max-width: 600px) {
    .review-box { flex-direction: column; }
    .cta-button { width: 100%; padding: 15px; }
}