/* ── Sticky FAB – sfab.css ─────────────────────────────────────── */

#slFab {
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    z-index: 999999 !important;
    clip: auto !important;
    overflow: visible !important;
}

/* ── Tab Button (visible part on edge) ───────────────────────── */
#slFabBtn {
    width: 28px;
    height: 72px;
    border-radius: 0 10px 10px 0;
    background: #2c1a2e;
    border: none;
    box-shadow: 3px 2px 12px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: background 0.2s ease, width 0.2s ease;
    padding: 0;
}

#slFabBtn:hover {
    background: #4a2a4e;
    width: 32px;
}

/* Arrow icon inside tab */
#slFabBtn::after {
    content: '❯';
    color: #fff;
    font-size: 14px;
    transition: transform 0.3s ease;
    display: block;
}

#slFab.sfab-open #slFabBtn::after {
    transform: rotate(180deg);
}

/* ── Slide Panel ──────────────────────────────────────────────── */
#slFabPanel {
    background: #fff;
    border-radius: 0 14px 14px 0;
    box-shadow: 4px 3px 18px rgba(0,0,0,0.15);
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    opacity: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: width 0.35s cubic-bezier(.4,0,.2,1),
                opacity 0.3s ease,
                padding 0.35s ease;
    margin-left: 0;
}

#slFabPanel.sfab-open {
    width: 190px;
    opacity: 1;
    padding: 10px 8px;
}

/* ── Links ────────────────────────────────────────────────────── */
.sfab-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #2c1a2e !important;
    text-decoration: none !important;
    background: transparent;
    transition: background 0.15s ease, transform 0.15s ease;
    letter-spacing: 0.01em;
}

.sfab-link:hover {
    background: #f3eaf5 !important;
    color: #2c1a2e !important;
    transform: translateX(3px);
}

.sfab-link span.sfab-icon {
    font-size: 17px;
    flex-shrink: 0;
}

/* ── Divider ──────────────────────────────────────────────────── */
.sfab-divider {
    height: 1px;
    background: #ece5ee;
    margin: 4px 6px;
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
    #slFabBtn {
        width: 24px;
        height: 60px;
    }
    #slFabPanel.sfab-open {
        width: 170px;
    }
}
