:root {
    --border: 1px solid var(--eh-secondary-200);
}

body {
    color: var(--eh-secondary-700);
}

.text-indent {
    text-indent: 2rem;
}

ul {
    padding: 0;
    margin: 0;
}

    ul > li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

a {
    text-decoration: none;
    color: var(--eh-secondary-700);
}

.border-bottom {
    border-bottom: 2px solid var(--eh-primary-600) !important;
}

a:hover {
    color: var(--eh-primary-600);
}

.bfc {
    height: 1px;
}

.top-bar {
    border-bottom: var(--border);
}

.header {
    border-bottom: var(--border);
}


/* Logo */
.logo img {
    max-height: 100px;
}

.logo-sm img {
    max-height: 60px;
}
.top-bar .lang-select a:not(:last-child) {
    border-right: 1px solid #999;
    padding-right: 0.5rem;
    margin-right: 0.5rem;
}
.header-lang {
    font-size: 0.8rem;
    border: 1px solid var(--eh-secondary-300);
    padding: 0.2rem 0.5rem;
    color: var(--eh-secondary-500);
    border-radius: 5px;
}

    .header-lang.current {
        background-color: var(--eh-primary-600);
        color: #fff;
        border: 1px solid var(--eh-primary-600);
    }

.isFixed {
    position: fixed;
    z-index: 12;
    width: 100%;
    top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





/* 基础按钮样式 */
.hamburger-btn {
    display: inline-block;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    margin: 0;
    outline: none;
    border: 2px solid #999;
    border-radius: 5px;
}

/* 三条横线的容器 */
.hamburger-box {
    width: 30px;
    height: 24px;
    display: flex;
    align-items: center;
    position: relative;
}

/* 三条线的公共样式 */
.hamburger-inner {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #999;
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

    /* 三条线的位置 */
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        background-color: #999;
        border-radius: 3px;
        position: absolute;
        transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .hamburger-inner::before {
        top: -8px;
    }

    .hamburger-inner::after {
        bottom: -8px;
    }

/* 悬停效果 */
.hamburger-btn:hover .hamburger-inner,
.hamburger-btn:hover .hamburger-inner::before,
.hamburger-btn:hover .hamburger-inner::after {
    background-color: #3498db;
}

.nav-bar {
    background-color: #fff;
}

    .nav-bar .nav-item {
        flex: 1;
        text-align: center;
    }



        .nav-bar .nav-item:not(:last-child) {
            border-inline-end: var(--border);
        }

.header-nav-link {
    display: inline-block;
    padding: 1rem 0;
}

.nav-bar .nav-item:hover .header-nav-link,
.nav-bar .nav-item.current .header-nav-link {
    border-bottom: 3px solid var(--eh-primary-600);
}
.carousel-caption {
    background-color: rgba(0,0,0,0.6);
    border-radius: 1rem;
    font-size: 1.2rem;
}


/* offcanvas */
#offcanvasMenu {
    background-color: var(--eh-neutral-800);
    color: var(--eh-neutral-50);
    opacity: 0.95;
}

    #offcanvasMenu a {
        color: var(--eh-neutral-50);
    }

.offcanvas-start,
.offcanvas-end {
    width: 80vw;
}

.offsetCanvasMenu-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--eh-primary-600);
}

.offcanvas-section:not(:first-of-type) {
    margin-top: 1.5rem;
}

.offsetCanvasMenu-nav {
    flex: 1;
    flex-wrap: wrap;
}

    .offsetCanvasMenu-nav a {
        margin: 0.5rem 0.2rem;
        font-size: 1.1rem;
        word-break: keep-all;
        color: var(--eh-neutral-50);
    }

.offsetCanvasMenu-product__series {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 0.5rem;
    grid-column-gap: 0.5rem;
}

.offsetCanvasMenu-product__series_item {
    text-align: center;
}

    .offsetCanvasMenu-product__series_item a {
        color: var(--eh-neutral-50);
    }

    .offsetCanvasMenu-product__series_item img {
        border-radius: 5px;
    }

.offsetCanvasMenu-product__series a {
    font-size: 0.8rem;
}

.offsetCanvasMenu-product__series img {
    max-width: 100%;
}

