
.navbar0 {
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 导航条占位符，防止内容被固定导航遮挡 */
.navbar-placeholder {
    height: 70px;
    width: 100%;
    visibility: hidden;
}


.navbar {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 70px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    z-index: 1000;
}


.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 0;
}

.logo a {
    display: block;
    height: 50px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    justify-content: flex-end;
    flex: 1;
    gap: 40px;
}

.nav-item {
    position: relative;
    display: flex;
    padding: 0 15px;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    /*background-color: rgba(94, 145, 164, 0.08);*/
    /*background-color: rgba(94, 145, 164, 0.1);*/
}

.nav-link {
    display: block;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.3s ease;
    padding: 10px 5px;
}

.nav-link span {
    display: block;
    font-size: 15px;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
    color: #0C0C0C;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link:hover span {
    /*color: #5e91a4;*/
    color: #f90122;
}

.nav-item.active .nav-link {
    color: #fff;
    /*color: #f90122;*/
    /*background-color: #5e91a4;*/
    background-color: #f90122;
    border-radius: 4px;
    padding: 10px 15px;
}

.nav-item.active .nav-link span {
    color: #fff;
    /*color: #0C0C0C;*/
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 20px;
    position: relative;
    overflow: visible;
}


.search-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #333;
    flex-shrink: 0;
    /*background:  linear-gradient(135deg, #5e91a4 0%, #4a78f4 100%);*/
}

.search-icon:hover {
    background-color: rgba(94, 145, 164, 0.1);
    /*color: #5e91a4;*/
    color: #f90122;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-text {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-icon:hover .search-text {
    color: #5e91a4;
}


.search-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    align-items: center;
    gap: 8px;
    width: 0;
    overflow: hidden;
    min-width: 300px;

}

#search-input {
    width: 0;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    color: #333;
    flex-shrink: 0;
}

#search-input:focus {
    background-color: white;
    border-color: #5e91a4;
    width: 200px;
}

#search-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #5e91a4 0%, #4a78f4 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

#search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 145, 164, 0.4);
}

.lang-item.active {
    background-color: #007bff;
    color: white;
}

/* 语言切换下拉菜单样式 */
.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    white-space: nowrap;
}

.lang-current:hover {
    background-color: #e8e8e8;
    border-color: #5e91a4;
}

.lang-flag {
    font-size: 18px;
    flex-shrink: 0;
}

.lang-flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


.lang-name {
    font-weight: 500;
    color: #333;
}

.lang-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.language-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: block;
    pointer-events: none;
}

.lang-dropdown-menu.show {
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background-color: #f5f7fa;
}

.lang-option .lang-flag {
    font-size: 20px;
}

.lang-option .lang-flag-img {
    width: 28px;
    height: 18px;
}

.lang-option .lang-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.lang-option.active {
    background-color: #5e91a4;
}

.lang-option.active .lang-text {
    color: white;
}

.back-to-top {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c9a769 0%, #b08c4f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover img {
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .navbar {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-item {
        padding: 0 12px;
    }

    .nav-link span {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-item {
        padding: 0 10px;
    }

    .nav-link span {
        font-size: 13px;
    }

    .logo-img {
        height: 45px;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-item {
        padding: 0 8px;
    }

    .nav-link span {
        font-size: 12px;
    }

    .navbar-right {
        gap: 15px;
    }

    .logo-img {
        height: 40px;
    }

    .search-box {
        min-width: 250px;
    }
}

@media (max-width: 1000px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-item {
        padding: 0 5px;
    }

    .nav-link span {
        font-size: 11px;
    }

    .logo-img {
        height: 35px;
    }

    .lang-name {
        display: none;
    }

    .lang-current {
        padding: 8px;
    }

    .search-box {
        min-width: 200px;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 10px;
    }

    .nav-menu {
        display: none;
    }

    .logo-img {
        height: 30px;
    }

    .navbar-right {
        gap: 10px;
    }

    .search-icon {
        width: 35px;
        height: 35px;
    }

    .search-box {
        min-width: 180px;
    }
}

/* 防止出现横向滚动条 */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

* {
    box-sizing: border-box;
}


.back-to-top {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c9a769 0%, #b08c4f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover img {
    transform: translateY(-3px);
}


/* 右侧浮动菜单 */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    /*gap: 2px;*/
}

.right-sidebar-item {
    position: relative;
    width: 60px;
    height: 60px;
    /*background-color: #ff6600;*/
    background-color: #f90122;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    border-bottom: 2px solid white;


}

.right-sidebar-item:hover {
    /*background-color: #ff5500;*/
    transform: translateX(-5px);
}

.right-sidebar-item.gray {
    background-color: #999999;
}

.right-sidebar-item.gray:hover {
    background-color: #888888;
}

.right-sidebar-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.right-sidebar-popup {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10000;
    width: fit-content;
    min-width: 100px;
    /*white-space: pre;*/
    word-break: keep-all;
    overflow-wrap: normal;
}

.right-sidebar-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


.right-sidebar-popup-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    display: block;
    text-align: left;
    white-space: pre;
    word-break: keep-all;
}

.right-sidebar-popup-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.right-sidebar-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.right-sidebar-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

#sidebar-back-to-top .right-sidebar-icon-img {
    filter: none;
}


