@charset "utf-8";
/* v3-b12 */


/*页面整体宽度控制*/
.wrapper { width: 1200px; margin: auto;}
/* 公用头部区域 
-------------------------------------- */
.header-wrap { background-color: #FFF; width: 100%;}
.public-head-layout { height: 100px;}
/* 站点logo */
.public-head-layout .site-logo { width: 240px; height: 60px; float: left; margin: 15px 10px auto 0;}
.public-head-layout .site-logo img { max-width: 240px; max-height: 60px;}
.public-head-layout .site-ad { width: 120px; height: 70px; float: left; margin: 10px 10px auto 0;}
.public-head-layout .site-ad img { max-width: 120px; max-height: 70px;}
/* 顶部公共布局 (public-top-layout) */
.public-top-layout {
  background-color: #f5f5f5;
  height: 35px;
  line-height: 35px;
  border-bottom: 1px solid #eee;
}

.public-top-layout .topbar {
  display: flex;
  justify-content: space-between;
}

.public-top-layout .user-entry {
  color: #666;
}

.public-top-layout .user-entry a {
  color: #ff4400;
  margin: 0 5px;
}

.public-top-layout .quick-menu {
  display: flex;
}

.public-top-layout .quick-menu dl {
  position: relative;
  padding: 0 10px;
  color: #666;
  cursor: pointer;
}

.public-top-layout .quick-menu dl dt {
  display: flex;
  align-items: center;
}

.public-top-layout .quick-menu dl dt em {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

.public-top-layout .quick-menu dl dt i {
  display: inline-block;
  width: 8px;
  height: 5px;
  margin-left: 5px;
  background: url("/shop/templates/default/images/arrow-down.png") no-repeat;
}

.public-top-layout .quick-menu dl dd {
  position: absolute;
  top: 35px;
  left: 0;
  width: 120px;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  display: none;
  z-index: 999;
}

.public-top-layout .quick-menu dl.hover dd {
  display: block;
}

.public-top-layout .quick-menu dl dd ul li {
  padding: 0 5px;
  height: 30px;
  line-height: 30px;
}

.public-top-layout .quick-menu dl dd ul li a {
  color: #666;
  display: block;
}

.public-top-layout .quick-menu dl dd ul li a:hover {
  color: #ff4400;
}

/* 头部布局 (header-wrap) */
.header-wrap {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.public-head-layout {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.public-head-layout .site-logo img {
  /*width: 150px;*/
}

.public-head-layout .site-ad {
  flex: 1;
  padding: 0 20px;
  display:none;
}
/* 搜索栏样式 */
.public-head-layout .head-search-bar {
  width: 450px;
  margin-left:100px;
}

.head-search-bar #search .tab {
  display: flex;
  border: 1px solid #ff4400;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.head-search-bar #search .tab li {
  padding: 5px 15px;
  background-color: #f5f5f5;
  color: #666;
  cursor: pointer;
}

.head-search-bar #search .tab li.current {
  background-color: #ff4400;
  color: #fff;
}

.head-search-bar .search-form {
  display: flex;
  border: 1px solid #ff4400;
  height: 36px;
}

.head-search-bar .search-form #keyword {
  flex: 1;
  border: none;
  padding: 0 10px;
  outline: none;
  font-size: 14px;
}

.head-search-bar .search-form #button {
  width: 80px;
  background-color: #ff4400;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.head-search-bar .keyword {
  margin-top: 5px;
  color: #999;
  font-size: 12px;
}

.head-search-bar .keyword ul {
  display: inline-block;
}

.head-search-bar .keyword ul li {
  display: inline-block;
  margin: 0 5px;
}

