.mk-ba .cp-bf .cp-bf-pay{
	--mk-ba-pay-rule: rgba(38, 38, 38, .13);
	--mk-ba-pay-rule-strong: rgba(38, 38, 38, .22);

	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 10px 0 24px;
}

.mk-ba .cp-bf .cp-bf-pay__grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	align-items: stretch;
	align-content: stretch;
	flex: 1 0 auto;
	gap: 32px;
	width: 100%;
	min-height: 0;
}

.mk-ba .cp-bf .cp-bf-pay__col{
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.mk-ba .cp-bf .cp-bf-pay-card__eyebrow{
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	color: var(--mk-ba-faint, #737373) !important;
}

.mk-ba .cp-bf .cp-bf-pay-card__title{
	margin: 6px 0 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--mk-ba-heading, #0a0a0a) !important;
	overflow-wrap: anywhere;
}

.mk-ba .cp-bf .cp-bf-pay-order{
	min-width: 0;
	padding-top: 4px;
	background: none;
}

.mk-ba .cp-bf .cp-bf-payment-summary{
	display: flex;
	flex-direction: column;
	margin: 20px 0 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.mk-ba .cp-bf .cp-bf-payment-row{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 15px 0;
	border-top: 1px solid var(--mk-ba-pay-rule, rgba(38,38,38,.13));
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--mk-ba-muted, #525252) !important;
}

.mk-ba .cp-bf .cp-bf-payment-summary > .cp-bf-payment-row:first-child{
	border-top: 1px solid var(--mk-ba-pay-rule-strong, rgba(38,38,38,.22));
}

.mk-ba .cp-bf .cp-bf-payment-row > :last-child{
	font-size: 15px;
	font-weight: 500;
	color: var(--mk-ba-heading, #0a0a0a) !important;
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

.mk-ba .cp-bf #cp-bf-discount-amount,
.mk-ba .cp-bf #cp-bf-gc-amount{
	color: #15803d !important;
}

.mk-ba .cp-bf .cp-bf-total-row{
	align-items: center;
	margin: 0;
	padding: 18px 0 17px;
	border-top: 1px solid var(--mk-ba-pay-rule-strong, rgba(38,38,38,.22));
	color: var(--mk-ba-heading, #0a0a0a) !important;
}

.mk-ba .cp-bf .cp-bf-total-row .cp-bf-total-label{
	font-size: 15px;
	font-weight: 500;
	color: var(--mk-ba-heading, #0a0a0a) !important;
}

.mk-ba .cp-bf #cp-bf-final-amount{
	font-size: 21px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.015em;
}

.mk-ba .cp-bf .cp-bf-payment-row--remaining{
	margin: 0;
	padding: 15px 0 0;
	border-top: 1px solid var(--mk-ba-pay-rule, rgba(38,38,38,.13));
	font-size: 13.5px;
}

.mk-ba .cp-bf .cp-bf-payment-row--remaining > :last-child{
	font-size: 14px;
	font-weight: 500;
	color: var(--mk-ba-muted, #525252) !important;
}

.mk-ba .cp-bf .cp-bf-remaining-hint{
	margin: 7px 0 0;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--mk-ba-faint, #737373) !important;
}

.mk-ba .cp-bf .cp-bf-pay-codes-wrap{
	min-width: 0;
}

.mk-ba .cp-bf .cp-bf-pay-codes-wrap > .cp-bf-pay-card__eyebrow{
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mk-ba-muted, #525252) !important;
}

.mk-ba .cp-bf .cp-bf-pay-codes{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: 12px 0 0;
}

.mk-ba .cp-bf .cp-bf-coupon-box,
.mk-ba .cp-bf .cp-bf-gc-box{
	min-width: 0;
	margin: 0;
	padding: 15px 16px 16px;
	background: var(--mk-ba-surface, #ffffff);
	border: 1px solid var(--mk-ba-line, #e5e5e5);
	border-radius: 12px;
}

.mk-ba .cp-bf .cp-bf-coupon-input-wrap{
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 7px 0;
}

.mk-ba .cp-bf .cp-bf-coupon-input-wrap > .cp-bf-label{
	grid-column: 1 / -1;
	grid-row: 1;
	display: block;
	margin: 0;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mk-ba-muted, #525252) !important;
}

.mk-ba .cp-bf .cp-bf-coupon-code-input{
	grid-column: 1 / -1;
	grid-row: 2;
	flex: none;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 11px 94px 11px 16px;
	background: #ffffff;
	border: 1px solid var(--mk-ba-line, #e5e5e5);
	border-radius: 999px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	color: #0a0a0a !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.mk-ba .cp-bf .cp-bf-coupon-code-input:focus{
	outline: none;
	border-color: var(--mk-ba-primary, #2563EB);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.mk-ba .cp-bf .cp-bf-coupon-code-input::placeholder{
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #8a8a8a !important;
	opacity: 1;
}

.mk-ba .cp-bf .cp-bf-btn--coupon,
.mk-ba .cp-bf .cp-bf-btn--gc{
	grid-column: 2;
	grid-row: 2;
	z-index: 1;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	min-width: 72px;
	margin: 0 5px 0 0;
	padding: 0 15px;
	background: var(--mk-ba-primary, #2563EB);
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
	color: #ffffff !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s ease;
}

.mk-ba .cp-bf .cp-bf-btn--coupon:hover,
.mk-ba .cp-bf .cp-bf-btn--gc:hover{
	background: #0a0a0a;
	color: #ffffff !important;
}

.mk-ba .cp-bf .cp-bf-btn--coupon:disabled,
.mk-ba .cp-bf .cp-bf-btn--gc:disabled{
	background: #525252;
	cursor: default;
}

.mk-ba .cp-bf #cp-bf-coupon-msg,
.mk-ba .cp-bf #cp-bf-gc-msg{
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	color: #dc2626 !important;
}

.mk-ba .cp-bf #cp-bf-coupon-applied,
.mk-ba .cp-bf #cp-bf-gc-applied{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px 8px;
	margin: 0;
	padding: 11px 13px 12px;
	background: #F0FDF4;
	border: 1px solid #BBF7D0;

	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #166534 !important;
}

.mk-ba .cp-bf #cp-bf-coupon-applied-text,
.mk-ba .cp-bf #cp-bf-gc-applied-text{
	flex: 1 1 100%;
	min-width: 0;
	overflow-wrap: anywhere;
}

.mk-ba .cp-bf .cp-bf-coupon-remove,
.mk-ba .cp-bf .cp-bf-gc-remove{
	flex: 0 0 auto;
	min-height: 28px;
	margin: 0;
	padding: 4px 12px;
	background: #ffffff;
	border: 1px solid #BBF7D0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	color: #166534 !important;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.mk-ba .cp-bf .cp-bf-coupon-remove:hover,
.mk-ba .cp-bf .cp-bf-gc-remove:hover{
	background: #166534;
	color: #ffffff !important;
	text-decoration: none;
}

.mk-ba .cp-bf .cp-bf-paypanel{
	--mk-ba-pay-from: var(--mk-ba-primary, #2563EB);
	--mk-ba-pay-to: var(--mk-ba-primary-strong, #1E3A8A);
	--mk-ba-pay-pad: 28px;
	--mk-ba-pay-pad-b: 26px;

	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-width: 0;
	margin: 0;
	padding: 30px var(--mk-ba-pay-pad) var(--mk-ba-pay-pad-b);
	background: linear-gradient(170deg, var(--mk-ba-pay-from), var(--mk-ba-pay-to));
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(15, 18, 24, .10);
	color: #ffffff !important;

	isolation: isolate;
	z-index: 0;
}

.mk-ba .cp-bf .cp-bf-paypanel__top{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 12px 0 0;
	text-align: center;
}

.mk-ba .cp-bf .cp-bf-paypanel__top::after{
	content: "";
	display: block;
	flex: 0 1 190px;
	min-height: 0;
}

.mk-ba .cp-bf .cp-bf-paypanel__head{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 40px;
	margin: 0 0 26px;
}

.mk-ba .cp-bf .cp-bf-paypanel__mark{
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #ffffff;
	border-radius: 11px;
}

.mk-ba .cp-bf .cp-bf-paypanel__mark img{
	display: block;
	width: 28px;
	height: 28px;
}

.mk-ba .cp-bf .cp-bf-paypanel__gw{
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .01em;
	color: #ffffff !important;
}

.mk-ba .cp-bf .cp-bf-paypanel__kicker{
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	color: #ffffff !important;
}

.mk-ba .cp-bf .cp-bf-paypanel__amount{
	margin: 0;
	font-size: clamp(38px, 4vw, 52px);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1.02;
	color: #ffffff !important;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	overflow-wrap: anywhere;
}

.mk-ba .cp-bf .cp-bf-paypanel__note{
	max-width: 32ch;
	margin: 14px auto 0;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.5;
	color: #ffffff !important;
}

.mk-ba .cp-bf .cp-bf-paypanel__action{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	margin: auto calc(-1 * var(--mk-ba-pay-pad)) calc(-1 * var(--mk-ba-pay-pad-b));
	padding: 0 var(--mk-ba-pay-pad) var(--mk-ba-pay-pad-b);
	background: #ffffff;
	border-radius: 0 0 16px 16px;
	color: #0a0a0a !important;
}

.mk-ba .cp-bf .cp-bf-paypanel__action::before{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 210px;
	pointer-events: none;
	background: linear-gradient(180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, .05) 16%,
		rgba(255, 255, 255, .14) 30%,
		rgba(255, 255, 255, .30) 44%,
		rgba(255, 255, 255, .50) 57%,
		rgba(255, 255, 255, .70) 69%,
		rgba(255, 255, 255, .86) 80%,
		rgba(255, 255, 255, .96) 91%,
		#ffffff 100%);
}

.mk-ba .cp-bf .cp-bf-paypanel__action > *{
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
}

.mk-ba .cp-bf .cp-bf-paymount,
.mk-ba .cp-bf .cp-bf-paypanel .cp-bf-paypal-container{
	position: relative;
	z-index: 0;
	isolation: isolate;
}

.mk-ba .cp-bf .cp-bf-paymount{
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 560px;
	margin-inline: auto;
}

.mk-ba .cp-bf .cp-bf-paypanel .cp-bf-paypal-container > .paypal-buttons{
	margin-inline: auto !important;
}

.mk-ba .cp-bf .cp-bf-paymount__title{
	display: none;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #0a0a0a !important;
	overflow-wrap: anywhere;
}

.mk-ba .cp-bf .cp-bf-paymount.is-sdk .cp-bf-paymount__title{
	display: block;
}

.mk-ba .cp-bf .cp-bf-paypanel .cp-bf-paypal-container{
	display: block;
	width: 100%;
	min-height: 0;
	max-width: 100%;
	margin: 0;
	float: none;
}

.mk-ba .cp-bf .cp-bf-pay-cta{
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 13px 22px !important;
	background: var(--mk-ba-primary, #2563EB) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: .01em !important;
	color: #ffffff !important;
	cursor: pointer !important;
	transition: background .15s ease, opacity .15s ease !important;
}

.mk-ba .cp-bf .cp-bf-paypanel .cp-bf-pay-cta{
	background: var(--mk-ba-primary, #2563EB) !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}

.mk-ba .cp-bf .cp-bf-paypanel .cp-bf-pay-cta:hover{
	background: var(--mk-ba-pay-to, #1E3A8A) !important;
}

.mk-ba .cp-bf .cp-bf-pay-cta:disabled{
	opacity: .6 !important;
	cursor: default !important;
}

.mk-ba .cp-bf .cp-bf-pay-notice{
	padding: 13px 16px !important;
	background: #ffffff !important;
	border: 1px solid var(--mk-ba-line, #e5e5e5) !important;
	border-radius: 12px !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	line-height: 1.55 !important;
	text-align: center !important;
	color: #0a0a0a !important;
}

.mk-ba .cp-bf .cp-bf-payment-error{
	margin: 14px 0 0;
	padding: 11px 15px;
	background: #ffffff;
	border: 1px solid #FCA5A5;
	border-radius: 12px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	color: #991b1b !important;
}

.mk-ba .cp-bf .cp-bf-paypanel__action .cp-bf-pay-secure{
	margin-top: 16px;
}

.mk-ba .cp-bf .cp-bf-pay-secure{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	color: #0a0a0a !important;
}

.mk-ba .cp-bf .cp-bf-pay-secure svg{
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
}

@media (max-width: 760px){

	.mk-ba .cp-bf .cp-bf-pay,
	.mk-ba .cp-bf .cp-bf-pay__grid{
		flex: 0 0 auto;
	}
}

@media (max-width: 640px){

	.mk-ba .cp-bf .cp-bf-pay{
		margin: 6px 0 28px;
	}

	.mk-ba .cp-bf .cp-bf-pay__grid{
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.mk-ba .cp-bf .cp-bf-pay-codes{
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.mk-ba .cp-bf .cp-bf-payment-row{
		font-size: 13.5px;
	}

	.mk-ba .cp-bf #cp-bf-final-amount{
		font-size: 18px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel{
		--mk-ba-pay-pad: 20px;
		--mk-ba-pay-pad-b: 22px;
		padding-top: 24px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel__top{
		padding-top: 4px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel__top::after{
		flex-basis: 120px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel__action::before{
		height: 150px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel__head{
		margin-bottom: 20px;
	}

	.mk-ba .cp-bf .cp-bf-paypanel__amount{
		font-size: 38px;
	}

}
