@charset "utf-8";
/**
 * 详情页移动端自适应 (mobile-detail.css)
 * 适用：产品详情页 / 文章详情页 / 下载 / 图片 / 单页详情
 * 由 common_css.html 统一引入，所有详情页共用一份规则。
 * 命名前缀 md- 为本文件新增类名，其余为覆盖站点原有样式。
 *
 * 断点：991(手机/平板竖，流式布局) 480(小屏手机) 340(极窄屏)；992px 以上完全保持桌面原样
 */

/* ============================================================
   0. 基础：统一盒模型、防止固定宽元素撑破视口
   ============================================================ */
@media (max-width: 991px) {
    body.page-detail,
    body.page-detail .as-mainwrapper,
    body.page-detail .bg-white {
        max-width: 100%;
    }
    body.page-detail .product-detail *,
    body.page-detail .product-detail *::before,
    body.page-detail .product-detail *::after,
    body.page-detail .article_con *,
    body.page-detail .article_con *::before,
    body.page-detail .article_con *::after {
        box-sizing: border-box;
    }
    /* 站点原样式把整个详情容器写死 1700px，是横向溢出的根因 */
    body.page-product-detail .product-detail .product {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 16px;
        overflow: visible !important;
    }
    body.page-product-detail .product-detail .details-left,
    body.page-product-detail .product-detail .details-right,
    body.page-product-detail .product-detail .tuijian,
    body.page-product-detail .product-detail .liuyan,
    body.page-product-detail .product-detail .lxfs {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.page-product-detail .product-detail .details-related,
    body.page-product-detail .product-detail .contents,
    body.page-product-detail .product-detail .con-right {
        max-width: 100% !important;
    }
    body.page-detail .article_con .article-left {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }
    /* 旧响应式里写死的 500px / 375px 容器 */
    body.page-detail .clist-con-right,
    body.page-detail .mobile_proshow,
    body.page-detail .cmain {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* ============================================================
   1. 面包屑：恢复显示，改为单行横向滚动（原样式在 500px 以下直接隐藏）
   ============================================================ */
@media (max-width: 991px) {
    body.page-detail .breadcrumb-bar {
        display: block !important;
        width: 100%;
        max-width: 100%;
        padding: 10px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    body.page-detail .breadcrumb-bar::-webkit-scrollbar { display: none; }
    body.page-detail .breadcrumb-bar .breadcrumb {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        width: max-content;
        min-width: 100%;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        font-size: 13px;
    }
    body.page-detail .breadcrumb-bar li {
        float: none;
        line-height: 1.5;
        flex: 0 0 auto;
    }
    body.page-detail .breadcrumb-bar li:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60vw;
    }
}

/* ============================================================
   2. 产品详情：顶部图文区 两栏 -> 单栏
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .tuwen {
        width: 100%;
        margin: 0;
        padding: 16px 0 0;
        border-radius: 0;
    }
    body.page-product-detail .product-detail .tuwen .left {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        padding: 0 !important;
        border-right: 0;
    }
    body.page-product-detail .product-detail .tuwen .right,
    body.page-product-detail .product-detail .tuwen .wz {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        padding: 0 !important;
        margin: 16px 0 0;
        line-height: 1.6;
    }
    body.page-product-detail .product-detail .mengri {
        width: 100%;
        padding: 0;
        margin: 0 0 8px;
        font-size: clamp(20px, 5.4vw, 26px);
        line-height: 1.35;
        letter-spacing: 0;
        text-align: left;
        word-break: break-word;
    }
    body.page-product-detail .product-detail .start {
        margin: 0 0 14px !important;
        text-align: left;
    }
    body.page-product-detail .product-detail .start span {
        font-size: 15px !important;
    }

    /* PC 端放大镜浮层在手机上关闭，改用下方 mobile_box */
    body.page-product-detail .product-detail .box,
    body.page-product-detail .product-detail .box[style] {
        display: none !important;
    }
    body.page-product-detail .product-detail .mobile_box {
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }
    body.page-product-detail .product-detail .mobile_box > img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
        object-fit: contain;
    }
    /* JS 生成的多图缩略图条 */
    .md-gallery-thumbs {
        display: flex;
        gap: 8px;
        width: 100%;
        margin-top: 10px;
        padding: 2px 0 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .md-gallery-thumbs::-webkit-scrollbar { display: none; }
    .md-gallery-thumbs button {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        padding: 2px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        cursor: pointer;
    }
    .md-gallery-thumbs button.is-active { border-color: #006bbd; border-width: 2px; }
    .md-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

    /* 点击主图查看大图：覆盖模板里 top:280px / width:559px / left:200px 的固定定位 */
    body.page-product-detail .showBigImg {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        width: 92vw !important;
        max-width: 92vw !important;
        max-height: 86vh;
        overflow: auto;
        transform: translate(-50%, -50%);
        padding: 8px;
        background: #fff;
        border: 0 !important;
        border-radius: 6px;
        box-shadow: 0 12px 48px rgba(0, 0, 0, .35);
        z-index: 10000;
    }
    body.page-product-detail .showBigImg img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        left: auto !important;
        top: auto !important;
    }
    .md-lightbox-mask {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .6);
        z-index: 9999;
    }
    /* 放大镜插件在移动端一律停用 */
    body.page-product-detail .MagicThumb-container,
    body.page-product-detail .MagicZoomPlusPup,
    body.page-product-detail .MagicThumb-image { display: none !important; }
}

/* ============================================================
   3. 产品参数表：两列栅格，窄屏自动降为一列
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .youbian {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        width: 100%;
    }
    body.page-product-detail .product-detail .souleft,
    body.page-product-detail .product-detail .souright {
        float: none !important;
        width: 100% !important;
        margin: 0;
    }
    body.page-product-detail .product-detail .bietei {
        margin: 0 0 5px;
        font-size: 13px;
        line-height: 1.4;
    }
    body.page-product-detail .product-detail .bietei p { margin: 0; }
    body.page-product-detail .product-detail .casou {
        width: 100%;
        height: auto;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
    }
    body.page-product-detail .product-detail p.casou_p {
        margin: 0;
        padding: 6px 4px;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

/* ============================================================
   4. 联系条 / 分隔线
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .lianxi {
        width: 100% !important;
        float: none !important;
        margin: 18px 0 0 !important;
    }
    body.page-product-detail .product-detail .lianxi .lx1 {
        display: flex;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    body.page-product-detail .product-detail .lianxi .lx1 li {
        flex: 1 1 0;
        float: none;
        width: auto;
        min-width: 0;
        padding: 0 4px;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        word-break: break-all;
    }
    body.page-product-detail .product-detail .lianxi .lx1 p {
        float: none;
        width: 100%;
        margin: 0;
    }
    body.page-product-detail .product-detail .lianxi .touxiao {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
    }
    body.page-product-detail .product-detail .lianxi .lx2 {
        margin-top: 12px;
        text-align: center;
    }
    body.page-product-detail .product-detail .lianxi .lxdh,
    body.page-product-detail .product-detail .lianxi .xunjia {
        display: block;
        max-width: 100% !important;
        height: auto !important;
        margin: 6px auto;
    }
    body.page-product-detail .product-detail .xiantiao {
        display: none !important;
    }
}

/* ============================================================
   5. 文档下载 / 相关产品
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .details-related {
        width: 100%;
        margin: 18px 0 0;
        padding: 14px 0;
        border-radius: 0;
        background: transparent;
        border-top: 1px solid #eee;
    }
    body.page-product-detail .product-detail .document-related,
    body.page-product-detail .product-detail .product-related {
        float: none;
        width: 100%;
        margin: 0 0 14px;
    }
    body.page-product-detail .product-detail .details-related h4.title {
        margin: 0 0 8px;
        font-size: 16px;
    }
    body.page-product-detail .product-detail .details-related ul { margin: 0; padding: 0; }
    body.page-product-detail .product-detail .details-related li,
    body.page-product-detail .product-detail .details-related li:nth-child(even) {
        float: none;
        width: 100%;
        height: auto;
        min-height: 42px;
        line-height: 1.5;
        padding: 9px 0 9px 30px;
        border-bottom: 1px solid #eee;
    }
    body.page-product-detail .product-detail .document-related li:before { top: 12px; }
    body.page-product-detail .product-detail .details-related a { font-size: 14px; }
    body.page-product-detail .product-detail .product-related ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    body.page-product-detail .product-detail .product-related li {
        padding: 0;
        border: 0;
    }
    body.page-product-detail .product-detail .product-related img {
        width: 100%;
        height: 110px;
        object-fit: contain;
    }
    body.page-product-detail .product-detail .product-related a span {
        display: block;
        font-size: 13px;
        line-height: 1.4;
    }
}

/* ============================================================
   6. Tab 导航：恢复显示，改为可横向滚动的吸顶条
      （原 responsive.css 在 500px 以下 .nav-row{display:none}）
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .nav-row,
    body.page-product-detail .product-detail .nav-row.fix {
        display: flex !important;
        position: sticky !important;
        top: 0;
        left: auto;
        width: 100% !important;
        float: none;
        margin: 16px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
        z-index: 200;
    }
    body.page-product-detail .product-detail .nav-row::-webkit-scrollbar { display: none; }
    body.page-product-detail .product-detail .nav-row > span {
        flex: 1 0 auto;
        float: none !important;
        width: auto !important;
        min-width: 25%;
        height: 46px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 46px;
        white-space: nowrap;
        display: block;
        text-align: center;
    }
    body.page-product-detail .product-detail .nav-row > span.active {
        border-top-width: 3px;
        font-weight: 700;
    }
    /* 锚点跳转时不被吸顶条遮住 */
    body.page-product-detail .product-detail .tuijian,
    body.page-product-detail .product-detail .liuyan,
    body.page-product-detail .product-detail .lxfs,
    body.page-product-detail .product-detail .contents {
        scroll-margin-top: 54px;
    }
}

