/* 通用左右布局容器样式 */
.layout-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    min-height: 600px;
    max-width: 100%;
    overflow: hidden;
}

/* 左侧边栏样式 */
.sidebar {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-section {
    margin-bottom: 35px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    color: #1a73e8;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #1a73e8;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #4285f4);
}

/* 分类列表样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 14px 18px;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.category-list a:hover,
.category-list a.active {
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
    color: #1a73e8;
    border-left-color: #1a73e8;
    transform: translateX(5px);
}

/* 相关产品列表样式 */
.related-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-product-list li {
    margin-bottom: 15px;
}

.related-product-list a {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-product-list a:hover {
    background: #e9ecef;
    transform: translateX(8px);
    border-color: #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-product-list img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
    border: 2px solid #e9ecef;
}

.related-product-list span {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

/* 右侧内容区域样式 */
.content-area {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    min-height: 600px;
    min-width: 0;
    overflow: hidden;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.content-title {
    color: #1a73e8;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.content-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}



/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1557b0, #3367d6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 页面标题样式 */
.page-title {
    margin-top: 90px;
    padding: 60px 0;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .layout-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        flex: none;
        position: static;
    }
}

/* 通用分页组件样式 */
/* 分页样式已移至 style.css 中统一管理 */

@media (max-width: 768px) {
    .layout-container {
        margin: 20px 0;
    }
    
    .sidebar,
    .content-area {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.6rem;
    }
    

    
    /* 分页响应式样式已移至 style.css 中统一管理 */
}

/* 480px 分页响应式样式已移至 style.css 中统一管理 */

/* 通用面包屑导航样式 */
.breadcrumb {
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #1a73e8;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-list a:hover {
    color: #1557b0;
    background-color: rgba(26, 115, 232, 0.1);
    transform: translateY(-1px);
}

.breadcrumb-list a i {
    font-size: 12px;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #6c757d;
    font-size: 12px;
    opacity: 0.7;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 600;
    padding: 6px 12px;
    background-color: rgba(73, 80, 87, 0.1);
    border-radius: 6px;
}



/* 面包屑响应式样式 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 15px 0;
        margin-bottom: 20px;
    }
    
    .breadcrumb-list {
        padding: 0 15px;
        font-size: 13px;
    }
    
    .breadcrumb-list a,
    .breadcrumb-current {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        padding: 0 10px;
        font-size: 12px;
    }
    
    .breadcrumb-list a,
    .breadcrumb-current {
        padding: 3px 6px;
        font-size: 12px;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
        font-size: 10px;
    }
}