@charset "UTF-8";
/* ==========================================================================
   曼象商城 · 全站框架：顶部工具条 / 页头(logo+搜索+购物车) / 主导航 / 页脚
   ========================================================================== */

/* ---------- 顶部工具条 ---------- */
.header_top {
	background: #f2f4f7;
	border-bottom: 1px solid #e9edf2;
	height: 34px;
	line-height: 34px;
	font-size: 12px;
	color: #777;
}
.header_top .welcome { float: left; }
.header_top .welcome a { color: var(--mx-primary); }
.header_top .top_tool { float: right; }
.header_top .top_tool li { float: left; padding: 0 12px; position: relative; }
.header_top .top_tool li + li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 1px;
	height: 12px;
	background: #dde3ea;
}
.header_top .top_tool a { color: #666; }
.header_top .top_tool a:hover { color: var(--mx-primary); }

/* ---------- 页头主体 ---------- */
.header { background: #fff; }
.body_wrapper { background: #fff; padding: 22px 0 18px; }
/* 页面头部统一 flex 布局：避免浮动塌陷导致导航条与 logo 重叠 */
.header .body_wrapper .web {
	display: flex;
	align-items: center;
	min-height: 96px;
}
.header .body_wrapper .web::after { display: none; }
.header .logo_layer {
	float: none;
	width: auto;
	display: flex;
	align-items: center;
	order: 1;
}
.header .search_box {
	float: none;
	width: 500px;
	margin: 0 auto;
	order: 2;
}
.header .header_cart {
	float: none;
	margin-left: 18px;
	margin-right: 0;
	order: 3;
}
.header .mx-pub-btn {
	float: none;
	margin-left: 14px;
	margin-top: 0;
	flex: none;
	order: 4;
}
.header .body_toolbar {
	float: none;
	margin-left: 16px;
	margin-top: 0;
	order: 5;
}

/* Logo（文字 Logo，品牌蓝渐变） */
.logo_layer { float: left; width: 320px; }
.logo { display: flex; align-items: center; height: 56px; }
.logo .logo-mark {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, #1d6bb8 0%, #1653a3 55%, #0e3f80 100%);
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 52px;
	text-align: center;
	letter-spacing: 1px;
	margin-right: 12px;
	box-shadow: 0 4px 12px rgba(22, 83, 163, 0.28);
}
.logo .logo-word { display: flex; flex-direction: column; line-height: 1.15; }
.logo .logo-word strong { font-size: 26px; color: var(--mx-deep); letter-spacing: 2px; font-weight: 700; }
.logo .logo-word span { font-size: 11px; color: #9aa7b8; letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
.logo img { max-height: 56px; max-width: 300px; }

/* 搜索框 */
.search_box { float: left; width: 480px; margin-left: 70px; margin-top: 2px; }
.search {
	display: flex;
	height: 40px;
	border: 2px solid var(--mx-primary);
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}
.search_keyword {
	flex: 1;
	border: 0;
	height: 36px;
	line-height: 36px;
	padding: 0 18px;
	font-size: 14px;
	color: #333;
	background: transparent;
}
.search_submit {
	width: 88px;
	border: 0;
	background: var(--mx-primary);
	color: #fff;
	font-size: 15px;
	transition: background .15s ease;
}
.search_submit:hover { background: var(--mx-deep); }
.search_submit .mx-ico { width: 17px; height: 17px; }
.search_hotwords { margin-top: 8px; font-size: 12px; color: #999; height: 18px; overflow: hidden; }
.search_hotwords a { color: #999; margin-right: 12px; }
.search_hotwords a:hover { color: var(--mx-primary); }

/* 购物车入口 */
.header_cart { float: right; margin-left: 46px; position: relative; }
.header_cart .go_cart {
	display: flex;
	align-items: center;
	height: 40px;
	margin-top: 2px;
	padding: 0 16px;
	border: 1px solid var(--mx-border);
	border-radius: 20px;
	color: #555;
	background: #fff;
}
.header_cart .go_cart:hover { border-color: var(--mx-primary); color: var(--mx-primary); }
.header_cart .go_cart .mx-ico-cart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231653a3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2.5 3h2.4l2.4 12.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E"); width: 19px; height: 19px; }
.header_cart .go_cart b { font-weight: 400; font-size: 13px; margin-left: 6px; }
.sign_total {
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--mx-red);
	color: #fff;
	font-size: 12px;
	text-align: center;
	margin-left: 8px;
}
.cart_simple { position: absolute; right: 0; top: 52px; z-index: 600; display: none; }

/* 购物车下拉面板 */
.cart_panel {
	width: 320px;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: var(--mx-radius);
	box-shadow: 0 8px 24px rgba(14, 63, 128, 0.12);
	overflow: hidden;
}
.cart_list { max-height: 280px; overflow-y: auto; }
.cart_list li {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px dashed #eee;
	position: relative;
}
.cart_list li > em { width: 16px; font-size: 12px; color: #bbb; }
.cart_list li img { width: 44px; height: 44px; border: 1px solid var(--mx-border); border-radius: 4px; margin: 0 8px; }
.cart_list .shop_name { flex: 1; font-size: 12px; color: #555; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart_list .shop_name:hover { color: var(--mx-primary); }
.cart_list .shop_price { font-size: 12px; color: var(--mx-red); white-space: nowrap; }
.cart_list .shop_price span { color: #999; }
.cart_list .mx-ico-trash { position: absolute; right: 12px; top: 50%; margin-top: -8px; cursor: pointer; }
.cart_total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	background: #fafbfd;
	font-size: 13px;
	color: #555;
}
.cart_total em { color: var(--mx-red); font-size: 15px; }
.cart_total a {
	background: var(--mx-primary);
	color: #fff;
	border-radius: 15px;
	padding: 6px 22px;
}
.cart_total a:hover { background: var(--mx-deep); }
.cart_no { padding: 30px 0; text-align: center; color: #999; font-size: 13px; }

/* 登录/注册与用户信息 */
.body_toolbar { float: right; margin-left: 40px; margin-top: 8px; }
.body_toolbar_btn { display: flex; align-items: center; height: 28px; font-size: 13px; }
.body_toolbar_btn.login_reg a { color: #555; padding: 0 4px; }
.body_toolbar_btn.login_reg a.reg { color: var(--mx-primary); }
.body_toolbar_btn.login_reg em { color: #ddd; }
.body_toolbar_btn.userinfo a { color: var(--mx-primary); font-weight: 600; }
.body_toolbar_layer {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 610;
	width: 300px;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: var(--mx-radius);
	box-shadow: 0 8px 24px rgba(14, 63, 128, 0.12);
	padding: 16px;
}
.body_toolbar:hover .body_toolbar_layer { display: block; }
.toolbar_layer_info { display: flex; align-items: center; border-bottom: 1px dashed #eee; padding-bottom: 14px; margin-bottom: 10px; }
.toolbar_layer_info .info_photo img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #e8eff7; margin-right: 10px; }
.toolbar_layer_info a { font-size: 14px; color: #333; }
.toolbar_layer_info span { font-size: 12px; color: #999; display: block; }
.myorder dl { border-bottom: 1px dashed #eee; padding-bottom: 10px; margin-bottom: 10px; }
.myorder dt { display: flex; justify-content: space-between; font-size: 13px; color: #333; margin-bottom: 6px; }
.myorder dd { float: left; width: 50%; font-size: 12px; line-height: 2; }
.myorder dd a { color: #777; }
.myorder dd a:hover { color: var(--mx-primary); }
.myshop, .logout { display: inline-block; width: 49%; text-align: center; font-size: 13px; }
.myshop a { color: var(--mx-primary); }
.logout a { color: #999; }
.logout a:hover { color: var(--mx-red); }

/* ---------- 主导航 ---------- */
.nav_bar { background: var(--mx-primary); }
.nav_bar .web { display: flex; align-items: center; height: 44px; }
.nav_index { flex: 1; }
.nav_index .nav { display: flex; height: 44px; }
.nav_index .nav li { position: relative; }
.nav_index .nav li a {
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 22px;
	color: #fff;
	font-size: 15px;
	transition: background .15s ease;
}
.nav_index .nav li a:hover, .nav_index .nav li.current a { background: var(--mx-deep); }

/* 全部商品分类下拉 */
.category_list { position: relative; width: 220px; }
.all_goods_sort {
	display: flex;
	align-items: center;
	height: 44px;
	background: var(--mx-deep);
	color: #fff;
	font-size: 15px;
	padding: 0 20px;
}
.all_goods_sort h3 { font-weight: 600; }
.all_goods_sort:hover { background: #0a2f5e; color: #fff; }
.cat_list {
	display: none;
	position: absolute;
	left: 0;
	top: 44px;
	z-index: 500;
	width: 220px;
	background: #fff;
	border-radius: 0 0 var(--mx-radius) var(--mx-radius);
	box-shadow: 0 10px 26px rgba(14, 63, 128, 0.16);
}
/* 鼠标悬停「全部信息分类」时展开下拉 */
.category_list:hover .cat_list { display: block; }
.cat_list > li { position: relative; border-bottom: 1px solid #f1f3f6; }
.cat_list > li:last-child { border-bottom: 0; }
.cat_nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 14px;
	cursor: default;
}
.cat_nav h3 { font-size: 14px; font-weight: 400; }
.cat_nav h3 a { color: #444; }
.cat_nav a { color: #999; font-size: 12px; margin-left: 8px; }
.cat_list > li:hover .cat_nav { background: #f4f8fc; }
.cat_list > li:hover .cat_nav h3 a { color: var(--mx-primary); }
.cat_nav .mx-ico { width: 12px; height: 12px; }
.cat_more {
	display: none;
	position: absolute;
	left: 220px;
	top: 0;
	z-index: 501;
	width: 760px;
	min-height: 100%;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: 0 var(--mx-radius) var(--mx-radius) 0;
	box-shadow: 0 10px 26px rgba(14, 63, 128, 0.12);
	padding: 18px 22px;
}
.cat_list > li:hover .cat_more { display: block; }
.cat_more h3 { border-bottom: 1px solid #f0f2f5; padding-bottom: 10px; margin-bottom: 10px; }
.cat_more h3 a { display: inline-block; margin: 0 14px 8px 0; font-size: 13px; color: #555; }
.cat_more h3 a:hover { color: var(--mx-primary); }
.cat_nav_list { margin-bottom: 12px; }
.cat_nav_list li { float: left; width: 20%; line-height: 2; }
.cat_nav_list a { font-size: 12px; color: #888; }
.cat_nav_list a:hover { color: var(--mx-primary); }
.cat_content_list { display: flex; border-top: 1px dashed #eee; padding-top: 12px; }
.cat_content_list li { flex: 1; text-align: center; }
.cat_content_list img { width: 80px; height: 80px; border-radius: 6px; }
.cat_content_list h3 { font-size: 12px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.cat_content_list .price { font-size: 12px; color: var(--mx-red); }

/* 个人中心导航高亮 */
.nav_index .user_nav_index.current a { background: var(--mx-deep); }

/* ---------- 页脚 ---------- */
.foot { background: #fff; margin-top: 10px; }

/* 服务承诺 */
.foot .service { background: var(--mx-bg); border-bottom: 1px solid var(--mx-border); }
.foot .service ul { width: 1200px; margin: 0 auto; display: flex; padding: 26px 0; }
.foot .service li {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #444;
}
.foot .service li i {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mx-primary);
	margin-right: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}
.foot .service li.item1 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.9 6.2 6.8.8-5 4.6 1.3 6.6L12 17l-6 3.2 1.3-6.6-5-4.6 6.8-.8z'/%3E%3C/svg%3E"); }
.foot .service li.item2 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.foot .service li.item3 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.7 4H7.3a2 2 0 0 0-1.8 1.1z'/%3E%3C/svg%3E"); }
.foot .service li.item4 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E"); }

/* 帮助链接 + 联系方式 */
.foot .help { width: 1200px; margin: 0 auto; display: flex; padding: 34px 0 10px; }
.foot .help .prompt_link { flex: 1; display: flex; }
.foot .help .prompt_link dl { width: 20%; }
.foot .help .prompt_link dt { font-size: 15px; color: #333; margin-bottom: 12px; }
.foot .help .prompt_link dt a:hover { color: var(--mx-primary); }
.foot .help .prompt_link dd { font-size: 12px; color: #999; line-height: 2; }
.foot .help .prompt_link dd a { color: #999; }
.foot .help .prompt_link dd a:hover { color: var(--mx-primary); }
.foot .help .contact { width: 260px; text-align: left; padding-left: 40px; border-left: 1px solid var(--mx-border); }
.foot .help .contact em { display: block; font-size: 26px; color: var(--mx-primary); font-weight: 700; letter-spacing: 1px; }
.foot .help .contact span { display: block; font-size: 12px; color: #999; margin: 6px 0 14px; }
.foot .help .contact .input_text { width: 170px; height: 34px; border-radius: 17px 0 0 17px; padding: 0 14px; }
.foot .help .contact a {
	display: inline-block;
	height: 34px;
	line-height: 34px;
	padding: 0 14px;
	background: var(--mx-primary);
	color: #fff;
	border-radius: 0 17px 17px 0;
	vertical-align: top;
}
.foot .help .contact a:hover { background: var(--mx-deep); color: #fff; }

/* 版权与合规信息（写死在模板中，后台 site_footer_code 为空也始终显示） */
.foot .copy { border-top: 1px solid var(--mx-border); padding: 18px 0 26px; background: #fff; }
.foot .copy .mx-footer-info { width: 1200px; margin: 0 auto; text-align: center; font-size: 12px; color: #8a97a6; line-height: 2.1; }
.foot .copy .mx-footer-info .mx-footer-nav a { color: #5a6879; margin: 0 12px; font-size: 13px; }
.foot .copy .mx-footer-info .mx-footer-nav a:hover { color: var(--mx-primary); }
.foot .copy .mx-footer-info a.beian { color: #8a97a6; }
.foot .copy .mx-footer-info a.beian:hover { color: var(--mx-primary); }

/* ---------- 数字商品服务特点 ---------- */
.mx-digit-banner {
	width: 1200px;
	margin: 0 auto;
	display: flex;
	background: linear-gradient(90deg, #0e3f80, #1653a3);
	border-radius: var(--mx-radius);
	color: #fff;
	padding: 16px 26px;
	margin-bottom: 16px;
	align-items: center;
}
.mx-digit-banner strong { font-size: 16px; margin-right: 26px; white-space: nowrap; }
.mx-digit-banner span { flex: 1; font-size: 13px; opacity: .92; }
.mx-digit-banner span i { margin-right: 6px; }
