/* Blog Booster — Newsletter Popup */
.bb-np {
    position: fixed;
    inset: 0;
    /* Promo-Layer (1035) — UNTER Modal-Backdrop (1040) und Cart-Modal (1075).
       Single Source of Truth: nova_premium_tools/.../sidecart.css */
    z-index: var(--z-promo, 1035);
    font-family: inherit;
}
.bb-np[hidden] { display: none !important; }

.bb-np__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.bb-np__box {
    position: relative;
    background: #fff;
    color: #222;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 32px 28px 28px;
    max-width: 440px;
    width: calc(100% - 32px);
    box-sizing: border-box;
}

/* Position: center (modal) */
.bb-np--center { display: flex; align-items: center; justify-content: center; }

/* Position: bottom-right / bottom-left */
.bb-np--bottom_right,
.bb-np--bottom_left {
    inset: auto 0 0 0;
    top: auto;
    pointer-events: none;
}
.bb-np--bottom_right .bb-np__backdrop,
.bb-np--bottom_left  .bb-np__backdrop { display: none; }
.bb-np--bottom_right .bb-np__box,
.bb-np--bottom_left  .bb-np__box {
    pointer-events: auto;
    position: fixed;
    bottom: 24px;
    max-width: 360px;
    margin: 0;
}
.bb-np--bottom_right .bb-np__box { right: 24px; }
.bb-np--bottom_left  .bb-np__box { left: 24px; }

.bb-np__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
}
.bb-np__close:hover { color: #222; }

.bb-np__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}
.bb-np__text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
}

.bb-np__form { display: flex; flex-direction: column; gap: 12px; }

.bb-np__email {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}
.bb-np__email:focus {
    outline: none;
    border-color: var(--bb-np-primary, #000);
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.bb-np__gdpr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}
.bb-np__gdpr input { margin-top: 3px; flex-shrink: 0; }
.bb-np__gdpr a { color: var(--bb-np-primary, #000); text-decoration: underline; }

.bb-np__btn {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--bb-np-primary, #000);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s ease;
}
.bb-np__btn:hover { filter: brightness(1.1); }
.bb-np__btn:disabled { opacity: .6; cursor: wait; }

.bb-np__feedback {
    font-size: 13px;
    min-height: 18px;
    padding-top: 4px;
}
.bb-np__feedback--error { color: #c0392b; }
.bb-np__feedback--success { color: #27ae60; font-weight: 600; }

@media (max-width: 600px) {
    .bb-np__box { padding: 28px 20px 22px; }
    .bb-np__title { font-size: 19px; }
    .bb-np--bottom_right .bb-np__box,
    .bb-np--bottom_left  .bb-np__box {
        left: 12px; right: 12px; bottom: 12px; max-width: none;
    }
}
