.cpr-review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.cpr-review-gallery-item {
    display: block;
    width: 110px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    text-decoration: none;
}

.cpr-review-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.cpr-review-gallery-item:hover img {
    transform: scale(1.05);
}

.cpr-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 30px;
}

.cpr-lightbox-overlay[hidden] {
    display: none !important;
}

.cpr-lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpr-lightbox-image {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.cpr-lightbox-close,
.cpr-lightbox-prev,
.cpr-lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.cpr-lightbox-close {
    top: -60px;
    right: 0;
    font-size: 30px;
}

.cpr-lightbox-prev {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.cpr-lightbox-next {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .cpr-lightbox-overlay {
        padding: 16px;
    }

    .cpr-lightbox-close {
        top: -54px;
        right: 0;
    }

    .cpr-lightbox-prev {
        left: 8px;
        top: auto;
        bottom: -64px;
        transform: none;
    }

    .cpr-lightbox-next {
        right: 8px;
        top: auto;
        bottom: -64px;
        transform: none;
    }
}