/* sub-catalogue 相关样式 */
.sub-catalogue {
    cursor: default;
    display: flex;
    top: 66px;
    transition: all 0.3s;
    /*opacity: 0;*/
    /*visibility: hidden;*/
    position: absolute;
    left: 0;
    z-index: 100;
    /*width: 1430px;*/
    /*height: 680px;*/
    background: #fff;
    color: #000000;
    border-color: #F2F6FB;
    /*box-shadow: 0 3px 3px 0 rgb(0 0 0 / 5%);*/
    /*overflow: hidden;*/
    border-radius: 6px;
}

.sub-catalogue:hover {
    /*opacity: 1;*/
    /*visibility: visible;*/
}

.sub-catalogue .catalogue-title {
    width: 348px;
    height: 680px;
    min-height: 680px;
    padding: 10px 0 10px 10px;
    background: #E4EEE6;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
}

.sub-catalogue .catalogue-title:hover {
    overflow: visible;
    height: auto;
}

.sub-catalogue .catalogue-title .catalogue-title-item {
    width: 100%;
    height: 35px;
    padding: 0 12px;
    line-height: 35px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    position: relative;
    border-radius: 6px 0 0 6px;
}

.sub-catalogue .catalogue-title .catalogue-title-item:last-child {
    margin-bottom: 0;
}

.sub-catalogue .catalogue-title .catalogue-title-item img {
    width: 18px;
    height: 18px;
    background: #027A56;
    margin-right: 8px;
}

.sub-catalogue .catalogue-title .catalogue-title-item .catalogue-title-item-name {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #333333;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sub-catalogue .catalogue-title .catalogue-title-item:last-child {
    border-bottom: none;
}

.sub-catalogue .catalogue-title .catalogue-title-item.act {
    background: #ffffff;
}

.sub-catalogue .catalogue-title .catalogue-title-item.act .catalogue-title-item-name {
    font-weight: 800;
}

.sub-catalogue .catalogue-title:hover .catalogue-list {
    opacity: 1;
    visibility: visible;
}

.sub-catalogue .catalogue-sub-title {
    width: 170px;
    overflow: hidden scroll;
    position: relative;
}

