﻿/* 页面标题 */
.page-title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 1rem;
    /*justify-content: center;*/
    /*text-align: center;*/
    border-bottom: 1px solid var(--split);
    font-size: 1.2rem;
    color: var(--dark-text);
}

.page-title s {
    display: block;
    width: 0.5rem;
    height: 1.8rem;
    background: var(--primary-color);
}

.page-title span {
    margin: 0 0.8rem;
}

.page-title a {
    margin: 0 0.8rem;
    text-decoration: none;
    color: var(--dark-text);
}

.page-title i {
    color: var(--split);
}


/* 产品展示区 */
.products-section {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    display: block;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width:100%;
    height:100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features i {
    color: var(--secondary-color);
}

/* 分页 */
.paged{
    padding: 1rem;
    text-align: center;
}

.paged a {
    text-decoration: none;
    color: var(--dark-text);
    margin: 0 1rem;
}

.paged span {
    color: var(--text);
    margin: 0 1rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 主视觉区 */
    .hero-section{
        display: none;
    }
    /* 产品格 */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}