@charset "UTF-8";
/* ==========================================================================
   曼象商城 · 商品详情页
   ========================================================================== */

.goods_base {
	display: flex;
	background: #fff;
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 24px;
	margin-top: 14px;
}

/* 左侧图区 */
.goods_zoom { width: 470px; flex-shrink: 0; }
.pic_show {
	width: 435px;
	height: 435px;
	border: 1px solid var(--mx-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.pic_show img { width: 100%; height: 100%; }
.pic_thumb { display: flex; margin-top: 14px; overflow: hidden; }
.pic_thumb li { margin-right: 12px; }
.pic_thumb img {
	width: 60px;
	height: 60px;
	border: 1px solid var(--mx-border);
	border-radius: 6px;
	cursor: pointer;
}
.pic_thumb li.current img, .pic_thumb img:hover { border-color: var(--mx-primary); }
.bx-wrapper { border: 0 !important; box-shadow: none !important; margin-bottom: 0 !important; }

/* 右侧信息区 */
.goods_info { flex: 1; margin-left: 34px; min-width: 0; }
.goods_info_title { font-size: 20px; font-weight: 600; color: #222; line-height: 1.4; }
.goods_info_num { font-size: 12px; color: #999; margin: 8px 0 14px; }
.goods_ul {
	background: #f8fafc;
	border-radius: 8px;
	padding: 14px 18px;
	font-size: 13px;
	color: #555;
}
.goods_ul li { line-height: 2; }
.goods_ul .price { font-size: 24px; color: var(--mx-red); font-weight: 700; }
.goods_ul .favorite { float: right; color: #999; cursor: pointer; }
.goods_ul .favorite:hover { color: var(--mx-red); }
.goods_ul .favorite .mx-ico-heart { margin-right: 4px; }
.sel_area { color: var(--mx-primary); cursor: pointer; }
.area_box {
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: 6px;
	box-shadow: var(--mx-shadow-hover);
	padding: 10px;
	z-index: 50;
}
.area_box ul { display: flex; flex-wrap: wrap; width: 260px; }
.area_box li { width: 50%; }
.area_box a { color: #555; font-size: 13px; }
.area_box a:hover { color: var(--mx-primary); }

/* 购买区域 */
.good_info_buy {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--mx-border);
}
.good_info_buy dl { display: flex; align-items: center; margin-bottom: 14px; }
.good_info_buy dt { width: 76px; color: #888; font-size: 13px; }
.good_info_buy dd { flex: 1; }
.good_info_buy .item span {
	display: inline-block;
	border: 1px solid var(--mx-border);
	border-radius: 4px;
	padding: 5px 16px;
	margin: 0 10px 8px 0;
	font-size: 13px;
	color: #444;
	cursor: pointer;
	user-select: none;
}
.good_info_buy .item span:hover { border-color: var(--mx-primary); color: var(--mx-primary); }
.good_info_buy .item span.current {
	border-color: var(--mx-primary);
	background: #f4f8fc;
	color: var(--mx-primary);
	box-shadow: inset 0 0 0 1px var(--mx-primary);
}
.good_info_buy .item span img { width: 40px; height: 40px; border-radius: 4px; display: block; }

/* 数量加减 */
.goods_resize { display: inline-flex; border: 1px solid var(--mx-border); border-radius: 4px; overflow: hidden; }
.goods_resize .reduce, .goods_resize .add {
	width: 32px;
	height: 32px;
	line-height: 30px;
	text-align: center;
	background: #f5f7fa;
	cursor: pointer;
	user-select: none;
	color: #555;
	font-size: 14px;
}
.goods_resize .reduce:hover, .goods_resize .add:hover { background: #e8eff7; color: var(--mx-primary); }
.goods_resize .input {
	width: 52px;
	height: 32px;
	border: 0;
	border-left: 1px solid var(--mx-border);
	border-right: 1px solid var(--mx-border);
	text-align: center;
	font-size: 14px;
}

/* 购买按钮 */
.btn_submit_buy, .btn_add_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 170px;
	height: 46px;
	border-radius: 23px;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	margin-right: 16px;
	user-select: none;
	transition: all .15s ease;
}
.btn_submit_buy { background: linear-gradient(90deg, #d23b3b, #e2564f); }
.btn_submit_buy:hover { background: linear-gradient(90deg, #b52f2f, #d23b3b); }
.btn_add_cart { background: linear-gradient(90deg, #1653a3, #1d6bb8); }
.btn_add_cart:hover { background: linear-gradient(90deg, #0e3f80, #1653a3); }
.btn_submit_buy.disabled, .btn_add_cart.disabled { background: #c9c9c9; cursor: not-allowed; }
.btn_submit_buy .mx-ico, .btn_add_cart .mx-ico { margin-right: 8px; }

/* ---------- 详情下方 ---------- */
.products_main { flex: 1; min-width: 0; }
.products_bar { width: 220px; margin-left: 16px; flex-shrink: 0; }
.products_bar_box { background: #fff; border-radius: var(--mx-radius); box-shadow: var(--mx-shadow); margin-bottom: 16px; overflow: hidden; }
.products_bar_box_head {
	font-size: 15px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--mx-border);
}
.products_bar_box_head:before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 14px;
	background: var(--mx-primary);
	border-radius: 2px;
	vertical-align: -2px;
	margin-right: 8px;
}
.products_bar_sales { padding: 8px 16px 12px; }
.products_bar_sales li { font-size: 12px; color: var(--mx-red); line-height: 2; }
.products_bar_hot { padding: 6px 16px 12px; }
.products_bar_hot li { padding: 8px 0; border-bottom: 1px dashed #f0f2f5; }
.products_bar_hot li:last-child { border-bottom: 0; }
.products_bar_hot a { display: flex; align-items: center; }
.products_bar_hot img { width: 44px; height: 44px; border-radius: 4px; margin-right: 10px; }
.products_bar_hot > li > a > div { flex: 1; min-width: 0; }
.products_bar_hot .goods_title { font-size: 12px; color: #555; height: 34px; overflow: hidden; }
.products_bar_hot .goods_sell_price { font-size: 13px; color: var(--mx-red); }

/* 详情页签 */
.goods_tab {
	display: flex;
	background: #fff;
	border-radius: var(--mx-radius) var(--mx-radius) 0 0;
	border-bottom: 2px solid var(--mx-primary);
	box-shadow: var(--mx-shadow);
	margin-top: 16px;
}
.goods_tab label {
	padding: 13px 26px;
	font-size: 14px;
	color: #555;
	cursor: pointer;
	border-right: 1px solid #f0f2f5;
	user-select: none;
}
.goods_tab label.current { background: var(--mx-primary); color: #fff; }
.goods_con { background: #fff; border-radius: 0 0 var(--mx-radius) var(--mx-radius); box-shadow: var(--mx-shadow); padding: 20px; }
.goods_infos { border: 1px solid var(--mx-border); border-radius: 6px; background: #fafbfd; padding: 14px 18px; margin-bottom: 16px; }
.goods_infos li { font-size: 13px; color: #555; line-height: 2; }
.article_content { font-size: 14px; color: #444; line-height: 1.9; }
.article_content img { max-width: 100%; }
.article_content h3 { font-size: 15px; margin: 10px 0; }

/* 评价/咨询/讨论 */
.comment_item, .ask_item, .discussion_item {
	display: flex;
	border-bottom: 1px dashed #f0f2f5;
	padding: 16px 0;
}
.comment_item .user, .ask_item .user { width: 110px; text-align: center; flex-shrink: 0; }
.comment_item .user img, .ask_item .user img {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 2px solid #e8eff7;
}
.comment_item .user span, .ask_item .user span { display: block; font-size: 12px; color: #666; margin-top: 6px; }
.comment_item .desc, .ask_item .desc { flex: 1; font-size: 13px; color: #555; }
.comment_item time, .ask_item time, .discussion_item time { color: #bbb; font-size: 12px; float: right; }
.comment_item .contents { margin: 6px 0; line-height: 1.8; }
.comment_item .recontents { background: #f6f8fb; border-radius: 6px; padding: 8px 12px; margin-top: 8px; }
.comment_item .img-thumbnail, .ask_item .img-thumbnail { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; border: 1px solid var(--mx-border); margin: 4px 8px 0 0; }
.ask_item header { border-bottom: 1px dashed #f0f2f5; padding-bottom: 6px; margin-bottom: 6px; }
.ask_item section { line-height: 1.8; }
.ask_item .answer { background: #f0f6fd; border-radius: 6px; padding: 8px 12px; margin-top: 8px; }
.ask_btn {
	display: inline-block;
	float: right;
	background: var(--mx-primary);
	color: #fff;
	border-radius: 15px;
	padding: 4px 18px;
	font-size: 13px;
}
.ask_btn:hover { background: var(--mx-deep); color: #fff; }
.discussion_list .discussion_item { display: block; }
.discussion_item strong { color: var(--mx-primary); margin-right: 8px; }
.discussion_item p { margin-top: 4px; line-height: 1.8; }
.discuss_form { background: #f8fafc; border-radius: 6px; padding: 16px; margin-top: 14px; }
.discuss_form dl { display: flex; margin-bottom: 10px; }
.discuss_form dt { width: 76px; color: #888; font-size: 13px; }
.discuss_form dd { flex: 1; }
.discuss_form .input_textarea { width: 100%; height: 90px; }
.history_list table { width: 100%; font-size: 13px; }
.history_list th { background: #f5f7fa; color: #666; font-weight: 500; padding: 10px; }
.history_list td { text-align: center; padding: 10px; border-bottom: 1px dashed #f0f2f5; }
.history_list em { color: var(--mx-red); }
