/* Pixels & Prompts – Gallery Pro 1.0, scoped to the lightbox */
.gallery-pro.cookie-modal-overlay{position:fixed!important;inset:0!important;z-index:99999!important;background:rgba(3,5,11,.97)!important;padding:72px 28px 24px!important;overflow:hidden!important;box-sizing:border-box}
.gallery-pro.active{display:flex!important;align-items:center!important;justify-content:center!important}
.gallery-pro .gp-toolbar{position:absolute;top:0;left:0;right:0;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;background:#0b0d12;border-bottom:1px solid #28303e;z-index:10005;color:white}
.gallery-pro .gp-brand{font-size:.95rem;font-weight:800;display:flex;align-items:center;gap:10px;color:#00c7c7}
.gallery-pro .gp-brand small{color:#a1acbe;font-weight:500}
.gallery-pro .gp-controls{display:flex;align-items:center;gap:8px}
.gallery-pro .gp-controls button{border:1px solid #30394a;background:#121722;color:white;padding:8px 11px;border-radius:8px;cursor:pointer;font-size:.9rem}
.gallery-pro .gp-controls button:hover,.gallery-pro .gp-controls button:focus-visible{border-color:#00c7c7;color:#00c7c7}
.gallery-pro .gp-controls button[hidden]{display:none!important}
.gallery-pro .lightbox-wrapper{display:flex!important;width:min(1500px,100%)!important;height:min(850px,100%)!important;max-width:none!important;max-height:100%!important;background:#0b0e15!important;border:1px solid #26303f!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 20px 65px rgba(0,0,0,.65)!important}
.gallery-pro .lightbox-media{position:relative!important;flex:1 1 auto!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#020409!important;overflow:auto!important}
.gallery-pro .lightbox-media #lb-img-display{display:block;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;cursor:zoom-in}
.gallery-pro .lightbox-media #lb-img-display.gp-zoomed{transform:scale(2)!important;cursor:zoom-out!important}
.gallery-pro #gp-video{display:block;width:100%;height:100%;max-height:100%;background:#000;border:0;object-fit:contain}
.gallery-pro .lightbox-sidebar{width:350px!important;max-width:36%!important;flex:0 0 350px!important;min-width:260px!important;overflow-y:auto!important;background:#121720!important;border-left:1px solid #26303f!important;padding:20px!important;box-sizing:border-box!important}
.gallery-pro.gp-cinema .lightbox-sidebar,.gallery-pro.gp-hide-info .lightbox-sidebar{display:none!important}
.gallery-pro.gp-cinema .lightbox-wrapper{width:100%!important;height:100%!important;max-width:100%!important}
.gallery-pro .lightbox-nav{background:rgba(3,8,17,.76)!important;border:1px solid #00a3a0;border-radius:10px;font-size:1.4rem!important;padding:9px 13px!important;user-select:none}
.gallery-pro .lightbox-nav:hover{background:#143338!important}
@media(max-width:850px){.gallery-pro.cookie-modal-overlay{padding:60px 8px 8px!important}.gallery-pro .lightbox-wrapper{flex-direction:column!important}.gallery-pro .lightbox-media{min-height:250px!important;flex:1 1 65%!important}.gallery-pro .lightbox-sidebar{max-width:none!important;min-width:0!important;width:100%!important;flex:0 1 35%!important;padding:12px!important}.gallery-pro .gp-toolbar{padding:8px}.gallery-pro .gp-brand{font-size:.75rem}.gallery-pro .gp-controls{gap:4px}.gallery-pro .gp-controls button{padding:7px}.gallery-pro .gp-controls button span{display:none}.gallery-pro .lightbox-nav{top:37%!important;left:8px!important}.gallery-pro .lightbox-next{left:auto!important;right:8px!important}}

/* Zoom is performed via transform to avoid theme width overrides */
.gallery-pro .lightbox-media #lb-img-display{transform:scale(1);transform-origin:50% 50%;transition:transform .18s ease;user-select:none;-webkit-user-drag:none}
.gallery-pro .lightbox-media{overflow:hidden!important}
@media (prefers-reduced-motion:reduce){.gallery-pro .lightbox-media #lb-img-display{transition:none}}

/* Gallery Pro 1.2 — immersive Cinema Mode, independent of 200% image zoom */
.gallery-pro.gp-cinema.cookie-modal-overlay{
  inset:0!important; padding:0!important; background:#000!important;
}
.gallery-pro.gp-cinema .lightbox-wrapper{
  width:100vw!important;height:100dvh!important;max-width:100vw!important;
  max-height:100dvh!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:#000!important;
}
.gallery-pro.gp-cinema .lightbox-media{
  width:100%!important;height:100%!important;min-height:0!important;
  background:#000!important;overflow:hidden!important;
}
.gallery-pro.gp-cinema #lb-img-display:not(.gp-zoomed){
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
}
.gallery-pro.gp-cinema #gp-video{object-fit:contain!important;background:#000!important;}
.gallery-pro.gp-cinema .gp-toolbar{
  background:linear-gradient(180deg,rgba(0,0,0,.87),rgba(0,0,0,0))!important;
  border:0!important;position:fixed!important;top:0!important;left:0!important;right:0!important;
  transition:opacity .25s ease!important;
}
.gallery-pro.gp-cinema .lightbox-nav{
  opacity:.85!important;transition:opacity .25s ease!important;
}
.gallery-pro.gp-cinema.gp-cinema-idle .gp-toolbar,
.gallery-pro.gp-cinema.gp-cinema-idle .lightbox-nav{
  opacity:0!important;pointer-events:none!important;
}
.gallery-pro.gp-cinema .gp-controls #gp-cinema-btn{
  border-color:#00c7c7!important;color:#00c7c7!important;
}
@media (hover:none),(pointer:coarse){
  .gallery-pro.gp-cinema .gp-toolbar{opacity:1!important;}
  .gallery-pro.gp-cinema .lightbox-nav{opacity:.9!important;}
}
@media(prefers-reduced-motion:reduce){
  .gallery-pro.gp-cinema .gp-toolbar,.gallery-pro.gp-cinema .lightbox-nav{transition:none!important;}
}
