body {
    overflow-x: hidden !important;
    margin-right: 0 !important;
}

/* Fix for z-index issues */
.xzoom-preview {
    z-index: 9999 !important;
}

/* Image transitions disable */
.xzoom-lens img, .xzoom-preview img, .xzoom-source img {
    display: block;
    max-width: none;
    max-height: none;
    transition: none;
}

/* Fix syntax: missing semicolon */
.xzoom-container {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

/* Flex thumbs */
.xzoom-thumbs {
    /*display: flex;*/
    /*gap: 10px;*/
    /*flex-wrap: wrap;*/
    /*margin-top: 20px;*/
}

.xzoom-thumbs a {
    display: inline-block;
}

.xzoom-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #cecece;
    margin-bottom: 10px;
}

/* Main zoom image */
.xzoom {
    width: 600px;
    height: 600px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    display: block;
}

/* Gallery thumbnails */
.xzoom-gallery {
    /*width: 100px;*/
    /*height: 100px;*/
    border: 1px solid #cecece;
    margin-bottom: 10px;
}

/* Extra image containers */
.xzoom-hidden, .xzoom-source {
    display: block;
    position: static;
    float: none;
    clear: both;
}

.xzoom-hidden {
    overflow: hidden;
}

/* Zoom preview window */
.xzoom-preview {
    border: 1px solid #888;
    background: #2f4f4f;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Lens styling */
.xzoom-lens {
    border: 1px solid #555;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: crosshair;
}

/* Loading spinner */
.xzoom-loading {
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 100%;
    opacity: 0.7;
    background-image: url(../example/images/xloading.gif);
    width: 48px;
    height: 48px;
}

/* Active thumbnail styling */
.xactive {
    box-shadow: 0 0 3px 0 #4aa9d2;
    border: 1px solid #4aaad2;
}

/* Caption styling */
.xzoom-caption {
    position: absolute;
    bottom: -43px;
    left: 0;
    background: #000;
    width: 100%;
    text-align: left;
}

.xzoom-caption span {
    color: #fff;
    font-family: Arial, sans-serif;
    display: block;
    font-size: 0.75em;
    font-weight: 700;
    padding: 10px;
}
