.spb-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.spb-box {
    position: relative;
    width: 100%;
    max-width: 960px;   /* popup width */
    background: transparent;
    border-radius: 12px;
    text-align: center;
    animation: spbFadeIn 0.3s ease;
}

/* Image */
.spb-popup-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Close button */
.spb-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #f5c16c;
    cursor: pointer;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

/* Content */
.spb-content {
    background: #fff;
    padding: 25px;
    text-align: left;
    border-radius: 0 0 12px 12px;
}

/* Mobile */
@media (max-width: 768px) {

    .spb-box {
        max-width: 95%;
    }

    .spb-close {
        top: 10px;
        right: 10px;
        font-size: 34px;
    }
}

/* Animation */
@keyframes spbFadeIn {

    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}