.offsetCanvasMenu-contacts {
    list-style: none;
    -webkit-padding-start: 0;
    padding-inline-start: 0;
    padding-block-start: 0;
}

    .offsetCanvasMenu-contacts li:first-child {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .offsetCanvasMenu-contacts li:not(:first-of-type) {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

/*end of offcanvas */


.nav-pop-menu {
    z-index: 3;
    left: 0;
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
    box-shadow: 3px 3px 15px #ccc;
}

.nav-drop {
    position: relative;
}
    .nav-drop .nav-pop-menu {
        max-height: 0px !important;
        display: block;
        transition: 0.3s;
        overflow:hidden;
    }

    .nav-drop:hover .nav-pop-menu {
        display: block;
        max-height:500px !important;
    }

.nav-pop:hover .nav-pop-menu {
    display: block;
}

.nav-pop-menu__inner {
    background-color: #fff;
    padding: 2rem 0;
    border: 1px solid #eee;
}

.section-header {
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

    .section-header::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        border-bottom: var(--border);
        z-index: -1;
    }

    .section-header > span {
        font-size: 2rem;
        padding: 0.3rem 1.5rem;
        background-color: white;
        display: inline-block;
    }

    .section-header > h1 {
        display: inline;
        font-size: 2rem;
        padding: 0.3rem 1.5rem;
        background-color: white;
        display: inline-block;
    }

.more-box {
    display: inline-block;
    position: relative;
    align-items: center;
    padding: 0 1.5rem 0 0.8rem;
    border: var(--border);
    border-radius: 3px;
}

.section-header .more-box{
    transform:translateY(50%);
}

.more-box:hover {
    border-color: var(--eh-primary-600);
    background-color: var(--eh-primary-600);
    color: white
}

    .more-box::after {
        content: "";
        height: 0.5rem;
        display: inline-block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        border-width: 0.5rem;
        border-style: solid;
        border-color: transparent transparent transparent var(--eh-secondary-700);
    }

    .more-box:hover::after {
        border-inline-start-color: white;
    }

    .more-box.fill {
        border-color: var(--eh-primary-600);
        background-color: var(--eh-primary-600);
        color: white
    }

        .more-box.fill::after {
            border-inline-start-color: white;
        }

.company-profile {
    text-align: center;
}


.company-profile__name {
    background-color: var(--eh-secondary-700);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

.company-profile__content {
    font-size: 1.2rem;
}


.product-cat-item {
    text-align: center;
    margin-top: 1rem;
    margin: 0 0.5rem;
    z-index: 3;
    position: relative;
}


    .product-cat-item img,
    .hot-product-item img {
        transform: scale(1);
        position: relative;
        z-index: 0;
        transition: 0.3s;
        width: 100%;
        z-index: -1;
    }

    .product-cat-item:hover img,
    .hot-product-item:hover img {
        transform: scale(1.1);
    }

.product-cat-item__modelno,
.product-cat-item__desc {
    position: relative;
    z-index: 3;
}

.product-cat-item:hover .product-cat-item__modelno {
    color: var(--eh-primary-600);
}

.product-cat-item__modelno {
    overflow: hidden;
    font-weight: bold;
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
    border-bottom: var(--border);
    display: inline-block;
}

.product-cat-item__desc {
    font-size: small;
    color: #777;
}

.product-cats-section {
    padding: 2rem 0;
    border-top: 1px solid var(--eh-secondary-600);
    border-bottom: 1px solid var(--eh-secondary-600);
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    font-size: 1.3rem;
}

.all-cat-label {
    background-color: var(--eh-primary-600);
    color: var(--eh-secondary-50) !important;
    padding: 0.3rem 1rem;
    border-radius: 7%;
}

.company-spirit-section {
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 2rem 0;
}


.company-spirit-item {
    margin-bottom: 1rem;
}

    .company-spirit-item:not(:last-child) {
        border-inline-end: var(--border);
    }

.hot-product-item {
    display: block;
    display: flex;
}


.hot-product-modelno,
.hot-product-name {
    text-align: center;
}

.hot-product-modelno {
    font-weight: bold;
    margin-top: 0.5rem;
}

.news-date div {
    line-height: 1.5rem;
}
.news-month{

    color:#666;
}

.news-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: var(--border);
}

.sub-section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

    .sub-section-title::before,
    .sub-section-title::after {
        content: "";
        width: 1rem;
        height: 0;
        display: inline-block;
        border-bottom: var(--border);
        margin: 0 0.5rem;
    }

.faq-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: var(--border);
}

.faq-item__prefix {
    padding: 0.1rem 0.3rem;
    color: white;
    background-color: var(--eh-secondary-700);
    border-radius: 3px;
    margin: 0.3rem;
}

    .faq-item__prefix.q {
        background-color: var(--eh-primary-600) !important;
    }

footer {
    border-top: var(--border);
    border-top-width: 2px !important;
    padding-top: 3rem;
}

.footer-col {
}

    .footer-col:not(:last-child) {
        border-inline-end: var(--border);
    }

.footer__company_name {
    display: inline-block;
    font-weight: bold;
    font-size: 1.5rem;
    background-color: var(--eh-primary-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}


/* 使用SVG图标 */
.hot-cats .slick-prev,
.hot-cats .slick-next {
    position: absolute;
    background-color: var(--eh-secondary-600) !important;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem !important;
    height: 2rem !important;
    border-radius: 10%;
    padding: 0.3rem 0.5rem !important;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hot-cats .slick-prev:hover,
    .hot-cats .slick-next:hover {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        background-color: var(--eh-secondary-900);
    }

/* SVG箭头 */
.hot-cats .slick-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.hot-cats .slick-prev:hover svg,
.hot-cats .slick-next:hover svg {
    stroke: #ff6b6b;
}

.hot-cats .slick-prev {
    position: absolute;
    left: -3rem !important;
}

.hot-cats .slick-next {
    position: absolute;
    right: -3rem !important;
}

/* aside-pad */

.aside-pad {
    margin-top: 2rem;
    display: inline-block;
    width: 100%;
    border: var(--border);
}

.aside-pad__title {
    padding: 1rem 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: var(--border);
    border-inline-start: 10px solid var(--eh-primary-600);
}

.aside-pad__title-text::before,
.aside-pad__title-text::after {
    content: "";
    width: 2rem;
    height: 3px;
    border-bottom: 2px solid white;
    display: inline-block;
    margin: 0 0.5rem;
    position: relative;
    bottom: 0.3rem;
}

.aside-pad__title-sub {
    font-size: 0.8rem;
    font-weight: normal;
}

.aside-pad__list > ul {
    padding: 0 5px;
}

    .aside-pad__list > ul > li {
        text-align: center;
        padding: 0.5rem;
        border-bottom: 1px solid #eee;
        font-size: 1.2rem;
    }

.aside-pad__footer {
    /* background-color: var(--eh-primary-600); */
    background-color: var(--eh-secondary-600);
    color: white;
}


.side-contact-pad {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    color: white;
}



.side-contact-pad__title {
    padding: 1rem 0.3rem;
    letter-spacing: 0.3rem;
    writing-mode: vertical-lr;
    background-color: var(--eh-primary-600);
    border-radius: 5px;
}

.side-contact-pad .side-contact-pad__body {
    width: 300px;
    background-color: rgba(50, 50, 50, 0.9);
    transition: 0.3s;
    opacity: 0;
    overflow: hidden;
    color: #fff;
    overflow: hidden;
    position: absolute;
    left: -300px;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 2px 2px 5px #666;
}

.side-contact-pad:hover .side-contact-pad__body {
    opacity: 1;
    left: 0;
}

.side-contact-pad__item-title {
    background-color: var(--eh-primary-600);
    display: inline-block;
    padding: 0 0.5rem;
    border-radius: 10%;
    color: #fff;
}

.side-contact-pad.right {
    right: 0 !important;
    left: unset;
}

    .side-contact-pad.right .side-contact-pad__body {
        right: -300px !important;
        left: unset;
    }



.side-contact-pad:hover.right .side-contact-pad__body {
    right: 0 !important;
    left: unset;
}

/* end of aside-pad */


/* product details */

.product-image-slider .slick-prev,
.product-image-slider .slick-next {
    display: inline-flex;
    z-index: 10 !important;
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    color: var(--eh-primary-600);
    padding: 0 0.3rem;
    align-items: center;
    opacity: 0.2;
    transition: 0.3s;
}

.product-image-slider .slick-prev {
    left: -2.2rem;
}

.product-image-slider .slick-next {
    right: -2.2rem;
}

.product-image-slider:hover .slick-arrow {
    opacity: 1 !important;
}


.slider-nav-thumbnails .slick-prev,
.slider-nav-thumbnails .slick-next {
    display: inline-flex;
    z-index: 10 !important;
    cursor: pointer;
    height: 100%;
    border: 1px solid #ccc;
    position: absolute;
    top: 0;
    background-color: #f6f6f6;
    color: var(--eh-primary-600);
    padding: 0 0.3rem;
    align-items: center;
}

.slider-nav-thumbnails .slick-prev {
    left: -2rem;
}

.slider-nav-thumbnails .slick-next {
    right: -2rem;
}


.slick-prev.slick-disabled,
.slick-next.slick-disabled {
    cursor: unset;
    color: var(--eh-primary-200);
}

.slider-nav-thumbnails .slick-slide {
    cursor: pointer;
    opacity: .4;
    border: 1px solid #ccc;
    margin: 0 2px;
}

    .slider-nav-thumbnails .slick-slide.slick-current {
        opacity: 1 !important
    }

        .slider-nav-thumbnails .slick-slide.slick-current img {
            border: 2px solid var(--eh-primary-600)
        }
.product-detail_contacts img {
    max-width: 100%;
}

@media screen and (min-width: 768px) {
    .product-detail_contacts img {
        max-width: 150px;
    }
}
.product-detail__desc img {
    max-width: 100% !important;
}
.product-detail-info {
}

.product-detail__modelno {
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    border-bottom: 2px solid var(--eh-primary-600);
    border-radius: 3px
}

.product-detail__modelname {
    color: var(--eh-neutral-900);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.field-title {
    color: white;
    background-color: var(--eh-secondary-800);
    padding: 0.3rem 0.5rem;
    display: inline-block;
}

.product-attr {
    padding: 0.5rem 1rem;
}

    .product-attr:nth-child(even) {
        background-color: #f3f3f3;
    }

.attr-name {
    color: var(--eh-primary-600);
    font-weight: bold;
}

    .attr-name::after {
        content: ":";
    }
/* end of product details */

.content-header {
    border-bottom: var(--border);
}

    .content-header > span {
        font-size: 1.4rem;
        padding-bottom: 0.1rem;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        border-bottom: 5px solid var(--eh-primary-600);
    }

.article-wrap {
    text-indent: 2rem;
}

@media screen and (min-width: 768px) {
    .article-wrap {
        min-height: 400px;
        text-indent: 2rem;
        line-height: 180%;
    }
}

.object-fit-cover {
    object-fit: cover
}

.pagination-bar {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .pagination-bar a {
        font-size: 1.2rem;
        display: inline-block;
        padding: 0 0.5rem;
        margin: 0.2rem;
        background-color: #eee;
    }

        .pagination-bar a.current {
            color: white !important;
            background-color: var(--eh-primary-600) !important;
        }

        .pagination-bar a.disabled {
            color: #999 !important;
        }

.contact-name {
    font-weight: bold;
}

    .contact-name::after {
        content: ":";
        margin-inline-end: 0.5rem;
    }

.product-info-table {
    border: 1px solid #eee; /* 外边框 */
    border-collapse: collapse; /* 合并边框 */
    width: 100%;
    color: #333;
}

    .product-info-table td, .product-info-table th {
        border: 1px solid #ccc; /* 单元格边框 */
        padding: 8px; /* 内边距 */
    }

    .product-info-table th {
        text-align: start;
        padding: 0.5rem;
    }

    .product-info-table tr:first-child {
        background-color: unset !important;
    }

    .product-info-table tr:nth-child(2n) {
        background-color: #eee;
    }

.product-spec-img {
    max-width: 40px;
    max-height: 40px;
    display: inline;
    margin: 0.5rem;
}
.pre-line {
    white-space: pre-line;
}
.catalog_item {
    padding: 2rem;
    margin: 1rem;
    border-bottom: 1px dashed var(--eh-primary-700);
}

    .catalog_item img {
        width: 250px;
        height: 250px;
        object-fit: contain;
    }

    .catalog_item a {
        border-bottom: 1px solid var(--eh-primary-700);
    }

.company-honor__item {
    max-height: 200px;
    padding: 1rem;
    overflow: hidden;
}

    .company-honor__item img {
        max-width: 100%;
    }

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px !important;
    }
}


.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}

    .mobile-bottom-nav .nav-link {
        font-size: 12px;
        color: #6c757d;
        padding: 6px 0;
    }

        .mobile-bottom-nav .nav-link.current,
        .mobile-bottom-nav .nav-link:hover {
            color: var(--eh-primary-700);
        }

    .mobile-bottom-nav i {
        font-size: 20px;
        display: block;
        margin-bottom: 2px;
    }
.news-content img {
    max-width: 95% !important;
}


/*video*/
.about-us__cover {
    position: relative;
}
.video-modal .modal-body {
    padding: 0 !important;
}

.video-modal .plyr video {
    display: block;
    width: 100%;
    height: 90vh;
    max-height: 90vh;
    object-fit: contain;
}

@media (max-width:767.98px) {
    .video-modal .modal-body {
        height: 100%
    }

    .video-modal .plyr video {
        max-height: 100vh
    }
}

.about-us__cover .video-cover {
    transition: transform .5s ease;
}

.about-us__cover:hover .video-cover {
    transform: scale(1.02)
}



/* 中央播放按钮 */
.play-badge, .play-badge::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.play-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--eh-primary-600);
    box-shadow: 0 6px 20px rgba(0,0,0,.28);
    transition: background-color .2s ease,transform .2s ease;
    cursor: pointer;
}

    .play-badge::before {
        content: "";
        width: 50px;
        height: 50px;
        margin: 0;
        background-color: #fff;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/contain no-repeat;
    }

.about-us__cover:hover .play-badge {
    background: var(--eh-primary-700);
    transform: translate(-50%,-50%) scale(1.08)
}

