/* ==================== 产品详情页（pdt- 前缀） ==================== */
.pdt-page {
    --pdt-theme: #c80a14;
    --pdt-btn: linear-gradient(to right, #ec2c34, #c80a14);
    --pdt-white-img: brightness(0) invert(1);
    --pdt-f42: 42px;
    --pdt-f32: 32px;
    --pdt-f28: 28px;
    --pdt-f22: 22px;
    --pdt-f18: 18px;
    background: #f7f8f9;
}

.pdt-page * { box-sizing: border-box; }
.pdt-page ul { list-style: none; margin: 0; padding: 0; }
.pdt-page a { text-decoration: none; color: inherit; }
.pdt-page img { max-width: 100%; display: block; }

/* ---------- Banner ---------- */
.pdt-banner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 33vw;
    min-height: 320px;
    max-height: 630px;
    background: url(../image/pdt-banner.jpg) center no-repeat;
    background-size: cover;
    background-color: #1a1a2e;
}

.pdt-banner::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(25px);
    transform: scale(1.1);
    z-index: 0;
}

.pdt-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.5) 100%);
    z-index: 1;
}

.pdt-banner-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.pdt-banner-text {
    padding-top: 6%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pdt-banner-text h5 {
    color: #fff;
    font-size: var(--pdt-f42);
    line-height: 1.5;
    margin: 0 0 10px;
}

.pdt-banner-text p {
    font-size: var(--pdt-f32);
    line-height: 1.5;
    color: #fff;
    max-width: 710px;
    margin: 0;
}

/* 面包屑 */
.pdt-crumbs {
    position: absolute;
    bottom: 40px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c9c9c9;
    font-size: 16px;
}

.pdt-crumbs * { color: #c9c9c9; }
.pdt-crumbs i { font-size: .6em; font-style: normal; color: #c9c9c9; }
.pdt-crumbs .active, .pdt-crumbs span.active { color: #fff; }

/* ---------- 两栏主体 ---------- */
.pdt-main {
    padding: 50px 0 0;
}

.pdt-ssl {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    z-index: 20;
    background: #fff;
    border-radius: 10px;
    padding: 0 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.pdt-ssl span{
    text-wrap-mode: inherit !important;
}
/* 左栏（对齐 case.html 的 69% / 28% 分布） */
.pdt-left {
    width: 69%;
    min-width: 0;
    border-right: 1px solid #ececec;
    padding: 20px 20px 20px 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pdt-left p,
.pdt-left h2,
.pdt-left div {
    max-width: 100%;
    overflow-wrap: break-word;
}

.pdt-left img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.pdt-left h2 {
    font-size: 24px;
    line-height: 1.8;
    margin: 20px 0 10px;
}

.pdt-left h2 strong { font-weight: bold; }

.pdt-left p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin: 6px 0;
}

.pdt-left .bzdiv {
    margin-top: 26px;
    padding: 16px 20px;
    background: #fafafa;
    border-left: 3px solid var(--pdt-theme);
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}

/* 按钮组 */
.pdt-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 50px;
}

.pdt-btn-group a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1;
    background: var(--pdt-btn);
    background-size: cover;
    color: #fff !important;
    transition: transform .3s, box-shadow .3s;
    
}

.pdt-btn-group a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200,10,20,.35);
}

.pdt-btn-group a i { font-size: 22px; }

/* 案例列表标题 */
.pdt-case-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.pdt-case-head h5 {
    font-size: 26px;
    color: #000;
    font-weight: bold;
    margin: 0;
}

.pdt-case-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999 !important;
    transition: color .3s;
}

.pdt-case-head a:hover { color: var(--pdt-theme); }
.pdt-case-head a i { font-size: 14px; transform: rotate(180deg); }

/* 案例网格：一行 2 张卡片 */
.pdt-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pdt-case-grid li {
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.pdt-case-grid li > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: all .5s;
}

.pdt-case-grid li > a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0);
    transform: scale(1);
    z-index: 0;
    transition: filter 1s, transform 1s;
}

.pdt-case-grid li > a:hover::before {
    filter: blur(6px);
    transform: scale(1.05);
}

.pdt-case-grid .pdt-case-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    opacity: .4;
    transition: opacity .5s;
}

.pdt-case-grid li > a:hover .pdt-case-shade { opacity: .55; }

.pdt-case-cont {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .5s;
}

