/* 商品栏目（医疗器械/药品）目录页样式 */
.crumb-box {
	max-width: 1200px;
	margin: 20px auto 0;
	padding: 14px 15px;
	border-bottom: 2px solid #e8a33d;
}
.crumb {
	font-size: 14px;
	color: #666;
}
.crumb .crumb-text {
	color: #666;
}
.crumb a.crumb-text:hover {
	color: #06d29f;
}
.crumb .crumb-sep {
	margin: 0 8px;
	color: #bbb;
}
.crumb .crumb-current {
	color: #333;
}

.goods-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 15px 40px;
}

/* 筛选行（分类 / 品牌） */
.filter-row {
	display: flex;
	align-items: flex-start;
	border-bottom: 1px dashed #e5e5e5;
	padding: 12px 0;
}
.filter-label {
	flex: 0 0 60px;
	font-size: 14px;
	color: #666;
	line-height: 30px;
}
.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ftag {
	min-width: 96px;
	height: 30px;
	padding: 0 16px;
	font-size: 14px;
	color: #333;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	line-height: 28px;
	transition: all .15s;
}
.ftag:hover {
	border-color: #06d29f;
	color: #06d29f;
}
.ftag.is-active {
	background: #06d29f;
	border-color: #06d29f;
	color: #fff;
}

/* 排序行 */
.sort-row {
	display: flex;
	gap: 10px;
	padding: 14px 0 6px;
}
.sort-btn {
	height: 30px;
	padding: 0 14px;
	font-size: 14px;
	color: #555;
	background: #f7f7f7;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	cursor: pointer;
	line-height: 28px;
}
.sort-btn:hover {
	color: #06d29f;
	border-color: #06d29f;
}
.sort-btn.is-active {
	background: #06d29f;
	border-color: #06d29f;
	color: #fff;
	font-weight: 600;
}
.sort-btn i {
	font-size: 12px;
	margin-left: 2px;
}

/* 商品网格 */
.goods-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-top: 14px;
}
.goods-card {
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
.goods-card:hover {
	border-color: #06d29f;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}
.goods-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #fafafa;
	padding: 10px;
	box-sizing: border-box;
}
.goods-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.goods-info {
	padding: 10px 12px 14px;
}
.goods-name {
	font-size: 14px;
	color: #333;
	line-height: 1.4;
	height: 2.8em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.goods-price {
	margin-top: 8px;
	font-size: 16px;
	color: #e8501e;
	font-weight: 700;
}
.goods-price small {
	font-size: 12px;
	font-weight: 400;
}
.goods-shop {
	margin-top: 6px;
	font-size: 12px;
	color: #999;
}

.goods-empty {
	text-align: center;
	color: #999;
	font-size: 14px;
	padding: 60px 0;
}

.goods-count {
	text-align: center;
	margin-top: 28px;
	font-size: 14px;
	color: #666;
}

/* 响应式 */
@media (max-width: 1024px) {
	.goods-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 768px) {
	.goods-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.filter-row {
		flex-direction: column;
	}
	.filter-label {
		line-height: 24px;
	}
}
@media (max-width: 480px) {
	.goods-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
