/* ==================== 页面头部 ==================== */
.page-header {
    padding: 160px 40px 80px;
    text-align: center;
    background: var(--bg-cream);
}

.page-header .breadcrumb {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-header .breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb a:hover {
    color: var(--primary);
}

.page-header h1 {
    font-family: 'Cormorant Garamond', 'STZhongYuan', 'Heiti SC', 'Microsoft YaHei', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 分类筛选 ==================== */
.filter-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 40px;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-tabs {
    display: flex;
    gap: 30px;
}

.filter-tab {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-sort label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.filter-sort select {
    padding: 8px 30px 8px 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* ==================== 产品网格 ==================== */
.products-section {
    padding: 60px 40px 120px;
    background: var(--bg-white);
}

.products-container {
    max-width: 100%;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    background: var(--bg-cream);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.product-badge.new {
    background: var(--gold);
}

.product-badge.sale {
    background: #c44;
}

.product-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover .product-wishlist {
    opacity: 1;
    transform: translateY(0);
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-gray);
    fill: none;
    transition: all 0.3s ease;
}

.product-wishlist:hover svg {
    stroke: #c44;
    fill: #c44;
}

.product-info {
    text-align: center;
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--primary);
}

.product-price .original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 8px;
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.pagination-btn {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 25px;
    letter-spacing: 1px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.pagination-info #currentPage {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.1rem;
}

.pagination-info #totalPages {
    color: var(--text-dark);
}

/* ==================== 咨询区域 ==================== */
.inquiry-section {
    margin-top: 60px;
    text-align: center;
    padding: 50px 40px;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
}

.inquiry-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.inquiry-title {
    font-family: 'Cormorant Garamond', 'STZhongYuan', 'Heiti SC', 'Microsoft YaHei', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.inquiry-desc {
    color: var(--text-gray);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.inquiry-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 143, 122, 0.3);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .filter-bar {
        padding: 15px 20px;
        top: 70px;
    }

    .filter-container {
        flex-direction: column;
        gap: 15px;
    }

    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .products-section {
        padding: 40px 20px 80px;
    }

    .products-grid {
        gap: 20px;
    }

    .pagination {
        gap: 15px;
    }

    .pagination-btn {
        height: 40px;
        padding: 0 20px;
        font-size: 0.8rem;
    }

    .pagination-btn svg {
        width: 14px;
        height: 14px;
    }

    .pagination-info {
        font-size: 0.85rem;
    }

    .pagination-info #currentPage {
        font-size: 1rem;
    }
}

