/* GLightbox açıkken layout kaymasını engelle */
html { overflow-y: scroll; }
body.glightbox-open {
    overflow: visible !important;
    height: auto !important;
    padding-right: 0 !important;
}

/* GLightbox açıkken swipe serbest */
.glightbox-container, .gslide, .gslide-media, .gslide-media img {
    touch-action: pan-x pan-y pinch-zoom !important;
}

/* GLightbox — arka plan şeffaf, resim tam ekran */
.glightbox-container .goverlay { background: rgba(0,0,0,0.92) !important; }
.glightbox-container .gslide-media { max-height: 100vh !important; }
.glightbox-container .gslide-image img {
    max-height: 92vh !important;
    max-width: 100vw !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
.glightbox-container .gslide-description {
    background: transparent !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)) !important;
}
.glightbox-container .gdesc-inner { color: #fff !important; }
.glightbox-container .gslide-title { color: #fff !important; font-size: 14px !important; }

/* Mobilde ok butonları her zaman görünsün */
.glightbox-container .gnext,
.glightbox-container .gprev {
    display: flex !important;
    opacity: 0.85 !important;
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    align-items: center;
    justify-content: center;
}
.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover { opacity: 1 !important; background: rgba(255,255,255,0.3) !important; }
.glightbox-container .gnext { right: 10px !important; }
.glightbox-container .gprev { left: 10px !important; }

@media(max-width:768px){
    .glightbox-container .gnext,
    .glightbox-container .gprev {
        width: 38px !important;
        height: 38px !important;
        opacity: 0.9 !important;
    }
}
