/* 主容器 */

.video-section {
    background: #eeeeee;
    padding-top: 40px;
    padding-bottom: 40px;
}
.video-section video {
    width: clamp(300px, 40%, 1200px);
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
.samples-section {
    background: #ffffff;
    padding-top: 40px;
    padding-bottom: 40px;
}
.features-section {
    background: #eeeeee;
    padding-top: 40px;
    padding-bottom: 40px;
}
.specifications-section {
    background: #ffffff;
    padding-top: 40px;
    padding-bottom: 40px;
}
.video-section table {
    width: 100%;
    margin: 0 auto;
}
.video-section table td {
    width: 33%;
    text-align: left;
    padding: 10px;
    vertical-align: top;
}
.video-section img {
    max-width: 100%;
}
.features-section table {
    width: 100%;
    margin: 0 auto;
}
.features-section table td {
    width: 33%;
    text-align: left;
    font-size: 14px;
    padding: 10px;
    vertical-align: top;
}
.features-section img {
    max-width: 100%;
}
.features-section table tr:first-child {}
/* 通用区块标题 */

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}
/* 产品创新视频区域 */

.video-container {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}
/* 样品展示区域 */

.samples-grid {
    max-width: 100%;
    margin: 0 auto;
}
/* 产品功能区域 */

.features-grid {
    max-width: 100%;
    margin: 0 auto;
}
/* 产品规格表区域 */

.spec-table-container {
    max-width: 100%;
    margin: 0 auto;
}
.spec-table-container img {
    max-width: 100%;
}
/* 响应式设计 */

@media (max-width: 1024px) {
    .product-detail-container {
        padding: 15px;
    }
    .sample-row, .feature-row {
        flex-wrap: wrap;
        gap: 15px;
    }
    .sample-item {
        flex: 0 0 calc(50% - 7.5px);
    }
    .feature-item {
        flex: 0 0 calc(50% - 7.5px);
    }
    .video-placeholder {
        height: 350px;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .video-section, .samples-section, .features-section, .specifications-section {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    .sample-row, .feature-row {
        flex-direction: column;
        align-items: center;
    }
    .sample-item, .feature-item {
        flex: none;
        width: 100%;
        max-width: 350px;
    }
    .video-placeholder {
        height: 250px;
    }
    .spec-table {
        font-size: 12px;
    }
    .spec-table th, .spec-table td {
        padding: 8px 10px;
    }
    .spec-label {
        width: 100px;
        min-width: 100px;
    }
}
@media (max-width: 480px) {
    .product-detail-container {
        padding: 10px;
    }
    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .video-section, .samples-section, .features-section, .specifications-section {
        padding: 10px 10px;
        margin-bottom: 10px;
    }
    .video-placeholder {
        height: 200px;
    }
    .sample-item img, .feature-item img {
        height: 150px;
    }
    .feature-description {
        padding: 10px 15px;
        font-size: 13px;
    }
    .spec-table {
        font-size: 11px;
    }
    .spec-table th, .spec-table td {
        padding: 6px 8px;
    }
    .spec-label {
        width: 80px;
        min-width: 80px;
    }
    .table-header {
        font-size: 12px;
    }
    .samples-section table td {
        width: 33%;
        text-align: left;
        padding: 5px;
        vertical-align: top;
    }
    .samples-section img {
        max-width: 100%;
    }
    .features-section table {
        width: 100%;
        margin: 0 auto;
    }
    .features-section table td {
        width: 33%;
        text-align: left;
        font-size: 12px;
        padding: 5px;
        vertical-align: top;
    }
    .features-section img {
        max-width: 100%;
    }
}
/* 打印样式 */

@media print {
    .product-detail-container {
        max-width: none;
        padding: 0;
    }
    .video-section {
        display: none;
    }
    .sample-row, .feature-row {
        display: flex;
        flex-wrap: wrap;
        page-break-inside: avoid;
    }
    .sample-item, .feature-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    .spec-table {
        font-size: 10px;
    }
    .spec-table th, .spec-table td {
        padding: 4px 6px;
    }
}
/* 无障碍支持 */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* 高对比度模式 */

@media (prefers-contrast: high) {
    .sample-item, .feature-item {
        border: 2px solid #000;
    }
    .spec-table th, .spec-table td {
        border: 2px solid #000;
    }
    .video-placeholder {
        border: 2px solid #fff;
    }
}