/* BC Cart Email – Popup newsletter */

.bc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: bcFadeIn 0.25s ease;
}

@keyframes bcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.bc-popup {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    padding: 40px 36px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    text-align: center;
    animation: bcSlideUp 0.28s cubic-bezier(0.22,1,0.36,1);
}

@keyframes bcSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bc-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.bc-close:hover {
    color: #222;
    background: #f0f0f0;
}

.bc-popup__icon {
    color: #2c6ecb;
    margin-bottom: 16px;
}

.bc-popup__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}

.bc-popup__sub {
    font-size: 0.92rem;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.5;
}

.bc-popup__form {
    display: flex;
    gap: 8px;
    /* flex-wrap: wrap; */
    justify-content: center;
}

.bc-input {
    flex: 1 1 180px;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #222;
    outline: none;
    transition: border-color 0.15s;
}
.bc-input:focus {
    border-color: #2c6ecb;
    box-shadow: 0 0 0 3px rgba(44,110,203,0.12);
}

.bc-btn {
    background: #2c6ecb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}
.bc-btn:hover   { background: #1d5ab7; }
.bc-btn:active  { transform: scale(0.97); }
.bc-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.bc-popup__msg {
    margin: 12px 0 0;
    font-size: 0.85rem;
    min-height: 20px;
    font-weight: 500;
}
.bc-popup__msg--success { color: #1a7f37; }
.bc-popup__msg--error   { color: #c0392b; }

.bc-popup__legal {
    margin: 16px 0 0;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .bc-popup { padding: 32px 20px 24px; }
    .bc-popup__form { flex-direction: column; }
    .bc-btn { width: 100%; }
}
