/* 右侧悬浮工具栏 */
.right-float-bar {
    position: fixed;
    right: 22px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 64px;
}

.float-item {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-bottom: 0;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    transition: .25s;
}

.float-item:first-child {
    border-radius: 8px 8px 0 0;
}

.float-item:last-child {
    border-bottom: 1px solid #edf0f5;
    border-radius: 0 0 8px 8px;
}

.float-item:hover {
    background: #ff5b22;
    color: #fff;
    border-color: #ff5b22;
}

.float-icon {
    width: 28px;
    height: 28px;
    background: #f7f8fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5b22;
    font-weight: 700;
    font-style: normal;
    transition: .25s;
}

.float-item:hover .float-icon {
    background: rgba(255,255,255,.22);
    color: #fff;
}

.float-item em {
    font-style: normal;
    font-size: 12px;
}

/* 弹出层 */
.float-pop {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
    padding: 16px;
    color: #1f2937;
    display: none;
}

.float-pop::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid #edf0f5;
    border-right: 1px solid #edf0f5;
}

.float-pop h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #1f2937;
}

.float-pop p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

.float-pop img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 8px auto 6px;
    border-radius: 6px;
}

.contact-item:hover .contact-pop,
.wechat-item:hover .wechat-pop {
    display: block;
}

/* 返回顶部默认隐藏 */
.back-top {
    display: none;
}

/* 手机端隐藏，避免挡内容 */
@media (max-width: 900px) {
    .right-float-bar {
        display: none;
    }
}