/* BunnyTagz Abandoned Cart — exit-intent modal */

.bt-ac-modal {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    animation: btAcFadeIn .18s ease-out;
    font-family: 'Nunito', sans-serif;
}
@keyframes btAcFadeIn { from { opacity: 0; } to { opacity: 1; } }

.bt-ac-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(20, 10, 30, .55);
    backdrop-filter: blur(3px);
}

.bt-ac-modal__box {
    position: relative;
    max-width: 460px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    text-align: center;
    animation: btAcPop .22s cubic-bezier(.34,1.56,.64,1);
}
@keyframes btAcPop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.bt-ac-modal__close {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: transparent; border: 0;
    font-size: 24px; line-height: 1;
    color: #888; cursor: pointer;
    border-radius: 6px;
}
.bt-ac-modal__close:hover { background: #f5f5f5; color: #333; }

.bt-ac-modal__illus {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 12px;
}

.bt-ac-modal__logo {
    display: block;
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    margin: 0 auto 14px;
    object-fit: contain;
}

.bt-ac-modal__box h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    color: #2D2D2D;
    font-weight: 700;
}
.bt-ac-modal__box p {
    margin: 6px 0;
    color: #555;
    font-size: 0.95rem;
}
.bt-ac-modal__perk {
    background: linear-gradient(135deg, #FFE5F1, #F0DFFF);
    color: #C43585;
    padding: 10px 16px;
    border-radius: 8px;
    margin: 14px 0 18px !important;
    font-size: 0.95rem;
}
.bt-ac-modal__perk strong { color: #A0286C; }

.bt-ac-modal__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 12px;
}
.bt-ac-modal__form input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #E0DAE6;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
}
.bt-ac-modal__form input:focus {
    outline: none;
    border-color: #FF6FB0;
    box-shadow: 0 0 0 3px rgba(255, 111, 176, .18);
}
.bt-ac-modal__form button[type="submit"] {
    background: linear-gradient(135deg, #FF6FB0, #A855C8);
    color: #fff;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    font-family: inherit;
}
.bt-ac-modal__form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(168, 85, 200, .3);
}

.bt-ac-modal__msg {
    min-height: 20px;
    font-size: 13px;
    margin-top: 4px;
}
.bt-ac-modal__msg.is-pending { color: #888; }
.bt-ac-modal__msg.is-ok      { color: #16A34A; font-weight: 600; }
.bt-ac-modal__msg.is-error   { color: #DC2626; }

.bt-ac-modal__fine {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 8px !important;
}

@media (max-width: 480px) {
    .bt-ac-modal__box { padding: 24px 18px 18px; }
    .bt-ac-modal__box h2 { font-size: 1.2rem; }
    .bt-ac-modal__illus { font-size: 36px; }
}
