﻿.image-zoom-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: pointer;
}

    .image-zoom-wrapper img {
        display: block;
        max-width: 100%;
    }

    .image-zoom-wrapper .zoom-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.2s;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .image-zoom-wrapper:hover .zoom-icon {
        opacity: 1;
    }

    .image-zoom-wrapper:hover img {
        filter: brightness(0.85);
    }

.image-expand-content {
    background: transparent;
    box-shadow: none;
}

.image-expand-close {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    z-index: 1;
    color: #fff;
    text-shadow: none;
    opacity: 1;
}

.image-expand-img {
    max-height: 85vh;
    object-fit: contain;
}

.image-zoom-wrapper .image-gallery-selected {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: contain;
}