﻿/* 底部悬浮导航 */
.bottom-float-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: #fff;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.float-bar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 10px;
    width: 100%;
}
.bar-btn {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    font-size: 18px;
}
.category-toggle {
    color: #ecf0f1;
    gap: 8px;
    justify-content: center;
}
.category-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}
.call-btn {
    background: #f39c12;
    color: #fff;
    margin: 0 8px;
}
.call-btn:active {
    background: #d35400;
}
.copy-wechat {
    background: #3498db;
    color: #fff;
    border: none;
}
.copy-wechat:active {
    background: #2980b9;
}
.category-popup {
    background: #34495e;
    padding: 15px;
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.category-popup.show {
    display: flex;
}
.category-popup a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 16px;
    flex: 1 1 40%;
    text-align: center;
}
.category-popup a:hover {
    background: #3498db;
}

/* 手机适配 */
@media (max-width: 768px) {
    .bar-btn {
        font-size: 15px;
        padding: 8px 5px;
    }
    .category-icon {
        width: 20px;
        height: 20px;
    }
}