/**
 * Leng Donate 前台样式
 * 配色跟随 water-lily 主题（水乡米色 + 棕色）
 */

.leng-donate-wrap {
	margin: 28px 0 34px;
	padding: 26px 24px;
	border: 1px solid #efe6d8;
	border-radius: 10px;
	background: #fdfaf4;
	color: #5D2906;
}

.leng-donate-intro {
	font-size: 15px;
	line-height: 1.9;
	color: #6b4a2c;
}

.leng-donate-intro p {
	margin: 0 0 12px;
}

.leng-donate-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 22px 0 6px;
}

.leng-donate-card {
	flex: 1 1 280px;
	min-width: 260px;
	max-width: 380px;
	padding: 20px 18px;
	border: 1px solid #efe6d8;
	border-radius: 10px;
	background: #fff;
	text-align: center;
}

.leng-donate-card-title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
	color: #5D2906;
}

.leng-donate-card-sub {
	font-size: 13px;
	font-weight: 400;
	color: #8a7250;
}

.leng-donate-qr {
	margin: 0 0 14px;
}

.leng-donate-qr img {
	display: block;
	width: 180px;
	height: 180px;
	margin: 0 auto;
	border: 1px solid #efe6d8;
	border-radius: 6px;
	background: #fff;
}

.leng-donate-label {
	margin: 0 0 8px;
	font-size: 13px;
	color: #8a7250;
}

.leng-donate-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.leng-donate-amounts li {
	margin: 0;
	padding: 5px 12px;
	border: 1px solid #e3d5bd;
	border-radius: 20px;
	background: #f7f1e5;
	font-size: 14px;
	color: #5D2906;
	line-height: 1.6;
}

.leng-donate-amount-num {
	font-weight: 600;
}

.leng-donate-amount-unit {
	margin-left: 2px;
	font-size: 12px;
	color: #8a7250;
}

/* ---------------- PayPal 金额按钮 ---------------- */

.leng-donate-amounts-btn li a {
	display: block;
	min-width: 62px;
	padding: 7px 14px;
	border: 1px solid #c8a063;
	border-radius: 20px;
	background: #c8a063;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	transition: background .2s ease, border-color .2s ease;
}

.leng-donate-amounts-btn li a:hover,
.leng-donate-amounts-btn li a:focus {
	background: #5D2906;
	border-color: #5D2906;
	color: #fff;
}

.leng-donate-paypal-form {
	margin: 14px 0 12px;
}

.leng-donate-paypal-btn {
	display: inline-block;
	padding: 9px 22px;
	border: 0;
	border-radius: 6px;
	background: #ffc439;
	color: #0d2c52;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: filter .2s ease;
}

.leng-donate-paypal-btn:hover,
.leng-donate-paypal-btn:focus {
	filter: brightness(.94);
	color: #0d2c52;
}

.leng-donate-hint {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #8a7250;
	text-align: left;
}

/* ---------------- 页脚 ---------------- */

.leng-donate-foot {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #efe6d8;
}

.leng-donate-foot p {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.8;
	color: #8a7250;
}

.leng-donate-thanks {
	color: #5D2906;
}

.leng-donate-disclaimer {
	font-size: 12px !important;
	color: #a89684 !important;
}

/* ---------------- 详情页悬浮入口 ---------------- */

.leng-donate-float {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 999;
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid #c8a063;
	border-radius: 24px;
	background: rgba(253, 250, 244, .96);
	box-shadow: 0 2px 10px rgba(93, 41, 6, .14);
	color: #5D2906;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.leng-donate-float:hover,
.leng-donate-float:focus {
	background: #c8a063;
	border-color: #c8a063;
	color: #fff;
}

/* ---------------- 移动端 ---------------- */

@media (max-width: 600px) {
	.leng-donate-wrap {
		padding: 20px 14px;
	}

	.leng-donate-card {
		min-width: 100%;
		max-width: 100%;
	}

	.leng-donate-float {
		right: 12px;
		bottom: 14px;
		padding: 8px 14px;
		font-size: 12px;
	}
}

/* ---------------- v1.1.0 语言切换 ---------------- */

.leng-donate-langbar {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
	margin: 0 0 16px;
}

.leng-donate-lang-btn {
	padding: 4px 14px;
	border: 1px solid #e3d5bd;
	border-radius: 16px;
	background: transparent;
	color: #8a7250;
	font-size: 12px;
	line-height: 1.6;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.leng-donate-lang-btn:hover,
.leng-donate-lang-btn:focus {
	border-color: #c8a063;
	color: #5D2906;
}

.leng-donate-lang-btn.is-active {
	background: #c8a063;
	border-color: #c8a063;
	color: #fff;
}

/* 单语言模式不显示切换条 */
.leng-donate-wrap[data-mode="zh"] .leng-donate-langbar,
.leng-donate-wrap[data-mode="en"] .leng-donate-langbar {
	display: none;
}

/* 整段双语：按 data-lang 只显示一份 */
.leng-donate-wrap[data-lang="zh"] .leng-donate-en {
	display: none;
}

.leng-donate-wrap[data-lang="en"] .leng-donate-zh {
	display: none;
}

/* 行内双语：英文默认隐藏，英文模式下显示 */
.leng-donate-en-inline {
	display: none;
}

.leng-donate-wrap[data-lang="en"] .leng-donate-en-inline {
	display: inline;
}

.leng-donate-wrap[data-lang="en"] .leng-donate-zh-inline {
	display: none;
}
