.share-floating {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.share-floating-toggle {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: #8f2bc0;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.share-floating-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.share-floating-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.share-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.18);
    opacity: 0.95;
}

.share-btn-facebook {
    background: #1877f2;
}

.share-btn-whatsapp {
    background: #25d366;
}

.share-btn-telegram {
    background: #229ed9;
}

.share-btn-pinterest {
    background: #e60023;
}

.share-btn-x {
    background: #111111;
}

.share-btn-copy {
    border: 0;
    background: #6b7280;
    cursor: pointer;
}

.share-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #111827;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

.share-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 991px) {
    .share-floating {
        right: 14px;
        bottom: 14px;
        top: auto;
        transform: none;
    }

    .share-floating-toggle {
        display: flex;
    }

    .share-floating-panel {
        position: absolute;
        right: 0;
        bottom: 62px;
        background: #ffffff;
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .share-floating.is-open .share-floating-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .share-btn:hover {
        transform: none;
    }
}

@media (min-width: 992px) {
    .share-floating-toggle {
        display: none;
    }

    .share-floating-panel {
        display: flex;
    }
}