/* just9.art — centered notice cards (no overlay, X to close) */
.j9-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 16px 18px 14px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    border-top: 4px solid #e6cb71;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}
.j9-card--error { border-top-color: #e74c3c; }
.j9-card--info  { border-top-color: #2980b9; }

.j9-card .j9-card__x {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 4px;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #999 !important;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.j9-card .j9-card__x:hover { color: #1a1a1a !important; }

.j9-card__title { display: block; margin: 0 26px 6px 0; font-size: 16px; }
.j9-card__body  { padding-right: 20px; display: flex; flex-direction: column; }

/* WooCommerce puts the button BEFORE the text and themes float it — keep it below, compact */
.j9-card .j9-card__body .button,
.j9-card .j9-card__body a.button {
    order: 2;
    align-self: flex-start;
    position: static !important;
    float: none !important;
    transform: none !important;
    margin: 10px 0 0 !important;
    padding: 7px 14px !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
    font-size: 12px !important;
}
.j9-card__body ul,
.j9-card__body li { list-style: none; margin: 0; padding: 0; }
.j9-card__body li + li { margin-top: 6px; }

.j9-card__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.j9-card .j9-card__btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid #ddd !important;
    background: transparent !important;
    color: #555 !important;
    font-size: 14px;
    text-transform: none !important;
    letter-spacing: normal;
    cursor: pointer;
}
.j9-card .j9-card__btn.is-primary {
    background: #e6cb71 !important;
    border-color: #e6cb71 !important;
    color: #1a1a1a !important;
    font-weight: 700;
}
