/* ===== 产品详情页 ===== */
/* 详情页 hero 直接复用 .page-hero（与产品列表页一致：蓝渐变背景、相同高度、
   面包屑位于 .page-hero-inner(.container) 顶部），仅不输出 h1 标题与副标题。 */

/* 产品主信息区 */
.product-main-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-gallery .main-image {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px;
    margin-bottom: 12px;
}
.product-gallery .main-image svg {
    width: 100%;
    height: auto;
    border-radius: var(--r-sm);
}
.thumb-wrap {
    position: relative;
}
.thumb-viewport {
    width: 100%;
    overflow: hidden;
}
.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(12, 25, 41, .55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, background .2s ease;
    user-select: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.thumb-prev { left: 6px; }
.thumb-next { right: 6px; }
.thumb-nav:hover { background: rgba(12, 25, 41, .85); }
.thumb-wrap:hover .thumb-nav:not(.hidden),
.thumb-wrap.is-scrolling .thumb-nav:not(.hidden) { opacity: 1; visibility: visible; }
.thumb-nav.hidden { display: none; }
.thumb-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    transition: transform .35s ease;
}
.thumb-item {
    flex: 0 0 calc((100% - 30px) / 4);
    background: #fff;
    border: 2px solid var(--c-line);
    border-radius: var(--r-sm);
    padding: 6px;
    cursor: pointer;
    transition: all .2s;
    aspect-ratio: 10/7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-item:hover {
    border-color: var(--c-primary-l);
}
.thumb-item.active {
    border-color: var(--c-primary);
}
.thumb-item svg {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

/* 产品信息 */
.product-series {
    display: inline-block;
    padding: 5px 0;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    border-radius: var(--r-xl);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 12px;
}
.product-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--c-title);
    margin: 0 0 12px;
    line-height: 1.25;
}
.product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.badge-custom, .badge-core {
    padding: 4px 12px;
    border-radius: var(--r-xl);
    font-size: 11px;
    font-weight: 700;
}
.badge-custom {
    background: #fff4e6;
    color: #e67300;
}
.badge-core {
    background: #eef2ff;
    color: #4f46e5;
}
.product-desc {
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 12px;
}

/* 产品亮点 */
.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}
.hl-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hl-item:hover {
    transform: translateY(-2px);
    border-color: var(--c-primary-l);
    box-shadow: var(--sh-md);
}
.hl-icon {
    font-size: 26px;
    line-height: 1.4;
    flex-shrink: 0;
    margin-top: 1px;
}
.hl-content {
    flex: 1;
    min-width: 0;
}
.hl-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-title);
    margin-bottom: 4px;
}
.hl-text {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.6;
}

/* 快速信息 */
.product-quick-info {
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    padding: 16px 0;
    margin-bottom: 24px;
}
.pqi-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}
.pqi-label {
    color: var(--c-muted);
    font-size: 13px;
}
.pqi-value {
    color: var(--c-title);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* 操作按钮 */
.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.product-actions .btn {
    flex: 1;
    justify-content: center;
}
.product-contact-line {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--c-muted);
}
.product-contact-line .contact-icon,
.contact-info .contact-icon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: middle;
}

/* 粘性锚点导航 */
.detail-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--c-line);
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: sticky;
    top: 73px;
    z-index: 89;
    background: var(--c-bg);
}
.detail-nav::before {
    content: '';
    position: absolute;
    inset: 0 -9999px;
    z-index: -1;
    background: var(--c-bg);
    box-shadow: 0 4px 8px -4px rgba(0,0,0,.12);
    opacity: 0;
    transition: opacity .25s ease;
}
.detail-nav.is-sticky {
    border-bottom-color: transparent;
}
.detail-nav.is-sticky::before {
    opacity: 1;
}
.detail-nav-link {
    display: inline-block;
    padding: 12px 22px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-muted);
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    font-family: inherit;
    white-space: nowrap;
}
.detail-nav-link:hover {
    color: var(--c-primary);
}
.detail-nav-link.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
}

/* 单页区块 */
.section-divider-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 12px;
}
.section-separator {
    border: none;
    border-top: 1px solid var(--c-line);
    margin: 48px 0;
}

/* 视频懒加载占位符 */
.video-wrap.video-lazy {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.video-placeholder {
    text-align: center;
    color: rgba(255,255,255,.7);
    cursor: pointer;
}
.video-play-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    position: relative;
    transition: background .2s;
}
.video-play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.video-placeholder:hover .video-play-icon {
    background: var(--c-primary);
}
.video-placeholder-text {
    font-size: 13px;
    margin: 0;
}
.video-wrap.video-lazy iframe {
    aspect-ratio: 16 / 9;
}
.video-wrap.video-lazy.video-tiktok iframe {
    aspect-ratio: auto;
    height: 739px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 12px;
}
.tab-intro {
    color: var(--c-text);
    font-size: 14px;
    margin: 0 0 24px;
    max-width: 700px;
}

