.zp-f2 {
	--zp-f2-navy: #0d0e34;
	--zp-f2-yellow: #ffd200;
	--zp-f2-white: #ffffff;
	font-family: "Inter", sans-serif;
	background-color: var(--zp-f2-navy);
	border-radius: 16px;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	border: none;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

.zp-f2 *,
.zp-f2 *::before,
.zp-f2 *::after {
	box-sizing: border-box;
}

.zp-f2-step {
	display: none;
	flex-direction: column;
	gap: 24px;
}

.zp-f2-step--active {
	display: flex;
}

/* Internal return view, styled as a calm voucher-sized status card. */
.zp-f2-payment-return {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	min-height: 300px;
	justify-content: center;
	padding: clamp(28px, 6vw, 64px) clamp(20px, 6vw, 58px);
	text-align: center;
}

.zp-f2-payment-return[hidden] {
	display: none;
}

.zp-f2-payment-return [data-zp-payment-retry][hidden] {
	display: none !important;
}

.zp-f2-payment-return-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: var(--zp-f2-yellow);
	border-radius: 50%;
	animation: zp-f2-payment-return-spin 0.8s linear infinite;
}

.zp-f2-payment-return .zp-f2-heading,
.zp-f2-payment-return .zp-f2-subheading {
	margin: 0;
}

@keyframes zp-f2-payment-return-spin {
	to { transform: rotate(360deg); }
}

.zp-f2-payment-return[data-zp-payment-state="paid"] {
	border-color: rgba(255, 210, 0, 0.8);
}

.zp-f2-payment-return[data-zp-payment-state="failed"],
.zp-f2-payment-return[data-zp-payment-state="cancelled"],
.zp-f2-payment-return[data-zp-payment-state="error"] {
	border-color: rgba(255, 122, 26, 0.75);
}

.zp-f2[data-zp-payment-return-active="1"] > .zp-f2-step,
.zp-f2[data-zp-payment-return-active="1"] > .zp-f2-lightbox,
.zp-f2[data-zp-payment-return-active="1"] > .zp-f2-submit-overlay {
	display: none !important;
}

/* Blocks duplicate clicks while the server stores the voucher and sends emails. */
.zp-f2-submit-overlay {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 20px;
	border-radius: inherit;
	background: rgba(13, 14, 52, 0.94);
	backdrop-filter: blur(3px);
	color: var(--zp-f2-white);
	text-align: center;
}

.zp-f2-submit-overlay[hidden] {
	display: none;
}

.zp-f2-submit-spinner {
	width: 48px;
	height: 48px;
	border: 5px solid rgba(255, 255, 255, 0.22);
	border-top-color: #ff7a1a;
	border-radius: 50%;
	animation: zp-f2-spin 0.8s linear infinite;
}

.zp-f2-submit-overlay-text {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
}

@keyframes zp-f2-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.zp-f2-submit-spinner {
		animation-duration: 1.8s;
	}
}

/* Step head — centered per design */
.zp-f2-step-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.zp-f2-heading {
	font-weight: 800;
	font-size: 32px;
	line-height: 1.3;
	color: var(--zp-f2-white);
	margin: 0;
}

.zp-f2-subheading {
	font-weight: 400;
	font-size: 17px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	max-width: 46ch;
}

.zp-f2-order-reference {
	display: inline-flex;
	margin: 4px 0 0;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 210, 0, 0.14);
	color: var(--zp-f2-yellow);
	font-size: 15px;
	font-weight: 800;
}

.zp-f2-order-reference[hidden] {
	display: none;
}

/* Type toggle */
.zp-f2-types {
	display: flex;
	gap: 16px;
}

/* Scoped under .zp-f2 (0-2-0) so per-type inline colors beat the Elementor
   kit's `.elementor-kit-XXXX button` rule (0-1-1). */
.zp-f2 .zp-f2-type {
	flex: 1 0 0;
	min-width: 0;
	height: 66px;
	border-radius: 14px;
	border: 3px solid transparent;
	background-color: var(--zp-type-bg, #f57c1f);
	color: var(--zp-type-color, #0d0e34);
	font-family: inherit;
	font-weight: 800;
	font-size: 18px;
	cursor: pointer;
}

.zp-f2 .zp-f2-type:hover,
.zp-f2 .zp-f2-type:focus,
.zp-f2 .zp-f2-type:focus-visible,
.zp-f2 .zp-f2-type:active {
	background-color: var(--zp-type-bg, #f57c1f);
	border-color: transparent;
	color: var(--zp-type-color, #0d0e34);
	outline: none;
}

.zp-f2 .zp-f2-type.is-selected,
.zp-f2 .zp-f2-type.is-selected:hover,
.zp-f2 .zp-f2-type.is-selected:focus,
.zp-f2 .zp-f2-type.is-selected:focus-visible,
.zp-f2 .zp-f2-type.is-selected:active {
	border-color: var(--zp-f2-yellow);
}

/* Inner panel */
.zp-f2-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 24px;
}

.zp-f2-row-2col {
	display: flex;
	gap: 16px;
}

.zp-f2-row-2col .zp-f2-field {
	flex: 1 0 0;
	min-width: 0;
}

.zp-f2-field {
	position: relative;
	width: 100%;
}

.zp-f2-field[hidden] {
	display: none;
}

.zp-f2-field-label {
	display: block;
	font-weight: 700;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 8px;
}

.zp-f2-input,
.zp-f2-select {
	width: 100%;
	height: 56px;
	background-color: var(--zp-f2-white);
	color: var(--zp-f2-navy);
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-weight: 800;
	font-size: 17px;
	padding: 0 18px;
	appearance: none;
	-webkit-appearance: none;
}

.zp-f2-input::placeholder {
	color: rgba(13, 14, 52, 0.55);
	font-weight: 700;
}

/* Native select chevron */
.zp-f2-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230d0e34' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	padding-right: 44px;
	cursor: pointer;
}

.zp-f2-error-msg {
	margin: 6px 2px 0;
	font-size: 13px;
	min-height: 16px;
	display: none;
	color: #ff4d4f;
}

.zp-f2-field--error .zp-f2-error-msg {
	display: block;
}

.zp-f2-field--error .zp-f2-input,
.zp-f2-field--error .zp-f2-select {
	border-color: #ff4d4f;
}

.zp-f2-note {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

/* Value box */
.zp-f2-value-box {
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--zp-f2-yellow);
	border-radius: 12px;
	padding: 16px;
	text-align: center;
}

.zp-f2-value-label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	color: var(--zp-f2-yellow);
	margin-bottom: 4px;
}

.zp-f2-value-amount {
	display: block;
	font-weight: 900;
	font-size: 44px;
	line-height: 1.1;
	color: var(--zp-f2-yellow);
}

/* Review (Step 2) */
.zp-f2-review {
	display: flex;
	flex-direction: column;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 8px 24px;
}

.zp-f2-review-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--zp-f2-white);
}