.sub-catalogue .catalogue-sub-title:after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: #D5D5D5;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.sub-catalogue .catalogue-sub-title::-webkit-scrollbar {
    width: 0;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 28px;
    background: #ffffff;
    border-bottom: 1px dashed #D6D6D6;
    border-right: 1px solid #D5D5D5;
    position: relative;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item:last-child {
    border-bottom: none;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item:before {
    content: '';
    display: block;
    width: 13px;
    height: 13px;
    border: 3px solid #0C8637;
    border-radius: 50%;
    position: absolute;
    left: 8px;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item.act {
    color: #0C8637;
    background: #eff2f5;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item.act:after {
    content: '';
    display: block;
    width: 13px;
    height: 13px;
    background: #ffffff;
    border: 1px solid #D5D5D5;
    border-color: transparent transparent #D5D5D5 #D5D5D5;
    transform: rotate(45deg);
    position: absolute;
    right: -7px;
    z-index: 1;
}

.sub-catalogue .catalogue-sub-title .catalogue-sub-item .catalogue-sub-item-name {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    line-height: 24px;
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical !important;
}

.sub-catalogue .catalogue-list {
    width: calc(1430px - 348px);
    display: block;
    padding: 15px 30px;
    overflow: hidden auto;
    border-radius: 6px;
    border: 2px solid #14973B;
    transition: all 0.3s;
}

.sub-catalogue .catalogue-list::-webkit-scrollbar {
    width: 2px;
}

.sub-catalogue .catalogue-list::-webkit-scrollbar-thumb {
    width: 2px;
    border-radius: 3px;
    background-color: #c0c0c0;
}

.sub-catalogue .catalogue-list .catalogue-item {
    width: 100%;
    height: auto;
    line-height: 22px;
    text-align: left;
}

.sub-catalogue .catalogue-list .catalogue-item .catalogue-item-title {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    height: 22px;
    line-height: 22px;
    font-family: PingFang SC;
    font-weight: 800;
    font-size: 16px;
    color: #333333;
}

.sub-catalogue .catalogue-list .catalogue-item .catalogue-item-title::before {
    content: '';
    display: block;
    margin-top: 2px;
    width: 12px;
    height: 12px;
    background: url("/images/m/newIndex/icon (2).png") center center no-repeat;
    background-size: 100% 100%;
    margin-right: 5px;
}

.sub-catalogue .catalogue-list .catalogue-item .catalogue-item-span {
    width: 24%;
    display: inline-block;
    padding-left: 12px;
    margin-bottom: 12px;
    height: 21px;
    line-height: 21px;
    position: relative;
    font-family: PingFang SC;
    font-weight: 400;
    font-size: 15px;
    color: #333333;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sub-catalogue .catalogue-list .catalogue-item .catalogue-item-span:before {
    content: '';
    width: 6px;
    height: 6px;
    background: #C5C5C5;
    border-radius: 3px 3px 3px 3px;
    position: absolute;
    left: 0;
    top: 45%;
}

.sub-catalogue .catalogue-list .catalogue-item .catalogue-item-span:last-child {
    margin-right: 0;
}

/* sub-login 相关样式 */
.sub-login {
    cursor: default;
    width: 212px;
    height: 303px;
    background: #E4EEE6;
    position: absolute;
    right: 0;
    top: 66px;
}

.sub-login.en .sub-login-info .sub-login-user .user-text {
    font-size: 12px;
}

.sub-login .sub-login-info {
    padding: 14px 10px 6px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #13973B;
}

.sub-login .sub-login-info img {
    width: 49px;
    height: 49px;
    margin-right: 10px;
}

.sub-login .sub-login-info .sub-login-user .user-text {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #13973B;
    line-height: 20px;
    margin-bottom: 5px;
}

.sub-login .sub-login-info .sub-login-user .user-btns {
    display: flex;
    align-items: center;
}

.sub-login .sub-login-info .sub-login-user .user-btns .user-btn {
    min-width: 50px;
    height: 22px;
    padding: 0 4px;
    line-height: 20px;
    text-align: center;
    background: #13973B;
    border-radius: 11px;
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    margin-right: 5px;
}

.sub-login .sub-login-info .sub-login-user .user-btns .text {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #13973B;
    line-height: 20px;
}

.sub-login .sub-login-news {
    height: calc(100% - 70px);
    padding: 12px 16px;
}

/* 或使用更灵活的版本 */
a.a-toui::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: currentColor; /* 继承文字颜色 */
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.sub-login .sub-login-news .login-news-title {
    font-family: PingFang SC;
    font-weight: bold;
    font-size: 16px;
    color: #13973B;
    line-height: 22px;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #ADCEB4;
}

.sub-login .sub-login-news .login-news {
    height: calc(100% - 35px);
    overflow: hidden auto;
}

.sub-login .sub-login-news .login-news::-webkit-scrollbar {
    width: 2px;
}

.sub-login .sub-login-news .login-news::-webkit-scrollbar-thumb {
    width: 2px;
    border-radius: 2px;
    background-color: #c0c0c0;
}

.sub-login .sub-login-news .login-news .login-new {
    display: block;
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 12px;
    color: #333333;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* root-head 相关样式 */
.root-head {
    height: 134px;
    background: #13973B;
    margin-bottom: 60px;
}

.root-head .head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1430px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.root-head .head-content .logo {
    width: 180px;
    height: 90px;
    background-image: url("/images/newIndex/logo.svg");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-size: 172%;*/
    /*background-position: -62px -93px;*/
}

.root-head .head-content .head-main {
    width: calc(100% - 180px - 80px);
    height: 100%;
}

.root-head .head-content .header-nav {
    background-color: transparent;
}

.root-head .head-content .header-nav .header-nav-content {
    width: 100%;
    height: 100%;
}

.root-head .head-content .header-nav .header-nav-content .left-nav a {
    color: #ffffff;
    font-weight: bold;
}

.root-head .head-content .header-nav .header-nav-content .right-nav li a:link,
.root-head .head-content .header-nav .header-nav-content .right-nav li a:visited {
    color: #ffffff;
    font-family: PingFang SC;
}

.root-head .head-content .top-bar {
    width: 100%;
    height: 100%;
}

.root-head .head-content .top-bar .cart-list {
    display: flex;
    align-items: center;
}

.root-head .head-content .top-bar .search {
    margin-left: 0;
}

.root-head .head-content .top-bar .search .search-bar {
    width: 538px;
    display: flex;
    align-items: center;
}

.root-head .head-content .top-bar .search .search-bar img {
    position: absolute;
    margin: 0;
}

.root-head .head-content .top-bar .search .search-bar .input-group {
    border: 3px solid rgba(255, 255, 255, 0.56);
    position: initial;
    height: 42px;
    border-radius: 20px;
}

.root-head .head-content .top-bar .search .search-bar .input-group input {
    width: 462px;
    height: 36px;
    margin-top: 0;
    border: none;
    padding-left: 15px;
    border-radius: 20px 0 0 20px !important;
    font-family: PingFang SC;
    font-size: 13px;
    font-weight: normal;
    color: #333333;
    background: #ffffff !important;
}

.root-head .head-content .top-bar .search .search-bar .input-group .search-btn {
    width: calc(100% - 462px);
    height: 36px;
    margin-top: 0;
    float: none;
    border: none;
    border-radius: 0 20px 20px 0 !important;
    font-family: PingFang SC;
    font-weight: normal;
    font-size: 14px;
    color: #FFFFFF;
    padding-left: 18px;
    background-color: #567722;
    background-image: url("/images/industrial/product/search-icon.png");
    background-repeat: no-repeat;
    background-position: 8px 10px;
    background-size: 16px 16px;
}

.root-head .head-content .top-bar .search .search-bar .input-group .search-btn.en {
    font-size: 12px;
    padding-left: 15px;
    background-position: 5px 10px;
}

.root-head .head-content .top-bar .search .search-recommend a {
    margin-top: 12px;
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
    color: #FFFFFF;
}

.root-head .head-content .top-bar .search .hot {
    display: inline-block;
    width: 25px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #e99d42;
    border-radius: 6px 6px 6px 0;
    position: relative;
    top: -10px;
    left: -5px;
    font-family: PingFang SC;
    font-weight: normal;
    font-size: 12px;
    color: #FFFFFF;
}

.root-head .head-content .top-bar .cart .cart-btn {
    width: 140px;
    height: 40px;
    background: #FFFFFF;
    margin: 0 22px 0 30px;
    border-radius: 2px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.root-head .head-content .top-bar .cart .cart-btn span {
    margin-left: 5px;
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
}

.root-head .head-content .top-bar .cart .cart-btn .dropdown-cart {
    margin: 0;
    top: 40px;
}

.root-head .head-content .top-bar .login-register {
    margin: 0;
    width: 166px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13973B;
}

.root-head .head-content .top-bar .login-register.en {
    font-size: 12px;
}

.root-head .head-content .top-bar .login-register img {
    width: 18px;
    height: 17px;
    margin: 0 8px;
    float: none;
}

.root-head .head-content .top-bar .login-register .login {
    margin: 0;
    float: none;
    font-weight: bold;
    color: #333333;
}

.root-head .head-content .top-bar .login-register .register {
    color: #333333;
    float: none;
    margin: 0;
    font-weight: bold;
}

.root-head .head-content .top-bar .phone {
    margin-left: auto;
    font-family: DIN;
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
}

.root-head .head-content .top-bar .phone img {
    /*width: 26px;*/
    /*height: 26px;*/
    margin-bottom: 2px;
}

.root-head .head-content .main-top {
    margin-top: 10px;
    height: auto;
    background-color: transparent;
}

.root-head .head-content .main-nav {
    z-index: 1;
    position: absolute;
    top: 134px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 1px 0px 1px rgba(207, 207, 207, 0.5);
}

.root-head .head-content .main-nav .nav {
    width: fit-content;
}

/* .root-head .head-content .main-nav .nav .layui-nav{
    position: static;
} */

.root-head .head-content .main-nav .nav .layui-nav-item {
    width: auto;
    /*position: static;*/
}

.root-head .head-content .main-nav .nav .layui-nav-item.cur .nav-text {
    color: #ffffff;
    background: #14973B;
}

.root-head .head-content .main-nav .nav .layui-nav-item.index {
    transition: all 0.3s;
}

.root-head .head-content .main-nav .nav .layui-nav-item.index:hover {
    /*.sub-catalogue {*/
    /*    display: flex;*/
    /*    top: 66px;*/
    /*    opacity: 1;*/
    /*    visibility: visible;*/
    /*}*/
}

.root-head .head-content .main-nav .nav .layui-nav-item .nav-text {
    padding: 0 36px;
    height: 43px;
    line-height: 43px;
    border-radius: 4px 4px 20px 4px;
    color: #025D05;
    font-size: 16px;
    font-weight: 500;
    font-family: PingFang SC;
    vertical-align: middle;
}

.root-head .head-content .main-nav .nav .layui-nav-item .tip {
    display: inline-block;
    width: 34px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    background: #FD8829;
    border-radius: 6px 6px 6px 0px;
    position: absolute;
    right: 15px;
    top: 8px;
    font-family: PingFang SC;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
}

.root-head .head-content .main-nav .nav .layui-this .nav-text {
    color: #ffffff;
    background: #14973B;
}

.root-head .head-content .main-nav .nav .cur .nav-text {
    color: #ffffff;
}