/* Overview */
.overview-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.overview-top p {
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 12px;
}
.overview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.adv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.adv-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.6;
}
.adv-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overview-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 22px;
    margin-bottom: 16px;
}
.ov-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.ov-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ov-icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--c-accent, #165DFF);
}
.ov-card-header h4 {
    margin: 0;
}
.overview-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 10px;
}
.ov-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ov-tags span {
    padding: 4px 10px;
    background: var(--c-bg-alt);
    color: var(--c-text);
    border-radius: var(--r-xl);
    font-size: 11.5px;
    font-weight: 500;
}

/* 参数表 — 统一样式 */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.spec-table-wrap h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-primary);
    display: inline-block;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.spec-table thead th {
    background: #1e3a5f;
    color: #fff;
    padding: 13px 18px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    letter-spacing: .02em;
}
.spec-table thead th:first-child {
    width: 26%;
}
.spec-table tbody tr {
    border-bottom: 1px solid var(--c-line);
}
.spec-table tbody tr:last-child {
    border-bottom: 0;
}
.spec-table tbody td {
    padding: 12px 18px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--c-text);
}
.spec-table tbody td:first-child {
    background: var(--c-bg-alt);
    color: var(--c-title);
    font-weight: 600;
    width: 26%;
    border-right: 1px solid var(--c-line);
    white-space: nowrap;
}
.spec-table tbody tr:hover td {
    background: #f0f5fb;
}
.spec-table tbody tr:hover td:first-child {
    background: #e0eaf5;
}

/* 可选配置 */
.config-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.config-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 20px;
    transition: all .2s;
}
.config-card:hover {
    border-color: var(--c-primary-l);
    box-shadow: var(--sh-sm);
}
.config-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.config-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 12px;
}
.config-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.config-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-text);
    cursor: pointer;
    padding: 4px 0;
}
.config-opt input {
    accent-color: var(--c-primary);
}
.config-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--r-md);
    padding: 20px 24px;
    color: #92400e;
    font-size: 13.5px;
    line-height: 1.6;
    margin-top: 24px;
}
.config-note .btn {
    margin-top: 12px;
}

/* 型号列表 */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.model-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 20px;
    position: relative;
    transition: all .2s;
}
.model-card:hover {
    border-color: var(--c-primary-l);
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}
.model-card.featured {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(26,115,232,.1);
}
.model-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--c-cta);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--r-xl);
    font-size: 10.5px;
    font-weight: 700;
}
.model-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.model-code {
    font-size: 15px;
    font-weight: 800;
    color: var(--c-primary);
    font-family: monospace;
}
.model-type {
    background: var(--c-bg-alt);
    color: var(--c-muted);
    padding: 2px 8px;
    border-radius: var(--r-xl);
    font-size: 10.5px;
    font-weight: 700;
}
.model-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 10px;
    line-height: 1.4;
}
.model-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.model-specs li {
    font-size: 12px;
    color: var(--c-text);
    padding: 3px 0;
    border-bottom: 1px dashed var(--c-line);
}
.model-specs li:last-child {
    border-bottom: 0;
}
.model-card .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 9px;
    font-size: 12.5px;
}

/* 应用场景 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.app-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px;
    transition: all .2s;
}
.app-card:hover {
    border-color: var(--c-primary-l);
    box-shadow: var(--sh-sm);
}
.app-icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.app-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-title);
    margin: 0 0 8px;
}
.app-card p {
    font-size: 13.5px;
    color: var(--c-text);
    line-height: 1.65;
    margin: 0 0 12px;
}
.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.app-tags span {
    padding: 3px 10px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: var(--r-xl);
    font-size: 11px;
    font-weight: 600;
}

/* 焊接样品 */
.samples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.sample-card {
    overflow: hidden;
    transition: all .2s;
}
.sample-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 2;
    position: relative;
}
.sample-img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.sample-img svg {
    width: 100%;
    height: 100%;
}
.sample-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}
.sample-card:hover .sample-img img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

