.vmtip-payment-options {
	--vmtip-accent: #EE5627;
	--vmtip-accent-soft: #fff0eb;
	--vmtip-border: #CCC4B8;
	--vmtip-text: #000;

	display: grid;
	gap: 16px;
	width: 100%;
	margin: 0px 0px 20px 0px;
	padding: 0;
	border: 0;
	color: var(--vmtip-text);
}

.vmtip-payment-options legend {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	text-transform: uppercase;
}

.vmtip-payment-option {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	min-height: 92px;
	padding: 17px 20px;
	border: 1px solid var(--vmtip-border);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.vmtip-payment-option:hover,
.vmtip-payment-option.is-selected {
	border-color: var(--vmtip-accent);
}

.vmtip-payment-option.is-selected {
	background: var(--vmtip-accent-soft);
}

.vmtip-payment-option.is-disabled {
	opacity: 0.52;
	cursor: not-allowed;
}

.vmtip-payment-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vmtip-payment-option__control {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border: 1px solid var(--vmtip-border);
	border-radius: 50%;
	background: #fff;
}

.vmtip-payment-option input:checked + .vmtip-payment-option__control {
	border-color: var(--vmtip-accent);
}

.vmtip-payment-option input:checked + .vmtip-payment-option__control::after {
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--vmtip-accent);
	content: '';
}

.vmtip-payment-option input:focus-visible + .vmtip-payment-option__control {
	outline: 3px solid rgba(244, 81, 36, 0.25);
	outline-offset: 3px;
}

.vmtip-payment-option__content {
	display: grid;
	gap: 7px;
	font-size: 18px;
	line-height: 1.35;
}

.vmtip-payment-option__content strong {
	font-size: 16px;
	font-weight: bold;
}

.vmtip-payment-option__description,
.vmtip-payment-option__amount {
	font-size: 15px;
}

.vmtip-payment-option__amount {
	font-weight: 600;
}

.vmtip-payment-message {
	padding: 12px 16px;
	border-radius: 10px;
	background: #f7f4ef;
	font-size: 14px;
}

.vmtip-payment-summary {
	display: grid;
	gap: 10px;
	padding: 17px 20px;
	border-radius: 10px;
	background: #f7f4ef;
	font-size: 14px;
}

.vmtip-payment-summary[hidden],
.vmtip-payment-message[hidden],
.vmtip-payment-summary [hidden] {
	display: none !important;
}

.vmtip-payment-summary > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.vmtip-payment-summary strong {
	text-align: right;
}

.vmtip-payment-option__description {
	font-size: 13px;
}
.vmtip-payment-option__amount {
  font-size: 13px;
  color: var(--vmtip-accent);
}

@media (max-width: 767px) {
	.vmtip-payment-option {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 12px;
		padding: 20px;
		border-radius: 16px;
	}

	.vmtip-payment-option__control {
		width: 24px;
		height: 24px;
	}

	.vmtip-payment-option input:checked + .vmtip-payment-option__control::after {
		inset: 4px;
	}

	.vmtip-payment-option__content strong {
		font-size: 18px;
	}
}