/* ============================================================
   7. 正文内容区（后台富文本）
      含 font-size:72px / text-indent:32em 等内联样式，需 !important 压制
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .details-right { margin-top: 0 !important; }
    body.page-product-detail .product-detail .details-right .contents,
    body.page-product-detail .product-detail .details-right .contents[class] {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px 0 !important;
        background: transparent;
    }
    body.page-product-detail .product-detail .details-right .con-right {
        display: block;
        float: none;
        width: 100% !important;
        padding: 16px 0;
        position: static;
        background: transparent;
    }
    body.page-product-detail .product-detail .single-item-comment-view,
    body.page-product-detail .product-detail .contents .content {
        float: none !important;
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
        line-height: 1.8;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    /* 富文本容器与标题：清掉固定高、大字号、缩进 */
    body.page-product-detail .product-detail .contents .content [style],
    body.page-detail .md-richtext [style] {
        text-indent: 0 !important;
    }
    body.page-product-detail .product-detail .contents .content h1,
    body.page-product-detail .product-detail .contents .content h2,
    body.page-product-detail .product-detail .contents .content h3,
    body.page-product-detail .product-detail .contents .content h4,
    body.page-detail .md-richtext h1,
    body.page-detail .md-richtext h2,
    body.page-detail .md-richtext h3,
    body.page-detail .md-richtext h4 {
        height: auto !important;
        min-height: 0;
        line-height: 1.4 !important;
        text-indent: 0 !important;
        margin: 16px 0 10px;
        font-size: clamp(17px, 4.6vw, 22px) !important;
        overflow-wrap: anywhere;
    }
    body.page-product-detail .product-detail .contents .content p,
    body.page-product-detail .product-detail .contents .content div,
    body.page-detail .md-richtext p,
    body.page-detail .md-richtext div {
        text-indent: 0 !important;
        max-width: 100%;
        line-height: 1.75;
    }
    body.page-product-detail .product-detail .contents .content img,
    body.page-detail .md-richtext img,
    body.page-detail .md-richtext video,
    body.page-detail .md-richtext iframe {
        display: block;
        width: auto;
        max-width: 100% !important;
        height: auto !important;
        margin: 12px auto;
    }
    body.page-product-detail .product-detail .contents .content table,
    body.page-detail .md-richtext table {
        display: table;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto;
        word-break: break-word;
    }
    body.page-product-detail .product-detail .contents .content table img,
    body.page-detail .md-richtext table img { max-width: none; }
    .md-table-scroll {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 12px 0;
    }
    .md-table-scroll::-webkit-scrollbar { height: 5px; }
    .md-table-scroll::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }
    .md-table-scroll > table { margin: 0; }

    /* 右侧栏列表：图文横排 */
    body.page-product-detail .product-detail .con-right .recent-content-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    body.page-product-detail .product-detail .con-right .recent-content-item > a {
        flex: 0 0 72px;
    }
    body.page-product-detail .product-detail .con-right .recent-content-item img {
        width: 72px !important;
        height: 72px !important;
        object-fit: contain;
    }
    body.page-product-detail .product-detail .con-right .recent-text {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
    }
    body.page-product-detail .product-detail .con-right .recent-text h4 {
        margin: 0;
        font-size: 14px !important;
        line-height: 1.5;
    }
    body.page-product-detail .product-detail .con-right .single-sidebar-widget h4.title {
        margin: 0 0 6px;
        font-size: 16px;
    }
}

