.wcg-gateway-icon,
.wcg-blocks-label .wcg-gateway-icon,
#payment .payment_methods li img.wcg-gateway-icon,
.wc-block-components-radio-control__label img.wcg-gateway-icon {
	display: inline-block;
	height: 24px;
	width: auto;
	max-width: 46%;
	max-height: 24px;
	margin: 0 8px 0 0;
	padding: 0;
	vertical-align: middle;
	float: none;
	position: static;
	box-shadow: none;
	border: 0;
	background: transparent;
}

.wcg-blocks-label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 100%;
	white-space: normal;
}

.wc-block-components-radio-control__label:has(.wcg-blocks-label) {
	height: auto;
	max-height: none;
	overflow: visible;
	white-space: normal;
	text-overflow: unset;
}

.wcg-panel {
	container-type: inline-size;
	container-name: wcg-panel;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-top: 12px;
	padding: 18px;
	overflow: visible;
	color: #0f172a;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff 72px),
		#fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}

.wcg-panel--wcg_zelle { box-shadow: inset 3px 0 0 #6d1ed4, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_apple_pay { box-shadow: inset 3px 0 0 #111, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_wire { box-shadow: inset 3px 0 0 #0e2a47, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_chime { box-shadow: inset 3px 0 0 #00c853, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_cashapp { box-shadow: inset 3px 0 0 #00a33a, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_etransfer { box-shadow: inset 3px 0 0 #0e6b4f, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_revolut { box-shadow: inset 3px 0 0 #111827, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_bitcoin { box-shadow: inset 3px 0 0 #1c1917, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_usdt { box-shadow: inset 3px 0 0 #0f766e, 0 12px 32px rgba(15, 23, 42, 0.06); }
.wcg-panel--wcg_bnpl { box-shadow: inset 3px 0 0 #312e81, 0 12px 32px rgba(15, 23, 42, 0.06); }

.wcg-panel__brand {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.wcg-panel__titles {
	min-width: 0;
	flex: 1 1 160px;
}

.wcg-panel__brand strong,
.wcg-panel__titles strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.wcg-panel__logo,
.wcg-admin-logo {
	height: 32px;
	width: auto;
	max-width: 100%;
	padding: 4px 6px;
	vertical-align: middle;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.wcg-admin-logo {
	margin-right: 8px;
}

.wcg-panel__intro,
.wcg-panel__note,
.wcg-ship__text,
.wcg-details dd,
.wcg-amount strong,
.wcg-split__cell strong,
.wcg-balance-note {
	white-space: normal;
	overflow: visible;
	overflow-wrap: break-word;
	max-height: none;
}

.wcg-panel__intro,
.wcg-panel__note {
	margin: 0 0 14px;
	color: #475569;
	font-size: 14px;
	line-height: 1.55;
}

.wcg-panel__note p:last-child {
	margin-bottom: 0;
}

.wcg-amount,
.wcg-split__cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 14px;
	padding: 14px 16px;
	background: #f8fafc;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.wcg-amount span,
.wcg-split__cell span {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wcg-amount strong,
.wcg-split__cell strong {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: #0f172a;
}

.wcg-split {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 14px;
}

.wcg-split__cell {
	margin: 0;
}

.wcg-split__cell.is-due {
	background: #eef2ff;
	box-shadow: inset 0 0 0 1px rgba(49, 46, 129, 0.12);
}

.wcg-split__cell.is-due strong {
	color: #312e81;
}

.wcg-balance-note {
	margin: 0 0 14px;
	color: #334155;
	font-size: 14px;
	line-height: 1.5;
}

.wcg-payto {
	margin: 0 0 14px;
	padding: 14px;
	background: #f8fafc;
	border-radius: 18px;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.wcg-payto__label {
	margin: 0 0 10px;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wcg-details {
	display: grid;
	gap: 8px;
	margin: 0;
}

.wcg-details__row {
	display: block;
	padding: 12px 14px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.wcg-details dt {
	margin: 0 0 4px;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.wcg-details dd {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	white-space: pre-line;
}

.wcg-details__value {
	min-width: 0;
	flex: 1 1 auto;
	color: #0f172a;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.015em;
	overflow-wrap: anywhere;
}

.wcg-copy {
	flex: 0 0 auto;
	margin: 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.wcg-copy:hover,
.wcg-copy:focus {
	background: #334155;
	color: #fff;
}

.wcg-reference-row label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.wcg-reference-input,
.wcg-reference-form .input-text {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border: 1px solid #d4d4d8;
	border-radius: 8px;
}

.wcg-reference-form {
	margin-top: 12px;
}

.wcg-notice {
	margin: 0 0 10px;
	padding: 8px 10px;
	border-radius: 8px;
}

.wcg-notice--success {
	background: #ecfdf3;
	color: #166534;
}

.wcg-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.wcg-contact__button,
.wcg-contact__actions .button {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	line-height: 1.2;
}

.wcg-contact__button:hover,
.wcg-contact__button:focus,
.wcg-contact__actions .button:hover,
.wcg-contact__actions .button:focus {
	background: #3f3f46;
	color: #fff;
}

.wcg-ship {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 14px 16px;
	background: #fffbeb;
	border: 0;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #f5e6b8;
}

.wcg-ship__title,
.wcg-ship__text {
	margin: 0;
}

.wcg-ship__text {
	margin-top: 6px;
}

.wcg-paid-note {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.wcg-admin-summary {
	margin-top: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 10px;
}

.wcg-admin-summary__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
}

.wcg-admin-summary__list {
	margin: 0;
	padding-left: 18px;
}

.wcg-tier-table {
	max-width: 820px;
}

@container wcg-panel (max-width: 560px) {
	.wcg-split,
	.wcg-details__row {
		grid-template-columns: 1fr;
	}

	.wcg-contact__button,
	.wcg-contact__actions .button {
		flex: 1 1 100%;
		box-sizing: border-box;
		text-align: center;
	}
}

@media (max-width: 782px) {
	.wcg-split,
	.wcg-details__row {
		grid-template-columns: 1fr;
	}

	.wcg-reference-input,
	.wcg-reference-form .input-text {
		max-width: none;
	}

	.wcg-contact__button,
	.wcg-contact__actions .button {
		flex: 1 1 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.wcg-copy {
		align-self: flex-start;
	}

	.wcg-quote-names label {
		display: block;
		margin: 0 0 12px;
	}

	.wcg-quote-names input {
		display: block;
		width: 100%;
		max-width: 100%;
		margin-top: 4px;
		box-sizing: border-box;
	}

	.wcg-tier-table,
	.wcg-tier-table tbody,
	.wcg-tier-table tr,
	.wcg-tier-table td {
		display: block;
		width: 100%;
	}

	.wcg-tier-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.wcg-tier-table tr {
		margin: 0 0 12px;
		padding: 8px 12px;
		border: 1px solid #dcdcde;
		background: #fff;
	}

	.wcg-tier-table td {
		padding: 6px 0;
		border: 0;
	}

	.wcg-tier-table td[data-label]:not([data-label=""])::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		font-weight: 600;
	}

	.wcg-tier-table input.small-text {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

.wcg-proof-page {
	box-sizing: border-box;
	width: 100%;
	padding: 28px 16px 64px;
}

.wcg-proof {
	box-sizing: border-box;
	width: min(560px, 100%);
	margin: 0 auto;
}

.wcg-proof__title {
	margin: 0 0 8px;
	color: #0f172a;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.wcg-proof__form {
	display: grid;
	gap: 12px;
}

.wcg-field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.wcg-field span {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wcg-field input[type="text"],
.wcg-field input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	color: #0f172a;
	font-size: 16px;
	background: #fff;
	border: 0;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.wcg-proof__error,
.wcg-proof__success {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 14px;
	line-height: 1.45;
}

.wcg-proof__error {
	color: #991b1b;
	background: #fef2f2;
}

.wcg-proof__success {
	color: #14532d;
	background: #f0fdf4;
}

.wcg-proof__back {
	margin: 16px 0 0;
}

.wcg-proof__back a {
	color: #334155;
	font-weight: 700;
	text-decoration: none;
}

.wcg-proof .wcg-contact__button {
	width: 100%;
	margin-top: 4px;
	border: 0;
	cursor: pointer;
	text-align: center;
}
