/* zoom */
.product-image-section {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 15px;
}

.product-zoom-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.zoom-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.main-product-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: crosshair;
    border-radius: 12px;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    pointer-events: none;
    background: rgba(255,255,255,0.3);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    display: none;
    z-index: 10;
}

.zoom-preview {
    width: 450px;
    height: 450px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff no-repeat center;
    background-size: 250% auto; /* Strong zoom */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    transition: background-image 0.2s ease; /* Smooth no blink */
}

/* Full-width thumbnails below */
.thumbnails-fullwidth {
    width: 100%;
    margin-top: 10px;
}

.thumbnails-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 8px 0;
    text-align: center;
    scrollbar-width: thin;
}

.thumbnails-container img.thumb-img {
    display: inline-block;
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid transparent;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnails-container img.thumb-img:hover,
.thumbnails-container img.thumb-img.active-thumb {
    border-color: #ffbf00;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35); /* Soft orange glow */
}

/* Mobile */
@media (max-width: 900px) {
    .product-zoom-container {
        flex-direction: column;
    }
    .zoom-preview, .zoom-lens {
        display: none !important;
    }
    .main-product-img { cursor: default; }
    .thumbnails-container img.thumb-img {
        width: 75px;
        height: 75px;
    }
}