/* ================================================
   产品系列页面样式表
   Product Series Page Stylesheet

   目录 (Table of Contents):
   1. Banner区域样式 - Banner Section
   2. 产品介绍区域 - Product Introduction
   3. 应用领域卡片 - Application Cards
   4. 产品型号表格 - Product Models Table
   5. FAQ手风琴样式 - FAQ Accordion
   6. 深度了解区域 - Deep Understanding Section
   7. CTA行动号召区域 - Call to Action Section
   8. 产品筛选器 - Product Filter
   9. 响应式设计 - Responsive Design
   10. 动画效果 - Animations
   ================================================ */


.single-product-content > .subtitle {
    font-size: 22px;
}

/* ================================================
   1. Banner区域样式
   ================================================ */
.breadcrumb-area {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Banner高度设置 */
.breadcrumb-height {
    display: flex;
    align-items: center;
}

/* Banner标题样式 */
.breadcrumb-item h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.breadcrumb-item h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* 面包屑导航样式 */
.breadcrumb-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item ul li {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 14px;
}

.breadcrumb-item ul li a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.breadcrumb-item ul li a:hover {
    color: var(--primary-color);
}

/* ================================================
   2. 产品介绍区域
   ================================================ */
.product-intro-section {
    background-color: var(--bg-light);
}

/* 产品介绍内容 */
.product-intro-content .lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.product-intro-content .subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* 产品特性列表 - 统一样式 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-list li strong {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-list li .small {
    display: block;
    margin-left: 26px;
    line-height: 1.4;
}

/* 产品图片悬停效果 */
.product-intro-image img {
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.product-intro-image img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* 产品操作按钮 */
.product-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
}

.product-actions .btn i {
    font-size: 16px;
}

/* ================================================
   3. 应用领域卡片
   ================================================ */
.application-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* 应用图标容器 */
.application-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha-10);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.application-card:hover .icon-wrapper {
    background: var(--primary-alpha-20);
}

/* 应用卡片文本 */
.application-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.application-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ================================================
   4. 产品型号表格
   ================================================ */
.product-table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.product-models-table {
    margin-bottom: 0;
    font-size: 14px;
}

/* 表格头部样式 */
.product-models-table thead {
    background: var(--primary-color);
    color: var(--text-white);
}

.product-models-table thead th {
    color: var(--text-white);
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 表格行样式 */
.product-models-table tbody tr {
    transition: var(--transition-fast);
    cursor: pointer;
}

.product-models-table tbody tr:hover {
    background: var(--bg-hover);
}

.product-models-table tbody td {
    padding: 15px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 特殊单元格样式 */
.product-models-table .model-name {
    font-weight: 600;
    color: var(--text-primary);
}

.product-models-table .btn {
    padding: 5px 15px;
    font-size: 12px;
}

/* 传感器信息 */
.sensor-info .sensor-model {
    font-weight: 500;
    color: var(--text-primary);
}

.sensor-info small {
    font-size: 12px;
}

/* 徽章样式 */
.badge.bg-primary {
    background-color: var(--primary-color) !important;
    font-weight: 500;
}

.interface-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 帧率和动态范围信息 */
.frame-rate-info small,
.dynamic-range-info {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.dynamic-range-info {
    font-size: 13px;
}

/* ================================================
   5. FAQ手风琴样式
   ================================================ */
.faq-section .accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    padding: 20px 25px;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-alpha-10);
    color: var(--primary-color);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

/* FAQ图标自定义 */
.faq-section .accordion-button::after {
    background-image: none;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: var(--primary-color);
}

.faq-section .accordion-button:not(.collapsed)::after {
    content: "\f077";
}

.faq-section .accordion-body {
    padding: 20px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================================
   6. 深度了解区域
   ================================================ */
.deep-understanding-section {
    background: var(--bg-light);
}

.understanding-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.understanding-content .lead {
    font-size: 18px;
    color: var(--text-primary);
}

/* ================================================
   7. CTA行动号召区域
   ================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

.cta-section h2 {
    color: var(--text-white);
    font-weight: 700;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA按钮组 */
.cta-buttons .btn {
    min-width: 150px;
    padding: 12px 30px;
    font-weight: 600;
}

.cta-buttons .btn-outline-primary {
    color: var(--text-white);
    border-color: var(--text-white);
}

.cta-buttons .btn-outline-primary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* ================================================
   8. 产品筛选器优化
   ================================================ */
.product-filter {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
    border-radius: var(--radius-lg);
    /*margin-bottom: -30px;*/
    position: relative;
    box-shadow: var(--shadow-sm);
}


/* 筛选器标题 */
.filter-header .filter-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.filter-header .filter-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* 筛选标签 */
.filter-label {
    font-size: 18px;
    font-weight: 600;
    padding-left: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
}

/* Nice Select 优化 */
.product-filter .nice-select {
    width: 100%;
    height: 42px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    transition: var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.product-filter .nice-select:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 8px rgba(47, 128, 237, 0.1);
}

.product-filter .nice-select.open {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.15);
}

/* 筛选操作按钮 */
.filter-actions {
    height: 42px;
}

.filter-actions .btn {
    height: 100%;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.filter-actions .btn i {
    font-size: 12px;
}

.filter-actions .btn-outline-secondary {
    border-color: var(--border-medium);
    color: var(--text-secondary);
}

.filter-actions .btn-outline-secondary:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    color: var(--text-white);
}

/* 筛选结果提示 */
.filter-results {
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition-normal);
}

.filter-results.show {
    opacity: 1;
    transform: translateY(0);
}

.filter-results small {
    background: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    box-shadow: var(--shadow-xs);
}

/* 响应式优化 */
@media (max-width: 767.98px) {
    .product-filter {
        padding: 30px 0;
        margin-bottom: -20px;
    }

    .filter-header .filter-title {
        font-size: 18px;
    }

    .filter-header .filter-subtitle {
        font-size: 13px;
    }

    .filter-label {
        font-size: 12px;
        margin-bottom: 6px !important;
    }

    .product-filter .nice-select {
        height: 38px;
        line-height: 36px;
        font-size: 13px;
    }

    .filter-actions {
        height: 38px;
        margin-top: 10px;
    }

    .filter-actions .btn {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .filter-actions .btn {
        padding: 8px 12px;
    }

    .filter-actions .btn i {
        display: none;
    }
}

/* ================================================
   9. 响应式设计
   ================================================ */

/* 平板设备 (最大991px) */
@media (max-width: 991.98px) {
    .product-intro-content {
        margin-bottom: 40px;
    }

    .application-card {
        margin-bottom: 20px;
    }
}

/* 移动设备 (最大767px) */
@media (max-width: 767.98px) {
    /* Banner响应式 */
    .breadcrumb-height {
        min-height: 300px;
    }

    .breadcrumb-item h1 {
        font-size: 32px;
    }

    .breadcrumb-item h2 {
        font-size: 18px;
    }

    /* 产品介绍响应式 */
    .key-features .col-md-6:first-child .feature-list {
        margin-bottom: 15px;
    }

    .key-features > h4, .key-features > h5 {
        font-size: 22px;
    }

    .feature-list li {
        font-size: 14px;
        padding: 10px 0;
    }

    .product-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .social-link {
        justify-content: center !important;
    }

    /* 表格响应式 - 转换为卡片式布局 */
    .table-responsive {
        border-radius: var(--radius-md);
    }

    .product-table-wrapper {
        background: transparent;
        box-shadow: none;
    }

    .product-models-table {
        font-size: 12px;
    }

    .product-models-table thead {
        display: none;
    }

    .product-models-table tbody tr {
        display: block;
        margin-bottom: 15px;
        background: var(--bg-white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 15px;
    }

    .product-models-table tbody td {
        display: block;
        padding: 5px 0;
        text-align: left;
        border: none;
    }

    .product-models-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 100px;
        color: var(--text-secondary);
        font-size: 12px;
    }

    .product-models-table .model-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    /* CTA按钮响应式 */
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-buttons .btn.me-3 {
        margin-right: 0 !important;
    }

    /* 筛选器响应式 */
    .product-filter {
        padding: 20px 0;
        margin-bottom: -30px;
    }

    .filter-label {
        font-size: 12px;
        margin-bottom: 5px !important;
    }

    .product-filter .nice-select {
        height: 40px;
        line-height: 38px;
        font-size: 13px;
    }

    .product-filter .nice-select:after {
        right: 12px;
    }
}

/* 小屏表格优化 (最大1199px) */
@media (max-width: 1199.98px) {
    .product-models-table {
        font-size: 12px;
    }

    .product-models-table thead th,
    .product-models-table tbody td {
        padding: 10px 8px;
    }
}

/* ================================================
   10. 动画效果
   ================================================ */

/* 淡入向上动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 应用动画到各区块 */
.product-intro-section,
.application-section,
.product-models-section,
.faq-section,
.deep-understanding-section {
    animation: fadeInUp 0.8s ease-out;
}

/* 产品行动画 */
.product-row {
    animation: fadeIn 0.3s ease;
}

/* 无搜索结果样式 */
.no-results td {
    padding: 40px 20px !important;
}

.no-results .fa {
    opacity: 0.3;
}

.reset-filter {
    margin-top: 15px;
}


/* 优化后的面包屑导航样式 */

.breadcrumb-area {
    padding: 150px 0 12px 0;
}

@media (max-width: 991.98px) {
    .breadcrumb-area {
        padding: 100px 0 12px 0;
    }
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    background: none;
    list-style: none;
    font-size: 15px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb-list li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 3px;
    color: var(--border-light);
    font-size: 15px;
    font-family: Arial, sans-serif;
    user-select: none;
}

.breadcrumb-list li.active {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .breadcrumb-area {
        padding:100px 0 6px 0;
    }

    .breadcrumb-list {
        font-size: 13px;
        gap: 4px;
    }
}


/* ================================================
   应用实例区域样式
   ================================================ */


/* 应用实例卡片 */
.application-example-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.application-example-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 图片悬停容器 */
.img-hover-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.img-hover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

/* 图片遮罩层 */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.img-hover-wrapper:hover .img-overlay {
    opacity: 1;
}

.img-hover-wrapper:hover img {
    transform: scale(1.1);
}

/* 遮罩内容 */
.overlay-content {
    text-align: center;
    color: var(--text-white);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.img-hover-wrapper:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-white);
}

.overlay-content p {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.overlay-content i {
    font-size: 20px;
    opacity: 0.8;
}

/* 更多应用区域 */
.more-applications {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* 应用列表样式 */
.application-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
}

.application-list li:last-child {
    border-bottom: none;
}

.application-list li i {
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.application-list li span {
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
    .application-example-card {
        margin-bottom: 20px;
    }

    .more-applications {
        padding: 25px;
    }

    .application-list li {
        font-size: 14px;
        padding: 10px 0;
    }
}


/* 移动端表格动画 */
@media (max-width: 768px) {
    .product-models-table tbody tr {
        display: block;
        margin-bottom: 20px;
        animation: mobileCardSlideIn 0.5s ease forwards;
    }

    @keyframes mobileCardSlideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}


/* ===========  移动端表格动画 ========== */

.social-link ul {
    display: flex;
    gap: 12px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.social-link a {
    font-size: 22px;
    color: var(--primary-color);
    transition: color 0.2s;
}
.social-link a:hover {
    color: var(--primary-hover);
}
#wechat-share-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}







/* FAQ Section Styles */
.faq-section .accordion-item {
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: #f8fafc;
    color: #1a202c;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    outline: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
    color: var(--primary-color);
}

.feature-title {
    color: #1a202c;
    font-weight: 600;
}

.feature-desc {
    color: #4a5568;
    line-height: 1.6;
}

/* Scenario Cards */
.scenario-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.scenario-icon i {
    color: var(--primary-color);
}

.scenario-title {
    color: #1a202c;
    font-weight: 600;
}

.scenario-desc {
    color: #4a5568;
    line-height: 1.6;
}

/* Application Examples */
.application-example-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.img-hover-wrapper {
    position: relative;
    overflow: hidden;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 128, 237, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-hover-wrapper:hover .img-overlay {
    opacity: 1;
}

.overlay-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.overlay-content i {
    font-size: 2rem;
    margin-top: 1rem;
}

/* Application List */
.application-list {
    list-style: none;
    padding: 0;
}

.application-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.application-list li:hover {
    transform: translateX(5px);
}

.application-list li i {
    margin-right: 1rem;
    font-size: 1.1rem;
}

.application-list li span {
    color: #4a5568;
    font-weight: 500;
}

/* Understanding Section */
.understanding-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.understanding-content .lead {
    color: #2d3748;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-card, .scenario-card {
        margin-bottom: 1.5rem;
    }

    .application-example-card {
        margin-bottom: 1rem;
    }

    .understanding-content {
        font-size: 1rem;
    }
}


/* 停产型号的样式 */
.discontinued-model .badge.bg-danger {
    font-size: 0.85em;
    vertical-align: middle;
}
.discontinued-model .fw-bold {
    color: #d9534f !important;
    position: relative;
}

/* 波段范围样式 */
.spectral-range-info {
    font-size: 0.875rem;
}

.spectral-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #f0f7ff;
    color: #2F80ED;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .product-models-table th:nth-child(5),
    .product-models-table td:nth-child(5) {
        min-width: 120px;
    }
}



