/* 全局字体与颜色 */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --dark: #212529;
    --light: #f8f9fa;
    --body-bg: #ffffff;
    --body-color: #212529;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--body-color);
    background-color: var(--body-bg);
    line-height: 1.5;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}
.btn-outline-primary {
    border-radius: 30px;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
}

/* 面包屑 */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}
.breadcrumb-item a {
    text-decoration: none;
    color: var(--secondary);
}
.breadcrumb-item.active {
    color: var(--primary);
}

/* 侧边栏筛选 */
.filter-sidebar {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}
.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}