/**
 * Publication option selection (STANDARD vs PRO) — mobile-first, reuse existing tokens.
 */

.zp-pp-pub-options {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.zp-pp-pub-options__intro {
	margin: 0 0 0.25rem;
}

.zp-pp-pub-options__title {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.zp-pp-pub-options__sub {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #475569;
}

.zp-pp-pub-options__pro-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0f172a;
}

.zp-pp-pub-options__cta-hint {
	display: block;
	margin-top: 0.65rem;
	font-weight: 700;
}

/* Touch targets for billing toggle */
.zp-pp-pub-options .zp-pp-pro-billing-toggle__btn {
	min-height: 44px;
}

@media (min-width: 900px) {
	.zp-pp-pub-options {
		gap: 1rem;
	}
}

/* —— Fee checkout modal (Card Brick) —— */
html.zp-pub-fee-checkout-open,
body.zp-pub-fee-checkout-open {
	overflow: hidden;
}

.zp-pub-fee-checkout[hidden] {
	display: none !important;
}

.zp-pub-fee-checkout {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	background: rgba(15, 23, 42, 0.55);
	-webkit-tap-highlight-color: transparent;
}

.zp-pub-fee-checkout__dialog {
	width: 100%;
	max-width: 520px;
	max-height: min(92vh, 900px);
	overflow: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.18);
}

.zp-pub-fee-checkout__head {
	position: relative;
	padding-right: 44px;
	margin-bottom: 12px;
}

.zp-pub-fee-checkout__close {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.zp-pub-fee-checkout__title {
	margin: 0 0 6px;
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
}

.zp-pub-fee-checkout__sub {
	margin: 0 0 8px;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #475569;
}

.zp-pub-fee-checkout__amount {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}

.zp-pub-fee-checkout__status {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 0.92rem;
	line-height: 1.35;
}

.zp-pub-fee-checkout__status.is-error {
	background: #fef2f2;
	color: #991b1b;
}

.zp-pub-fee-checkout__choice[hidden],
.zp-pub-fee-checkout__card-panel[hidden] {
	display: none !important;
}

.zp-pub-fee-checkout__choice {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.zp-pub-fee-checkout__choice-hint {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: #334155;
	line-height: 1.35;
}

.zp-pub-fee-checkout__choice-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 56px;
	padding: 16px;
	border-radius: 14px;
	border: 2px solid transparent;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-pub-fee-checkout__choice-btn--card {
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
	border-color: #d35400;
	color: #fff;
	box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
}

.zp-pub-fee-checkout__choice-btn--card:hover,
.zp-pub-fee-checkout__choice-btn--card:focus-visible {
	filter: brightness(1.03);
}

.zp-pub-fee-checkout__card-brands {
	font-size: 0.8rem;
	font-weight: 600;
	opacity: 0.95;
}

.zp-pub-fee-checkout__choice-btn--wallet {
	background: #fff;
	border-color: #009ee3;
	color: #0f172a;
	box-shadow: 0 2px 10px rgba(0, 158, 227, 0.14);
}

.zp-pub-fee-checkout__choice-btn--wallet:hover,
.zp-pub-fee-checkout__choice-btn--wallet:focus-visible {
	border-color: #007eb5;
	background: #f0f9ff;
}

.zp-pub-fee-checkout__wallet-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.zp-pub-fee-checkout__mp-logo {
	display: block;
	width: auto;
	max-width: 140px;
	height: 28px;
	object-fit: contain;
}

.zp-pub-fee-checkout__choice-label {
	display: block;
}

.zp-pub-fee-checkout__choice-note {
	margin: 2px 0 0;
	font-size: 0.82rem;
	line-height: 1.4;
	color: #64748b;
}

.zp-pub-fee-checkout__back {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0 0 10px;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: #0b224f;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
}

.zp-pub-fee-checkout__brick {
	min-height: 120px;
}

@media (min-width: 900px) {
	.zp-pub-fee-checkout {
		align-items: center;
		padding: 24px;
	}

	.zp-pub-fee-checkout__dialog {
		border-radius: 20px;
		padding: 24px;
	}
}
