/* ================= 单产品分类页样式 ================= */
/* 页面标题区域 */
.yzg-page-header {
    background: linear-gradient(135deg, var(--yzg-primary-blue) 0%, var(--yzg-primary-blue-dark) 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 60px;
    margin-top: 82px;
    text-align: center;
}

.yzg-page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    font-weight: bold;
}

.yzg-page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    color: white;
}

.product-grid-title {
    color: var(--yzg-secondary-color);
    margin: 30px 0 20px;
    font-size: 1.6rem;
    border-left: 5px solid var(--yzg-primary-blue);
    padding-left: 20px;
}

/* 面包屑导航 */
.yzg-breadcrumb {
    background-color: var(--yzg-light-bg);
    padding: 18px 0;
    border-bottom: 1px solid var(--yzg-border-color);
}

.yzg-breadcrumb ol {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.yzg-breadcrumb li {
    margin-right: 10px;
    font-size: 0.95rem;
}

.yzg-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: var(--yzg-text-light);
}

.yzg-breadcrumb a {
    color: var(--yzg-text-light);
    text-decoration: none;
    transition: var(--yzg-transition);
}

.yzg-breadcrumb a:hover {
    color: var(--yzg-primary-blue);
}

.yzg-breadcrumb .yzg-current {
    color: var(--yzg-secondary-color);
    font-weight: 600;
}

/* ===== 产品展示区域 ===== */
.yzg-products-count {
    color: var(--yzg-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--yzg-border-color);
}

.yzg-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.yzg-product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--yzg-shadow-light);
    transition: var(--yzg-transition);
    border: 1px solid var(--yzg-border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    display: none; /* 初始隐藏，由 JS 控制显示 */
}

.yzg-product-card.show {
    display: flex;
}

.yzg-product-card:hover {
    transform: translateY(-10px);
    border-color: var(--yzg-primary-blue);
}

.yzg-product-header {
    background-color: var(--yzg-light-bg);
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid var(--yzg-border-color);
    position: relative;
}

.yzg-product-brand {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--yzg-primary-blue);
    color: white;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 500;
}

.yzg-product-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}

.yzg-product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.yzg-product-name {
    color: var(--yzg-secondary-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.yzg-product-type {
    color: var(--yzg-text-light);
    font-size: 0.95rem;
}

.yzg-product-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.yzg-product-features {
    list-style: none;
    margin-bottom: 20px;
}

.yzg-product-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.yzg-product-features li:last-child {
    border-bottom: none;
}

.yzg-product-features i {
    color: var(--yzg-secondary-orange);
    margin-right: 10px;
    font-size: 0.9rem;
}

.yzg-product-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--yzg-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-details {
    color: var(--yzg-primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--yzg-transition);
}

.view-details i {
    transition: transform 0.2s;
}

.view-details:hover {
    color: var(--yzg-secondary-orange);
}

.view-details:hover i {
    transform: translateX(4px);
}

/* 筛选栏 */
.filter-bar {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    margin-bottom: 40px;
    box-shadow: var(--yzg-shadow-light);
    border: 1px solid var(--yzg-border-color);
}

.filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-btn {
    padding: 10px 32px;
    border: 1px solid #d0d0d0;
    background-color: #ffffff;
    color: var(--yzg-text-dark);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    border-color: var(--yzg-primary-blue);
    color: var(--yzg-primary-blue);
    background-color: #f0f9ff;
}

.filter-btn.active {
    background-color: var(--yzg-primary-blue);
    border-color: var(--yzg-primary-blue);
    color: white;
}

.filter-btn.btn-all {
    background-color: var(--yzg-secondary-orange);
    border-color: var(--yzg-secondary-orange);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(241,130,0,0.2);
}

.filter-btn.btn-all:hover {
    background-color: var(--yzg-secondary-orange-dark);
    border-color: var(--yzg-secondary-orange-dark);
    transform: translateY(-2px);
}

/* ===== 分页控件 ===== */
.yzg-pagination-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--yzg-border-color);
}

