/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 产品卡片悬停效果 */
.product-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* 话题列表项悬停效果 */
.topic-item:hover {
    background-color: #f7fafc;
    transition: background-color 0.3s ease;
}

/* 按钮样式 */
.btn {
    transition: all 0.3s ease;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 表单样式 */
.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #3182ce;
    color: white;
    border-color: #3182ce;
}

.pagination .active {
    background-color: #3182ce;
    color: white;
    border-color: #3182ce;
}

/* 详情页样式 */
.detail-content {
    line-height: 1.8;
}

.detail-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.detail-content p {
    margin-bottom: 1rem;
}

.detail-content img {
    margin: 1rem 0;
    border-radius: 0.375rem;
}