/* 悬停时显示标题覆盖层 */
.sample-title-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.sample-card:hover .sample-title-overlay {
    opacity: 1;
}
.sample-title-overlay span {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

/* 相关产品 */
.related-products {
    padding-top: 0;
}

/* 产品详情响应式 */
@media (max-width: 960px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .overview-cards {
        gap: 16px;
    }
    .config-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .samples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .product-title {
        font-size: 24px;
    }
    .product-highlights {
        gap: 10px;
    }
    .overview-cards {
        grid-template-columns: 1fr;
    }
    .product-actions {
        flex-direction: column;
    }
    .config-grid {
        grid-template-columns: 1fr;
    }
    .models-grid {
        grid-template-columns: 1fr;
    }
    .app-grid {
        grid-template-columns: 1fr;
    }
    .samples-grid {
        grid-template-columns: 1fr;
    }
    .detail-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        margin: 0 -20px 20px;
        padding: 0 20px;
    }
    .detail-nav-link {
        flex-shrink: 0;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ===== 产品详情页：图片放大 + Lightbox ===== */
.main-image {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
}
.main-image .zoom-hint {
    position: absolute;
    top: 36px;
    right: 36px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 16px;
    z-index: 3;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.main-image .zoom-hint svg {
    width: 13px;
    height: 13px;
}
.main-image:hover .zoom-hint { opacity: 1; }

.product-gallery .main-image .gallery-img {
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    width: calc(100% - 48px) !important;
    height: calc(100% - 48px) !important;
    object-fit: contain;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 0;
    border-radius: var(--r-sm);
}
.product-gallery .main-image .gallery-img.active {
    opacity: 1;
    z-index: 1;
}

/* Lightbox 全屏查看 */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}
.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-img-wrapper {
    position: relative;
    cursor: grab;
    transition: transform .1s ease-out;
    z-index: 2;
}
.lightbox-img-wrapper:active {
    cursor: grabbing;
}
.lightbox-img {
    max-width: 98vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-svg {
    display: none;
    max-width: 98vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    color: #fff;
}
.lightbox-caption {
    color: #fff;
    margin-top: 14px;
    font-size: 15px;
    opacity: .85;
}
.lightbox-counter {
    position: absolute;
    bottom: 56px;
    left: 30px;
    transform: none;
    color: #fff;
    font-size: 13px;
    opacity: .7;
    z-index: 3;
}
.lightbox-zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 11px;
    z-index: 3;
    white-space: nowrap;
}
.lightbox-zoom-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 3;
    background: rgba(0,0,0,.45);
    padding: 4px 8px;
    border-radius: 10px;
}
.lightbox-zoom-btn {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.lightbox-zoom-btn:hover {
    background: rgba(255,255,255,.25);
}
.lightbox-zoom-level {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    min-width: 40px;
    text-align: center;
}

/* ===== 产品详情页：See Weld Samples 按钮样式 ===== */
.product-actions .btn-outline {
    border: 2px solid var(--c-accent);
    color: var(--c-accent);
    background: #fff7ed;
    padding: 14px 22px;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: all .25s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(255,149,0,.1);
}
.product-actions .btn-outline:hover {
    background: #ffedd5;
    border-color: #e88500;
    color: var(--c-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,149,0,.2);
}
.product-actions .btn-primary {
    transition: all .25s ease;
}
.product-actions .btn-primary:hover {
    transform: translateY(-2px);
}

/* ===== 产品详情页：Overview 布局 ===== */
.overview-grid {
    gap: 28px;
}
.overview-cards {
    align-items: stretch;
}
.overview-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 26px;
}
.overview-card .ov-icon {
    font-size: 30px;
    margin-bottom: 10px;
}
.overview-card .ov-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.overview-card .ov-icon-svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--c-accent, #165DFF);
}
.overview-card .ov-card-header h4 {
    margin: 0;
}
.overview-card h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: var(--c-text);
}
.ov-tags {
    gap: 8px 10px;
}
.ov-tags span {
    font-size: 14px;
    padding: 8px 18px;
    font-weight: 500;
}

/* ===== 产品详情页：Optional Parts 可选配件 ===== */
.parts-section {
    margin-bottom: 32px;
}
.parts-cat-title {
    font-size: 18px;
    color: var(--c-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-line);
}
.parts-cat-icon {
    font-size: 22px;
}
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.addons-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.part-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}
.part-card:hover {
    border-color: var(--c-primary);
    box-shadow: 0 6px 18px rgba(26,73,125,.12);
    transform: translateY(-2px);
}
.part-card.part-sm {
    padding: 16px;
}
.part-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}
.part-icon {
    font-size: 22px;
    width: 38px;
    height: 38px;
    background: #eaf2fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.part-card h5 {
    font-size: 15px;
    color: var(--c-text);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.part-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}
