/* ========== 产品详情页专属样式 ========== */
/* 注意：过渡模块 .product-detail-banner 已在 common.css 中定义，此处不重复 */

.product-detail {
    padding: 50px 0;
}
.detail-top {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.product-media {
    flex: 0 0 400px;
    max-width: 400px;
    width: 100%;
}
.main-media {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    position: relative;
    aspect-ratio: 1 / 1;
}
.main-media img, .main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-video-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}
.play-video-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-left: 2px;
}
.play-video-icon:hover {
    background: #1a5aaa;
    transform: scale(1.05);
}
.media-thumbs {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.media-thumbs::-webkit-scrollbar {
    height: 6px;
}
.media-thumbs::-webkit-scrollbar-track {
    background: #eef2f8;
    border-radius: 4px;
}
.media-thumbs::-webkit-scrollbar-thumb {
    background: #1a5aaa;
    border-radius: 4px;
}
.thumb {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: #1a5aaa; }

.product-info {
    flex: 1;
    min-width: 280px;
}
.product-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.product-brief {
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}
.info-table {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f8;
}
.info-label {
    width: 100px;
    font-weight: 600;
    color: #1f2a3e;
}
.info-value { color: #5a6e8a; }
.action-btns {
    display: flex;
    gap: 16px;
}
.btn-inquiry, .btn-quote {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}
.btn-inquiry {
    background: #1a5aaa;
    color: #fff;
}
.btn-inquiry:hover { background: #0e4a8a; transform: translateY(-2px); }
.btn-quote {
    background: transparent;
    border: 1px solid #1a5aaa;
    color: #1a5aaa;
}
.btn-quote:hover { background: #1a5aaa; color: #fff; }

/* 手风琴模块 */
.product-details-accordion {
    margin: 40px 0;
}
.accordion-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}
.accordion-header:hover { background: #f8fafc; }
.accordion-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.accordion-header h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #1a5aaa;
    border-radius: 2px;
    display: inline-block;
}
.accordion-icon { font-size: 24px; color: #1a5aaa; transition: transform 0.2s; }
.accordion-content {
    display: none;
    padding: 20px 24px 24px 24px;
    border-top: 1px solid #eef2f8;
}
.accordion-item.active .accordion-content { display: block; }

.param-table { width: 100%; border-collapse: collapse; }
.param-table th, .param-table td { padding: 12px 8px; text-align: left; border-bottom: 1px solid #eef2f8; }
.param-table th { width: 30%; font-weight: 600; color: #1f2a3e; }

.faq { margin-bottom: 20px; }
.faq-q { font-weight: 600; color: #1a5aaa; margin-bottom: 6px; }
.faq-a { font-size: 14px; color: #4a5568; }

.download-links { display: flex; flex-wrap: wrap; gap: 16px; }
.download-links a { background: #f0f4f9; padding: 8px 20px; border-radius: 40px; text-decoration: none; font-size: 14px; color: #1a5aaa; transition: 0.2s; }
.download-links a:hover { background: #1a5aaa; color: #fff; }

/* 上下篇导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}
.nav-prev, .nav-next {
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    text-decoration: none;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-prev:hover, .nav-next:hover { background: #eef2f8; }
.nav-label { font-size: 13px; color: #8a9aaa; margin-bottom: 4px; display: block; }
.nav-title { font-size: 15px; font-weight: 600; color: #1f2a3e; }

/* 相关产品 */
.related-products { margin-top: 40px; }
.desc-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.desc-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #1a5aaa;
    border-radius: 2px;
    display: inline-block;
}
.related-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; }
.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.related-card:hover { transform: translateY(-4px); }
.related-card .related-img { aspect-ratio: 1 / 1; width: 100%; overflow: hidden; }
.related-card .related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-card .info { padding: 12px; text-align: center; }
.related-card .info a { font-size: 15px; font-weight: 500; color: #1f2a3e; text-decoration: none; transition: color 0.2s; }
.related-card .info a:hover { color: #1a5aaa; }

/* 留言弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    width: 480px;
    max-width: 90%;
    border-radius: 24px;
    padding: 25px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}
.modal .form-group { margin-bottom: 15px; }
.modal input, .modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
}
.modal button {
    background: #1a5aaa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
}

/* 响应式 */
@media (max-width: 768px) {
    .product-media { flex: 0 0 100%; max-width: 100%; }
    .thumb { flex: 0 0 70px; height: 70px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 产品详情页面包屑链接悬停保持白色（覆盖全局蓝色） */
.product-detail-banner .breadcrumb a:hover {
    color: #fff !important;
    text-decoration: underline;
}