﻿.float-service-box {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
   margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
/* 服务项 */
.service-item {
    width: 80px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* 超链接样式修复 */
.service-item a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    text-decoration: none !important;
}
    .service-item:hover {
        background-color: #f5f7fa;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
/* 图标 */
.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
}

.icon-wechat01 {
    background: url("../images/jxjywx01.png") center/contain no-repeat;
}

.icon-customer {
    background: url("../images/jxjyzxkf01.png") center/contain no-repeat;
}

.icon-phone {
    background: url("../images/jxjyphone.png") center/contain no-repeat;
}
/* 文字 */
.service-text {
    font-size: 14px;
    color: #333;
    text-align: center;
}

    .service-text.red {
        color: #e53935;
    }
/* 微信弹出卡片 */
.wechat-tip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    width: 250px;
    text-align: center;
}

    .wechat-tip::after {
        content: "";
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        border-width: 8px 0 8px 8px;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
    }

.service-item.wechat:hover .wechat-tip {
    display: block;
}

.wechat-tip .official-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.wechat-tip img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
    border: 0;
}
/* 智能客服弹出卡片 */
.customer-tip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
}

    .customer-tip::after {
        content: "";
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        border-width: 8px 0 8px 8px;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
    }

.service-item.customer:hover .customer-tip {
    display: block;
}

.customer-tip img {
    max-width: 300px;
    height: auto;
    display: block;
}
/* 热线弹出卡片 */
.phone-tip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    display: none;
}

    .phone-tip::after {
        content: "";
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        border-width: 8px 0 8px 8px;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
    }

.service-item.phone:hover .phone-tip {
    display: block;
}

.phone-tip .tip-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.phone-tip .tip-line {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}

.phone-tip .tip-phone {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}






