/* 手机 / 平板自适应。电脑宽屏不进入这些断点。 */

.ep-menu-btn,
.ep-tel-btn,
.ep-nav-call {
    display: none;
}

/* 左侧栏目下划线按文字宽度居中，六字栏目和四字栏目同一条中线 */
.lanmu a {
    display: inline-block !important;
    width: auto !important;
}

.lanmu a::after {
    left: calc(50% + 13px) !important;
    transform: translateX(-50%) !important;
}

/* 关于我们：竖线两端贴住中文上沿和英文下沿，避免字被裁切 */
.lanmu_title {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 0 0 18px !important;
    box-sizing: border-box !important;
}

.lanmu_title .index_div1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
}

.lanmu_title .index_div4 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
}

@media (max-width: 1280px) {
    .top-logo,
    .ep-container,
    .ep-footer-inner,
    .product-list-container,
    .jidi_item,
    .ep-main .container {
        width: calc(100% - 24px) !important;
        max-width: 1520px !important;
    }

    .ep-nav {
        max-width: 100% !important;
    }

    .ep-nav-item > a {
        width: auto !important;
        padding: 0 12px !important;
        font-size: 16px !important;
    }

    .ep-swiper-wrap .swiper-slide img {
        height: 42vw !important;
        min-height: 200px;
        max-height: 460px;
        object-fit: cover;
        object-position: 20% center;
    }

    .wubao,
    .jidihuanjing {
        height: auto !important;
        background-size: cover !important;
    }

    .ep-main .container {
        height: auto !important;
    }

    .systemitem {
        gap: 24px !important;
        justify-content: center;
    }

    .two_lr {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }

    .about-neirong,
    .ep-main div[style*="width:700px"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .carousel {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 700 / 410;
    }

    .carousel-slide {
        height: 100% !important;
    }
}

@media (max-width: 1100px) {
    .ep-footer {
        height: auto !important;
    }

    .ep-footer-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #footer_nav,
    #footer_nav .ep-footer-links {
        margin-left: 0 !important;
    }
    #footer_nav .ep-footer-links,
    #ep_app_footer [style*="width:508px"],
    #ep_app_footer [style*="width:742px"],
    #ep_app_footer [style*="width:1350px"],
    #ep_app_footer [style*="width:1250px"],
    #ep_app_footer [style*="width:617px"],
    #ep_app_footer [style*="width:903px"],
    #ep_app_footer [style*="width:1520px"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .index_contact {
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    html,
    body {
        overflow-x: hidden;
    }

    .ep-header {
        height: auto !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    body.ep-layout {
        padding-top: var(--ep-head-offset, 64px) !important;
    }

    .top-logo {
        width: 100% !important;
        height: auto !important;
        padding: 8px 12px !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .ep-logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .ep-logo img {
        display: block !important;
        width: auto !important;
        height: 48px !important;
        max-width: 100% !important;
        max-height: 48px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .ep-header-actions {
        flex: 0 0 auto !important;
        margin-left: 8px !important;
    }

    .ep-hotline-img,
    .ep-tel-btn {
        display: none !important;
    }

    .ep-nav-call {
        display: block !important;
    }

    .ep-nav-call > a {
        color: #f37411 !important;
        font-weight: 700 !important;
    }

    .ep-back-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        margin-right: 4px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .ep-back-btn span {
        display: block;
        width: 12px;
        height: 12px;
        margin-left: 4px;
        border-left: 2px solid #f37411;
        border-bottom: 2px solid #f37411;
        transform: rotate(45deg);
    }

    .ep-menu-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        margin-left: 4px;
        padding: 9px;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .ep-menu-btn span {
        display: block;
        height: 2px;
        background: #f37411;
        border-radius: 2px;
    }

    .ep-header-inner {
        display: none !important;
        height: auto !important;
    }

    body.ep-nav-open .ep-header-inner {
        display: block !important;
        max-height: calc(100vh - var(--ep-head-offset, 64px));
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    }

    body.ep-nav-open .ep-nav {
        display: block !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .ep-nav > ul {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }

    .ep-nav > ul > .ep-nav-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        min-width: 0 !important;
        box-sizing: border-box;
        background: #fff;
        border-bottom: 1px solid #f2f2f2;
    }

    .ep-nav-item > a {
        width: auto !important;
        flex: 0 0 auto;
        height: 48px !important;
        padding: 0 14px !important;
        justify-content: flex-start !important;
        font-size: 16px !important;
        color: #333 !important;
        background: transparent !important;
        border-bottom: 0 !important;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .ep-header .ep-submenu {
        display: flex !important;
        position: static !important;
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        align-items: center;
        overflow: hidden;
        height: 48px;
        margin: 0;
        padding: 0 0 0 4px;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        list-style: none;
    }

    .ep-header .ep-submenu > li {
        flex: 0 0 auto;
    }

    .ep-header .ep-submenu > li > a {
        display: flex;
        align-items: center;
        height: 48px;
        padding: 0 8px;
        color: #666;
        font-size: 14px;
        font-weight: 400;
        white-space: nowrap;
        background: transparent;
    }

    .ep-header .ep-submenu > li.is-active > a {
        color: #f37411;
        font-weight: 700;
    }

    .ep-nav-item.is-active > a {
        color: #f37411 !important;
        background: #fff6ec !important;
        font-weight: 700 !important;
    }

    .ep-main {
        overflow-x: hidden;
    }

    .ep-main > div[style*="height:500px"] {
        height: 168px !important;
        background-position: right center !important;
        background-size: cover !important;
    }

    .ep-container,
    .product-list-container,
    .jidi_item,
    .ep-main .container,
    .top-logo {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ep-container,
    .ep-footer-inner {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .ep-row {
        display: block !important;
        gap: 0 !important;
    }

    .ep-row.about,
    .ep-row[style*="margin-top"] {
        margin-top: 20px !important;
    }

    .ep-col-main,
    .ep-col-side {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    .ep-col-side {
        min-height: 0 !important;
        background: none !important;
        margin-top: 0 !important;
    }

    .ep-col-main {
        margin-top: 8px !important;
    }

    .biaoti,
    .ep-col-side1 {
        display: none !important;
    }

    .contact {
        display: block !important;
        width: 100% !important;
        margin-top: 16px !important;
    }

    .contact_left,
    .contact_right {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 0 16px !important;
        box-sizing: border-box;
    }

    .contact_right {
        padding: 16px !important;
    }

    .c_title {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }

    .c_desc,
    .c_lx {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .contact_right textarea {
        height: 140px !important;
    }

    .xingqing {
        height: 46px !important;
        margin-top: 16px !important;
        font-size: 18px !important;
    }

    .bt_title {
        width: auto !important;
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .yw_title {
        width: auto !important;
        height: auto !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .biaoshi img {
        max-width: 180px !important;
        height: auto !important;
    }

    .lanmu {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 12px 0 4px !important;
    }

    .lanmu a {
        margin-left: 0 !important;
        padding: 8px 12px !important;
        height: auto !important;
        line-height: 1.4 !important;
        border-left: 0 !important;
        background: #fff6ec;
        border-radius: 16px;
        font-size: 14px !important;
    }

    .lanmu a::before,
    .lanmu a::after {
        display: none !important;
    }

    .lanmu div[style*="border-left"] {
        display: none !important;
    }

    .sec-head::before {
        height: 36px !important;
    }

    .sec-head-tit,
    .index_h1,
    .index_div1 {
        font-size: 24px !important;
        letter-spacing: 0 !important;
    }

    .index_h4,
    .index_div4,
    .sec-head-sub {
        letter-spacing: 0 !important;
    }

    .lanmu_title .index_div1 {
        font-size: 26px !important;
    }

    .lanmu_title .index_div4 {
        font-size: 13px !important;
        margin-top: 6px !important;
    }

    .lanmu_title,
    .lanmu_title1 {
        height: auto !important;
        margin-top: 24px !important;
    }

    .ep-row.about .lanmu_title {
        margin-top: 0 !important;
    }

    .about-neirong {
        width: 100% !important;
        height: auto !important;
    }

    .icon-nav {
        width: 100% !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .icon-item,
    .icon-item img {
        width: 64px !important;
        height: 88px !important;
    }

    .wubao {
        margin: 12px 0 !important;
        padding: 8px 0 28px !important;
    }

    .systemitem {
        margin-top: 20px !important;
        gap: 16px 8px !important;
    }

    .wubao_item {
        width: calc(50% - 8px) !important;
    }

    .wtitle {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .wdesc {
        height: auto !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .ep-main .container {
        margin: 12px 0 !important;
        padding: 12px !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .sidebar {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        font-size: 15px !important;
    }

    .nav-item {
        width: 50% !important;
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 8px !important;
        font-size: 14px !important;
        box-sizing: border-box;
        text-align: center !important;
        font-weight: 700 !important;
    }

    .content {
        padding-left: 0 !important;
        width: 100% !important;
    }

    .panel-title {
        height: auto !important;
        line-height: 1.3 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 8px 0 6px !important;
    }

    .content-panel,
    .content-panel.active {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .image-row {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .image-box {
        flex: 1 1 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .image-row img,
    .image-box img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .product-item--large,
    .product-item--small {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10;
    }

    .jidihuanjing .lanmu_title1,
    .jidi .lanmu_title1 {
        padding-top: 48px !important;
    }

    .jidi_item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        row-gap: 16px !important;
        column-gap: 0 !important;
    }

    .jidi_item > a {
        display: block !important;
        width: 100% !important;
    }

    .jidi .item_new {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .n_img {
        width: 100% !important;
        height: 180px !important;
    }

    .n_title,
    .n_desc {
        width: 100% !important;
        height: auto !important;
    }

    .n_title {
        font-size: 18px !important;
        margin-top: 10px;
    }

    .n_desc {
        font-size: 14px !important;
    }

    .more_a {
        float: none !important;
        width: auto !important;
        margin: 16px 0 !important;
    }

    .more_a img {
        max-width: 140px !important;
        height: auto !important;
    }

    .img-list {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin: 16px 0 !important;
    }

    .img-list .item {
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .img-list .item_img,
    .img-list .item .img {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
        margin: 0 !important;
    }

    .img-list .item_img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center center;
    }

    .img-list .item_title {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .img-list .item div[style*="padding"] {
        padding: 12px !important;
    }

    .jiao_list,
    .news_list {
        column-gap: 0 !important;
        row-gap: 12px !important;
    }

    .jiao-list-item,
    .news-list-item {
        width: 100% !important;
        height: auto !important;
    }

    .jiao-thumb,
    .news-thumb,
    .ep-thumb,
    img.ep-thumb {
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }

    .ep-list-item {
        flex-direction: column !important;
    }

    .ep-list-desc {
        height: auto !important;
        margin: 10px 0 !important;
        font-size: 15px !important;
    }

    .ep-article-title {
        font-size: 18px !important;
    }

    .neirong,
    .neirong1 {
        font-size: 16px !important;
        padding: 8px 0 !important;
        overflow-x: auto;
        word-break: break-word;
    }

    .neirong img,
    .neirong1 img,
    .ep-show-card-body img,
    .ep-page-body img {
        max-width: 100% !important;
        height: auto !important;
    }

    .neirong table,
    .neirong1 table,
    .neirong iframe,
    .neirong1 iframe,
    .neirong video,
    .neirong1 video {
        max-width: 100% !important;
    }

    .ep-page-body,
    .ep-show-card-body {
        padding: 16px !important;
    }

    .ep-page-title {
        font-size: 22px !important;
    }

    .ep-show-meta {
        width: auto !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .b_title {
        margin-top: 28px !important;
        font-size: 22px !important;
    }

    .liuyan > div[style*="display:flex"] {
        display: block !important;
    }

    .liuyan div[style*="width:40%"],
    .liuyan div[style*="width:50%"],
    .ep-main div[style*="width:40%"],
    .ep-main div[style*="width:50%"] {
        width: 100% !important;
    }

    #map {
        height: 240px !important;
    }

    .two_lr > div[style*="width:"],
    .ep-main div[style*="width:585px"],
    .ep-main div[style*="width:700px"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .carousel {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .carousel-track,
    .carousel-slide {
        height: auto !important;
    }

    .carousel-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .slide-title {
        font-size: 14px !important;
        padding: 8px 40px !important;
    }

    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }

    #footer_nav {
        display: none !important;
    }

    #footer_nav .ep-nav-item1 {
        width: 50% !important;
    }

    .ep-nav-item1 > a,
    .ep-nav-item2 > a {
        width: auto !important;
        height: auto !important;
        justify-content: flex-start !important;
    }
    .ep-nav-item1 > a { font-size: 18px !important; }
    .ep-nav-item2 > a { font-size: 16px !important; }

    .footer_er_nav1 li,
    .ep-footer-inner li {
        width: auto !important;
    }

    #ep_app_footer .ep-footer-inner {
        display: none !important;
    }

    #ep_app_footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10020;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #d57e18;
    }

    #ep_app_footer > div[style*="height:56px"] {
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 12px !important;
        text-align: center;
        font-size: 13px;
    }

    body.ep-layout {
        padding-bottom: 36px !important;
    }

    #ep_app_footer img[alt="Logo"] {
        width: 200px !important;
        height: auto !important;
    }

    .ep-scrolltop {
        right: 12px;
        bottom: 16px;
    }

    .contact_allpage {
        min-height: 0 !important;
        height: auto !important;
        padding: 42px 14px 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        background-image: none !important;
        background: linear-gradient(90deg, #ffb15a 0%, #ff7a3c 100%) !important;
    }

    .allpage-mobile-info {
        display: block !important;
        width: 100%;
        margin-bottom: 10px;
        color: #fff;
        text-align: center;
        font-size: 13px;
        line-height: 1.6;
    }

    .allpage-mobile-info p {
        margin: 0;
    }

    .allpage-mobile-info .allpage-tel {
        display: inline-block;
        margin-top: 2px;
        color: #fff;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.5px;
        text-decoration: none;
    }

    .contact_allpage form {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
    }

    .contact_allpage form,
    .all_liuyan,
    .all_input,
    .allcon_button {
        width: 100% !important;
    }

    .all_liuyan {
        gap: 10px !important;
    }

    .allcon_button {
        height: 44px !important;
        font-size: 16px !important;
        line-height: 44px !important;
    }
}

/* 电脑端：滚过 300px 后，橙色顶部导航吸在最上面。左侧栏目由脚本跟着走。 */
@media (min-width: 992px) {
    .ep-col-side {
        z-index: 2;
    }

    body.ep-nav-stuck .ep-header-inner {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10050 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    }
}

/* 全局留言：固定在屏幕最下方，默认藏在画面外，三秒后弹出 */
.contact_allpage {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    width: 100% !important;
    min-height: 200px;
    margin: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: url("/static/default/pc/img/contact_bg.png") no-repeat left center;
    background-size: 100% 100%;
    transform: translateY(110%);
    transition: transform 0.35s ease;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}

.allpage-mobile-info {
    display: none;
}

.all_liuyan {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.all_input {
    width: calc(50% - 10px);
    height: 50px;
    background: #ffffff;
    border-radius: 5px;
}

.all_liuyan input {
    width: 100%;
    height: 50px;
    border: 0;
    text-align: center;
    background: transparent;
}

.allcon_button {
    width: 100%;
    height: 50px;
    background: linear-gradient(0deg, rgba(255, 173, 63, 1) 0%, #f86d44 100%);
    border: 1px solid #ffffff;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-align: center;
    line-height: 50px;
}

.contact_allpage.is-open {
    transform: translateY(0);
}

@media (min-width: 992px) {
    .contact_allpage form {
        position: absolute;
        left: 52.083%;
        top: 50%;
        width: 620px;
        max-width: calc(47.917% - 56px);
        transform: translateY(-50%);
    }

    .all_input {
        width: 300px;
        flex: 0 0 300px;
        max-width: calc(50% - 10px);
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .allcon_button {
        font-size: 16px !important;
        letter-spacing: 0 !important;
    }
}

.allpage-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    line-height: 32px;
    cursor: pointer;
}

button.allcon_button {
    display: block;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

@media (min-width: 992px) {
    .ep-header .ep-submenu {
        display: none !important;
    }
}

.ep-swiper-wrap .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.ep-swiper-wrap .swiper-pagination-bullet-active {
    background: #F7931E;
    border: solid 2px #fff;
    opacity: 1;
}

.ep-back-btn {
    display: none;
}
