:root {
    --bg-main: #fafaf9; /* Stone 50 */
    --surface: #ffffff;
    --text-dark: #292524; /* Stone 800 */
    --text-muted: #57534e; /* Stone 600 */
    --primary: #e11d48; /* Rose 600 */
    --primary-hover: #be123c;
    --border-color: #e7e5e4; /* Stone 200 */
}

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

/* Header */
header { background: var(--surface); padding: 20px 0; border-bottom: 2px solid var(--primary); text-align: center; }
.site-title { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }

/* Product Block */
.product-block { display: flex; gap: 45px; margin-top: 45px; background: var(--surface); padding: 35px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.gallery { width: 48%; }
.product-info { width: 52%; }

/* 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: 6px; overflow: hidden; background: #fff; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.slide img { max-width: 95%; max-height: 95%; object-fit: contain; }

#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: 15px; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; }
.gallery-thumbs label { flex-shrink: 0; width: 85px; height: 85px; border: 2px solid transparent; border-radius: 6px; cursor: pointer; opacity: 0.6; transition: 0.2s; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.gallery-thumbs label img { max-width: 90%; max-height: 90%; 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; }

/* Nav Buttons */
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: 0.2s; color: var(--text-dark); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.gallery-main:hover .nav { opacity: 1; }
.nav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }

/* Product Info */
.product-title { font-size: 2.1rem; margin-bottom: 25px; line-height: 1.25; }
.product-desc h3 { margin-bottom: 15px; font-size: 1.1rem; text-transform: uppercase; color: var(--primary); letter-spacing: 1px; }
.product-desc ul { padding-left: 0; margin-bottom: 25px; list-style: none; }
.product-desc li { margin-bottom: 15px; color: var(--text-muted); position: relative; padding-left: 20px; }
.product-desc li::before { content: "•"; color: var(--primary); position: absolute; left: 0; font-size: 1.5rem; line-height: 1; top: -2px; }
.seo-text { font-size: 0.9rem; color: #57534e; background: #f5f5f4; padding: 20px; border-radius: 6px; border: 1px dashed #d6d3d1; }

/* CTA */
.cta-wrapper { text-align: center; margin: 45px 0; }
.btn-cta { display: inline-block; padding: 20px 70px; font-size: 1.2rem; font-weight: bold; color: #fff; background: var(--primary); border-radius: 4px; text-decoration: none; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.btn-cta:hover { background: var(--text-dark); }

/* Reviews */
.reviews { background: var(--surface); padding: 40px; border-radius: 8px; margin-bottom: 40px; border: 1px solid var(--border-color); }
.reviews-title { font-size: 1.8rem; margin-bottom: 40px; text-align: center; }
.review-card { display: flex; gap: 20px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px dashed var(--border-color); }
.review-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-main); }
.review-content h4 { font-size: 1.2rem; margin-bottom: 5px; }
.stars { color: #f59e0b; margin-bottom: 5px; font-size: 1.1rem; }
.stars strong { color: var(--text-dark); margin-left: 10px; font-size: 1rem; }
.meta { font-size: 0.85rem; color: #a8a29e; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.review-content p { color: var(--text-muted); }
.review-photos { display: flex; gap: 10px; margin-top: 15px; }
.review-photos img { width: 100px; height: 100px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-color); }

/* Footer */
footer { background: #1c1917; color: #a8a29e; padding: 50px 0; text-align: center; }
footer h3 { color: #fff; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links a { color: #a8a29e; text-decoration: none; margin: 0 15px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }

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