/* ============================================================
   8. 推荐商品
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .tuijian {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent;
        font-size: 14px;
    }
    body.page-product-detail .product-detail .tuijian-tit {
        grid-column: 1 / -1;
        width: 100% !important;
        margin: 16px 0 0 !important;
        padding: 10px 0;
        text-align: left;
        font-size: 17px;
        font-weight: 700;
    }
    body.page-product-detail .product-detail .tuijian-p,
    body.page-product-detail .product-detail .tuijian-pn {
        width: 100% !important;
        padding: 0;
        margin: 0;
        float: none;
    }
    body.page-product-detail .product-detail .tuijian-p img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border: 1px solid #eee;
        border-radius: 4px;
    }
    body.page-product-detail .product-detail .tuijian-p a span {
        display: block;
        width: 100%;
        font-size: 13px;
        line-height: 1.45;
        white-space: normal;
        word-break: break-word;
    }
}

/* ============================================================
   9. 在线留言 / 联系方式
      原样式在 500px 以下直接 display:none，这里恢复并做流式布局
   ============================================================ */
@media (max-width: 991px) {
    body.page-product-detail .product-detail .liuyan,
    body.page-product-detail .product-detail .lxfs {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        padding: 16px !important;
        margin: 16px 0 0;
        background: #fff;
    }
    body.page-product-detail .product-detail .liuyan .liuyan-title {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        width: 100%;
        height: auto;
        line-height: 1.4;
        padding: 0 0 12px;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }
    body.page-product-detail .product-detail .liuyan .liuyan-left {
        width: auto;
        float: none;
        font-size: 18px;
    }
    body.page-product-detail .product-detail .liuyan .liuyan-right {
        width: auto;
        float: none;
        font-size: 12px;
        text-align: right;
        color: #888;
    }
    body.page-product-detail .product-detail .liuyan .liuyan-li {
        display: block;
        padding: 12px 0 0;
    }
    body.page-product-detail .product-detail .liuyan .liuyan-txt {
        display: block;
        float: none;
        width: 100%;
        height: auto;
        line-height: 1.5;
        margin: 0 0 6px;
        padding: 0;
        font-size: 14px;
        text-align: left;
    }
    /* 16px 字号可避免 iOS Safari 聚焦时自动缩放页面 */
    body.page-product-detail .product-detail .liuyan input,
    body.page-product-detail .product-detail .liuyan textarea {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: 44px;
        padding: 0 10px;
        font-size: 16px !important;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #fff;
    }
    body.page-product-detail .product-detail .liuyan textarea {
        height: 110px;
        padding: 10px;
        resize: vertical;
    }
    body.page-product-detail .product-detail .liuyan button {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: 46px;
        margin: 16px 0 0 !important;
        font-size: 16px;
        color: #fff;
        background: #006bbd;
        border: 0;
        border-radius: 4px;
    }
    body.page-product-detail .product-detail .liuyan .form-messege { margin: 8px 0 0; }

    body.page-product-detail .product-detail .lxfs .lxfs-tit {
        width: 100%;
        float: none;
        margin: 0;
        padding: 0 0 10px;
        line-height: 1.4;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }
    body.page-product-detail .product-detail .lxfs .lxfs-left {
        float: none;
        width: 100%;
        padding: 10px 0 0;
        font-size: 14px;
    }
    body.page-product-detail .product-detail .lxfs .lxfs-left li {
        height: auto;
        line-height: 1.9;
        overflow-wrap: anywhere;
    }
    body.page-product-detail .product-detail .lxfs .lxfs-left .a-tit {
        height: auto;
        line-height: 1.5;
        font-size: 16px;
    }
    body.page-product-detail .product-detail .lxfs .lxfs-right {
        float: none;
        width: 100%;
        margin: 12px 0 0;
        text-align: center;
    }
    body.page-product-detail .product-detail .lxfs .lxfs-right img { max-width: 200px; }
}

