﻿.top-ad{ width: 100%; height: auto; position: relative;}
.top-ad img{width: 100%; height: auto;}

.top-ad em{ display: block; width: 22px; height: 22px; line-height: 22px; text-align: center; cursor: pointer; color: #FFFFFf; background: rgba(0,0,0,0.3); border-radius:4px; position: absolute; right: 10%; top: 20px; z-index: 333;}


.top-user{ line-height: 42px;}
.top-user-left{}
.top-user-left span{ margin-left: 15px;}
.top-user-left span a:first-child:after{ content: "|"; padding: 0 15px; color: #CCCCCC;}


.top-user-right{}
.top-user-right span a:after{ content: "|"; padding: 0 15px; color: #CCCCCC;}
.top-user-right em img{ margin-right: 10px;}


.header-box{ background: #FFFFFF; margin-top: 20px; padding: 20px; background: #FFFFFF; border-radius:12px;}


header{ width: 100%;}

header .logo{}
header .logo a{ display: block; width: 387px; height: 46px; background: url(../images/logo.png) no-repeat;}
header .logo a h1{ display: none;}

header .header-right{ width: calc(100% - 467px);}

header .header-search{width: calc(100% - 160px);}
header .hsearch{ width: 100%; height: 42px; position:relative;}
header .hsearch input{ width: 85%; border: none; background: none; padding: 0 20px; border-radius: 6px 0 0 6px;border: 1px solid #dcc065;}
header .hsearch button{ width: 15%; background: #dcc065; color: #FFFFFF; border: none; border-radius:0 6px 6px 0;}
header .hsearch button i{ font-size: 1.2rem; margin-right: 10px;}
header .hsearch button:hover{ background: #f43428;}

.search-window{ display:none; position:absolute;background: #fff;border-radius: 0 0 4px 4px;border-top: none;box-shadow: 0 4px 4px -2px #999;padding: 20px;top: 40px;left: 0;width: 100%;z-index: 999;}
.search-window a{margin-right:10px;line-height:24px;color: #999!important;}
.search-window ul.search-rst{
    padding-left: 0;
}
.search-window ul.search-rst li{margin-bottom: 8px;}
.search-window ul.search-rst li a p{color:#000;margin-bottom: 0px;}
.search-window ul.search-rst li a:hover p{color:#d64851;}
.search-window ul.search-rst li a p.mfg{ color:#999 }
.search-window b{font-size:1rem; display:block;}


header .hsearch-hot{ width: 100%; line-height: 16px; margin-top: 5px;}
header .hsearch-hot a{ margin-left: 6px;}


header .header-cart{ width: 140px; padding-left: 20px;}
header .header-cart a{ display: block; position: relative; width: 100%; text-align: center; background: #bf2722;border-radius: 4px; height: 42px; line-height: 42px;  color: #FFFFFF;}
header .header-cart a img{ margin-right: 8px;}
header .header-cart a:hover{ background: #dcc065;}
header .header-cart a:hover img{filter: brightness(0) invert(1);}

header .topmenu{ display: none;}

.section-box{ width: 100%; margin-top: 20px;}
.section-box-left{ width: 21%; background: #f9f9f9; border-radius: 6px; }
/* ===============================
   首页全部分类导航
   左侧一级分类 + 右侧二三级分类大面板
   =============================== */

.navigation-main {
    width: 100%;
    position: relative;
    background: #fafafa;
    border-radius: 5px;
    overflow: visible;
    z-index: 999;
    box-sizing: border-box;
}

/* 顶部“全部分类”灰色条 */
.navigation-main > a#menutoggle1.navlinks {
    width: 100%;
    height: 47px !important;
    line-height: 47px !important;
    padding: 0 20px !important;
    background: #f3f3f3 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box; border-radius:8px 8px 0 0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #111111;
}

/* 顶部文字 */
.navigation-main > a#menutoggle1.navlinks span {
    display: block;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: bold !important;
}

/* 顶部右侧九宫格图标 */
.navigation-main > a#menutoggle1.navlinks i {
    color: #111111 !important;
    font-size: 14px !important;
    line-height: 52px;
}

/* 左侧一级分类列表 */
.navigation-main .navul {
    width: 100%;
    z-index: 999;
    display: none;
    position: absolute;
    left: 0;
    top: 52px !important;
    padding: 10px 0 12px;
    background: #fafafa;
    box-sizing: border-box;
    border-radius: 0 0 5px 5px;
}

/* 一级分类项 */
.navigation-main .navul > li {
    width: 100%;
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
}

/* 一级分类链接 */
.navigation-main .navul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    line-height: 34px;
    padding: 0 20px;
    color: #111111;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    box-sizing: border-box;
    background: none;
}

/* 一级分类文字 */
.navigation-main .navul > li > a span {
    display: block;
    max-width: 190px;
    color: #111111;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 一级分类右侧箭头 */
.navigation-main .navul > li > a i {
    color: #9aa0a6;
    font-size: 17px;
    line-height: 34px;
}

/* 一级分类 hover */
.navigation-main .navul > li:hover > a,
.navigation-main .navul > li.active > a {
    background: #ffffff;
    color: #111111;
}

.navigation-main .navul > li:hover > a span,
.navigation-main .navul > li.active > a span {
    color: #111111;
}

.navigation-main .navul > li:hover > a i,
.navigation-main .navul > li.active > a i {
    color: #9aa0a6;
}

/* 查看全部分类 */
.navigation-main .navul > li.navmore {
    margin-top: 10px;
    font-weight: bold;
}

.navigation-main .navul > li.navmore > a {
    height: 34px;
    line-height: 34px;
    color: #111111;
    font-size: 14px;
    font-weight: bold;
}

.navigation-main .navul > li.navmore > a:hover {
    background: none;
    color: #111111;
}

/* 如果分类里面有图片 */
.navigation-main .navul > li > a img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
}

.navigation-main .navul > li:hover > a img {
    filter: none;
}

/* ===============================
   右侧二三级分类大面板
   =============================== */

.navigation-main .mega-panel {
    display: none;
    position: absolute;
    left: 100%;
    top: -52px;
    width: 900px;
    min-height: 420px;
    max-height: 520px;
    overflow-y: auto;
    background: #ffffff;
    border: 2px solid #dcc065;
    padding: 25px 35px;
    box-sizing: border-box;
    z-index: 1000;
}

/* 鼠标经过一级分类显示右侧面板 */
.navigation-main .navul > li:hover .mega-panel {
    display: block;
}

/* 每组二级分类 */
.navigation-main .mega-section {
    margin-bottom: 28px;
}

/* 二级分类标题 */
.navigation-main .mega-title {
    display: inline-flex;
    align-items: center;
    color: #222222;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 14px;
    line-height: 24px;
    height: auto;
    padding: 0;
    background: none;
}

/* 二级分类标题箭头 */
.navigation-main .mega-title i {
    margin-left: 10px;
    color: #777777;
    font-size: 15px;
    line-height: 24px;
}

.navigation-main .mega-title:hover {
    color: #dcc065;
    background: none;
}

/* 三级分类列表 */
.navigation-main .mega-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 14px;
}

/* 三级分类链接 */
.navigation-main .mega-links a {
    display: block;
    color: #586a83;
    font-size: 14px;
    line-height: 22px;
    height: auto;
    padding: 0;
    background: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.navigation-main .mega-links a:hover {
    color: #1890ff;
    background: none;
}

/* 没有三级分类时 */
.navigation-main .mega-empty-link {
    color: #586a83;
    font-size: 14px;
}

.navigation-main .mega-empty-link:hover {
    color: #1890ff;
}

/* ===============================
   清理旧版 ul 子菜单影响
   =============================== */

.navigation-main .navul li ul {
    display: none !important;
}

.navigation-main ul li a:hover {
    background: none;
}

/* ===============================
   右侧面板滚动条优化
   =============================== */

.navigation-main .mega-panel::-webkit-scrollbar {
    width: 6px;
}

.navigation-main .mega-panel::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.navigation-main .mega-panel::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
}

.navigation-main .mega-panel::-webkit-scrollbar-thumb:hover {
    background: #b8b8b8;
}

/* ===============================
   内页全部分类：默认隐藏，鼠标移入显示
   =============================== */

/* 内页分类容器 */
.navigation-main-inner {
    position: relative;
    z-index: 9999;
}

/* 内页默认隐藏左侧分类 */
.navigation-main-inner .navul {
    display: none !important;
    position: absolute;
    left: 0;
    top: 47px !important;
    width: 100%;
    background: #fafafa;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 鼠标移入整个分类区域时显示 */
.navigation-main-inner:hover .navul {
    display: block !important;
}

/* 保证鼠标移动到下拉菜单时不会消失 */
.navigation-main-inner .navul:hover {
    display: block !important;
}

/* 内页右侧大面板层级提高 */
.navigation-main-inner .mega-panel {
    z-index: 10000;
}

/* 内页鼠标经过一级分类显示右侧二三级面板 */
.navigation-main-inner .navul > li:hover .mega-panel {
    display: block !important;
}

/* 关键：让右侧大面板不再跟随当前 li 往下走 */
.navigation-main .navul {
    position: absolute;
}

/* 关键：一级 li 不要作为右侧面板的定位父级 */
.navigation-main .navul > li {
    position: static !important;
}

/* 右侧二三级面板固定从左侧分类顶部开始 */
.navigation-main .mega-panel {
    display: none;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    width: 900px;
    min-height: 420px;
    max-height: 520px;
    overflow-y: auto;
    background: #ffffff;
    border: 2px solid #dcc065;
    padding: 25px 35px;
    box-sizing: border-box;
    z-index: 10000;
}

/* hover 一级分类时显示右侧面板 */
.navigation-main .navul > li:hover .mega-panel {
    display: block !important;
}

.section-box-right{ width: 79%; padding-left: 15px;}
nav{ width: 100%; height: 46px; line-height: 46px; background: #F9F9F9;border-radius: 6px; padding: 0 40px;}
nav li a{ font-size: 1rem; }

.section-box-right-bot{ margin-top: 15px; width: 100%;}

.section-box-right-bot-left{ width: 73%; }


.section-box-right-bot-left-banner{ width: 100%;}
.main_visual{ width: 100%; height: 100%; position: relative; }
.main_visual .owl-carousel,.main_visual .owl-stage-outer,.main_visual .owl-stage,.main_visual .owl-carousel .owl-item{width: 100%;height: 100% !important;}
.main_visual .owl-carousel .item{width: 100%;height: 100%;  background-repeat: no-repeat; background-position: center center;-webkit-background-size: cover; background-size: cover;}
.main_visual .owl-carousel .item img{ width: 100%; height: auto; border-radius: 8px; }
.main_visual .owl-prev,.main_visual .owl-next{ display: none; text-indent: -999px; overflow: hidden;}

.main_visual .owl-dots{ width: 100%; text-align: center; height: 4px; position:absolute; left: 0; bottom:40px;  z-index: 999;}
.main_visual .owl-dots .owl-dot{display: inline-block;  margin:0 4px;}
.main_visual .owl-dots .owl-dot span{  display: inline-block; width: 20px; height: 4px; background:#FFFFFF; border-radius: 4px;}
.main_visual .owl-dot.active span{ background:#dcc065; }
.main_visual .owl-nav{ display: none; height: 0;}


.section-box-right-bot-left-ad{ width: 100%; height: auto; margin-top: 15px;}
.section-box-right-bot-left-ad dl{ width: 32%;  position: relative;}
.section-box-right-bot-left-ad dl dt{ width: 100%; height: auto; position: absolute; left: 0; top: 0; padding: 12px 18px;}
.section-box-right-bot-left-ad dl dt em{ display: block; line-height: 20px;}
.section-box-right-bot-left-ad dl dt b{ display: block;  line-height: 20px;}
.section-box-right-bot-left-ad dl dt a{ display: inline-block; border:1px solid #111; border-radius:10px; font-size: 0.8rem; line-height: 19px; height: 21px;margin-top: 5px; padding: 0 8px;}
.section-box-right-bot-left-ad dl dt a:hover{ text-decoration: underline;}
.section-box-right-bot-left-ad dl dd img{ width: 100%; height: auto; border-radius:6px;}


.section-box-right-bot-right{ width: 27%; padding-left: 15px; }

.section-box-right-bot-right-box{background: #f9f9f9; border-radius: 6px; padding: 15px;}

.section-box-right-bot-right-user{}
.section-box-right-bot-right-user h2{ font-weight: normal; font-size: 1rem; margin-bottom: 10px;}
.section-box-right-bot-right-user h2 img{ margin-right: 8px;}
.section-box-right-bot-right-user a{ display: block; width: 48%; height: 34px; line-height: 34px; text-align: center; border-radius: 4px;}
.section-box-right-bot-right-user a:first-child{ background: #FFFFFF; border:1px solid #dcc065;}
.section-box-right-bot-right-user a:last-child{ background: #dcc065; color: #FFFFFF;}
.section-box-right-bot-right-user a:hover{ text-decoration: underline;}

.section-box-right-bot-right-blog{ width: 100%; border-top:1px solid #EEEEEE; margin-top: 15px; padding-top: 10px;}
.section-box-right-bot-right-blog h2{ line-height: 27px; font-size: 1rem; margin-top: 10px;}
.section-box-right-bot-right-blog h2 a{ color:#666666; font-size: 0.9rem; font-weight: normal;}

.section-box-right-bot-right-blog-list{}
.section-box-right-bot-right-blog-list dl{ width: 100%; height: 23px; line-height: 23px; margin-top: 6px; overflow: hidden;}
.section-box-right-bot-right-blog-list dl dt{ width: 41px; height: 23px; background: #ffedec; border-radius:11px; font-size: 0.8rem; color: #F43428; text-align: center;}
.section-box-right-bot-right-blog-list dl dd{ padding-left: 8px;}

.section-box-right-bot-right-quick{ margin-top: 5px;}
.section-box-right-bot-right-quick dl{ background: #FFFFFF; text-align: center; width: 50%; padding: 15px;}
.section-box-right-bot-right-quick dl dd{ margin-top: 5px;}
.section-box-right-bot-right-quick dl:first-child{ border-bottom:1px solid #EEEEEE; border-right:1px solid #EEEEEE;}
.section-box-right-bot-right-quick dl:nth-child(2){ border-bottom:1px solid #EEEEEE; }
.section-box-right-bot-right-quick dl:nth-child(3){ border-right:1px solid #EEEEEE; }



@media (max-width: 768px) {
.top-ad{ display: none;}
.top-user{ display: none;}
.section-box{ margin-top: 0;}

.header-box{ margin-top: 0; padding: 15px;}
.header-box.container{ width: 100%;}
header .logo a{ display: block; width:196px; height: 46px; background: url(../images/logom.png) no-repeat;}


header .topmenu{ display: block; }
header .topmenu a{ border: 1px solid #dcc065;  color: #dcc065; border-radius: 3px; padding: 8px; font-size: 20px; }

header .header-right{ display: none;}
.logo-txt{ display: none;}
.section-box-left{display: none;}
.section-box-right-bot{}
.section-box-right-bot-left{ width: 100%; padding: 0;}
.section-box-right{ width: 100%; padding: 0;}
.section-box-right-bot-left-ad{display: none;}
.section-box-right-bot-right{display: none;}


nav{ border-radius:0 ; width: 100%; display: none; height: auto; background: #FFFFFF; line-height: 42px; position: absolute; left: 0; top: 76px; z-index: 999;}
nav li {   background: #FFFFFF; width: 100%; height: 42px; line-height: 42px; border-bottom:1px solid #EEEEEE;}
nav li a{ color: #333 !important; padding: 0 10px;}


.web-language-box .flex a{ display: block; width: 48%; float: left; margin: 1%; }
.web-language-box .flex div{ width: 100%; justify-content: space-between;}
#web-language-close{ width: 60px; font-size: 1.5rem;}



#mainnav {
    display: none;
    transition: max-height 0.3s ease;
}

/* 当添加 active 类时显示 */
#mainnav.active {
    display: block;
}

#mainnav1 {
    display: none;
    transition: max-height 0.3s ease;
}

/* 当添加 active 类时显示 */
#mainnav1.active {
    display: block;
}


}