.yzg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.yzg-pagination-btn {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--yzg-border-color);
    border-radius: 4px;
    color: var(--yzg-text-dark);
    cursor: pointer;
    transition: var(--yzg-transition);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.yzg-pagination-btn:hover {
    background-color: var(--yzg-primary-blue);
    border-color: var(--yzg-primary-blue);
    color: white;
}

.yzg-pagination-btn:disabled {
    background-color: var(--yzg-light-bg);
    border-color: var(--yzg-border-color);
    color: var(--yzg-text-light);
    cursor: not-allowed;
}

.yzg-pagination-pages {
    display: flex;
    gap: 5px;
    margin: 0 10px;
}

.yzg-pagination-page {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background-color: white;
    border: 1px solid var(--yzg-border-color);
    border-radius: 4px;
    color: var(--yzg-text-dark);
    cursor: pointer;
    transition: var(--yzg-transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yzg-pagination-page:hover {
    background-color: var(--yzg-light-bg);
    border-color: var(--yzg-primary-blue);
}

.yzg-pagination-page.active {
    background-color: var(--yzg-primary-blue);
    border-color: var(--yzg-primary-blue);
    color: white;
}

.yzg-pagination-info {
    margin: 0 15px;
    color: var(--yzg-text-light);
    font-size: 0.9rem;
    white-space: nowrap;
}

.yzg-pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    color: var(--yzg-text-light);
    font-size: 0.9rem;
}

.yzg-pagination-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid var(--yzg-border-color);
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.yzg-pagination-jump-btn {
    padding: 6px 12px;
    background-color: var(--yzg-primary-blue);
    border: 1px solid var(--yzg-primary-blue);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: var(--yzg-transition);
    font-size: 0.9rem;
}

.yzg-pagination-jump-btn:hover {
    background-color: var(--yzg-primary-blue-dark);
}

/* ===== FAQ 手风琴模块（无灰色背景） ===== */
.yzg-faq-section {
    padding: 40px 0 60px;
    background-color: transparent;  /* 已去除灰色背景 */
}

.yzg-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.yzg-faq-item {
    background-color: var(--yzg-card-bg);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--yzg-shadow-light);
    transition: var(--yzg-transition);
    border: 1px solid var(--yzg-border-color);
}

.yzg-faq-item:hover {
    box-shadow: var(--yzg-shadow-medium);
    border-color: var(--yzg-primary-blue);
}

.yzg-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--yzg-secondary-color);
    transition: background-color 0.2s ease;
    border-radius: 12px;
}

.yzg-faq-question:hover {
    background-color: rgba(0, 127, 204, 0.03);
}

.yzg-faq-question-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yzg-faq-icon {
    color: var(--yzg-primary-blue);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.yzg-faq-toggle {
    color: var(--yzg-text-light);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.yzg-faq-item.yzg-active .yzg-faq-toggle {
    transform: rotate(180deg);
}

.yzg-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(0, 127, 204, 0.01);
    border-top: 1px solid transparent;
}

.yzg-faq-item.yzg-active .yzg-faq-answer {
    max-height: 800px;
    border-top-color: var(--yzg-border-color);
}

.yzg-faq-answer p {
    padding: 20px 24px;
    margin: 0;
    color: var(--yzg-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.yzg-faq-answer strong {
    color: var(--yzg-secondary-color);
}

/* FAQ 内部链接样式 */
.yzg-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yzg-primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--yzg-primary-blue);
    transition: var(--yzg-transition);
}

.yzg-faq-link:hover {
    color: var(--yzg-secondary-orange);
    border-bottom-color: var(--yzg-secondary-orange);
}

.yzg-faq-link::after {
    content: "→";
    transition: transform 0.2s;
}

.yzg-faq-link:hover::after {
    transform: translateX(3px);
}

/* ===== 客户案例·信任锚点模块（可点击卡片版，无灰色背景） ===== */
.yzg-trust-cases {
    padding: 60px 0 40px;
    background-color: transparent;  /* 已去除灰色背景 */
}

.yzg-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0 40px;
}

