.webit-peach-payment,
.webit-peach-payment * {
	box-sizing: border-box;
}

.webit-peach-payment {
	--peach-ink: #0f172a;
	--peach-muted: #64748b;
	--peach-line: #e2e8f0;
	--peach-accent: #2563eb;
	--peach-accent-dark: #1d4ed8;
	--peach-surface: #ffffff;
	min-height: 100vh;
	margin: 0;
	padding: clamp(1.5rem, 4vw, 3rem) 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	color: var(--peach-ink);
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(14, 165, 233, 0.10), transparent 50%),
		linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.webit-peach-card {
	width: 100%;
	max-width: 420px;
	padding: clamp(1.75rem, 4vw, 2.25rem);
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 20px;
	background: var(--peach-surface);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 18px 40px rgba(15, 23, 42, 0.08);
	text-align: center;
}

.webit-peach-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 auto 1.25rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--peach-accent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.webit-peach-title {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--peach-ink);
}

.webit-peach-amount {
	margin: 0.65rem 0 0;
	font-size: clamp(2.1rem, 5vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--peach-accent);
	line-height: 1.1;
}

.webit-peach-description {
	margin: 0.85rem 0 1.5rem;
	color: var(--peach-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.webit-peach-form {
	display: grid;
	gap: 0.55rem;
	text-align: left;
}

.webit-peach-form label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #334155;
}

.webit-peach-form input[type="email"] {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--peach-line);
	border-radius: 12px;
	background: #f8fafc;
	font-size: 1rem;
	color: var(--peach-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.webit-peach-form input[type="email"]:focus {
	outline: none;
	border-color: #93c5fd;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.webit-peach-submit {
	margin-top: 0.65rem;
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 0.95rem 1rem;
	background: linear-gradient(180deg, #3b82f6 0%, var(--peach-accent) 100%);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.webit-peach-submit:hover {
	filter: brightness(1.03);
	transform: translateY(-1px);
	box-shadow: 0 14px 24px rgba(37, 99, 235, 0.28);
}

.webit-peach-submit:active {
	transform: translateY(0);
}

.webit-peach-secure {
	margin: 1.1rem 0 0;
	font-size: 0.8rem;
	color: var(--peach-muted);
}

.webit-peach-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.92rem;
	text-align: left;
}

.webit-peach-notice--success {
	background: #ecfdf5;
	color: #065f46;
}

.webit-peach-notice--cancelled,
.webit-peach-notice--error {
	background: #fef2f2;
	color: #991b1b;
}

/* Hide site chrome on peach checkout template / pages */
body.wis-peach-checkout-page header,
body.wis-peach-checkout-page footer,
body.wis-peach-checkout-page .wp-block-template-part,
.wis-peach-shell + footer,
body:has(.webit-peach-payment) header.wp-block-template-part,
body:has(.webit-peach-payment) footer.wp-block-template-part,
body:has(.webit-peach-payment) footer {
	display: none !important;
}

body:has(.webit-peach-payment),
body.wis-peach-checkout-page {
	margin: 0;
	background: #f8fafc;
}

body:has(.webit-peach-payment) .entry-title,
body:has(.webit-peach-payment) h1.wp-block-post-title,
body.wis-peach-checkout-page h1.wp-block-post-title {
	display: none !important;
}

body:has(.webit-peach-payment) .wp-site-blocks,
body.wis-peach-checkout-page .wp-site-blocks {
	padding: 0 !important;
	min-height: 100vh;
}

body:has(.webit-peach-payment) main,
body.wis-peach-checkout-page main,
.wis-peach-shell {
	min-height: 100vh;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.webit-peach-payment) .wp-block-post-content,
body.wis-peach-checkout-page .wp-block-post-content {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
