
.imp-image-container {
    position: relative;
    display: inline-block;
}

.imp-main-image {
    width: 100%;
    max-width: 400px;
}

.imp-magnifier-box {
    display: none; /* Initially hidden */
    position: fixed; /* Change to fixed to overlay any element */
    width: 300px;
    height: 300px;
    border-radius: 50%; /* Makes it a circle */
    overflow: hidden;
    border: 2px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: #ffffff00;
    z-index: 9999; /* High z-index to ensure it is on top */
    pointer-events: none; /* Allows mouse to interact with the main image underneath */
}

.imp-magnified-image {
    position: absolute;
    transform: scale(30); /* 300% zoom */
    transform-origin: top left; /* Zoom from top-left corner */
}


/* Existing Styles for magnifier and image container */

.imp-lightbox-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.imp-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

.imp-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.imp-lightbox-magnifier-box {
    position: absolute;
    display: none;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.imp-lightbox-magnified-image {
    position: absolute;
    transform: scale(3); /* 300% zoom */
    transform-origin: top left;
}
