/* 在线咨询按钮 */
#wechat-btn {
    position: fixed;
    right: 20px;
    bottom: 4rem;  /* 保证不贴着页脚 */
    background: linear-gradient(to bottom, rgba(0, 93, 255, 1) 0%, rgba(0, 153, 255, 1) 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    width: 2rem;
    z-index: 9999;  /* 确保浮在最上层 */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);

    /* Flex 布局 */
    display: flex;
    flex-direction: column;   /* 垂直排列：icon 在上，文字在下 */
    justify-content: center;  /* 上下居中 */
    align-items: center;      /* 左右居中 */
    gap: 6px;                 /* icon 和文字的间距 */
}

/* 按钮里的图标 */
.wechat-icon img {
    max-width: 16px !important;
    height: 16px !important;
    display: block;
}

/* 弹窗遮罩层 */
#wechat-modal {
    display: none;
    position: fixed;
    z-index: 10000; /* 高于按钮 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* 弹窗内容 */
.wechat-modal-content {
    background: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* 弹窗里的二维码 */
.wechat-modal-content img {
    max-width: 200px;
    margin-top: 10px;
}

/* 关闭按钮 */
#wechat-close {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 32px;
    cursor: pointer;
    color: #333;
}
#wechat-close:hover {
    color: #0073e6;
}
/* 弹窗里的文字 */
.wechat-modal-content p {
  color: #000;  /* 黑色字体 */
}