.head-search-bar .keyword ul li a {
  color: #666;
}
/* 头部用户型菜单*/
.head-user-menu { font-size: 0;
*word-spacing: -1px;
float: ;
margin: 20px 0 0 146px;
display: ;
float: left;
border: ;
height: 80px;}
.head-user-menu dl { font-size: 12px; vertical-align: top; letter-spacing: normal; word-spacing: normal; display: inline-block; *display:inline/*IE6、7*/; margin-left: 10px; position: relative; z-index: 3; *zoom:1/*IE6、7*/;}
.head-user-menu dl.my-mall { width: 108px;}
.head-user-menu dl.my-cart { width: 124px;}
.head-user-menu dl.hover { z-index: 101;}
.head-user-menu dl dt { line-height: 20px; color: #555; background-color: #FAFAFA; height: 20px; padding: 10px; border: solid 1px #F0F0F0; position: absolute; z-index: 2; top: 0; right: 0; cursor: pointer;}
.head-user-menu dl.my-mall dt { width: 90px;}
.head-user-menu dl.my-cart dt { width: 106px;}
.head-user-menu dl.hover dt { background-color: #FFF; border-width: 1px; border-color: #F0F0F0 #F0F0F0 #FFF #F0F0F0;}
.head-user-menu dl dt span.ico { background: url(../images/top_bg.png) no-repeat; vertical-align: middle; display: inline-block; width: 20px; height: 16px; }
.head-user-menu dl.my-mall span.ico { background-position: -100px 0; margin-right: 4px;}
.head-user-menu dl.my-cart span.ico { background-position: -120px 0; margin-right: 8px;}
.head-user-menu dl dt i { font-size: 0px; line-height: 0; vertical-align: middle; display: inline-block; width: 0px; height: 0px; margin-left: 8px; border-width: 4px; border-color: #777 transparent transparent transparent; border-style:solid dashed dashed dashed; -webkit-transition: .2s ease-in; -moz-transition: -webkit-transform .2s ease-in; -o-transition: -webkit-transform .2s ease-in; transition: .2s ease-in;}
.head-user-menu dl.hover dt i { FILTER: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -moz-transform: rotate(180deg); -moz-transform-origin: 50% 30%; -webkit-transform: rotate(180deg); -webkit-transform-origin: 50% 30%; -o-transform: rotate(180deg); -o-transform-origin: 50% 30%; transform: rotate(180deg); transform-origin: 50% 30%;}
.head-user-menu dl dd { background-color: #FFF; display: none; border: solid 1px #F0F0F0; position: absolute; z-index: 1; top: 40px; right: 0; }
.head-user-menu dl.my-mall dd { width: 308px;}
.head-user-menu dl.my-cart dd { width: 348px;}
.head-user-menu dl.hover dd { display: block;}
.head-user-menu dl dd a { color: #005EA6;}
.head-user-menu a.arrow i { background:url(../images/top_bg.png) no-repeat -150px 0; vertical-align: middle; display: inline-block; width: 4px; height: 7px; margin-left: 4px;}
.head-user-menu dl dd .goods-thumb { width: 50px; height: 50px;}
.head-user-menu dl dd .goods-thumb a { line-height: 0; text-align: center; vertical-align: middle; display: table-cell; *display: block; width: 48px; height: 48px; border: solid 1px #DDD; overflow: hidden; }
.head-user-menu dl dd .goods-thumb img { max-width: 48px; max-height: 48px; margin-top:expression(48-this.height/2); *margin-top:expression(24-this.height/2);}
.head-user-menu dl dd .sub-title { line-height: 28px; height: 28px; padding: 7px; border-bottom: solid 1px #DDD;}
.head-user-menu dl dd .sub-title h4 { font-weight: 600; float: left;}
.head-user-menu dl dd .sub-title a { float: right;}
.head-user-menu dl dd .user-centent-menu { width: 308px; padding: 8px 0; overflow: hidden;}
.head-user-menu dl dd .user-centent-menu ul { width: 310px; margin-left: -2px;}
.head-user-menu dl dd .user-centent-menu ul li { width: 138px; float: left; padding: 4px 0 4px 16px; border-left: solid 1px #EEE; }
.head-user-menu dl dd .browse-history { background-color: #FAFAFA; width: 308px; border-style: solid; border-width: 1px 0 0; border-color: #DDD transparent transparent;}
.head-user-menu dl dd .browse-history .part-title { height: 20px; padding: 6px 8px; }
.head-user-menu dl dd .browse-history .part-title h4 { float: left;}
.head-user-menu dl dd .browse-history .part-title a { float: right;}
.head-user-menu dl dd .browse-history ul { font-size: 0; *word-spacing:-1px/*IE6、7*/; padding: 0 7px 7px 7px;}
.head-user-menu dl dd .browse-history ul li { vertical-align: top; letter-spacing: normal; word-spacing: normal; display: inline-block; *display:inline/*IE6、7*/; margin: 0 4px; *zoom: 1;}
.head-user-menu dl dd .browse-history .no-goods { text-align: center; display: block; width: 100%; font-size: 12px;}
.head-user-menu dl dd .incart-goods-box { display: block; width: 348px; max-height: 267px; overflow: hidden; position: relative;}
.head-user-menu dl dd .incart-goods { text-align: center; width: 100%;}
.head-user-menu dl dd .incart-goods .no-order { margin: 20px 0;}
.head-user-menu dl dd .incart-goods .loading { width: 16px; height: 16px; margin: 20px auto;}
.head-user-menu dl dd .incart-goods dl { display: block; width: 98%; height: 66px; clear: both; margin: 0 auto 0 2%; border-bottom: dotted 1px #DDD; position: relative; z-index: 1; }
.head-user-menu dl dd .incart-goods dt, .head-user-menu dl dd .incart-goods dd { background-color: transparent; border: 0; position: absolute; z-index: 1; }
.head-user-menu dl dd .incart-goods dt.goods-name { line-height: 16px; background-color: transparent; text-align: left; width: 180px; height: 32px; padding: 0; top: 8px; left: 64px; }
.head-user-menu dl dd .incart-goods dt.goods-name a { color: #333;}
.head-user-menu dl dd .incart-goods dd.goods-thumb { top: 8px; left: 8px;}
.head-user-menu dl dd .incart-goods dd.goods-price { text-align: right; width: 80px; height: 16px; top: 6px; right: 12px;}
.head-user-menu dl dd .incart-goods dd.goods-price em { font-size: 11px !important; font-weight: normal!important; line-height: 16px; color: #777 !important; word-break: break-all; word-wrap: break-word; text-overflow: ellipsis; white-space: nowrap; text-align: right; width: 50px; margin-right: 4px; overflow: hidden; -webkit-text-size-adjust:none;}
.head-user-menu dl dd .incart-goods dd.goods-sales { line-height: 16px; color: #999; background-color: transparent; width: 270px; height: 16px; top: 42px; left: 64px; }
.head-user-menu dl dd .incart-goods dd.handle {  width: 32px; top: 22px; right: 10px;}
.head-user-menu dl dd .checkout { background-color: #F0F0F0; text-align: right; padding: 8px; overflow: hidden;}
.head-user-menu dl dd .checkout .total-price { line-height: 20px; display: block;}
.head-user-menu dl dd .checkout .total-price i { font-weight: 600; color: #C00; margin: 0 4px;}
.head-user-menu dl dd .checkout .total-price em { font-family: Verdana, Geneva, sans-serif; font-size: 18px; font-weight: 600; color: #C00;}
.head-user-menu dl dd .checkout .btn-cart { float: right; clear: both; line-height: 20px; color: #FFF; background-color: #090113; padding: 4px 8px; margin-top: 4px; border-radius: 4px;}
.head-user-menu dl div.addcart-goods-num { font: bold 11px/14px Verdana; color: #FFF; background: #F00; text-align: center; display: inline-block; height: 16px; min-width: 16px; max-width: auto!important; border: none 0; border-radius: 8px; position: absolute; z-index: 3; top: -4px; left: 20px;}


/* 导航栏样式 (public-nav-layout) - 核心修改区域 */
.public-nav-layout {
  background-color: #ff4400;
  height: 40px;
  line-height: 40px;
}

.public-nav-layout .wrapper {
  display: flex;
}

/* 全部分类样式 - 关键修改：默认隐藏分类菜单，hover 时显示 */
.public-nav-layout .all-category {
  width: 200px;
  background-color: #e63900;
  color: #fff;
  position: relative;
  cursor: pointer; /* 增加鼠标指针样式 */
}

.public-nav-layout .all-category .title {
  padding: 0 15px;
  font-size: 16px;
  font-weight: bold;
}

/* 核心修改：默认隐藏分类菜单 */
.public-nav-layout .all-category .category {
  position: absolute;
  top: 40px;
  left: 0;
  width: 200px;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  z-index: 999;
  display: none; /* 默认隐藏 */
}

/* 鼠标移到 all-category 时显示分类菜单 */
.public-nav-layout .all-category:hover .category {
  display: block;
}

.public-nav-layout .category ul.menu li {
  padding: 10px 15px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}

.public-nav-layout .category ul.menu li.hover {
  background-color: #f9f9f9;
}

.public-nav-layout .category ul.menu li .class {
  display: flex;
  align-items: center;
}

.public-nav-layout .category ul.menu li .class .ico img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.public-nav-layout .category ul.menu li .class h4 a {
  color: #333;
  font-size: 14px;
}

.public-nav-layout .category ul.menu li .sub-class {
  position: absolute;
  left: 200px;
  top: 0;
  width: 800px;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  padding: 15px;
  display: none;
  min-height: 300px;
}

.public-nav-layout .category ul.menu li:hover .sub-class {
  display: block; /* 鼠标移到分类项时显示子菜单 */
}

.public-nav-layout .category ul.menu li .sub-class .sub-class-content {
  display: flex;
}

.public-nav-layout .category ul.menu li .sub-class dl {
  margin-right: 30px;
  margin-bottom: 15px;
}

.public-nav-layout .category ul.menu li .sub-class dl dt h3 a {
  color: #333;
  font-weight: bold;
}

.public-nav-layout .category ul.menu li .sub-class dl dd.goods-class a {
  color: #666;
  margin-right: 10px;
  font-size: 12px;
}

/* 站点菜单样式 */
.public-nav-layout .site-menu {
  display: flex;
}

.public-nav-layout .site-menu li {
  padding: 0 20px;
}

.public-nav-layout .site-menu li a {
  color: #fff;
  font-size: 16px;
}

.public-nav-layout .site-menu li a.current {
  font-weight: bold;
}

/* 面包屑所在位置 */
.nch-breadcrumb-layout { text-align: center;}
.nch-breadcrumb { font-size: 0; *word-spacing:-1px/*IE6、7*/; text-align: left; height: 20px; padding: 10px 0; margin: 0 auto;}
.nch-breadcrumb span { font-size: 12px; line-height: 20px; color: #999; letter-spacing: normal; word-spacing: normal; display: inline-block; *display: inline/* IE6,7*/; height: 20px; zoom: 1;}
.nch-breadcrumb i { font-size: 14px; color: #AAA; margin-right: 4px;}
.nch-breadcrumb span.arrow { font-family: "宋体"; line-height: 20px; color: #AAA; margin: 0 6px;}
.nch-breadcrumb a { color: #777; display: block; }
.nch-breadcrumb a:hover { color: #090113;}
/*顶部banner广告*/
#top-banner { position:relative; display:none}
#top-banner .close { position:absolute; right:8px; top:5px;background: url(../images/close.gif) no-repeat; width:35px; height:12px; display:block}