/* 页面标题区域 */
.page-header {
padding: 160px 0 80px;
background-color: var(--light-color);
text-align: center;
}

.page-header h1 {
font-size: 42px;
font-weight: 700;
color: var(--dark-color);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.page-header h1::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background-color: var(--accent-color);
}

.page-header p {
font-size: 18px;
color: var(--gray-color);
max-width: 700px;
margin: 20px auto 0;
}

/* 面包屑导航 */
.breadcrumb {
padding: 20px 0;
background-color: white;
border-bottom: 1px solid var(--light-gray);
}

.breadcrumb ul {
display: flex;
list-style: none;
}

.breadcrumb ul li {
margin-right: 10px;
font-size: 14px;
}

.breadcrumb ul li a {
color: var(--gray-color);
text-decoration: none;
transition: color 0.3s;
}

.breadcrumb ul li a:hover {
color: var(--primary-color);
}

.breadcrumb ul li:after {
content: '>';
margin-left: 10px;
color: var(--gray-color);
}

.breadcrumb ul li:last-child:after {
content: '';
}

.breadcrumb ul li.active a {
color: var(--primary-color);
font-weight: 500;
}

/* 产品分类筛选 */
.product-filter {
padding: 40px 0;
background-color: white;
}

.filter-container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}

.filter-categories {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.filter-category {
padding: 8px 20px;
border-radius: 30px;
background-color: var(--light-color);
color: var(--dark-color);
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: all 0.3s;
}

.filter-category:hover,
.filter-category.active {
background-color: var(--primary-color);
color: white;
}

.filter-sort {
display: flex;
align-items: center;
gap: 15px;
}

.filter-sort label {
font-weight: 500;
color: var(--dark-color);
}

.filter-sort select {
padding: 10px 15px;
border: 1px solid var(--light-gray);
border-radius: 8px;
background-color: white;
color: var(--dark-color);
font-family: 'Noto Sans SC', sans-serif;
font-size: 14px;
cursor: pointer;
transition: all 0.3s;
}

.filter-sort select:focus {
outline: none;
border-color: var(--primary-color);
}

/* 产品列表 */
.product-list-container {
padding: 60px 0 80px;
}

.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 40px;
}

/* 产品卡片 */
.product-card {
background-color: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
height: 240px;
overflow: hidden;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
transform: scale(1.05);
}

.product-content {
padding: 30px;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.product-category {
display: inline-block;
background-color: var(--accent-color);
color: white;
padding: 6px 15px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
margin-bottom: 15px;
align-self: flex-start;
}

.product-title {
font-size: 22px;
color: var(--dark-color);
margin-bottom: 15px;
line-height: 1.4;
}

.product-description {
color: var(--gray-color);
margin-bottom: 20px;
line-height: 1.6;
flex-grow: 1;
}

.product-features {
list-style: none;
margin-bottom: 25px;
}

.product-features li {
display: flex;
align-items: center;
margin-bottom: 10px;
color: var(--gray-color);
font-size: 14px;
}

.product-features li i {
color: var(--primary-color);
margin-right: 10px;
font-size: 12px;
}

.product-meta {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 20px;
border-top: 1px solid var(--light-gray);
}

.product-price {
color: var(--primary-color);
font-weight: 600;
font-size: 18px;
}

.product-price span {
font-size: 14px;
color: var(--gray-color);
font-weight: 400;
margin-left: 5px;
}

.product-action {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
font-size: 14px;
transition: all 0.3s;
display: inline-flex;
align-items: center;
padding: 8px 20px;
border: 1px solid var(--primary-color);
border-radius: 30px;
transition: all 0.3s;
}

.product-action:hover {
background-color: var(--primary-color);
color: white;
}

.product-action i {
margin-left: 8px;
transition: transform 0.3s;
}

.product-action:hover i {
transform: translateX(5px);
}

/* 分页 */
.pagination {
padding: 60px 0 40px;
text-align: center;
}

.pagination ul {
display: inline-flex;
list-style: none;
background-color: white;
padding: 10px 20px;
border-radius: 50px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pagination ul li {
margin: 0 5px;
}

.pagination ul li a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
text-decoration: none;
color: var(--dark-color);
font-weight: 500;
transition: all 0.3s;
}

.pagination ul li a:hover {
background-color: var(--light-color);
color: var(--primary-color);
}

.pagination ul li.active a {
background-color: var(--primary-color);
color: white;
}

.pagination ul li.prev a,
.pagination ul li.next a {
font-size: 14px;
width: auto;
padding: 0 15px;
border-radius: 20px;
}

/* 侧边栏 */
.product-sidebar {
padding: 80px 0;
background-color: var(--light-color);
}

.sidebar-container {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 50px;
}

.sidebar-widget {
background-color: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
margin-bottom: 30px;
}

.widget-title {
font-size: 20px;
color: var(--dark-color);
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 2px solid var(--light-color);
position: relative;
}

.widget-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 50px;
height: 2px;
background-color: var(--accent-color);
}

.category-list {
list-style: none;
}

.category-list li {
margin-bottom: 12px;
}

.category-list li a {
color: var(--gray-color);
text-decoration: none;
transition: all 0.3s;
display: flex;
justify-content: space-between;
align-items: center;
}

.category-list li a:hover {
color: var(--primary-color);
padding-left: 5px;
}

.category-list li a span {
background-color: var(--light-color);
color: var(--dark-color);
padding: 3px 10px;
border-radius: 12px;
font-size: 12px;
}

.featured-product {
text-align: center;
padding: 30px;
}

.featured-product-image {
height: 180px;
overflow: hidden;
border-radius: 10px;
margin-bottom: 20px;
}

.featured-product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.featured-product h4 {
font-size: 18px;
color: var(--dark-color);
margin-bottom: 10px;
}

.featured-product p {
color: var(--gray-color);
font-size: 14px;
margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
.sidebar-container {
grid-template-columns: 1fr;
}

.product-grid {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}

@media (max-width: 768px) {
.page-header {
padding: 140px 0 60px;
}

.page-header h1 {
font-size: 36px;
}

.filter-container {
flex-direction: column;
align-items: flex-start;
}

.product-grid {
grid-template-columns: 1fr;
}

.product-image {
height: 200px;
}
}

@media (max-width: 576px) {
.page-header h1 {
font-size: 32px;
}

.product-title {
font-size: 20px;
}
}
