/* WJE Package Cart Modal */

.wje-pkg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wje-pkg-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.wje-pkg-modal-msg {
    font-size: 15px;
    color: #1e293b;
    margin: 0 0 20px;
    line-height: 1.6;
}

.wje-pkg-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.wje-btn-orange {
    background: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
    text-decoration: none;
}

.wje-btn-orange:hover {
    background: #e56b00;
    color: #fff;
    text-decoration: none;
}

.wje-btn-orange-outline {
    background: transparent;
    color: #ff7a00;
    border: 1px solid #ff7a00;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.wje-btn-orange-outline:hover {
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
}

/* ── Global Loader ────────────────��────────────────────────── */

.wje-global-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000; /* above modal (99999) */
    align-items: center;
    justify-content: center;
}

.wje-global-loader.is-active {
    display: flex;
}

.wje-global-loader__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wje-global-loader__box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    min-width: 160px;
}

.wje-global-loader__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ffe0c0;
    border-top-color: #ff7a00;
    border-radius: 50%;
    animation: wje-spin 0.7s linear infinite;
}

@keyframes wje-spin {
    to { transform: rotate(360deg); }
}

.wje-global-loader__text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* ── Static qty badge in cart ────────────────────────────── */
.wje-pkg-cart-qty {
    display: inline-block;
    font-weight: 700;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 6px;
    color: #1e293b;
}
