/* Просмотр фото на весь экран (gallery.js) */
.lb-zoom{cursor:zoom-in}
.lb-open,.lb-open body{overflow:hidden}
.lb{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(20,22,28,.94);-webkit-tap-highlight-color:transparent}
.lb[hidden]{display:none}
.lb__fig{margin:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:64px 96px;box-sizing:border-box}
.lb__img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.4);user-select:none;-webkit-user-drag:none}
.lb__btn{position:absolute;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;padding:0;transition:background .15s}
.lb__btn:hover,.lb__btn:focus-visible{background:rgba(255,255,255,.28);outline:none}
.lb__btn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lb__prev{left:24px;top:50%;transform:translateY(-50%)}
.lb__next{right:24px;top:50%;transform:translateY(-50%)}
.lb__close{right:20px;top:16px;width:48px;height:48px}
.lb__count{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);padding:6px 14px;border-radius:20px;background:rgba(255,255,255,.14);color:#fff;font-size:15px;font-weight:600;letter-spacing:.04em}
@media (max-width:640px){
  .lb__fig{padding:56px 0 64px}
  .lb__img{border-radius:0}
  .lb__prev,.lb__next{top:auto;bottom:12px;transform:none;width:48px;height:48px}
  .lb__prev{left:12px}
  .lb__next{right:12px}
  .lb__count{bottom:24px}
  .lb__close{right:10px;top:8px}
}
