/* 手机竖屏适配 (≤767px) */
@media screen and (max-width: 767px) {
    :root {
        font-size: 14px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    /* 通用头部 */
    .nav {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    /* 首屏核心区域 */
    #fullpage .section .box-left {
        width: 80vw;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #fullpage .section .box-left .title {
        font-size: 1.9rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    #fullpage .section .box-left .content {
        text-align: left;
    }

    #fullpage .section .box-left .content p{
        margin-top: 0.75rem;
        font-size: 1.18rem;
    }

    #fullpage .section .box-left .add-btn{
        margin-top: 1.75rem;
        text-align: center;
    }

    #fullpage .section .box-right {
        width: 84vw;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: left;
    }

    #fullpage .section .box-right .title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    #fullpage .section .box-right .content {
        margin: 0rem;
        padding: 0rem;
        text-align: left;
    }

    #fullpage .section .box-right .content p{
        margin: 0 0 1rem 0;
    }


    #fullpage .section .box-right .detail {
        font-size: 1.75rem;
        text-align: center;
        margin-top: 0rem;
    }

    /* 通用底部 */
    .footer {
        height: 24rem;
    }

    .footer-top {
        width: 92vw;
        height:19rem;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
    }

    .footer-top .footer-left {
        width: 100%;
        padding: 1rem 1rem;
    }

    .footer-left .logo {
        height: 2rem;
        margin: 1.5rem 0 1rem 0;
    }

    .footer-top .footer-right {
        display: none;
    }

    .footer-bottom {
        width: 100vw;
        height: 5rem;
        border-top: 1px solid #303030;
        color: #a7a7a7;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        line-height: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-bottom .copyright {
       display: block;
    }

    /* 首屏视频 */
    #fullpage .mask {
        background: url('/images/home-m.jpg') no-repeat center/cover;
    }

    #fullpage .mask #playBtn{
        width: 40px;
        height: 40px;
        position: absolute;
        bottom: 22%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    /* 系列产品 */
    .main-container .block {
        width: 100vw;
        height: 100vh;
        box-sizing: border-box;
        padding-top: 1rem;
    }

    .main-container #sheet, #nest, #flow  {
        background: url('/images/product/bg-light-m.jpg') no-repeat center center;
        background-size: cover;
    }

    .main-container #tube {
        background: url('/images/product/bg-dark-m.jpg') no-repeat center center;
        background-size: cover;
    }

    .main-container .block .layer-container {
        width: 90vw;
        height: auto;
    }

    .main-container .block .layer-container .info {
        padding-top: 0rem;
    }

    .main-container  .block .layer-container .info>.t2{
        font: 600 1.8rem / 1.35rem "sourcehansans";
    }
    .main-container .block .layer-container .info .version-box{
        margin-top: 1rem;
        gap: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .main-container .block .layer-container .info .version-box .version-item{
        font-size: 0.92rem;
        width: 45%;
        height: 3.5rem;
    }
    .main-container .block .layer-container .info .detail{
        margin-top: 2.2rem;
        height: auto;
        display: flex;
        flex-direction: column;
     }

     .main-container .block .layer-container .info .detail .content{
        width: 100%;
        height: auto;
        padding-right: 0rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
      }

      .main-container .block .layer-container .info .detail .content>.t1{
        font: 500 1.2rem / 1.5rem "montserrat";
      }

      .main-container .block .layer-container .info .detail .content>.t2{
        font: 500 1.45rem / 1.5rem "sourcehansans";
        margin: 0.5rem 0;
     }

     .main-container .block .layer-container .info .detail .content>.desc{
        font: 500 1rem / 1.6rem "sourcehansans";
        margin: 0;
         /* 核心样式 */
        text-align: justify;
        text-justify: inter-word;
        hyphens: manual;
        word-break: keep-all;
        overflow-wrap: normal;

        /* 优化间距控制 */
        word-spacing: -0.15em; /* 微调单词间距 */
        letter-spacing: -0.01em; /* 平衡字母间距 */
    }

    .main-container .magic-btn {
        padding: 6px 12px;
        margin: 0.8rem 0 0.5rem 0;
    }

    .main-container .block .layer-container .info .detail .picture{
        width: 60%;
        height: 100%;
        margin: 1rem auto 0 auto;
     }

     .main-container .block .layer-container .info .detail .picture img{
        width: 100%;
        height: auto;
     }

    /* 产品详情 */
    .main-container .main {
        display: none;
    }

    .main-container .main-mobile {
        display: block;
    }

     /* 产品优势 */
     .main-container .advantages {
        padding: 1.5rem 0 1rem;
        background:var(--color-primary-2);
        width: 100vw;
        overflow: hidden;
    }

    .main-container .advantages .section-title {
        text-align: left;
        font-size: 1.5rem;
        font-weight: 550;
        width: 90vw;
        margin: 0 auto 1rem;
        color: var(--color-primary-10);
    }

    .main-container .advantages .product-container {
        width: 90vw;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 0rem;
    }

    .main-container .advantages .product-container .product-item {
        width: 100%;
        height: auto;
        margin: 0 0 1rem;
        padding: 1.5rem;
        background: #FFFFFF;
        box-shadow: 0px 2px 3px -1px rgba(0,0,0,0.06),
                    0px 1px 2px -1px rgba(0,0,0,0.06);
        border-radius: 0.625rem;
        grid-template-columns: 1fr;
    }

    .main-container .advantages .product-item .img-content {
        height: 10.75rem;
        overflow: hidden;
        position: relative;
        margin: 0 auto;
    }

    .main-container .advantages .product-item  .img-content img {
        height: 100%;
        width: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .main-container .advantages .product-item .text-content {
        padding: 0;
        letter-spacing: 0em;
        margin-top: 0.85rem;
    }

    .main-container .advantages .product-item .text-content .title {
        font-size: 1.325rem;
        margin: 0 0 0.210rem;
        font-weight: 600;
        line-height: 1.75;
        color: var(--color-primary-11);
    }

    .main-container .advantages .product-item .text-content .benefit {
        font-size: 1.15rem;
        margin: 0 0 0.425rem;
        color: var(--color-primary-7);;
        line-height: 1.75;
    }

    .main-container .advantages .product-item .text-content .description {
        font-size: 1rem;
        line-height: 1.75;
        color: var(--color-primary-10);
        letter-spacing: 0.08rem;
        text-align: left;
    }

    /* 小屏手机优化 (≤390px) */
    @media (max-width: 390px) {
        :root { font-size: 13px }
        #fullpage .section .box-left .title {
            font-size: 1.65rem;
        }
        #fullpage .section .box-left .content p{
            font-size: 0.95rem;
        }
        #fullpage .section .box-right .title {
            font-size: 1.65rem;
        }
        #fullpage .section .box-right .content p{
            font-size: 0.95rem;
        }
    }

    /* 全面屏安全区域适配 */
    @supports (padding: max(0px)) {
        /* body {
            padding-left: max(10px, env(safe-area-inset-left));
            padding-right: max(10px, env(safe-area-inset-right));
        } */
    }
}