/* ==============================================
   custom_Zoom — Product Image Zoom Modal
   ============================================== */

#cz-zoom-modal .modal-dialog {
    max-width: 1000px;
}

#cz-zoom-modal .modal-content {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
        height: 670px;
}

#cz-zoom-modal .modal-header {
    border-bottom: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 10px 15px;
}

#cz-zoom-modal .cz-zoom-close {
    background: none;
    border: none;
    color: #000;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    padding: 5px 12px;
    transition: opacity 0.2s;
}

#cz-zoom-modal .cz-zoom-close:hover {
    opacity: 1;
}

#cz-zoom-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    overflow: hidden;
}

/* Zoom wrapper */
#zoomWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* The zoomable image */
#productModalImg {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Disable theme's EasyZoom inside product images when module is active */
.easyzoom-product .easyzoom-flyout {
    display: none !important;
}
