.ib-gallery-lightbox { position:fixed; inset:0; z-index:100000; display:none; align-items:center; justify-content:center; padding:70px 80px 45px; background:rgba(0,0,0,.92); }
.ib-gallery-lightbox.is-open { display:flex; }
.ib-gallery-lightbox-bar { position:absolute; top:0; left:0; right:0; height:52px; display:flex; align-items:center; justify-content:space-between; padding:0 18px; background:#050505; color:#fff; }
.ib-gallery-lightbox-counter { font-size:14px; }
.ib-gallery-lightbox-tools { display:flex; align-items:center; gap:12px; }
.ib-gallery-lightbox button { display:flex; align-items:center; justify-content:center; border:0; background:transparent !important; color:#fff !important; cursor:pointer; font-family:Arial,sans-serif; box-shadow:none !important; }
.ib-gallery-lightbox-tools button { position:static; width:28px; height:36px; font-size:24px; }
.ib-gallery-lightbox-close { font-size:34px !important; }
.ib-gallery-lightbox figure { margin:0; text-align:center; }
.ib-gallery-lightbox img { display:block; max-width:100%; max-height:calc(100vh - 125px); width:auto; height:auto; object-fit:contain; }
.ib-gallery-lightbox figcaption { margin-top:14px; color:#fff; font-size:14px; }
.ib-gallery-lightbox-prev, .ib-gallery-lightbox-next { top:50%; width:48px; height:70px; transform:translateY(-50%); font-size:60px; font-weight:300; }
.ib-gallery-lightbox-prev { left:12px; }
.ib-gallery-lightbox-next { right:12px; }
.ib-gallery-lightbox button:hover, .ib-gallery-lightbox button:focus-visible { opacity:.75; outline:2px solid #fff; outline-offset:3px; }
@media (max-width:767px) { .ib-gallery-lightbox { padding:65px 35px 35px; } .ib-gallery-lightbox img { max-height:calc(100vh - 120px); } .ib-gallery-lightbox-prev, .ib-gallery-lightbox-next { width:32px; font-size:44px; } .ib-gallery-lightbox-prev { left:2px; } .ib-gallery-lightbox-next { right:2px; } .ib-gallery-lightbox-tools { gap:2px; } }
