/* Trade — product image zoom (lens + lightbox) */

.detail-image.zoomable { cursor: zoom-in; position: relative; }

.zoom-lens {
    position: absolute;
    width: 170px; height: 170px;
    border: 2px solid rgba(38, 166, 154, 0.9);
    border-radius: 10px;
    background-repeat: no-repeat;
    pointer-events: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    z-index: 20;
}

body.zlb-open { overflow: hidden; }

.zoom-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10, 14, 20, 0.94);
    display: flex; align-items: center; justify-content: center;
}
.zoom-lightbox[hidden] { display: none; }

.zlb-stage {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.zlb-img {
    max-width: 92vw; max-height: 88vh;
    user-select: none; -webkit-user-drag: none;
    transition: transform 0.08s linear;
    border-radius: 6px;
    background: #fff;
}

.zlb-close, .zlb-prev, .zlb-next {
    position: absolute; z-index: 2;
    background: rgba(255, 255, 255, 0.12); color: #fff;
    border: none; cursor: pointer; border-radius: 50%;
    width: 46px; height: 46px; font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.zlb-close:hover, .zlb-prev:hover, .zlb-next:hover { background: rgba(255, 255, 255, 0.3); }
.zlb-close { top: 18px; right: 18px; font-size: 30px; }
.zlb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.zlb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.zlb-count {
    position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85); font-weight: 700; font-size: 14px;
    letter-spacing: 0.06em;
}
.zlb-hint {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.55); font-size: 12px;
    text-align: center; padding: 0 16px;
}

@media (max-width: 640px) {
    .zlb-prev, .zlb-next { width: 40px; height: 40px; }
    .zlb-hint { display: none; }
}
