/* Увеличение фото (js/zoom.js). Только фото без ссылки: главное фото вещи и фото в тексте «О мастерице». */
.sl-zoomable { cursor: zoom-in; }
.sl-zoomable:focus-visible { outline: 3px solid var(--rowan); outline-offset: 3px; }
.sl-zoom { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.sl-zoom.is-open { display: flex; }
.sl-zoom__bg { position: absolute; inset: 0; background: rgba(30, 38, 34, .92); cursor: zoom-out; }
.sl-zoom__fig { position: relative; flex: none; will-change: transform, clip-path; }
.sl-zoom__img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); cursor: zoom-in; transform-origin: 50% 50%; -webkit-user-drag: none; will-change: transform; }
.sl-zoom.is-zoomed .sl-zoom__img { cursor: grab; }
.sl-zoom.is-zoomed .sl-zoom__img:active { cursor: grabbing; }
.sl-zoom__x { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, transform .18s var(--ease-out); }
.sl-zoom__x:hover { background: var(--rowan); color: #fff; }
.sl-zoom__x:active { transform: scale(.94); }
.sl-zoom__x:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.sl-zoom-lock, .sl-zoom-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sl-zoom__x { transition: none; } }
