@charset "UTF-8";
/* ==========================================================================
   曼象商城 · 列表页：分类页/搜索页/品牌专区/商家主页 + 筛选条 + 商品网格
   ========================================================================== */

/* 主体双栏 */
.web .main { flex: 1; min-width: 0; }
.bigweb .web { display: flex; align-items: flex-start; }
.web .bar, .article_bar { width: 220px; margin-left: 16px; flex-shrink: 0; }

/* 侧栏盒子 */
.bar_box, .news_article_box, .products_bar_box {
	background: #fff;
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	margin-bottom: 16px;
	overflow: hidden;
}
.bar_box_head, .news_article_box_head, .products_bar_box_head {
	font-size: 15px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--mx-border);
	background: linear-gradient(90deg, #f4f8fc, #fff);
}
.bar_box_head:before, .news_article_box_head:before, .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;
}
.bar_nav { padding: 8px 16px 12px; }
.bar_nav li { line-height: 2.2; font-size: 13px; }
.bar_nav li.current a { color: var(--mx-primary); font-weight: 600; }
.bar_nav a { color: #555; }
.bar_nav a:hover { color: var(--mx-primary); }

/* 侧栏小商品 */
.bar_goods { padding: 6px 16px 12px; }
.bar_goods li { padding: 8px 0; border-bottom: 1px dashed #f0f2f5; }
.bar_goods li:last-child { border-bottom: 0; }
.bar_goods a { display: flex; align-items: center; }
.bar_goods img { width: 44px; height: 44px; border-radius: 4px; margin-right: 10px; }
.bar_goods strong {
	flex: 1;
	font-size: 12px;
	font-weight: 400;
	color: #555;
	height: 34px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.bar_goods em { font-size: 13px; color: var(--mx-red); white-space: nowrap; }
.bar_goods_big { padding: 16px; text-align: center; }
.bar_goods_big img { width: 150px; height: 150px; border-radius: 6px; }
.bar_goods_big h5 { font-size: 13px; font-weight: 400; color: #444; margin: 8px 0 4px; height: 20px; overflow: hidden; }
.bar_goods_big em { color: var(--mx-red); font-size: 16px; }

/* 侧栏内店铺分类 */
.bar_goods_nav { padding: 8px 16px 12px; }
.bar_goods_nav dt a { font-weight: 600; color: #333; font-size: 13px; line-height: 2.2; }
.bar_goods_nav dd { padding-left: 14px; }
.bar_goods_nav dd a { font-size: 12px; color: #888; line-height: 2; }
.bar_goods_nav dd a:hover, .bar_goods_nav dt a:hover { color: var(--mx-primary); }

/* ---------- 筛选区 ---------- */
.condition_filter {
	background: #fff;
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 12px 16px 4px;
	margin-bottom: 16px;
}
.goods_tag dl { display: flex; border-bottom: 1px dashed #f0f2f5; padding: 8px 0; }
.goods_tag dt { width: 78px; color: #999; font-size: 13px; flex-shrink: 0; }
.goods_tag dt div { line-height: 26px; }
.goods_tag dd { flex: 1; }
.goods_tag dd a {
	display: inline-block;
	padding: 2px 14px;
	margin: 0 10px 8px 0;
	font-size: 13px;
	color: #555;
	border-radius: 13px;
}
.goods_tag dd a:hover { color: var(--mx-primary); }
.goods_tag dd a.current {
	background: var(--mx-primary);
	color: #fff;
}
.goods_tag .condition { display: inline-block; margin-bottom: 8px; }
.goods_tag .condition input {
	width: 66px;
	height: 28px;
	border: 1px solid var(--mx-border);
	border-radius: 4px;
	padding: 0 6px;
}
.goods_tag .condition button {
	height: 28px;
	padding: 0 14px;
	border: 0;
	background: var(--mx-primary);
	color: #fff;
	border-radius: 4px;
	margin-left: 6px;
}
.goods_tag .condition button:hover { background: var(--mx-deep); }

/* 排序条 */
.goods_sort { display: flex; align-items: center; padding: 12px 16px; }
.goods_sort h3 { color: #999; font-size: 13px; margin-right: 8px; }
.goods_sort h3 div { line-height: 30px; }
.goods_sort ul { display: flex; flex-wrap: wrap; }
.goods_sort li { margin-right: 6px; }
.goods_sort a {
	display: block;
	padding: 4px 16px;
	font-size: 13px;
	color: #555;
	border-radius: 15px;
	background: #f5f7fa;
}
.goods_sort li.current a, .goods_sort a:hover { background: var(--mx-primary); color: #fff; }
.goods_sort i { display: inline-block; width: 12px; height: 12px; margin-left: 4px; background-repeat: no-repeat; background-position: center; background-size: contain; vertical-align: -1px; }
.goods_sort i.fa-arrow-up { 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }
.goods_sort i.fa-arrow-down { 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E"); }
.goods_sort li.current i.fa-arrow-up { 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }
.goods_sort li.current i.fa-arrow-down { 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E"); }

/* ---------- 商品网格 ---------- */
.goods_list ul { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.goods_list li { width: 25%; padding: 6px; }
.goods_list li > a {
	display: block;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	transition: all .2s ease;
	height: 100%;
}
.goods_list li > a:hover {
	border-color: var(--mx-border);
	box-shadow: var(--mx-shadow-hover);
	transform: translateY(-3px);
}
.goods_list img { width: 150px; height: 150px; border-radius: 6px; }
.goods_list .goods_title {
	font-size: 13px;
	color: #444;
	height: 38px;
	line-height: 1.45;
	text-align: left;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 10px 0 6px;
}
.goods_list .goods_sell_price { font-size: 17px; color: var(--mx-red); font-weight: 700; text-align: left; }
.goods_list .goods_market_price { font-size: 12px; color: #bbb; text-decoration: line-through; text-align: left; }

/* 收藏商品列表（用户中心） */
.goods_list_btnbox { display: flex; margin-top: 10px; }
.goods_list_btnbox div {
	flex: 1;
	font-size: 13px;
	border-radius: 15px;
	padding: 5px 0;
	text-align: center;
	cursor: pointer;
	margin: 0 4px;
}
.goods_list_btnbox .add_cart { background: var(--mx-primary); color: #fff; }
.goods_list_btnbox .add_cart:hover { background: var(--mx-deep); }
.goods_list_btnbox .del_fav { border: 1px solid var(--mx-border); color: #888; }
.goods_list_btnbox .del_fav:hover { border-color: var(--mx-red); color: var(--mx-red); }

/* 搜索结果分类 */
.search_class {
	background: #fff;
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 12px 16px;
	margin-bottom: 16px;
	display: flex;
	font-size: 13px;
}
.search_class strong { color: #999; margin-right: 10px; white-space: nowrap; }
.search_class_content { flex: 1; }
.search_class_content a { color: #555; margin-right: 16px; }
.search_class_content a:hover { color: var(--mx-primary); }

/* 列表页主区域 */
.prolist_main { flex: 1; min-width: 0; }
.prolist_main .condition_filter { margin-bottom: 12px; }
.goods_list { background: #fff; border-radius: var(--mx-radius); box-shadow: var(--mx-shadow); padding: 10px 10px 0; }

/* 服务订购页（pro_list）：筛选条在上、服务网格在下，整页纵向排列 */
.bigweb .web.prolist_web { display: block; }
.bigweb .web.prolist_web .condition_filter { width: auto; }
.bigweb .web.prolist_web .prolist_main { width: 100%; }
