.k3e-zoom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.k3e-zoom-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.k3e-zoom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.k3e-zoom-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.k3e-zoom-item:hover img {
    transform: scale(1.05);
}

/* Responsywność */
@media (max-width: 768px) {
    .k3e-zoom-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .k3e-zoom-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .k3e-zoom-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .k3e-zoom-item img {
        height: 300px;
    }
}

/* Dostosowanie GLightbox */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.75);
}

.glightbox-clean .gdesc-inner {
    padding: 22px;
}

/* Strzałki nawigacji */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
    stroke: #000;
    stroke-width: 2;
}

/* Przycisk zamknięcia */
.glightbox-clean .gclose {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.glightbox-clean .gclose:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.glightbox-clean .gclose svg {
    stroke: #000;
    stroke-width: 2;
}
