/* 全局响应式 */

@media (max-width: 480.98px) {

    /* 顶部 */
    header .head-top {
        padding-bottom: 0 !important;
    }

    .language,
    .search-form {
        display: none;
    }

    .about-us .about-pic img {
        margin-top: -30% !important;
    }

    section.about-us .pic-text {
        margin: var(--gap-lg);
    }
}


@media (max-width: 768.98px) {
    .container {
        max-width: 768px;
    }

    section.banner {
        margin-top: unset;
    }

    /* 页眉 */
    header .logo img {
        height: 26px;
    }

    /* 导航切换按钮 */
    .nav-toggle {
        display: block;
        height: 54px;
        width: 54px;
        background-color: var(--main-color);
        border-radius: var(--border-radius-x);
        cursor: pointer;
        position: relative;
    }

    .nav-toggle span {
        height: 2px;
        background-color: var(--color);
        width: 24px;
        display: block;
        position: absolute;
        left: 15px;
        top: 26px;
    }

    .nav-toggle.open {
        z-index: 999;
        position: fixed;
        right: 5%;
    }

    .nav-toggle span:nth-child(1) {
        top: 16px;
    }

    .nav-toggle span:nth-child(3) {
        top: 36px;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 26px;
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 26px;
    }

    /* 移动端导航 */
    .nav {
        display: none;
    }

    .nav.open,
    .fixed .nav.open {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        background-color: rgba(0, 0, 0, 0.95);
        left: 0;
        padding: 120px 0;
        z-index: 998;
        overflow: scroll;
    }

    nav ul.nav-lists {
        display: grid;
        background: unset;
        border: unset;
        height: unset;
        gap: var(--gap-lg);
    }

    nav li a {
        color: var(--color);
        justify-content: center;
        font-size: var(--fs-4);
    }

    nav .sub-item a {
        font-size: var(--fs-3);
        color: #999;
    }

    nav li a svg {
        display: none;
    }

    nav .sub-nav,
    nav .open .sub-nav {
        position: unset;
        background: unset;
        height: unset;
        display: grid;
        gap: var(--gap-sm);
        padding-top: var(--gap-xs);
    }

    nav .sub-nav h3 {
        display: none;
    }

    /* 页脚 */
    footer .container .footer-lists {
        display: grid;
        justify-content: center;
        gap: var(--gap-xl);
    }

    footer .footer-contact {
        justify-content: center;
        text-align: center;
    }

    footer .footer-contact .footer-logo {
        height: 30px;
        margin: 0 auto;
    }

    footer .footer-contact .down-link {
        max-width: 100%;
    }

    footer .footer-pic {
        justify-content: center;
    }

    footer .qr-code {
        display: none;
    }

    footer .awards-link h3 {
        text-align: center;
    }

    /* 新品预览 */
    .new-products .np-cont .more-btns {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--gap-sm);
    }

    /* 首页新闻 */
    .news .first-new {
        flex-wrap: wrap;
        gap: var(--gap-lg);
    }

    .news .first-new>* {
        flex: unset;
    }

    .news .first-new .new-pic {
        max-width: 100%;
    }

    .news .new-lists {
        grid-template-columns: 1fr !important;
    }

    /* 内页 */
    .page-banner {
        margin-top: unset !important;
        height: 240px !important;
    }

    .page-banner .banner-text {
        transform: translateY(-50%) !important;
    }

    /* 应用列表页 */
    .page-content .app-lists {
        grid-template-columns: 1fr;
    }

    /* 产品列表 */
    .page-content .pro-list-cont {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }

    .page-content .pro-list-cont .pro-lists {
        margin-left: unset;
    }

    .pro-list-cont .pro-info-cont .pro-info-head {
        grid-template-columns: 1fr !important;
    }

    .pro-list-cont .pro-info-cont .pro-info-head .pro-btns {
        display: flex;
        justify-content: flex-start;
    }

    .pro-list-cont .pro-info-attributes {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 新闻列表页 */
    .new-page-list .new-item {
        display: grid !important;
    }

    .new-page-list .new-item-pic {
        max-width: unset !important;
    }

    .new-page-list .new-item-cont {
        align-items: flex-start !important;
    }

    /* 新闻详情页 */
    .new-detail-date {
        position: unset !important;
    }

    /* 联系我们 */
    .contact-form .form-inputs {
        grid-template-columns: 1fr !important;
    }

    section.about-us .pic-text {
        bottom: 0 !important;
    }
}

