/*
* FooGallery Custom CSS
* This file is created by adding custom CSS on FooGallery Settings page in wp-admin
* Created : 24 Nov 2026, 10:13 pm
*/

/* ==========================================
   1. FOOBOX (Protection clic-droit uniquement - AUCUNE règle de taille ici)
   ========================================== */
.fbx-item-image {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* ==========================================
   2. FOOGALLERY LIGHTBOX (Max 900px + protection)
   ========================================== */
.fg-panel {
    max-width: min(900px, 92vw) !important;
    max-height: 85vh !important;
    margin: auto !important;
    inset: 0 !important;
}

.fg-panel .fg-panel-content img,
.fg-lightbox .fg-lightbox-image {
    max-width: 100% !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
