@charset "utf-8";

/*
 * ========================================
 * 3D 打印机产品详情页 — 通用主题样式（原 bambulab-a1.css，已重命名为通用名称）
 * ========================================
 * 文件路径：assets/zh-cn/css/product-detail-theme.css
 *
 * 【功能说明】
 * 1. 面包屑导航样式（Breadcrumb）
 * 2. 品牌导航栏样式（Sticky 定位）
 * 3. 从 3d-printers.css 提取，供详情页独立使用
 * ========================================
 */

/* ====================================================================
 * 页面特定布局优化（确保 sticky 定位生效）
 * ==================================================================== */
.site-main {
    overflow: visible !important;
}

.page-content {
    overflow: visible !important;
}

/* ====================================================================
 * 面包屑导航（Breadcrumb Navigation）- 精致按钮式设计
 * ==================================================================== */

.site-main .page-breadcrumb {
    background: transparent;
    padding: 0.4rem 0; /* 上下高度更薄一些 */
    border-bottom: none;
    position: relative;
}

.site-main .page-breadcrumb .container {
    padding: 0 1rem;
}

.site-main .page-breadcrumb .breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-main .page-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    padding: 0.25rem 0.55rem; /* 内边距略减小，整体更紧凑 */
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    text-transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
}

.site-main .page-breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    margin-right: 0;
    color: var(--text-tertiary);
    font-weight: 300;
    font-size: 0.9375rem;
    opacity: 0.5;
    letter-spacing: 0;
}

.site-main .page-breadcrumb .breadcrumb-item a {
    color: inherit; /* 默认跟随父元素颜色，不再是显眼的蓝色 */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
    font-weight: 400;
    letter-spacing: inherit;
}

.site-main .page-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-color); /* 悬停时才变为主题蓝色，突出可点击 */
    text-decoration: none;
    font-weight: 500;
}

.site-main .page-breadcrumb .breadcrumb-item:has(a:hover) {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.site-main .page-breadcrumb .breadcrumb-item:not(.active):hover {
    background: rgba(0, 0, 0, 0.06);
}

.site-main .page-breadcrumb .breadcrumb-item a i {
    font-size: 0.875rem;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.site-main .page-breadcrumb .breadcrumb-item a:hover i {
    opacity: 1;
}

.site-main .page-breadcrumb .breadcrumb-item.active {
    background: rgba(255, 179, 102, 0.1);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.015em;
}

@media (max-width: 767.98px) {
    .site-main .page-breadcrumb {
        padding: 0.45rem 0; /* 手机端也相应减薄一点 */
    }

    .site-main .page-breadcrumb .breadcrumb-item {
        font-size: 0.75rem;
        padding: 0.25rem 0.45rem;
        letter-spacing: 0.005em;
    }

    .site-main .page-breadcrumb .breadcrumb-item:not(:last-child)::after {
        margin-left: 0.375rem;
        font-size: 0.875rem;
    }

    .site-main .page-breadcrumb .breadcrumb-item a i {
        font-size: 0.8125rem;
    }
}

/* ====================================================================
 * 品牌导航栏（Sticky 定位）
 * ==================================================================== */
.site-main .brand-navbar {
    position: relative;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.site-main .brand-navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.site-main .brand-navbar.scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: rgba(255, 255, 255, 0.99);
}

@media (max-width: 767.98px) {
    .site-main .brand-navbar {
        top: 0;
    }
}

.site-main .brand-navbar .container {
    padding: 0 1rem;
}

.site-main .brand-nav-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.site-main .brand-nav-list::-webkit-scrollbar {
    display: none;
}

.site-main .brand-nav-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-main .brand-nav-list.scrollable-left::before {
    opacity: 1;
}

.site-main .brand-nav-list::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-main .brand-nav-list.scrollable-right::after {
    opacity: 1;
}

.site-main .brand-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.site-main .brand-nav-item:hover {
    color: var(--primary-color);
    background: var(--primary-pale);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 179, 102, 0.15);
}

.site-main .brand-nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.site-main .brand-nav-item.active {
    color: var(--primary-color);
    background: var(--primary-pale);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 179, 102, 0.2);
}

