/* AsiaPlus Ads Manager — Frontend Styles */
.aads-position { display: block; }
.aads-banner   { display: none !important; }
.aads-banner.aads-visible { display: block !important; }
.aads-banner img { display: block; max-width: 100%; height: auto; }
.aads-link { display: block; }

/* POPUP */
.aads-popup-wrap {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}
.aads-popup-wrap .aads-banner { display: block !important; }
.aads-popup-visible { display: block !important; }

.aads-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99998;
}
.aads-popup-overlay-visible { display: block !important; }

.aads-popup-close {
    position: absolute;
    top: 8px; right: 10px;
    background: rgba(0,0,0,.6);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 30px; height: 30px;
    border-radius: 50%;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.aads-popup-close:hover { background: rgba(0,0,0,.85); }
