.cigl-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cigl-item img {
    width: 100%;
    cursor: pointer;
}

/* Tabs */
.cigl-tabs {
    margin-bottom: 10px;
}
.cigl-tabs button {
    padding: 6px 12px;
    margin-right: 5px;
    cursor: pointer;
}

/* Lightbox (final safe) */
.cigl-lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.95);
    z-index: 999999;

    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s;
}

/* Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    background: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev { left: 20px; }
.next { right: 20px; }

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 25px;
    cursor: pointer;
}