/* Keep the original visual language while removing its desktop-only minimum width. */
html,
body {
    min-width: 0;
    overflow-x: hidden;
}

.header,
.banner,
.content,
.footer,
.banner .swiper-wrapper {
    min-width: 0;
}

.header .head,
.banner .swiper-slide .w1200,
.content > .w1200,
.footer > .w1200 {
    width: min(1200px, calc(100% - 32px));
    min-width: 0;
}

.banner .swiper-slide .w1200 {
    height: 100%;
}

.banner .item-con {
    max-width: 680px;
}

.banner .item-img {
    max-width: 48%;
}

.banner .item-img img {
    max-width: 100%;
}

.product .d-phone-list {
    max-width: 960px;
}

.product-serve .w1200,
.product-quality .w1200,
.why-select .w1200 {
    min-width: 0;
}

@media (max-width: 800px) {
    .header {
        height: auto;
        min-height: 82px;
    }

    .header .head {
        width: auto;
        padding: 0 16px;
    }

    .header .head .logo {
        float: none;
        display: block;
        height: 46px;
        line-height: 46px;
        font-size: 24px;
    }

    .header .head .nav {
        float: none;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 8px;
        white-space: nowrap;
    }

    .nav ul {
        display: flex;
        width: max-content;
    }

    .nav ul li {
        float: none;
        padding: 0 11px;
    }

    .nav ul li a {
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }

    .nav ul li em {
        width: 28px;
        height: 3px;
        margin-left: -14px;
    }

    .banner {
        height: 570px;
    }

    .banner .swiper-slide .w1200 {
        width: auto;
        padding: 0 18px;
    }

    .banner .mt210 {
        margin-top: 148px;
        max-width: 68%;
    }

    .banner .item-head img {
        width: 72px !important;
        height: 72px !important;
        object-fit: cover;
    }

    .banner .item-head .item-name {
        margin-left: 13px;
        font-size: 30px;
        line-height: 72px;
    }

    .banner .item-con {
        max-width: none;
        margin-top: 18px;
        font-size: 15px;
        line-height: 25px;
    }

    .banner .item-down {
        width: 132px;
        height: 42px;
        margin-top: 24px;
        border-radius: 21px;
        font-size: 16px;
        line-height: 42px;
    }

    .banner .item-img {
        right: -72px;
        max-width: 62vw;
    }

    .banner .item-img img {
        width: 100%;
        height: auto;
    }

    .ban3 .item-img {
        top: auto;
        right: -76px;
        height: auto;
        margin-top: 0;
    }

    .ban3 .item-img img {
        width: 100%;
        height: auto;
    }

    .content {
        width: 100%;
    }

    .product .product-title {
        margin-top: 44px;
        font-size: 26px;
    }

    .product .d-phone-list {
        width: auto;
        margin: 24px 12px 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .phone-list-item {
        width: auto;
        min-height: 356px;
        margin: 0;
        padding: 0 10px;
        border: 1px solid #efefef;
        display: flex;
        flex-direction: column;
    }

    .phone-list-item .item-t {
        margin-top: 24px;
    }

    .phone-list-item .item-t img {
        width: 76px;
        height: 76px;
        object-fit: cover;
    }

    .phone-list-item .item-t .item-name {
        margin-top: 13px;
        font-size: 16px;
    }

    .phone-list-item .item-b {
        flex: 1;
        margin-top: 20px;
        margin-bottom: 52px;
    }

    .phone-list-item .item-b .item-txt {
        width: auto;
        width: auto !important;
        max-height: 154px;
        overflow: hidden;
        font-size: 13px;
        line-height: 22px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
    }

    .phone-list-item .item-b .know-more {
        width: 100px;
        height: 30px;
        margin-left: -50px;
        bottom: 14px;
        font-size: 13px;
        line-height: 30px;
        opacity: 1;
    }

    .product-line,
    .phone-list-item .p-line {
        display: none;
    }

    .product-serve {
        margin: 52px 0 56px;
        padding: 0 12px;
    }

    .product-serve .p_s_title h1,
    .product-quality .p-q-title h1,
    .why-select .w-s-title h1 {
        font-size: 26px;
    }

    .product-serve .p_s_title h3 {
        padding: 0 10px;
        font-size: 13px;
        line-height: 22px;
    }

    .product-serve .p_s_list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
        margin-top: 24px;
    }

    .p_s_list .p_s_list_item {
        width: auto;
        margin-right: 0;
    }

    .p_s_list_item img {
        width: 132px;
        height: 132px;
        max-width: 100%;
    }

    .p_s_list_item h2 {
        font-size: 17px;
    }

    .p_s_list_item p {
        margin-top: 10px;
        padding: 0 4px;
        font-size: 12px;
        line-height: 20px;
    }

    .content .product-quality {
        height: auto;
        margin-bottom: 0;
        padding: 48px 12px 30px;
        background-size: auto 100%;
    }

    .product-quality .p-q-title {
        padding-top: 0;
    }

    .product-quality .p-q-title h3 {
        font-size: 18px;
    }

    .product-quality .p-q-title h2 {
        margin-top: 18px;
        font-size: 16px;
    }

    .product-quality .p-q-content {
        width: 100%;
        margin: 30px auto 0;
        padding: 26px 8px;
    }

    .product-quality .p-q-content .p-q-con-item .p1 {
        font-size: 22px;
    }

    .product-quality .p-q-content .p-q-con-item .p3 {
        margin-top: 18px;
        font-size: 12px;
    }

    .product-quality .p-q-content .b-r-a:after {
        height: 58px;
        margin-top: -29px;
    }

    .content .why-select {
        padding: 46px 12px 56px;
    }

    .why-select .w-s-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
        margin-top: 28px;
    }

    .why-select .w-s-content .w-s-item {
        width: auto;
        margin-right: 0;
    }

    .why-select .w-s-content .w-s-item p {
        bottom: 18%;
        left: 50%;
        margin-left: -28px;
        font-size: 13px;
    }

    .footer {
        min-width: 0;
        margin-top: 0;
        padding: 36px 12px;
    }

    .footer > .w1200 {
        width: auto;
    }
}

@media (max-width: 390px) {
    .banner {
        height: 548px;
    }

    .banner .mt210 {
        margin-top: 140px;
    }

    .banner .item-head .item-name {
        font-size: 25px;
    }

    .banner .item-con {
        font-size: 14px;
        line-height: 23px;
    }

    .phone-list-item {
        min-height: 344px;
    }

    .phone-list-item .item-t .item-name {
        font-size: 15px;
    }
}