.site-main .brand-nav-item.active:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 1;
    transition: all 0.3s ease;
}

/* ====================================================================
 * 品牌导航栏 - 响应式排布（根据品牌数量）
 * ==================================================================== */

.site-main .brand-nav-list.brand-count-1 {
    justify-content: center;
}

.site-main .brand-nav-list.brand-count-1 .brand-nav-item {
    min-width: auto;
    max-width: 200px;
}

.site-main .brand-nav-list.brand-count-2 {
    justify-content: space-between;
}

@media (min-width: 481px) {
    .site-main .brand-nav-list.brand-count-2 {
        justify-content: center;
        gap: 2rem;
    }
}

.site-main .brand-nav-list.brand-count-3 {
    justify-content: flex-start;
}

@media (min-width: 481px) {
    .site-main .brand-nav-list.brand-count-3 {
        justify-content: center;
        gap: 1.5rem;
    }
}

.site-main .brand-nav-list.brand-count-4 {
    justify-content: flex-start;
}

@media (min-width: 481px) and (max-width: 768px) {
    .site-main .brand-nav-list.brand-count-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem 0.5rem;
    }
}

@media (min-width: 769px) {
    .site-main .brand-nav-list.brand-count-4 {
        justify-content: center;
        gap: 1rem;
    }
}

.site-main .brand-nav-list.brand-count-5 {
    justify-content: flex-start;
}

@media (min-width: 769px) {
    .site-main .brand-nav-list.brand-count-5 {
        justify-content: center;
        gap: 0.875rem;
    }

    .site-main .brand-nav-list.brand-count-5 .brand-nav-item {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ========== 6 个章节（详情页本页锚点导航） ========== */
.site-main .brand-nav-list.brand-count-6 {
    justify-content: flex-start;
}

@media (min-width: 769px) {
    .site-main .brand-nav-list.brand-count-6 {
        justify-content: center;
        gap: 0.75rem;
    }

    .site-main .brand-nav-list.brand-count-6 .brand-nav-item {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }
}

@media (max-width: 480px) {
    .site-main .brand-nav-list {
        justify-content: flex-start;
        padding: 0.75rem 0;
        gap: 0.75rem;
    }

    .site-main .brand-nav-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .site-main .brand-nav-list.brand-count-1 {
        justify-content: center;
    }

    .site-main .brand-nav-list.brand-count-2 {
        justify-content: space-between;
        padding: 0.75rem 0.5rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .site-main .brand-nav-list {
        padding: 0.875rem 0;
    }
}

@media (min-width: 769px) {
    .site-main .brand-nav-list {
        justify-content: center;
        padding: 1rem 0;
    }

    .site-main .brand-nav-list.brand-count-2 {
        gap: 3rem;
    }

    .site-main .brand-nav-list.brand-count-3 {
        gap: 2rem;
    }
}

/* ====================================================================
 * 品牌导航容器 Padding（与列表页一致）
 * ==================================================================== */
.site-main .brand-navbar .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .site-main .brand-navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ====================================================================
 * 页面标题区域（与 index 列表页一致：居中、标题+简介）
 * ==================================================================== */
.site-main .page-header-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 0 1.5rem;
    position: relative;
}

.page-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.page-main-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .site-main .page-header-section {
        margin-bottom: 2.5rem;
        padding: 2rem 0 1rem;
    }

    .site-main .page-main-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }

    .site-main .page-main-desc {
        font-size: 0.9375rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .site-main .page-header-section {
        padding: 1.5rem 0 0.75rem;
    }

    .site-main .page-main-title {
        font-size: 1.625rem;
    }

    .site-main .page-main-desc {
        font-size: 0.875rem;
    }
}

/* ====================================================================
 * 页面区块与内容区容器（page-section、page-content 的 container）
 * ==================================================================== */
.site-main .page-section {
    padding: 3rem 0;
    scroll-margin-top: 80px; /* 锚点滚动时留出 sticky 导航栏高度 */
}

@media (max-width: 768px) {
    .site-main .page-section {
        padding: 2rem 0;
        scroll-margin-top: 60px;
    }
}

.site-main .page-content .container,
.site-main .page-section .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .site-main .page-content .container,
    .site-main .page-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ====================================================================
 * Hero标题区样式
 * ==================================================================== */
.product-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.product-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.product-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.3);
}

