.ii-payment-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px 14px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.ii-payment__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

.ii-payment__intro {
	flex: 1;
	min-width: 0;
}

.ii-payment__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
}

.ii-payment__lead {
	margin: 3px 0 0;
	color: #5a6474;
	font-size: 0.85rem;
	line-height: 1.35;
}

.ii-payment__lead-link {
	color: #006089;
	text-decoration: none;
}

.ii-payment__lead-link:hover {
	text-decoration: underline;
}

.ii-payment__balance {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(0, 96, 137, 0.06);
	border: 1px solid rgba(0, 96, 137, 0.16);
	text-align: center;
	white-space: nowrap;
}

.ii-payment__balance-label {
	font-size: 0.7rem;
	color: #5a6474;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ii-payment__balance-value {
	font-size: 0.95rem;
	color: #006089;
	line-height: 1.2;
}

.ii-payment__notice {
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 0.85rem;
	line-height: 1.35;
}

.ii-payment__notice--ok {
	background: #edf7ed;
	border: 1px solid #b7dfb9;
	color: #1e6b2a;
}

.ii-payment__notice--fail {
	background: #fdeeee;
	border: 1px solid #f0bcbc;
	color: #8a1f1f;
}

.ii-payment__note {
	margin: 0;
	font-size: 0.82rem;
	color: #5a6474;
	line-height: 1.35;
}

.ii-payment__spoiler {
	border: 1px solid rgba(0, 96, 137, 0.16);
	border-radius: 8px;
	background: rgba(0, 96, 137, 0.03);
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.ii-payment__spoiler-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	color: #006089;
	user-select: none;
	list-style: none;
}

.ii-payment__spoiler-summary::-webkit-details-marker {
	display: none;
}

.ii-payment__spoiler-summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid #006089;
	border-bottom: 2px solid #006089;
	transform: rotate(45deg);
	transition: transform 0.15s;
}

.ii-payment__spoiler[open] .ii-payment__spoiler-summary::after {
	transform: rotate(-135deg);
	margin-top: 0.2rem;
}

.ii-payment__spoiler-summary:hover {
	color: #004d6d;
}

.ii-payment__spoiler-body {
	padding: 0 12px 12px;
	min-width: 0;
	max-width: 100%;
}

.ii-payment__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.ii-payment__pack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 12px 10px;
	border: 1px solid rgba(0, 96, 137, 0.18);
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.ii-payment__pack-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	min-height: 0;
}

.ii-payment__pack-foot {
	flex-shrink: 0;
	margin-top: 10px;
}

.ii-payment__pack-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a2332;
}

.ii-payment__pack-requests {
	font-size: 0.85rem;
	color: #006089;
}

.ii-payment__pack-bonus {
	font-size: 0.78rem;
	line-height: 1.35;
	color: #1e6b2a;
	min-height: 2.7em;
}

.ii-payment__pack-bonus--empty {
	visibility: hidden;
}

.ii-payment__pack-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a2332;
	margin-top: 2px;
}

.ii-payment__pack-unit {
	font-size: 0.75rem;
	color: #5a6474;
}

.ii-payment__pack-btn {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: none;
	border-radius: 6px;
	background: #006089;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.ii-payment__pack-btn:hover {
	background: #004d6d;
}

@media (max-width: 1100px) {
	.ii-payment__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.ii-payment__header {
		flex-direction: column;
	}

	.ii-payment__balance {
		align-self: stretch;
		width: 100%;
		box-sizing: border-box;
		padding: 10px 12px;
	}

	.ii-payment__grid {
		grid-template-columns: 1fr;
	}
}