.part-specs li {
    font-size: 13px;
    color: #5a6a7e;
    padding: 3px 0;
    line-height: 1.5;
}
.part-specs li span {
    color: var(--c-text);
    font-weight: 500;
    margin-right: 3px;
}
.part-desc {
    font-size: 13px;
    color: #5a6a7e;
    line-height: 1.55;
    margin: 0;
}
.part-custom {
    background: #fff7ed;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: auto;
}
.custom-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-accent);
    margin-bottom: 3px;
}
.part-custom p {
    font-size: 12.5px;
    color: #7a5a30;
    margin: 0;
    line-height: 1.5;
}

/* 定制化提示框 */
.custom-note-box {
    background: linear-gradient(135deg, #eaf2fb 0%, #dce9f5 100%);
    border: 1px solid #b8d4ed;
    border-radius: var(--r-md);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}
.custom-note-icon {
    font-size: 40px;
    flex-shrink: 0;
}
.custom-note-content h5 {
    font-size: 17px;
    color: var(--c-text);
    margin: 0 0 6px 0;
}
.custom-note-content p {
    font-size: 14px;
    color: #4a5a6e;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* ===== 产品详情页：Control System 控制系统 ===== */
.control-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px 28px;
    margin-bottom: 32px;
}
.control-hero-img svg {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* CS 轮播 */
.cs-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f4fa;
    aspect-ratio: 10 / 7;
}
.cs-carousel .cs-track {
    display: flex;
    transition: transform .4s ease;
    height: 100%;
}
.cs-carousel .cs-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}
.cs-carousel .cs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cs-prev, .cs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border: none; border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #1a2d45;
    font-size: 22px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    transition: background .25s, box-shadow .25s;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    line-height: 1;
}
.cs-prev:hover, .cs-next:hover { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.cs-prev { left: 8px; }
.cs-next { right: 8px; }
.cs-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.cs-dots button {
    width: 8px; height: 8px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.5); cursor: pointer; padding: 0;
    transition: background .25s, width .25s;
}
.cs-dots button.active { background: #fff; width: 20px; border-radius: 4px; }
.control-hero-info h4 {
    font-size: 20px;
    color: var(--c-text);
    margin: 0 0 4px 0;
}
.control-subtitle {
    font-size: 14px;
    color: var(--c-primary);
    font-weight: 500;
    margin: 0 0 16px 0;
}
.control-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.control-features li {
    font-size: 13.5px;
    color: #5a6a7e;
    padding: 5px 0;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}
.control-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 13px;
}
.control-features li strong {
    color: var(--c-text);
}

/* 行业程序 */
.industry-prog-section {
    margin-bottom: 32px;
}
.prog-intro {
    font-size: 14px;
    color: #5a6a7e;
    margin: -6px 0 16px 0;
}
.prog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.prog-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all .25s ease;
}
.prog-card:hover {
    border-color: var(--c-primary);
    box-shadow: 0 6px 18px rgba(26,73,125,.1);
    transform: translateY(-2px);
}
.prog-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}
.prog-icon {
    font-size: 22px;
    width: 38px;
    height: 38px;
    background: #eaf2fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prog-card h5 {
    font-size: 15px;
    color: var(--c-text);
    margin: 0;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.prog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 7px;
    margin-bottom: 10px;
}
.prog-tags span {
    font-size: 11px;
    padding: 3px 8px;
    background: #eaf2fb;
    color: var(--c-primary);
    border-radius: 4px;
    font-weight: 500;
}
.prog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prog-list li {
    font-size: 12.5px;
    color: #5a6a7e;
    padding: 3px 0;
    line-height: 1.5;
}

/* 定制开发框 */
.custom-dev-box {
    background: linear-gradient(135deg, #eaf2fb 0%, #dce9f5 100%);
    border: 1px solid #b8d4ed;
    border-radius: var(--r-md);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.custom-dev-icon {
    font-size: 40px;
    flex-shrink: 0;
}
.custom-dev-box h5 {
    font-size: 17px;
    color: var(--c-text);
    margin: 0 0 6px 0;
}
.custom-dev-box p {
    font-size: 14px;
    color: #4a5a6e;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* ===== 产品详情页：Service & Support 服务支持 ===== */
.service-section {
    margin-bottom: 32px;
}
.service-cat-title {
    font-size: 18px;
    color: var(--c-text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-line);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all .25s ease;
    position: relative;
}
.service-card:hover {
    border-color: var(--c-primary);
    box-shadow: 0 6px 18px rgba(26,73,125,.1);
    transform: translateY(-2px);
}
.service-card.warranty {
    border-color: var(--c-accent);
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}
.service-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.service-card h5 {
    font-size: 15px;
    color: var(--c-text);
    margin: 0 0 8px 0;
}
.service-card p {
    font-size: 13px;
    color: #5a6a7e;
    line-height: 1.55;
    margin: 0;
}
.warranty-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--c-accent);
    color: #fff;
    border-radius: 4px;
    letter-spacing: .5px;
}

/* 服务流程 */
.service-process {
    margin-bottom: 32px;
}
.process-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px 20px;
    overflow-x: auto;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    flex: 1;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}
