/* (WolaAssist) Perbesar gambar detail produk: tekan gambar utama → layar penuh dengan berkas ASLI (terbesar), bukan -medium/-small/-detail.
   Dipakai bersama js/detail-zoom.js. Ikon kaca pembesar di pojok bingkai = ::after (anak bingkai .ratio tidak ditambah, tata letak Banner aman). */
.detail-main-image[data-zoom] { cursor: zoom-in; }
.detail-main-image[data-zoom]::after {
    content: ""; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; pointer-events: none;
    background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.detail-main-image[data-zoom]:focus-visible { outline: 3px solid var(--bs-primary, #0d6efd); outline-offset: 2px; }

.dz { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .92); display: flex; flex-direction: column; }
.dz[hidden] { display: none; }
.dz-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pan-x pan-y pinch-zoom; }
.dz-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.dz.is-zoomed .dz-stage { display: block; }
.dz.is-zoomed .dz-img { max-width: none; max-height: none; cursor: zoom-out; }
.dz-btn {
    position: absolute; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1;
}
.dz-btn:hover, .dz-btn:focus-visible { background: rgba(255, 255, 255, .28); }
.dz-close { top: 12px; right: 12px; }
.dz-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.dz-next { right: 12px; top: 50%; transform: translateY(-50%); }
.dz-prev[hidden], .dz-next[hidden] { display: none; }
.dz-bar { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 13px; pointer-events: none; }
.dz-loading .dz-img { opacity: .35; }
html.dz-open, html.dz-open body { overflow: hidden; }
