/* ZAVRYNE 15.16 — mobile fullscreen viewer + hand pinch zoom for description/A+ images. */
@media (max-width: 800px) {
  .single-product .zv40-media img {
    cursor: zoom-in !important;
    -webkit-tap-highlight-color: transparent;
  }

  .zv156-viewer[hidden] { display: none !important; }
  .zv156-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    background: #fff;
    color: #0f1111;
    overscroll-behavior: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .zv156-viewer__bar {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    min-height: 56px;
    padding: max(8px, env(safe-area-inset-top)) 14px 8px;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e7e7e7;
  }
  .zv156-viewer__close,
  .zv156-viewer__reset {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0f1111;
    padding: 0;
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .zv156-viewer__close { font: 400 30px/1 Arial,sans-serif; }
  .zv156-viewer__reset {
    font: 700 12px/1 Arial,sans-serif;
    color: #007185;
    visibility: hidden;
  }
  .zv156-viewer.is-zoomed .zv156-viewer__reset { visibility: visible; }
  .zv156-viewer__count {
    text-align: center;
    font: 600 14px/1.2 Arial,sans-serif;
    color: #565959;
  }
  .zv156-viewer__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    touch-action: none;
  }
  .zv156-viewer__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
    -webkit-user-drag: none;
  }
  .zv156-viewer__hint {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: calc(22px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    max-width: calc(100vw - 34px);
    padding: 9px 13px;
    border-radius: 18px;
    background: rgba(15,17,17,.78);
    color: #fff;
    font: 600 12px/1.25 Arial,sans-serif;
    white-space: nowrap;
    opacity: 1;
    transition: opacity .25s ease;
    pointer-events: none;
  }
  .zv156-viewer.has-interacted .zv156-viewer__hint { opacity: 0; }
  .zv156-viewer__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 54px;
    border: 1px solid #d5d9d9;
    background: rgba(255,255,255,.92);
    color: #0f1111;
    display: grid;
    place-items: center;
    font: 400 30px/1 Arial,sans-serif;
    border-radius: 7px;
    padding: 0;
    opacity: .92;
    -webkit-tap-highlight-color: transparent;
  }
  .zv156-viewer__nav--prev { left: 8px; }
  .zv156-viewer__nav--next { right: 8px; }
  .zv156-viewer.is-zoomed .zv156-viewer__nav { display: none; }
  .zv156-viewer__nav[disabled] { opacity: .25; }

  html.zv156-lock,
  html.zv156-lock body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }
}
