/* Foto ampliada em qualquer tela (js/photoZoom.js), 30/10/2026. Mesmo visual do Estoque › Saldos por foto. */
.pz-viewer { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px 72px; background: rgba(11, 18, 32, .88); }
.pz-viewer__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(92vw, 1100px); margin: 0; }
.pz-viewer__figure img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.pz-viewer__figure figcaption { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; text-align: center; font-family: inherit; }
.pz-viewer__figure figcaption strong { font-size: 18px; font-weight: 700; }
.pz-viewer__figure figcaption span { font-size: 13.5px; color: #D0D5DD; }
.pz-viewer__figure figcaption small { font-size: 12px; color: #98A2B3; }
.pz-viewer__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.pz-viewer__nav { flex: 0 0 auto; width: 48px; height: 48px; border: 0; border-radius: 24px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.pz-viewer__close:hover, .pz-viewer__nav:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 640px) {
  .pz-viewer { padding: 60px 8px 16px; }
  .pz-viewer__nav { position: absolute; bottom: 18px; }
  .pz-viewer__nav--prev { left: 18px; }
  .pz-viewer__nav--next { right: 18px; }
  .pz-viewer__figure img { max-height: calc(100vh - 220px); }
}
@media (hover: none) { .pz-viewer__figure figcaption small { display: none; } }

/* Lupa no canto de uma foto clicável (cartão de cor no Mapear pedido etc.). */
.pz-zoom-btn { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 14px; border: 1px solid #D0D5DD; background: rgba(255, 255, 255, .95); color: #0B1220; display: flex; align-items: center; justify-content: center; cursor: zoom-in; box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.pz-zoom-btn:hover { border-color: #0B1220; }
.pz-zoomable { cursor: zoom-in; }
.meli-map-flavor-card { position: relative; }
/* Foto do item vendido no Mapear pedido (Shoppub). */
.meli-map-panel__photo { position: relative; align-self: flex-start; display: block; width: 120px; height: 120px; margin: 4px 0 8px; padding: 0; border: 1px solid #E4E7EC; border-radius: 12px; background: #fff; overflow: hidden; cursor: zoom-in; }
.meli-map-panel__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.meli-map-panel__photo .pz-zoom-btn { pointer-events: none; }
