/* fee 主题 · 商品模板样式（移植自 lu 主题 shop.css / shop_log.css，按 fee 视觉适配）
   作用域统一以 .fshop- 前缀隔离，不覆盖 fee 原有样式 */

.fshop-head {
	margin: 10px 0 18px;
}
.fshop-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	color: #333;
}
.fshop-desc {
	color: #999;
	font-size: 13px;
	margin: 0;
}

/* ---------- 商品列表网格 ---------- */
.fshop-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 15px;
}
.fshop-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.fshop-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}
.fshop-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f5f5;
}
.fshop-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.fshop-card:hover .fshop-thumb img {
	transform: scale(1.05);
}
.fshop-card-body {
	padding: 12px;
}
.fshop-card-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.4;
	height: 42px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.fshop-card-title a {
	color: #333;
}
.fshop-card-title a:hover {
	color: #ff5e52;
}
.fshop-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.fshop-price {
	color: #ff5e52;
	font-size: 18px;
	font-weight: 700;
}
.fshop-price b {
	font-size: 20px;
}
.fshop-buy-btn {
	display: inline-block;
	background: #ff5e52;
	color: #fff !important;
	border: 1px solid #ff5e52;
	border-radius: 4px;
	padding: 6px 18px;
	font-size: 13px;
	line-height: 1.4;
	transition: background .2s ease;
}
.fshop-buy-btn:hover {
	background: #e84a3e;
	border-color: #e84a3e;
	color: #fff !important;
}
.fshop-buy-btn.disabled,
.fshop-buy-btn[disabled] {
	background: #bbb;
	border-color: #bbb;
	cursor: not-allowed;
	pointer-events: none;
}
.fshop-card-extra {
	font-size: 12px;
	color: #999;
	display: flex;
	gap: 14px;
}
.fshop-empty {
	background: #fff;
	border: 1px dashed #ddd;
	border-radius: 8px;
	padding: 50px 20px;
	text-align: center;
	color: #999;
}

/* ---------- 购买动态侧栏 ---------- */
.fshop-dynamic {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f2f2f2;
}
.fshop-dynamic .thumbnail img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}
.fshop-dynamic .text {
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}
.fshop-dynamic .text strong {
	color: #333;
}
.fshop-dynamic .muted {
	display: block;
	font-size: 12px;
	color: #999;
}

/* ---------- 商品详情 ---------- */
.fshop-single {
	background: #fff;
	border-radius: 8px;
	padding: 15px;
}
.fshop-card {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}
.fshop-card-media {
	flex: 0 0 300px;
	max-width: 300px;
}
.fshop-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fshop-card-info {
	flex: 1 1 260px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fshop-type {
	font-size: 13px;
	color: #777;
}
.fshop-badge {
	display: inline-block;
	font-style: normal;
	font-size: 12px;
	padding: 1px 8px;
	border-radius: 3px;
	margin-left: 6px;
}
.fshop-badge-vip {
	color: #9b59b6;
	border: 1px solid #9b59b6;
}
.fshop-badge-pay {
	color: #f08c00;
	border: 1px solid #f08c00;
}
.fshop-badge-free {
	color: #42a85f;
	border: 1px solid #42a85f;
}
.fshop-price-line {
	font-size: 15px;
	color: #555;
}
.fshop-price-line b {
	color: #ff5e52;
	font-size: 26px;
	font-weight: 700;
}
.fshop-action {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: auto;
}
.fshop-praise {
	font-size: 13px;
	color: #999;
}
.fshop-hot {
	display: inline-block;
	font-size: 12px;
	color: #ff6600;
	border: 1px solid #ff6600;
	border-radius: 3px;
	padding: 0 6px;
	margin-left: 6px;
}
.fshop-section {
	margin-top: 18px;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}
.fshop-section-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	padding: 10px 15px;
	border-bottom: 1px solid #f2f2f2;
	background: #fafafa;
}
.fshop-section-body {
	padding: 15px;
	font-size: 14px;
	line-height: 1.8;
}

/* ---------- 资源下载区 ---------- */
.fshop-file-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	margin-bottom: 10px;
}
.fshop-file-row:last-of-type {
	margin-bottom: 0;
}
.fshop-file-name {
	font-size: 14px;
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fshop-file-name .fa-file-archive-o {
	color: #7c8cff;
	margin-right: 6px;
}
.fshop-file-pwd {
	font-style: normal;
	font-size: 12px;
	color: #999;
	margin-left: 6px;
}
.fshop-file-op {
	flex: 0 0 auto;
}
.fshop-file-btn {
	display: inline-block;
	background: #ff5e52;
	color: #fff !important;
	border: 1px solid #ff5e52;
	border-radius: 4px;
	padding: 5px 14px;
	font-size: 13px;
}
.fshop-file-btn:hover {
	background: #e84a3e;
	border-color: #e84a3e;
	color: #fff !important;
}
.fshop-file-locked {
	font-size: 13px;
	color: #999;
}
.fshop-file-tip {
	font-size: 12px;
	color: #999;
	margin-top: 8px;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
	.fshop-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 10px;
	}
	.fshop-card {
		flex-direction: column;
	}
	.fshop-card-media {
		flex: 1 1 auto;
		max-width: 100%;
	}
	.fshop-card-info {
		padding: 15px;
	}
}