.zp-f2-review-row:last-child {
	border-bottom: none;
}

.zp-f2-review-label {
	font-weight: 400;
	font-size: 15px;
	opacity: 0.8;
}

.zp-f2-review-value {
	font-weight: 800;
	font-size: 15px;
	text-align: right;
	overflow-wrap: anywhere;
}

/* Buttons */
.zp-f2-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
	border-radius: 999px;
	border: none;
	font-family: inherit;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
}

.zp-f2-btn:disabled,
.zp-f2-btn[aria-busy="true"] {
	opacity: 0.65;
	cursor: wait;
}

.zp-f2-btn--primary {
	background-color: var(--zp-f2-yellow);
	color: var(--zp-f2-navy);
}

.zp-f2-btn--secondary {
	background-color: var(--zp-f2-white);
	color: var(--zp-f2-navy);
}

.zp-f2-btn--success {
	background-color: #2fbf71;
	color: #ffffff;
}

.zp-f2-submit-message {
	display: block;
	min-height: 18px;
	margin: -8px 2px 0;
	color: #ffb4b4;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

/* Thank you step */
.zp-f2-thankyou-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 620px;
	border: 1px solid #f57c1f;
	border-radius: 16px;
	overflow: hidden;
}

.zp-f2-thankyou-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.zp-f2-thankyou-video {
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.zp-f2-thankyou-video-img {
	position: absolute;
	inset: 0;
}

.zp-f2-thankyou-video-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zp-f2-thankyou-card:not(:has(.zp-f2-thankyou-video))::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(182deg, rgba(13, 14, 52, 0) 17%, rgba(13, 14, 52, 1) 99%);
	pointer-events: none;
}

.zp-f2-thankyou-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(182deg, rgba(13, 14, 52, 0) 17%, rgba(13, 14, 52, 1) 99%);
	pointer-events: none;
}

.zp-f2-thankyou-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.zp-f2-thankyou-video:hover .zp-f2-thankyou-play {
	transform: translate(-50%, -50%) scale(1.08);
}

.zp-f2-thankyou-play img {
	display: block;
}

.zp-f2-thankyou-heading,
.zp-f2-thankyou-text {
	position: relative;
	z-index: 1;
	padding: 0 20px;
	color: #ffffff;
}

.zp-f2-thankyou-heading {
	font-weight: 900;
	font-size: 24px;
	margin: 16px 0 8px;
}

.zp-f2-thankyou-text {
	font-weight: 400;
	font-size: 16px;
	margin: 0 0 20px;
}

/* Lightbox */
.zp-f2 .zp-f2-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.zp-f2 .zp-f2-lightbox-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
}

.zp-f2 .zp-f2-lightbox-content {
	position: relative;
	width: 80%;
	max-width: 960px;
	aspect-ratio: 16 / 9;
	max-height: 80vh;
	z-index: 1;
}

.zp-f2 .zp-f2-lightbox-content.is-vertical {
	width: min(420px, 92vw, calc(80vh * 9 / 16));
	max-width: none;
	height: auto;
	max-height: none;
	aspect-ratio: 9 / 16;
}

.zp-f2 .zp-f2-lightbox > .zp-f2-lightbox-close {
	position: absolute !important;
	top: calc(env(safe-area-inset-top, 0px) + 16px) !important;
	right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	appearance: none;
	background: #ff7a1a;
	border: none;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.zp-f2 .zp-f2-lightbox > .zp-f2-lightbox-close svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.zp-f2 .zp-f2-lightbox > .zp-f2-lightbox-close:hover {
	opacity: 0.85;
}

.zp-f2 .zp-f2-lightbox-video,
.zp-f2 .zp-f2-lightbox-video iframe,
.zp-f2 .zp-f2-lightbox-video video {
	width: 100%;
	height: 100%;
	border: none;
}

/* Responsive */
@media (max-width: 480px) {
	.zp-f2-heading {
		font-size: 24px;
	}

	.zp-f2-subheading {
		font-size: 15px;
	}

	.zp-f2-types {
		flex-direction: column;
		gap: 10px;
	}

	/* Scoped to match the 0-2-0 base rule so these overrides actually win. */
	.zp-f2 .zp-f2-type {
		height: 56px;
	}

	.zp-f2-row-2col {
		flex-direction: column;
	}

	.zp-f2-panel {
		padding: 16px;
	}

	.zp-f2-value-amount {
		font-size: 34px;
	}

	.zp-f2-thankyou-card {
		height: 440px;
	}
}
