
/* 侧滑菜单样式 */
.side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.side-menu.active {
    left: 0;
}

.menu-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-content {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.menu-item.active,
.menu-item:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transform: translateX(4px);
}

/* 底部导航栏样式 */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 900;
}

.bottom-navigation ul {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.nav-item.active,
.nav-item:hover {
    color: #3b82f6;
    background: #f3f4f6;
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 0.75rem;
}

/* 筛选菜单样式 */
.filter-menu {
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #6b7280;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transform: scale(1.05);
}

/* 产品卡片样式 */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 遮罩层样式 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 主内容区域动画 */
.main-content {
    transition: transform 0.3s ease;
}

.main-content.shifted {
    transform: translateX(140px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .side-menu {
        width: 85vw;
        left: -85vw;
    }
    
    .main-content.shifted {
        transform: translateX(42.5vw);
    }
}

/* 滚动条样式 */
.menu-content::-webkit-scrollbar {
    width: 4px;
}

.menu-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.menu-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}
