/* CSS for galleries and lightbox */
.media-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.all-reviews-media-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.media-gallery.videos,
.media-gallery.images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-video,
.review-image,
.thumb-video,
.thumb-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}

.media-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

#lightboxImage,
#lightboxVideo {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}

.prev { left: 10px; }
.next { right: 10px; }