/* 基础样式 */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 页脚样式 */
footer {
    margin-top: 3rem;
}

footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

footer .social-icons a:hover {
    background-color: var(--bs-primary);
    transform: translateY(-3px);
}

/* 回到顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    width: 50px;
    height: 50px;
    padding: 0;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 0.75rem 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* 页面标题 */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

/* 产品卡片 */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-card .product-price {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* 表单样式 */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar-nav .nav-item {
        margin-bottom: 0.25rem;
    }

    .navbar .btn {
        margin-top: 0.5rem;
        width: 100%;
    }

    footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }
}