/* ── Sticky Bar Block ──────────────────────────────────────────── */

.sb-block {
    position: relative;
}

/* Fixed positioning on front-end (not in editor) */
body:not(.block-editor-page) .sb-block {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* ── Bar ───────────────────────────────────────────────────────── */

.sb-bar {
    display: flex;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    box-sizing: border-box;
}

/* ── Buttons ───────────────────────────────────────────────────── */

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.sb-btn:hover {
    transform: translateY(-1px);
}

.sb-btn i {
    line-height: 1;
    flex-shrink: 0;
}

.sb-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Editor preview notice ─────────────────────────────────────── */

.sb-editor-notice {
    background: #f0f0f1;
    color: #555;
    font-size: 12px;
    margin: 0 0 6px;
    padding: 4px 10px;
    border-left: 3px solid #c41e2a;
}
