/* i8HOME-Next 产品页样式 */

.page-head {
    padding: 24px 0 12px;
}

.page-head h1 {
    font-size: 22px;
    margin: 0 0 6px;
    color: #111;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #0a7a35;
}

/* ---------- 分类筛选 ---------- */

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.filter-item {
    padding: 6px 14px;
    font-size: 14px;
    color: #555;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    transition: all 0.2s;
}

.filter-item:hover {
    border-color: #0a7a35;
    color: #0a7a35;
}

.filter-item.active {
    background: #0a7a35;
    border-color: #0a7a35;
    color: #fff;
}

/* ---------- 分页 ---------- */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    font-size: 14px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    color: #333;
}

.pagination a:hover {
    border-color: #0a7a35;
    color: #0a7a35;
}

.pagination .current {
    color: #888;
}

/* ---------- 产品详情 ---------- */

.product-detail {
    padding: 12px 0 40px;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 24px;
}

.product-hero-image {
    background: #f6f7f9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-hero-info h1 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #111;
}

.product-hero-info .meta {
    color: #888;
    font-size: 14px;
    margin: 0 0 12px;
}

.product-hero-info .meta .k {
    color: #aaa;
}

.product-hero-info .summary {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.price-box {
    padding: 12px 16px;
    background: #fef5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-box .price {
    font-size: 24px;
    color: #c00;
    font-weight: 700;
}

.price-box .price.inquire {
    font-size: 18px;
    color: #888;
    font-weight: 400;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: #0a7a35;
    color: #fff;
}

.btn-primary:hover {
    background: #086c2e;
}

.btn-outline {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-outline:hover {
    border-color: #0a7a35;
    color: #0a7a35;
}

/* ---------- 产品内容区 ---------- */

.product-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.product-section h2 {
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    color: #222;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
}

.param-table th,
.param-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.param-table th {
    width: 30%;
    color: #666;
    font-weight: 500;
    background: #fafafa;
}

.param-table td {
    color: #222;
}

.rich-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border-radius: 6px;
}

/* ---------- PC 端增强 ---------- */

@media (min-width: 768px) {
    .page-head h1 {
        font-size: 28px;
    }

    .product-hero {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 32px;
    }

    .product-hero-info h1 {
        font-size: 26px;
    }

    .product-section {
        padding: 32px;
    }

    .product-section h2 {
        font-size: 20px;
    }
}