.acnps-popup {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99998;
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100vh - 44px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    filter: drop-shadow(0 20px 42px rgba(17, 19, 21, .24));
}

.acnps-popup.acnps-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.acnps-popup .acnps-close {
    position: absolute;
    top: 9px;
    right: 11px;
    z-index: 3;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #111315;
    font: 400 27px/32px Arial, sans-serif;
    cursor: pointer;
}

.acnps-popup .acnps-close:hover,
.acnps-popup .acnps-close:focus-visible {
    background: rgba(17, 19, 21, .08);
    outline: none;
}

.acnps-popup .wp_pnl-form-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 24px 24px !important;
    border: 1px solid #e8e2d8 !important;
    border-radius: 22px !important;
    background: #faf8f5 !important;
    box-shadow: none !important;
}

.acnps-popup .wp_pnl-header {
    margin-bottom: 18px !important;
    padding: 0 18px;
}

.acnps-popup .wp_pnl-title {
    font-size: 1.85rem !important;
}

.acnps-popup .wp_pnl-subtitle {
    font-size: .9rem !important;
}

.acnps-popup .wp_pnl-inputs-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
}

.acnps-popup .wp_pnl-field,
.acnps-popup .wp_pnl-submit-btn {
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

.acnps-popup .wp_pnl-gdpr-field {
    margin-top: 13px !important;
}

.acnps-popup .wp_pnl-gdpr-label {
    font-size: .75rem !important;
}

@media (max-width: 600px) {
    .acnps-popup {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        max-height: 58vh;
    }

    .acnps-popup .wp_pnl-form-wrapper {
        padding: 24px 18px 18px !important;
        border-radius: 18px !important;
    }

    .acnps-popup .wp_pnl-header {
        margin-bottom: 12px !important;
        padding: 0 20px 0 0;
    }

    .acnps-popup .wp_pnl-title {
        font-size: 1.55rem !important;
    }

    .acnps-popup .wp_pnl-subtitle {
        line-height: 1.4 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acnps-popup { transition: none; }
}

