@charset "UTF-8";

/* ==========================================================================
   产品详情页专用样式（RV减速器 / HC-Rb关节模组）
   说明：复用 globle.css、style.css 全局样式
   ========================================================================== */

/* 顶部产品 Banner（浅灰金属渐变 + 大字水印 + 参数 + 按钮 + 右侧产品图） */
.pd-banner {
    position: relative;
    width: 100%;
    background: #f8f9fb;
    overflow: hidden;
}

.pd-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 800px;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.pd-banner-content-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.pd-banner-text {
    flex: 1;
    color: #fff;
    max-width: 650px;
    position: relative;
    z-index: 3;
}

/* 标题图片样式 */
.pd-banner-title-img-wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.pd-banner-title-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

/* 参数区 */
.pd-banner-specs {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
    align-items: flex-end;
}

.pd-spec-item {
    position: relative;
}

.pd-spec-item .pd-spec-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.pd-spec-item .pd-spec-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

/* 协议图标 */
.pd-banner-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.pd-banner-logos img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* 操作按钮 */
.pd-banner-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pd-btn {
    display: inline-block;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pd-btn.pd-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pd-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pd-btn.pd-btn-primary:hover {
    background: #0a3a82;
    color: #fff;
    border-color: #0a3a82;
}

/* 右侧产品大图 */
.pd-banner-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.pd-banner-img img {
    max-width: 70%;
    height: auto;
}

/* 面包屑 */
.pd-breadcrumb {
    background: #f5f5f5;
    border: none;
}

.pd-breadcrumb-inner {
    padding: 12px 20px;
    font-size: 13px;
    color: #999;
}

/* 主体背景 */
.pd-main-bg {
    background: #f5f5f5;
    padding: 20px 0 60px;
}

/* 卡片容器 */
.pd-card {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.pd-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px;
    text-align: center;
    position: relative;
}

/* 爆炸图特征图标 */
.pd-feature-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pd-feature-icon-item {
    text-align: center;
    width: 140px;
}

.pd-feature-icon-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* 紧凑结构对比 */
.pd-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pd-compact-item {
    text-align: center;
}

.pd-compact-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.pd-compact-item .model-spec {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.pd-compact-item img {
    max-width: 100%;
    height: auto;
}

.pd-compare-box {
    margin-top: 60px;
    text-align: center;
}

.pd-compare-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.pd-compare-item {
    flex: 1;
    max-width: 400px;
}

.pd-compare-arrow {
    width: 60px;
    height: auto;
}

.pd-compare-labels {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.pd-compare-label {
    padding: 8px 24px;
    background: #f0f2f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.pd-compare-label.active {
    background: var(--primary-color);
    color: #fff;
}

.pd-compare-arrow-css {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.pd-compare-arrow-css span {
    letter-spacing: -10px;
    opacity: 0.6;
}

/* 功能点双栏 */
.pd-feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.pd-feature-split.pd-feature-reverse {
    direction: ltr; /* 默认重置 */
}

.pd-feature-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.pd-feature-content .pd-desc-text {
    color: #666;
    margin: 0;
}

.pd-feature-image {
    text-align: center;
}

.pd-feature-image img {
    max-width: 100%;
    height: auto;
}

/* 选型表底部 */
.pd-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.pd-btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.pd-btn-back:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 表格容器（额定值表 / 参数表） */
.pd-table-wrap {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
}

.pd-table-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 外形尺寸图轮播 */
.pd-slider {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    position: relative;
}

.pd-slider-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pd-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.pd-slide {
    flex: 0 0 100%;
    text-align: center;
}

.pd-slide-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
}

.pd-slide img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* 轮播按钮 */
.pd-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d6dae0;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.pd-slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pd-slider-prev { left: 12px; }
.pd-slider-next { right: 12px; }

/* 返回按钮 */
.pd-back {
    text-align: right;
    margin-top: 20px;
}

.pd-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: 1px solid #cfd3d8;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    background: #fff;
}

.pd-back a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================================================
   HC-Rb 关节模组专用区块
   ========================================================================== */

/* 爆炸图 / 整体展示区域 */
.pd-explode {
    background: #fff;
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pd-explode-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.pd-explode img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 双图对比（紧凑结构 Rb70/Rb110） */
.pd-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pd-compare-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pd-compare-card h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin: 0 0 20px;
    font-weight: 700;
}

.pd-compare-card img {
    max-width: 100%;
    height: auto;
}

/* 通用文字描述 */
.pd-desc-text {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin: 16px 0 0;
}

/* 协议 + 控制器 双栏 */
.pd-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.pd-feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pd-feature-card h3 {
    font-size: 22px;
    color: #222;
    margin: 0 0 16px;
}

.pd-feature-logos {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pd-feature-logos img {
    max-height: 36px;
    width: auto;
}

.pd-feature-card .pd-feature-img {
    text-align: center;
    margin-bottom: 16px;
}

.pd-feature-card .pd-feature-img img {
    max-width: 60%;
    height: auto;
}

/* 响应式 */
@media (max-width: 768px) {
    .pd-banner-inner {
        flex-direction: column;
        min-height: auto;
        padding: 60px 20px;
        gap: 20px;
    }

    .pd-banner-title-img-wrap {
        margin-bottom: 30px;
    }

    .pd-banner-title-img {
        max-width: 100%;
    }

    .pd-banner-content-box {
        flex-direction: column;
        margin-top: 20px;
        gap: 40px;
    }

    .pd-banner-text {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pd-banner-specs {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .pd-spec-item {
        padding-left: 0;
    }

    .pd-spec-item:not(:first-child)::before {
        display: none;
    }

    .pd-spec-item .pd-spec-value {
        font-size: 20px;
    }

    .pd-banner-btns {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .pd-btn {
        width: 100%;
        padding: 12px 0;
    }

    .pd-banner-img {
        max-width: 280px;
        justify-content: center;
        margin: 0 auto;
    }

    .pd-banner-title {
        font-size: 28px;
        letter-spacing: 2px;
        text-align: center;
    }

    .pd-section { padding: 40px 0; }

    .pd-section-title { font-size: 22px; }

    .pd-card {
        padding: 30px 20px;
    }

    .pd-compare-grid,
    .pd-feature-row,
    .pd-feature-split,
    .pd-compact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pd-feature-split {
        margin-bottom: 50px;
    }

    .pd-feature-split div {
        text-align: left !important;
        direction: ltr !important;
    }

    .pd-feature-image {
        order: -1; /* 图片排在文字上方 */
        text-align: center !important;
    }

    .pd-feature-image img {
        max-width: 80% !important;
    }

    .pd-compare-flex {
        flex-direction: column;
        gap: 20px;
    }

    .pd-compare-arrow-css {
        transform: rotate(90deg);
        padding: 10px 0;
    }

    .pd-compare-labels {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .pd-slider-btn { 
        width: 36px; 
        height: 36px; 
        font-size: 18px; 
    }
}