.step-content h5 {
    font-size: 13px;
    color: var(--c-text);
    margin: 0 0 4px 0;
}
.step-content p {
    font-size: 11.5px;
    color: #5a6a7e;
    line-height: 1.45;
    margin: 0;
}
.process-line {
    flex: 0 0 24px;
    height: 2px;
    background: var(--c-line);
    align-self: center;
    margin-top: -22px;
}

/* 服务 CTA */
.service-cta {
    background: linear-gradient(135deg, #eaf2fb 0%, #dce9f5 100%);
    border: 1px solid #b8d4ed;
    border-radius: var(--r-md);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--c-text);
}
.service-cta-icon {
    font-size: 40px;
    flex-shrink: 0;
}
.service-cta-content {
    flex: 1;
    text-align: left;
}
.service-cta h4 {
    font-size: 17px;
    margin: 0 0 6px 0;
    color: var(--c-text);
}
.service-cta p {
    font-size: 14px;
    color: #4a5a6e;
    margin: 0 0 12px 0;
    opacity: 1;
}

/* 响应式：新增 Tab 内容 */
@media (max-width: 900px) {
    .control-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .custom-note-box,
    .custom-dev-box,
    .service-cta {
        flex-direction: column;
        text-align: center;
    }
    .service-cta-content {
        text-align: center;
    }
    .process-steps {
        flex-direction: column;
        gap: 12px;
    }
    .process-line {
        width: 2px;
        height: 20px;
        flex: 0 0 20px;
        margin: 0;
        align-self: center;
    }
}
@media (max-width: 600px) {
    .parts-grid,
    .service-grid,
    .prog-cards {
        grid-template-columns: 1fr;
    }
    .control-hero,
    .custom-note-box,
    .custom-dev-box,
    .service-cta {
        padding: 20px;
    }
}

/* 定制化 CTA 区块 */
.custom-cta {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 48px;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--c-line);
}
.custom-badge {
    display: inline-block;
    padding: 5px 14px;
    background: #fff4e6;
    color: #e67300;
    border-radius: var(--r-xl);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.custom-cta-left h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-title);
    margin: 0 0 12px;
    line-height: 1.25;
}
.custom-cta-left p {
    color: var(--c-text);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 20px;
}
.custom-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
}
.custom-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-text);
    font-weight: 600;
}
.cf-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.custom-cta-right .custom-box {
    background: linear-gradient(135deg, var(--c-primary-d), var(--c-primary));
    color: #fff;
    padding: 32px 28px;
    border-radius: var(--r-md);
    text-align: center;
}
.custom-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}
.custom-box p {
    font-size: 13.5px;
    line-height: 1.6;
    opacity: .92;
    margin: 0 0 20px;
}
.custom-box .btn-large {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 14.5px;
}

.view-all { text-align: center; margin-top: 28px; }
.view-all .btn { padding: 11px 26px; font-size: 14px; }


/* ===== 产品详情页：视频 ===== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start; /* 避免 TikTok 竖屏视频把同行 YouTube 视频拉伸 */
}
.video-wrap {
    position: relative;
    background: #000;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--c-line);
}
.video-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* 视频区域分区标题 */
.video-section {
    margin-bottom: 36px;
}
.video-section:last-child {
    margin-bottom: 0;
}
.video-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-line);
}

/* TikTok 视频网格：竖屏卡片适配 */
.video-grid-tiktok {
    justify-items: center;
}

/* TikTok 竖屏视频覆盖样式 */
.video-wrap.video-tiktok {
    background: #fff;
    border: none;
    max-width: 300px;   /* 匹配 TikTok 嵌入实际内容宽度 */
    margin: 0 auto;
    /** 裁剪掉 embed widget 底部多余内容（推荐视频、卡片等），只保留播放器+基本信息 */
    max-height: 739px;
}
.video-wrap.video-tiktok iframe {
    aspect-ratio: auto;
    display: block;
    width: 100%;
    height: 739px;      /* TikTok 嵌入实际内容高度 */
}
@media (max-width: 768px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-wrap.video-tiktok { max-width: 300px; max-height: 739px; }
}