/* ============================================================
   10. 文章 / 下载 / 图片 / 单页 详情页通用适配
   ============================================================ */
@media (max-width: 991px) {
    body.page-detail .article_con,
    body.page-detail .article_list,
    body.page-detail .contact-form-area,
    body.page-detail .a-content,
    body.page-detail .news-details-content,
    body.page-detail .page_1v1,
    body.page-detail .download_show,
    body.page-detail .picture_show {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0;
        padding-right: 0;
        float: none !important;
    }
    body.page-detail .contact-form-area[style],
    body.page-detail .a-content[style] {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.page-detail .article_con .con-right {
        float: none;
        width: 100% !important;
        max-width: 100%;
        padding: 16px 0;
        margin-top: 16px;
    }
    body.page-detail .article_con h1,
    body.page-detail .a-content h1 {
        font-size: clamp(20px, 5.4vw, 26px);
        line-height: 1.4;
        word-break: break-word;
    }
    body.page-detail .article_con img,
    body.page-detail .contact-form-area img,
    body.page-detail .a-content img {
        max-width: 100% !important;
        height: auto !important;
    }
    body.page-detail .article_con table,
    body.page-detail .contact-form-area table {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* 通用富文本容器：由 JS 标记为 md-richtext */
    body.page-detail .md-richtext {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.75;
    }
    body.page-detail .md-richtext p,
    body.page-detail .md-richtext span,
    body.page-detail .md-richtext li,
    body.page-detail .md-richtext font {
        font-size: 15px !important;
        line-height: 1.75;
    }
}

/* ============================================================
   11. 小屏手机 (<=480px) 微调
   ============================================================ */
@media (max-width: 480px) {
    body.page-product-detail .product-detail .product { padding: 0 12px; }
    body.page-product-detail .product-detail .youbian { grid-template-columns: 1fr 1fr; gap: 8px; }
    body.page-product-detail .product-detail .lianxi .lx1 li { font-size: 11px; }
    body.page-product-detail .product-detail .lianxi .touxiao { width: 40px; height: 40px; }
    body.page-product-detail .product-detail .product-related img { height: 90px; }
    body.page-product-detail .product-detail .nav-row > span { min-width: 30%; font-size: 13px; padding: 0 8px; }
    body.page-product-detail .product-detail .details-related a { font-size: 13px; }
    body.page-product-detail .product-detail .liuyan,
    body.page-product-detail .product-detail .lxfs { padding: 12px !important; }
}

/* 极窄屏 (<=340px)：参数表单列降为单列 */
@media (max-width: 340px) {
    body.page-product-detail .product-detail .youbian { grid-template-columns: 1fr; }
    body.page-product-detail .product-detail .product-related ul,
    body.page-product-detail .product-detail .tuijian { grid-template-columns: 1fr; }
}

/* ============================================================
   12. 触摸友好 & 可访问性
   ============================================================ */
@media (max-width: 991px) {
    body.page-detail a,
    body.page-detail button,
    body.page-detail input[type="submit"] { -webkit-tap-highlight-color: rgba(0, 107, 189, .15); }
    body.page-detail .details-related a,
    body.page-detail .document-related a { display: flex; align-items: center; min-height: 42px; }
    body.page-detail { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
}

/* ============================================================
   13. 平板竖屏 (768~991) 微调：限制栅格列数与内容宽度
   ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
    body.page-product-detail .product-detail .product { padding: 0 24px; }
    body.page-product-detail .product-detail .mobile_box > img {
        width: auto !important;
        max-width: 560px !important;
        margin: 0 auto;
    }
    body.page-product-detail .product-detail .youbian {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.page-product-detail .product-detail .tuijian,
    body.page-product-detail .product-detail .product-related ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.page-product-detail .product-detail .liuyan,
    body.page-product-detail .product-detail .lxfs { padding: 24px !important; }
    body.page-product-detail .product-detail .liuyan form,
    body.page-product-detail .product-detail .lxfs .lxfs-left,
    body.page-product-detail .product-detail .lxfs .lxfs-tit {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    body.page-product-detail .product-detail .contents .content h1,
    body.page-product-detail .product-detail .contents .content h2,
    body.page-product-detail .product-detail .contents .content h3,
    body.page-product-detail .product-detail .contents .content h4,
    body.page-detail .md-richtext h1,
    body.page-detail .md-richtext h2,
    body.page-detail .md-richtext h3,
    body.page-detail .md-richtext h4 {
        font-size: clamp(20px, 3vw, 26px) !important;
    }
}

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
    body.page-detail * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
