/* ── AquaSport Popup – Frontend Styles v1.1.0 ───────────────────────────── */

.asc-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.asc-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Popup box */
.asc-popup {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 40px 40px;
    transform: translateY(20px) scale(.97);
    transition: transform .3s ease;
}

.asc-popup-overlay.is-visible .asc-popup {
    transform: translateY(0) scale(1);
}

/* Close button */
.asc-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    padding: 0;
    transition: color .15s;
}
.asc-popup-close:hover {
    color: #333;
}

/* Image */
.asc-popup-img {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
}
.asc-popup-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Title */
.asc-popup-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1d2327;
    line-height: 1.3;
}

/* Body text – !important přebíjí Avada globální reset */
.asc-popup-body {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
.asc-popup-body p {
    margin: 0 0 1em !important;
    display: block !important;
}
.asc-popup-body p:last-child {
    margin-bottom: 0 !important;
}
.asc-popup-body ul,
.asc-popup-body ol {
    margin: 0 0 1em 1.5em !important;
    padding: 0 !important;
}
.asc-popup-body li {
    margin: 0 0 .25em !important;
    list-style: inherit !important;
}
.asc-popup-body a {
    color: #2271b1;
}

/* Responsive */
@media ( max-width: 480px ) {
    .asc-popup {
        padding: 28px 22px 30px;
    }
    .asc-popup-title {
        font-size: 18px;
    }
}