/* 响应式设计 */
@media (max-width: 1600px) {
    .right-sidebar-item {
        width: 55px;
        height: 55px;
    }

    .right-sidebar-icon {
        width: 28px;
        height: 28px;
    }

    .right-sidebar-icon-img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 1400px) {
    .right-sidebar-item {
        width: 50px;
        height: 50px;
    }

    .right-sidebar-icon-img {
        width: 26px;
        height: 26px;
    }

    .right-sidebar-icon {
        width: 26px;
        height: 26px;
    }

    .right-sidebar-popup {
        right: 60px;
        padding: 10px 16px;

    }

    .right-sidebar-popup-text {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .right-sidebar-item {
        width: 48px;
        height: 48px;
    }

    .right-sidebar-icon-img {
        width: 24px;
        height: 24px;
    }


    .right-sidebar-icon {
        width: 24px;
        height: 24px;
    }

    .right-sidebar-popup {
        right: 55px;
        padding: 8px 14px;

    }

    .right-sidebar-popup-text {
        font-size: 12px;
    }
}

@media (max-width: 1000px) {
    .right-sidebar {
        right: 5px;
    }

    .right-sidebar-item {
        width: 45px;
        height: 45px;
    }

    .right-sidebar-icon {
        width: 22px;
        height: 22px;
    }

    .right-sidebar-icon-img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .right-sidebar {
        display: none;
    }
}

/**/

/* 面包屑导航容器 */
.breadcrumb-container {
    width: 100%;
    background-color: #f5f5f5;
    padding: 15px 0;
}

.breadcrumb-content {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.breadcrumb-icon {
    font-size: 16px;
}

.breadcrumb-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #007bff;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .breadcrumb-content {
        padding: 0 15px;
        font-size: 13px;
    }

    .breadcrumb-icon {
        font-size: 14px;
    }
}

/**/
/**/

/* 产品系列超级下拉菜单 - 全宽外容器 */
.product-mega-menu-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 3px solid #f90122;
    pointer-events: none;
}

#product-nav-item:hover .product-mega-menu-wrapper,
.product-mega-menu-wrapper:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 内容容器 - 最大宽度1420px */
.product-mega-menu {
    max-width: 1420px;
    margin: 0 auto;
    padding: 30px 40px;
    position: relative;
}


/* 左侧联系人信息框 - 固定在页面左上角 */
.product-mega-contact {
    position: fixed;
    left: 20px;
    top: 90px;
    width: 200px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 1000;
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    /*border-bottom: 2px solid #5e91a4;*/
    border-bottom: 2px solid #e0e0e0;
}

.contact-item {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.contact-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* 右侧产品类别网格 */
.product-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: fixed;
    top: 100px;
    width: 35%;
}

.product-category-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-category-title {
    font-size: 15px;
    font-weight: 600;
    color: #e53935;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;

    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-category-title:hover {
    color: #c62828;
}

.product-subcategory-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.8;
}

.product-subcategory-link:hover {
    color: #5e91a4;
    padding-left: 5px;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .product-mega-menu {
        padding: 25px 30px;
        padding-left: 250px;
    }

    .product-mega-contact {
        left: 15px;
        top: 85px;
        width: 190px;
        padding: 18px;
    }

    .product-mega-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1400px) {
    .product-mega-menu {
        padding: 20px 25px;
        padding-left: 240px;
    }

    .product-mega-contact {
        left: 15px;
        top: 80px;
        width: 180px;
        padding: 15px;
    }

    .product-mega-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .product-mega-menu {
        padding-left: 220px;
    }

    .product-mega-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .product-mega-menu-wrapper {
        display: none;
    }
}

/* 防止出现横向滚动条 */

/* 关于我们超级下拉菜单 - 全宽外容器 */
.about-mega-menu-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 3px solid #f90122;
    pointer-events: none;
}

#about-nav-item:hover .about-mega-menu-wrapper,
.about-mega-menu-wrapper:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 内容容器 */
.about-mega-menu {
    max-width: 1420px;
    margin: 0 auto;
    padding: 30px 40px;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
}


/* 左侧联系人信息框 - 固定在页面左上角 */
.about-mega-contact {
    /*position: fixed;*/
    /*left: 20px;*/
    /*top: 20px;*/
    /*width: 200px;*/
    /*padding: 20px;*/
    /*background-color: #f8f9fa;*/
    /*border: 1px solid #e0e0e0;*/
    /*border-radius: 8px;*/
    /*z-index: 1000;*/


    position: fixed;
    left: 20px;
    top: 90px;
    width: 200px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 1000;


}

/* 右侧菜单链接 */
.about-mega-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 100px;
    min-width: 200px;
}


.about-menu-link {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.6;
    font-weight: 500;
    border-bottom: 2px solid #e0e0e0;
    width: 200px;
}

/*.about-menu-link:last-child {*/
/*    border-bottom: none;*/
/*}*/

.about-menu-link:hover {
    color: #f90122;
    padding-left: 5px;
    /*border-bottom-color: #5e91a4;*/
    border-bottom-color: #f90122;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .about-mega-menu {
        padding: 25px 30px;
        padding-left: 250px;
    }

    .about-mega-contact {
        left: 15px;
        top: 15px;
        width: 190px;
        padding: 18px;
    }
}

@media (max-width: 1400px) {
    .about-mega-menu {
        padding: 20px 25px;
        padding-left: 240px;
    }

    .about-mega-contact {
        left: 15px;
        top: 15px;
        width: 180px;
        padding: 15px;
    }
}

@media (max-width: 1200px) {
    .about-mega-menu {
        padding-left: 220px;
    }
}

@media (max-width: 1000px) {
    .about-mega-menu-wrapper {
        display: none;
    }
}
/**/