/* 用网格代替定高浮动布局：参数数量增加时正文自然增高，详情不会被覆盖。 */
.product-detail { max-width: 1440px; padding: 0 32px 40px; }
.product-detail .con-t {
    display: grid;
    clear: both;
    width: 100%;
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    padding: 32px 0;
}
.product-detail .con-t .con-t-m,
.product-detail .con-t .con-t-r {
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.product-detail #middleWrap { position: relative; height: 500px; background: #f6f8fa; border-radius: 16px; }
.product-detail #middleImg { height: 500px; object-fit: contain; }
.product-detail #smallWrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-detail #smallWrap img { float: none; width: 76px; height: 76px; object-fit: contain; border: 1px solid #dde5ed; border-radius: 8px; cursor: pointer; }
.product-detail #smallWrap img:hover { border-color: #4da6ff; }
.product-detail #bigWrap { z-index: 3; pointer-events: none; }
.product-detail .con-t-r #title { margin: 10px 0 20px; color: #1c3045; font-size: 30px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.product-detail .product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #dde5ed; border: 1px solid #dde5ed; border-radius: 12px; overflow: hidden; }
.product-detail .spec-item { padding: 12px 16px; background: #f7f9fc; }
.product-detail .spec-item dt { color: #64748b; font-size: 13px; margin-bottom: 5px; }
.product-detail .spec-item dd { color: #24374b; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.product-detail .product-contact { margin-top: 20px; padding: 20px; border: 1px solid #cfe8dc; border-radius: 12px; background: #f1faf5; }
.product-detail .product-contact h4 { font-size: 19px; color: #1c4938; }
.product-detail .product-contact p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #526578; }
.product-detail .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.product-detail .contact-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 8px; font-size: 15px; font-weight: bold; }
.product-detail a.whatsapp-action { color: #fff; background: #128c7e; }
.product-detail .whatsapp-action img { width: 24px; height: 24px; border-radius: 50%; }
.product-detail a.quote-action { color: #24639c; background: #fff; border: 1px solid #b9cfe3; }
.product-detail .contact-details a { color: #24639c; }
.product-detail .con-b { margin: 0; padding: 24px; width: 100%; border: 1px solid #dde5ed; border-radius: 16px; }
.product-detail .con-b h2 { margin-bottom: 20px; }
/* 富文本保留原始内容，同时让图片、表格在容器内充分展示。 */
.product-detail .con-b #content { text-align: left; line-height: 1.7; overflow-x: auto; overflow-wrap: anywhere; }
.product-detail #content img { max-width: 100%; height: auto; }
.product-detail #content table { width: 100%; max-width: 100%; margin: 20px 0; }
/* 小屏按顺序显示图片、参数和联系卡；不启用固定尺寸的放大镜遮罩。 */
@media (max-width: 1000px) {
    .product-detail { padding: 0 20px 28px; }
    .product-detail .con-t { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .product-detail .con-t .con-t-m { max-width: 500px; width: 100%; margin: 0 auto; }
    .product-detail #middleWrap { height: auto; }
    .product-detail #middleImg { width: 100%; height: auto; max-height: 500px; }
    .product-detail #middleCover, .product-detail #mask, .product-detail #bigWrap { display: none; }
}
@media (max-width: 560px) {
    /* 导航与页脚使用 site-header.css 公共规则，避免覆盖手机菜单的折叠状态。 */
    .product-detail .product-specs { grid-template-columns: minmax(0, 1fr); }
    .product-detail .con-t-r #title { font-size: 24px; }
    .product-detail .con-b { padding: 16px; }
}
