.previewBoxImg {
    position: fixed;
    max-width: 1400px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 0 5px 5px 5px;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    background: #ffffff;
    z-index: 9999;
}

.previewBoxImg.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
}

.previewBoxImg .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px 12px 10px;
}

.previewBoxImg .details .closeicon {
    color: var(--color-primary);
    cursor: pointer;
    font-size: 20px;
}

.details .titleImg {
    display: flex;
    font-size: 18px;
    font-weight: 400;
}

.details .titleImg p {
    margin: 0 5px;
}

.details .titleImg .p.currentImg {
    font-weight: 600;
}

.previewBoxImg .imgBox {
    display: flex;
    width: 100%;
}

.imgBox .slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    color: var(--color-primary);
    width: 60px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.imgBox .slide.prev {
    left: 0;
}

.imgBox .slide.next {
    right: 0;
}

.previewBoxImg .imgBox img {
    width: 100%;
    border-radius: 0 0 3px 3px;
}

.shadow {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: none;
    background: rgba(0, 0, 0, 0.45);
}
