/**
 * 图片灯箱样式（企业详情「公司照片 / 产品照片」、产品详情「图集」共用）
 * 配套脚本：/js/photo-lightbox.js
 */

html.plb-open,
html.plb-open body {
    overflow: hidden;
}
.xq_box_l_i_i a,
.xq_box_l_i_i2 a {
    cursor: zoom-in;
}
.plb {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 16, 26, .92);
    opacity: 0;
    transition: opacity .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.plb.on { display: flex; }
.plb.show { opacity: 1; }
.plb-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 64px 84px;
    box-sizing: border-box;
}
.plb-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 60px rgba(0, 0, 0, .55);
    transform: scale(.97);
    transition: transform .18s ease;
}
.plb.show .plb-img { transform: scale(1); }
.plb-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #cfd8e3;
    font-size: 14px;
    letter-spacing: .5px;
    pointer-events: none;
    white-space: nowrap;
}
.plb-btn {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* 深色半透明底 + 浅描边：压在浅色照片上也看得清 */
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(17, 24, 34, .58);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    transition: background .15s ease, border-color .15s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.plb-btn:hover {
    background: rgba(17, 24, 34, .84);
    border-color: rgba(255, 255, 255, .72);
}
.plb-close {
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    font-size: 26px;
}
.plb-prev,
.plb-next {
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    font-size: 30px;
    padding-bottom: 4px;
}
.plb-prev { left: 26px; }
.plb-next { right: 26px; }
.plb-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
    color: #e6edf5;
    font-size: 13px;
    letter-spacing: .5px;
    pointer-events: none;
}
.plb-idx { font-weight: bold; }
.plb-tip { margin-left: 12px; color: #93a4b8; }
@media (max-width: 768px) {
    .plb-stage {
        padding: 58px 12px 62px;
    }
    .plb-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    .plb-prev,
    .plb-next {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        font-size: 24px;
    }
    .plb-prev { left: 8px; }
    .plb-next { right: 8px; }
    .plb-tip { display: none; }
}
