/* ===== 产品详情页样式 ===== */
.product-detail-page {    
    color: #333;
    line-height: 1.6;
    padding: 20px 0;
    max-width: 1366px;
    margin: 0 auto;
}

.display-none{
    display: none;
}

/* 第一行：媒体 + 基本信息 */
.pd-row-1 {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.pd-media {
    flex: 3;
    min-width: 300px;
    background: #fff;
}

.pd-media img,
.pd-media video,
.pd-media .video-embed {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pd-media video {
    background: #000;
}
.media-gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.media-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 2px solid #eee;
}

.media-slide img,
.media-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    z-index: 10;
}

.media-nav:hover {
    background: rgba(0,0,0,0.8);
}

.media-nav.prev {
    left: 10px;
}

.media-nav.next {
    right: 10px;
}

.media-thumbnails {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    border-radius: 0 0 10px 10px;
}

.media-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.media-thumbnails img{
    width: 90px;

}
.media-thumbnails::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.thumb.active {
    border: 2px solid #0073aa;
    opacity: 1 !important;
}
.pd-basic-info {
    flex: 2;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.pd-basic-info h2 {
    margin: 0 0 12px;
    font-size: 1.5rem!important;
    color: #111;
    font-weight: 600;
}

.pd-basic-info .pd-model {
    color: #666;
    font-size: 0.95em;
    margin: 6px 0;
}

.pd-basic-info table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
}

.pd-basic-info th {
    text-align: left;
    padding: 6px 0;
    width: 130px;
    color: #555;
    font-weight: 600;
}

.pd-basic-info td {
    padding: 6px 0;
}

.pd-basic-info .tags span {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin: 2px 4px 2px 0;
}


/* 第二行：两列布局 */
.pd-row-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.pd-left {
    /* 左侧内容 */
}

.pd-right {
    position: sticky;
    top: 80px;  
}

/* 通用区块 */
.pd-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 20px 0 20px;
    margin-bottom: 24px;
}

.pd-section h3 {
    margin: 0 0 16px;
    font-size: 1.3em!important;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
    color: #111;
}

/* 参数表 */
.pd-params {
    overflow-x: auto; /* 允许横向滚动 */
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-bottom: 24px;
}

.pd-params table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.pd-params th,
.pd-params td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.pd-params th {
    width: 180px;
    font-weight: 600;
    color: #333;
}

/* 认证、文档、Q&A 列表 */
.pd-certifications ul,
.pd-documents ul,
.pd-faq ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-certifications,
.pd-documents{

}    
.pd-certifications li,
.pd-documents li {
    display: grid;
    grid-template-columns: 25% 30% 30% 15%;
    gap:10px;    
    border-bottom: 1px dashed #ddd;
    padding: 8px 10px;
}

.pd-certifications li:hover{
    background: #ddd;
    border-radius: 4px;
}

.pd-documents li:hover{
    background: #ddd;
    border-radius: 4px;
}

.pd-certifications li:last-child,
.pd-documents li:last-child {
    border-bottom: none;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.pd-certifications strong,
.pd-documents strong {
    display: block;
    margin-bottom: 4px;
    color: #111;
}

.pd-certifications span,
.pd-documents span {
    color: #666;
    font-size: 0.95em;
}

.pd-certifications a,
.pd-documents a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.pd-certifications a:hover,
.pd-documents a:hover {
    text-decoration: none;
}

.pd-certifications p,
.pd-documents p {
    margin-bottom: 0!important;
}

/* Q&A */
.pd-faq .faq-item {
    margin-bottom: 20px;
}

.pd-faq .faq-question {
    margin: 0 0 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: #111;
}

.pd-faq .faq-answer {
    padding: 10px;
    background: #f9f9f9;
    border-left: 3px solid #0073aa;
    border-radius: 4px;
}

/* 供应商信息 */
.pd-supplier-intro {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 16px;
}
.pd-supplier-attrs {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    border-top: 1px dotted #eee;    
}
.pd-supplier-level {
    color: #007cba;
}
.pd-supplier-attrs-inner{
    background: #eee;
    border-radius:4px;
    padding: 10px;

}
.pd-supplier-attrs dt {
    font-weight: 600;
    color: #333;
}

.pd-supplier-attrs dd {
    color: #666;
}

.pd-supplier-logo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
}

.pd-supplier-logo-container {
    width: 30%;
    padding: 0;
    border: 1px solid #007cba;
    border-radius: 10px;
}

.pd-supplier-logo img {
    max-width: 100px;
    margin-bottom: 12px;
    border-radius: 10px;
}
.pd-supplier-logo-right{
    display: flex;
    flex-direction: column;
    width: 70%;
}
.pd-supplier-name {
    margin: 0!important;
    font-size: 1.2rem!important;
    border-bottom: none!important;

}
.pd-supplier-links{
    margin-bottom: 20px;
}
/* 响应式 */
@media (max-width: 992px) {
    .pd-row-1, .pd-row-2 {
        flex-direction: column;
        margin: 20px
    }
    .pd-row-2 {
        grid-template-columns: 1fr;
    }
    .pd-certifications li,
    .pd-documents li {
        display: block;
    }

    .media-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    }
}

@media (max-width: 480px) {
    .media-slide {
        width: 100%;
        height: auto!important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}