@media (max-width:992.98px) {
    .container {
        max-width: 992px;
    }

    /* 页眉 */
    header .head-top {
        gap: unset;
        padding-bottom: var(--gap-md);
    }

    header .logo {
        order: 1;
        padding: 32px 0;
    }

    .top-right {
        order: 2;
    }

    .search-form {
        order: 3;
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .search-box input[name="keywords"] {
        width: 100%;
    }

    nav .nav-lists {
        gap: var(--gap-md);
    }

    /* 页脚 */
    footer .footer-lists {
        gap: var(--gap-xxl);
        align-items: flex-end;
    }

    footer .footer-contact {
        order: 1;
    }

    footer .footer-links {
        order: 3;
        width: 100%;
    }

    footer .footer-pic {
        order: 2;
    }

    /* 关于我们 */
    section.about-us .about-cont {
        grid-template-columns: repeat(1, 1fr);
    }

    section.about-us .nub-lists li {
        padding: var(--gap-lg) 0;
    }

    section.about-us .pic-text {
        bottom: 10%;
        top: unset;
    }

    section.about-us .about-pic a {
        margin: var(--gap-lg) auto 0;
    }

    .about-us .about-pic img {
        margin-top: -70%;
    }

    /* 新品预览 */
    .new-products .np-cont .more-btns .more-btn {
        padding: var(--gap-md) var(--gap-lg);
    }

    /* 首页新闻 */
    .news .first-new {
        gap: var(--gap-lg);
    }

    .news .new-lists {
        gap: var(--gap-sm) !important;
    }

    .new-lists .new-item {
        flex-wrap: wrap;
        gap: var(--gap-xs) !important;
    }

    /* 产品列表 */
    .pro-list-cont .list-item {
        grid-template-columns: 1fr !important;
    }

    /* 产品详情页 */
    .pro-lists.pro-detail .pro-pic {
        border-right: unset !important;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: var(--gap-sm);
    }

    .pro-list-cont .pro-detail .pro-info-attributes {
        grid-template-columns: repeat(3, 33.33%);
    }

    /* 联系我们 */
    .contact-form .form-cont .form-inputs {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 询价单 */
    .inquiry-box {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width: 1200.98px) {
    .container {
        max-width: 1200px;
    }

    h1 {
        font-size: var(--fs-4);
        font-weight: bold;
    }

    .search-form input {
        width: 120px;
    }

    /* 页脚 */
    footer .footer-contact {
        gap: var(--gap-md);
    }

    footer .footer-lists {
        margin: 80px 0 40px;
    }

    footer .footer-logo {
        height: 24px;
        margin-bottom: unset;
    }

    footer .contact-info p text {
        font-size: var(--fs-3);
    }

    footer .contact-info h3 {
        margin-bottom: var(--gap-xs);
    }

    footer .down-link {
        height: 45px;
        line-height: 45px;
        max-width: 180px;
    }

    footer .links-lists {
        gap: var(--gap-lg);
    }

    footer .links-lists li .title {
        font-size: var(--fs-3);
        margin-bottom: 5px;
        font-weight: bold;
    }

    footer .footer-pic {
        gap: var(--gap-lg);
    }

    footer .awards-link img {
        height: 45px;
    }

    footer .qr-code {
        gap: var(--gap-sm);
    }

    footer .qr-code a {
        width: 54px;
        height: 54px;
    }

    /* 栏目公用 */
    section.about-us,
    section.new-products,
    section.applications,
    section.partners,
    section.awards {
        padding: var(--gap-xl) 0;
    }

    section.new-products {
        padding-bottom: var(--gap-lg);
    }

    section.news {
        padding-top: var(--gap-lg);
    }

    /* 关于我们 */
    section.about-us .nub-lists {
        margin-top: var(--gap-sm);
    }

    section.about-us .about-text {
        padding: var(--gap-xl);
    }

    /* 详情页更新时间 */
    .new-detail-date {
        position: unset !important;
    }
}

@media(max-width: 1440.98px) {

    /* 产品列表 */
    .pro-list-cont .pro-info-cont .pro-info-head {
        grid-template-columns: 70% auto;
    }

    .pro-list-cont .pro-info-head .pro-btns {
        display: grid;
        justify-content: flex-end;
    }
}