.product-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.product-hero-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.product-tag:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .product-hero-section {
        min-height: 400px;
    }
    
    .product-hero-title {
        font-size: 2rem;
    }
    
    .product-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .product-hero-content {
        padding: 2rem 1rem;
    }
}

/* ====================================================================
 * 页面区块标题样式
 * ==================================================================== */
.page-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

@media (max-width: 768px) {
    .page-section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}

/* ====================================================================
 * 概述区样式
 * ==================================================================== */
.section-overview {
    background: #ffffff;
    padding: 4rem 0;
    position: relative;
}

.section-overview::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.overview-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.overview-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #ff8c42), var(--accent-color, #ffb366));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.overview-card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.overview-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.overview-card-desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.overview-video-section {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .overview-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .overview-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
 * 媒体渲染样式（图片/视频）
 * ==================================================================== */
.product-media {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.product-media-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.product-media-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-media-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.product-media-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-media-caption {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ====================================================================
 * 深入了解区样式
 * ==================================================================== */
.section-deep-dive {
    background: #f8f9fa;
    padding: 4rem 0;
}

/* 深入了解 - 卡片式容器，收窄视觉宽度，居中展示 */
.deep-dive-panel {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 2.5rem 2.5rem 2.25rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* 每组内容之间的间距与分隔 */
.deep-dive-panel .deep-dive-content + .deep-dive-content {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 2.25rem;
}

.deep-dive-content {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    gap: 2rem 2.5rem;
    align-items: center;
}

/* 交错布局：左右反转的版本（大屏时应用） */
.deep-dive-content--reverse {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
}

.deep-dive-content--reverse .deep-dive-media {
    order: 2;
}

.deep-dive-content--reverse .deep-dive-text {
    order: 1;
}

.deep-dive-media {
    width: 100%;
}

.deep-dive-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 0.6rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.deep-dive-desc {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.deep-dive-video-section {
    max-width: 1200px;
    margin: 0 auto;
}

.deep-dive-video-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

@media (max-width: 991px) {
    .deep-dive-panel {
        padding: 2rem 1.75rem 1.75rem;
        margin-bottom: 2.5rem;
    }

    .deep-dive-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .deep-dive-media,
    .deep-dive-content--reverse .deep-dive-media {
        order: 1;
    }
    
    .deep-dive-text,
    .deep-dive-content--reverse .deep-dive-text {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    .deep-dive-panel {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .deep-dive-text h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-list li {
        font-size: 0.95rem;
    }

    .deep-dive-desc {
        font-size: 0.94rem;
    }
}

/* ====================================================================
 * 展示区样式
 * ==================================================================== */
.section-showcase {
    background: #ffffff;
    padding: 3rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* 图片 + 文本垂直排列，便于控制高度 */
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.showcase-card-image {
    width: 100%;
    height: 285px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.showcase-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-card-image {
    transform: scale(1.02);
}

.showcase-card:hover .showcase-card-image img {
    transform: scale(1.1);
}

.showcase-card-body {
    padding: 1.2rem 1.25rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
}

.showcase-card-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
 * 技术参数表格样式
 * ==================================================================== */
.section-specs {
    background: #f8f9fa;
}

.specs-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.specs-category-row {
    background: linear-gradient(135deg, var(--primary-pale, rgba(255, 179, 102, 0.1)), rgba(255, 179, 102, 0.05));
    border-left: 4px solid var(--primary-color, #ff8c42);
}

.specs-category {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.specs-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.specs-row:hover {
    background: #f8f9fa;
    border-left-color: var(--primary-color, #ff8c42);
    transform: translateX(4px);
}

.specs-row:nth-child(even) {
    background: #fafbfc;
}

.specs-row:nth-child(even):hover {
    background: #f0f1f2;
}

.specs-name {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #666;
    width: 40%;
    font-weight: 500;
}

.specs-value {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    color: #333;
    width: 60%;
    text-align: right;
    font-weight: 600;
}

@media (max-width: 768px) {
    .specs-name,
    .specs-value {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .specs-value {
        text-align: left;
    }
}

/* ====================================================================
 * FAQ样式
 * ==================================================================== */
.section-faq {
    background: #ffffff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--primary-color, #ff8c42);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-width: 5px;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.faq-q {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color, #ff8c42);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
    flex: 1;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
}

.faq-a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.faq-answer-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer-text {
        font-size: 0.9375rem;
    }
}

/* ====================================================================
 * 配套产品滑动样式
 * ==================================================================== */
.section-accessories {
    background: #f8f9fa;
}

.accessories-swiper-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 3rem;
}

.accessories-swiper {
    padding-bottom: 3rem;
}

.accessory-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.accessory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #ff8c42);
}

.accessory-card-image {
    width: 100%;
    height: 240px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.accessory-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.accessory-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 相关产品板块：卡片文字左对齐，与列表页产品卡片风格一致 */
.product-detail-related .accessory-card {
    text-align: left;
}

/* 相关产品板块：强制 Swiper slide 等高，确保同行的卡片高度一致 */
.product-detail-related .swiper-slide {
    height: auto;
    align-self: stretch;
}

/* 相关产品板块：描述区域最小高度占位，无描述时也保留空间，避免卡片底部参差不齐 */
.product-detail-related .accessory-card-desc {
    min-height: 2.8em; /* 约两行文字高度：line-height 1.6 × 0.875rem × 2 */
}

.accessory-card-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.accessory-btn {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.accessory-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 179, 102, 0.4);
}

.accessories-swiper .swiper-button-prev,
.accessories-swiper .swiper-button-next {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accessories-swiper .swiper-button-prev::after,
.accessories-swiper .swiper-button-next::after {
    font-size: 20px;
    font-weight: 700;
}

/* 当 Swiper 被锁定（不足一屏）时，隐藏箭头和控制点 */
.accessories-swiper .swiper-button-lock {
    display: none !important;
}

.accessories-swiper .swiper-pagination-lock {
    display: none !important;
}

/* 默认：桌面端不显示控制点，移动端显示 */
.section-accessories .swiper-pagination {
    display: none;
}

.accessories-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
}

.accessories-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .accessories-swiper-wrapper {
        padding: 0 1rem;
    }
    
    .accessories-swiper .swiper-button-prev,
    .accessories-swiper .swiper-button-next {
        display: none !important; /* 手机端强制隐藏箭头 */
    }
    
    /* 手机端显示控制点 */
    .section-accessories .swiper-pagination {
        display: block !important;
    }
    
    .accessory-card-image {
        height: 220px;
    }
}

/* ========================================================================
   参数表折叠/展开（高度 > 800px 时启用）
   ======================================================================== */

/* 折叠容器：默认不限制高度 */
.specs-collapse-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* 折叠态：限高 + 底部渐变遮罩 */
.specs-collapse-wrapper.is-collapsed {
    max-height: 800px;
}
.specs-collapse-wrapper.is-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}

/* 展开/收起按钮行 */
.specs-collapse-toggle-row {
    text-align: center;
    padding-top: 0.5rem;
}
.specs-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 2px solid var(--primary-color, #ff8c42);
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color, #ff8c42);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.specs-more-toggle:hover {
    background: var(--primary-color, #ff8c42);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.35);
}
.specs-more-toggle:focus-visible {
    outline: 3px solid rgba(255, 140, 66, 0.45);
    outline-offset: 2px;
}

/* 展开态：箭头旋转 180°（与 FAQ 一致，依赖 aria-expanded） */
.specs-more-toggle .specs-toggle-icon {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.28s ease;
}
.specs-more-toggle[aria-expanded="true"] .specs-toggle-icon {
    transform: rotate(180deg);
}
