/* 移动端适配补丁,统一引入,不修改原页面结构 */

/* ---------- 导航菜单:窄屏下强制展开、纵向堆叠(无需汉堡按钮/JS) ---------- */
@media screen and (max-width: 768px) {
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 0;
    }
    .navbar-nav {
        float: none !important;
        margin: 0 !important;
    }
    .navbar-nav > li {
        float: none !important;
        width: 100% !important;
        text-align: center;
        margin: 0 !important;
    }
    .navbar-nav > li > a {
        border: none !important;
    }
    .header-nav ul.nav.navbar-nav {
        margin-top: 0 !important;
    }
    .header-nav{
        display: none;
    }
    .qrcode{
        display: none !important;
    }

    .navbar-fixed-top{
        display: none !important;
    }

    .nei-3d img{
        display: none;
    }

    .product_con img{
        width: 100% !important;
        height: auto !important;
    }
}

/* ---------- 页脚 footer.css 多列导航 ---------- */
@media screen and (max-width: 768px) {
    .footer .container {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .nav-list-box {
        width: 100% !important;
    }
    .nav-list-box ul {
        width: 50% !important;
        box-sizing: border-box;
    }
    .qrcode {
        float: none !important;
        display: flex;
        justify-content: center;
        margin-right: 0;
        padding-top: 10px;
    }
    .wz-info img {
        margin-left: 0 !important;
    }
    .wz-info-logo {
        float: none !important;
        width: 100% !important;
        text-align: center;
    }
    .wz-info-text {
        text-align: center;
        height: auto !important;
        line-height: 1.6 !important;
        padding: 0 15px;
    }
}
@media screen and (max-width: 480px) {
    .nav-list-box ul {
        width: 100% !important;
    }
}

/* ---------- 首页 index.html 行业方案(newcustom.css) ---------- */
@media screen and (max-width: 768px) {
    .solution-list {
        flex-wrap: wrap;
    }
    .solution-list .solution-title {
        width: 48% !important;
        margin-bottom: 8px;
    }
    .left-img,
    .right-text {
        width: 100% !important;
        float: none !important;
        margin: 15px 0 !important;
    }
    .solution-detial {
        height: auto !important;
    }
}

/* ---------- 首页 index.html banner / 3D图标(内联style覆盖) ---------- */
@media screen and (max-width: 768px) {
    li#callbacks1_s0,
    li#callbacks1_s1,
    li#callbacks1_s2 {
        min-height: 420px !important;
    }
    .banner1 {
        min-height: 220px !important;
    }
    .iframe3d {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 278 / 208;
    }
    .iframe3d_qp {
        width: 46px !important;
        height: 46px !important;
        font-size: 13px !important;
    }
}

/* ---------- xinlikecheng.html 视频列表 / 方案列表 ---------- */
@media screen and (max-width: 768px) {
    .video-list {
        flex-direction: column;
    }
    .video_single {
        width: 100% !important;
        height: auto !important;
    }
    .video_single .video-img {
        height: auto;
    }
}

/* ---------- ny 皮肤(product_list/product_detial/article) 缩略图固定像素 ---------- */
@media screen and (max-width: 768px) {
    .img-thumbnail {
        width: 100% !important;
        height: auto !important;
    }
    .example-image {
        width: 100% !important;
        height: auto !important;
    }
}

/* ---------- product_detial.html 心理室3D全景查看器(内联绝对定位) ---------- */
@media screen and (max-width: 768px) {
    div[style*="height:655px"],
    div[style*="height: 655px"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 60vw !important;
        margin-top: 16px;
    }
    a.wow[style*="bottom: 92px"],
    a.wow[style*="bottom:92px"] {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 16px auto !important;
    }
    div[style*="font-size: 48px"] {
        font-size: 22px !important;
        top: 16px !important;
        width: 90%;
        text-align: center;
    }
}

/* ---------- ProductShow.html 展示卡片 ---------- */
@media screen and (max-width: 480px) {
    .product-box {
        width: 100% !important;
    }
}
