:root {
    --primary-color: #060318;
    --hover-color: #565564;
    --secondary-color: #16a34a;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: #fff;
    margin: 0;
    padding: 0;
}

.containerr { max-width: 1200px; margin: 0 auto 51px auto; padding: 20px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.image-gallery { position: relative; }
.main-image-container { position: relative; width: 100%; height: 400px; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.main-image { width: 100%; height: 100%; object-fit: contain; cursor: crosshair; }
.thumbnail-container { display: flex; gap: 10px; margin-top: 15px; justify-content: center; }
.thumbnail { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s ease; }
.thumbnail:hover, .thumbnail.active { border-color: var(--secondary-color); }
.product-info { padding: 20px; }
.product-title { font-size: 2rem; margin: 0 0 10px; color: var(--primary-color); }
.product-price { font-size: 1.5rem; color: var(--secondary-color); margin: 10px 0; }
.discount-price { text-decoration: line-through; color: var(--hover-color); margin-left: 10px; }
.stock-status { font-size: 1rem; margin: 5px 0; }
.stock-in { color: var(--secondary-color); }
.stock-low { color: #f59e0b; }
.stock-out { color: #e74c3c; }
.btn { padding: 12px 24px; border: none; border-radius: var(--border-radius); cursor: pointer; font-weight: 600; transition: background-color 0.3s ease; }
.add-to-cart-btn { background-color: var(--primary-color); color: #fff; }
.add-to-cart-btn:disabled { background-color: #ccc; cursor: not-allowed; }
.add-to-wishlist-btn { background-color: var(--light-bg); color: var(--primary-color); border: 2px solid var(--primary-color); margin-left: 10px; }
.btn:hover:not(:disabled) { background-color: var(--hover-color); color: #fff; }
.specifications, .reviews { background: var(--light-bg); padding: 20px; border-radius: var(--border-radius); margin: 20px 0; box-shadow: var(--shadow); }
.spec-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review { border-bottom: 1px solid #eee; padding: 15px 0; }
.review:last-child { border-bottom: none; }

/* Zoom Effect */
.img-magnifier { 
    position: absolute; 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.5); 
    pointer-events: none; 
    display: none; 
    z-index: 10; 
    border: 2px solid var(--primary-color);
}:root {
    --primary-color: #060318;
    --hover-color: #565564;
    --secondary-color: #16a34a;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.containerr { 
    max-width: 1200px; 
    margin: 0 auto 51px auto; 
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.product-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    margin: 40px 0;
}

.image-gallery { 
    position: relative;
    width: 100%;
}

.main-image-container { 
    position: relative; 
    width: 100%; 
    height: 400px; 
    overflow: hidden; 
    border-radius: var(--border-radius); 
    box-shadow: var(--shadow);
}

.main-image { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    cursor: crosshair;
}

.thumbnail-container { 
    display: flex; 
    gap: 10px; 
    margin-top: 15px; 
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail { 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
    border-radius: 8px; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: border-color 0.3s ease;
}

.thumbnail:hover, .thumbnail.active { 
    border-color: var(--secondary-color);
}

.product-info { 
    padding: 20px;
}

.product-title { 
    font-size: 2rem; 
    margin: 0 0 10px; 
    color: var(--primary-color);
}

.product-price { 
    font-size: 1.5rem; 
    color: var(--secondary-color); 
    margin: 10px 0;
}

.discount-price { 
    text-decoration: line-through; 
    color: var(--hover-color); 
    margin-left: 10px;
}

.stock-status { 
    font-size: 1rem; 
    margin: 5px 0;
}

.stock-in { color: var(--secondary-color); }
.stock-low { color: #f59e0b; }
.stock-out { color: #e74c3c; }

.btn { 
    padding: 12px 24px; 
    border: none; 
    border-radius: var(--border-radius); 
    cursor: pointer; 
    font-weight: 600; 
    transition: background-color 0.3s ease;
    width: 100%;
    margin: 5px 0;
}

.add-to-cart-btn { 
    background-color: var(--primary-color); 
    color: #fff;
}

.add-to-cart-btn:disabled { 
    background-color: #ccc; 
    cursor: not-allowed;
}

.add-to-wishlist-btn { 
    background-color: var(--light-bg); 
    color: var(--primary-color); 
    border: 2px solid var(--primary-color);
}

.btn:hover:not(:disabled) { 
    background-color: var(--hover-color); 
    color: #fff;
}

.specifications, .reviews { 
    background: var(--light-bg); 
    padding: 20px; 
    border-radius: var(--border-radius); 
    margin: 20px 0; 
    box-shadow: var(--shadow);
}

.spec-list { 
    list-style: none; 
    padding: 0; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
}

.review { 
    border-bottom: 1px solid #eee; 
    padding: 15px 0;
}

.review:last-child { 
    border-bottom: none;
}

/* Zoom Effect */
.img-magnifier { 
    position: absolute; 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.5); 
    pointer-events: none; 
    display: none; 
    z-index: 10; 
    border: 2px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .containerr {
        padding: 15px;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .spec-list {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .img-magnifier {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 250px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .specifications, .reviews {
        padding: 15px;
    }
    
    .btn {
        padding: 8px 16px;
    }
}