.wp-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.wp-popup-overlay.active {
    display: flex;
}

.wp-popup-container {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.wp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
}

.wp-popup-close:hover {
    background: #333;
}

.wp-popup-content {
    position: relative;
}

.wp-popup-item {
    display: none;
}

.wp-popup-item.active {
    display: block;
}

.wp-popup-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin-bottom: 15px;
}

.wp-popup-item h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.wp-popup-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.wp-popup-item a {
    display: block;
}

.wp-popup-prev,
.wp-popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.wp-popup-prev {
    left: 10px;
}

.wp-popup-next {
    right: 10px;
}

.wp-popup-prev:hover,
.wp-popup-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.wp-popup-prev:disabled,
.wp-popup-next:disabled {
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

.wp-popup-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.wp-popup-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.wp-popup-indicator.active {
    background: #0073aa;
}

.wp-popup-indicator:hover {
    background: #005177;
}