/* wp-content/plugins/jingshop-banner/jingshop-banner.css */

.jsb-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #FF9900;
    color: #1a1a1a;
    padding: 9px 14px;
    position: relative;
    z-index: 99999;        /* über allem, auch über sticky nav */
}

.jsb-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1 1 180px;
    color: #1a1a1a;
}

.jsb-btn {
    display: inline-block;
    background: #1a1a1a;
    color: #FF9900;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.jsb-btn:hover { opacity: 0.82; }

.jsb-close {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    padding: 0;
    flex-shrink: 0;
}

.jsb-close:hover { opacity: 1; }

@media (max-width: 480px) {
    .jsb-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 10px 14px;
        gap: 8px;
    }

    .jsb-text {
        flex: none;
        font-size: 13px;
    }

    .jsb-btn {
        width: 100%;
        text-align: center;
        padding: 9px 16px;
    }

    .jsb-close {
        position: absolute;
        top: 8px;
        right: 12px;
    }

    .jsb-link {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.jsb-link:hover { opacity: 0.7; }
}
