/* WP Stripe Cart Pro — cart email field (abandoned cart capture).
   Matches the coupon field styling via the base theme tokens. */
.wsc-pro-cart-email {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 12px 0;
}
.wsc-pro-cart-email__label {
	font-size: 12px;
	line-height: 1.4;
	color: var(--wsc-muted, #636363);
}
.wsc-pro-cart-email__input {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.5em 0.75em;
	border: 1px solid var(--wsc-line-strong, rgba(17, 17, 17, .32));
	border-radius: var(--wsc-radius, 4px);
	background: var(--wsc-bg, #fff);
	color: var(--wsc-fg, #111);
	font-size: 16px;
	line-height: 1.4;
}
.wsc-pro-cart-email__input:focus {
	outline: none;
	border-color: var(--wsc-fg, #111);
}

/* Email capture modal (exit-intent / required modes). */
.wsc-pro-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .5);
}
.wsc-pro-modal__box {
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	padding: clamp(1.25rem, 4vw, 1.75rem);
	border-radius: 14px;
	background: var(--wsc-bg, #fff);
	color: var(--wsc-fg, #111);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.wsc-pro-modal__title {
	margin: 0 0 .5rem;
	font-size: 1.2em;
	line-height: 1.35;
}
.wsc-pro-modal__text {
	margin: 0 0 1rem;
	font-size: .95em;
	line-height: 1.55;
	color: var(--wsc-muted, #555);
}
.wsc-pro-modal__input {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	padding: .55em .8em;
	font-size: 16px;
	border: 1px solid var(--wsc-line-strong, rgba(17, 17, 17, .32));
	border-radius: var(--wsc-radius, 8px);
	background: var(--wsc-bg, #fff);
	color: var(--wsc-fg, #111);
}
.wsc-pro-modal__input--err {
	border-color: var(--wsc-error, #d63638);
}
.wsc-pro-modal__actions {
	display: flex;
	gap: 8px;
	margin-top: 1rem;
}
.wsc-pro-modal__submit {
	flex: 1 1 auto;
	min-height: 46px;
	padding: 0 1.2em;
	font-size: 1em;
	font-weight: 600;
	color: var(--wp--preset--color--base, #fff);
	background: var(--wsc-fg, #111);
	border: 0;
	border-radius: var(--wsc-radius, 8px);
	cursor: pointer;
}
.wsc-pro-modal__dismiss {
	flex: 0 0 auto;
	min-height: 46px;
	padding: 0 1em;
	font-size: .95em;
	color: var(--wsc-muted, #636363);
	background: transparent;
	border: 0;
	cursor: pointer;
}