.yzg-case-item {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--yzg-shadow-light);
    transition: var(--yzg-transition);
    border: 1px solid var(--yzg-border-color);
    text-decoration: none;
    color: inherit;
}

.yzg-case-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--yzg-shadow-medium);
    border-color: var(--yzg-primary-blue);
}

.yzg-case-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.yzg-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.yzg-case-item:hover .yzg-case-img img {
    transform: scale(1.03);
}

.yzg-case-item h3 {
    font-size: 1.3rem;
    color: var(--yzg-secondary-color);
    margin: 20px 20px 10px;
    line-height: 1.3;
    font-weight: 600;
}

.yzg-case-details {
    padding: 0 20px 25px;
}

.yzg-case-detail {
    font-size: 0.9rem;
    color: var(--yzg-text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.yzg-case-detail strong {
    color: var(--yzg-primary-blue);
    font-weight: 600;
    min-width: 90px;
    display: inline-block;
}

.yzg-cases-more {
    text-align: center;
    margin-top: 20px;
}

/* 橙色按钮样式（与详情页一致） */
.yzg-btn-orange {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--yzg-secondary-orange);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--yzg-transition);
    border: none;
    cursor: pointer;
}

.yzg-btn-orange:hover {
    background-color: var(--yzg-secondary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 130, 0, 0.3);
    color: white;
}

/* 通用布局辅助 */
.product-grid-wrapper {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.puyon-independent {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    padding-bottom: 40px;
}

/* ===== 响应式样式 ===== */
@media (max-width: 1200px) {
    .yzg-page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .yzg-page-header h1 {
        font-size: 2.5rem;
    }
    .yzg-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yzg-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .yzg-page-header {
        padding: 130px 0 60px;
    }
    .yzg-page-header h1 {
        font-size: 1.9rem;
    }
    .puyon-independent {
        margin-top: 80px;
    }
    .filter-btn {
        min-width: 100px;
        padding: 8px 20px;
    }
    .yzg-pagination {
        flex-direction: column;
        gap: 15px;
    }
    .yzg-pagination-pages {
        order: 3;
        margin-top: 10px;
    }
    .yzg-pagination-info {
        order: 2;
        margin: 0;
    }
    .yzg-pagination-jump {
        order: 4;
        margin-left: 0;
        margin-top: 10px;
    }
    .yzg-pagination-btn {
        order: 1;
    }
    .yzg-products-grid {
        grid-template-columns: 1fr;
    }
    .yzg-faq-question {
        padding: 16px 18px;
        font-size: 1rem;
    }
    .yzg-faq-question-left {
        gap: 10px;
        flex: 1;
    }
    .yzg-faq-icon {
        font-size: 1.1rem;
        width: 20px;
    }
    .yzg-faq-answer p {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
    .yzg-trust-cases {
        padding: 40px 0 30px;
    }
    .yzg-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .yzg-case-img {
        height: 180px;
    }
    .yzg-case-item h3 {
        font-size: 1.2rem;
        margin: 15px 15px 8px;
    }
    .yzg-case-details {
        padding: 0 15px 20px;
    }
    .yzg-case-detail {
        font-size: 0.85rem;
    }
    .yzg-btn-orange {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .yzg-modules-container {
        flex-direction: column;
        align-items: center;
    }
    .yzg-module-item {
        min-width: 200px;
        max-width: 220px;
    }
    .yzg-module-carousel {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .yzg-page-header h1 {
        font-size: 1.8rem;
    }
    .yzg-section-title h2 {
        font-size: 2rem;
    }
    .yzg-product-action-buttons {
        flex-direction: column;
    }
    .yzg-product-action-buttons .yzg-btn,
    .yzg-product-action-buttons .yzg-btn-outline,
    .yzg-product-action-buttons .yzg-btn-orange {
        width: 100%;
        text-align: center;
    }
}