.pdt-case-logo img {
    object-fit: contain;
    height: 30px;
    width: auto;
    max-width: 100%;
    filter: var(--pdt-white-img);
    transition: height .5s;
}

.pdt-case-grid li > a:hover .pdt-case-logo img { height: 26px; }

.pdt-case-info {
    color: #fff;
    font-size: 15px;
}

.pdt-case-info p {
    opacity: 0;
    margin: 0 0 4px;
    font-size: 14px;
    transition: opacity .5s;
}

.pdt-case-info h5 {
    font-size: 20px;
    margin: 0;
    color: #fff;
    transition: transform .5s;
}

.pdt-case-grid li > a:hover .pdt-case-info p { opacity: 1; }
.pdt-case-grid li > a:hover .pdt-case-info h5 { transform: translateX(6px); }

/* ---------- 右栏：相关服务 ---------- */
.pdt-right {
    width: 28%;
    flex: none;
    position: relative;
    background: #fff;
}

.pdt-right-fix {
    position: sticky;
    top: 100px;
    z-index: 20;
    background: #fff;
    padding: 22px;
}

.pdt-right-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.pdt-right-title h5 {
    font-size: 30px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.pdt-right-title h5 span { color: var(--pdt-theme); }

.pdt-right-arrows {
    display: flex;
    gap: 6px;
}

.pdt-right-arrows span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    transition: all .3s;
}

.pdt-right-arrows span:hover { background: var(--pdt-theme); }
.pdt-right-arrows span:hover i { border-color: #fff; }

.pdt-right-arrows span i {
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transition: border-color .3s;
}

.pdt-right-arrows .pdt-rs-next i { transform: rotate(-45deg); }
.pdt-right-arrows .pdt-rs-prev i { transform: rotate(135deg); }

.pdt-related-swiper { overflow: hidden; }

/* 右侧相关服务列表：单列垂直排列 */
.pdt-related-swiper .swiper-slide ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 30px;
}

.pdt-related-swiper li > a {
   display: flex;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all .3s;
    gap: 10px;
    background: #eee;
    flex-direction: column;
}

.pdt-related-swiper li > a:hover {
    border-color: var(--pdt-theme);
    background: #fff8f8;
    transform: translateY(-2px);
}

.pdt-related-swiper li img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(.3);
}

.pdt-related-swiper li > a:hover img { filter: none; }

.pdt-related-swiper li div {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.pdt-related-swiper li p {
    font-size: 16px;
    color: #333;
    margin: 2px 0 0;
    line-height: 1.4;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .pdt-ssl { gap: 20px; }
    .pdt-right { width: 28%; }
    .pdt-left { width: 69%; }
    .pdt-case-grid li { height: 280px; }
}

@media (max-width: 992px) {
    .pdt-banner { min-height: 320px; aspect-ratio: auto; height: 55vw; max-height: 420px; }
    .pdt-banner-text h5 { font-size: 30px; }
    .pdt-banner-text p { font-size: 22px; max-width: 90%; }

    .pdt-main { padding: 30px 0; }
    .pdt-ssl { flex-direction: column; }
    .pdt-left, .pdt-right { width: 100%; }
    .pdt-right-fix { position: static; }

    .pdt-case-grid { grid-template-columns: repeat(2, 1fr); }
    .pdt-case-grid li { height: 240px; }
}

@media (max-width: 640px) {
    .pdt-banner { height: 65vw; min-height: 280px; }
    .pdt-banner-text h5 { font-size: 22px; }
    .pdt-banner-text p { font-size: 16px; max-width: 100%; }
    .pdt-crumbs { display: none; }

    .pdt-left h2 { font-size: 20px; }
    .pdt-left p { font-size: 14px; line-height: 1.8; }
    .pdt-btn-group { gap: 10px; }
    .pdt-btn-group a { height: 40px; padding: 0 16px; font-size: 14px; }

    .pdt-case-head h5 { font-size: 18px; }
    .pdt-case-grid { gap: 10px; }
    .pdt-case-grid li { height: 200px; border-radius: 6px; }
    .pdt-case-info h5 { font-size: 16px; }
    .pdt-case-logo img { height: 22px; }

    .pdt-related-swiper .swiper-slide ul { gap: 8px; }
    .pdt-related-swiper li > a { padding: 10px 8px; }
    .pdt-related-swiper li img { width: 30px; height: 30px; }
    .pdt-related-swiper li div { font-size: 12px; }
    .pdt-related-swiper li p { font-size: 11px; }
}