/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .CoEditorCheckoutFrame {
	width: 100% !important;
 }

 #cross_sell_wrapper .do_cross_sell img {
	width:200px; 
	display:block; 
	margin-bottom: 1em;
}

.coeditor-checkout-wrap {
	width: 100%;
}

.coeditor-checkout-wrap--gated {
	max-width: 480px;
	margin: 0 auto;
}

.coeditor-email-card {
	border: 1px solid #e6e6e6;
	border-radius: 16px;
	padding: 1.25rem 1.25rem 1.1rem;
	background: #fff;
}

.coeditor-email-gate label {
	display: block;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
	color: #111;
}

.coeditor-email-field {
	position: relative;
}

.coeditor-email-gate input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.9rem 5.25rem 0.9rem 1rem;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	font-size: 1rem;
	background: #fafafa;
}

.coeditor-email-gate input[type="email"]::placeholder {
	color: #c4c4c4;
}

.coeditor-checkout-wrap .coeditor-email-submit {
	position: absolute;
	top: 50%;
	right: 0.85rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	filter: none;
	color: #2f6fed;
	transform: translateY(-50%);
	cursor: pointer;
	line-height: 1;
	font-size: 0.92rem;
	font-weight: 600;
}

.coeditor-checkout-wrap .coeditor-email-submit:hover,
.coeditor-checkout-wrap .coeditor-email-submit:focus,
.coeditor-checkout-wrap .coeditor-email-submit:focus-visible,
.coeditor-checkout-wrap .coeditor-email-submit:active {
	background: transparent;
	box-shadow: none;
	filter: none;
	outline: none;
	color: #111;
}

.coeditor-checkout-wrap .coeditor-email-submit::before,
.coeditor-checkout-wrap .coeditor-email-submit::after {
	content: none;
	display: none;
}

.coeditor-checkout-wrap .coeditor-email-submit.is-disabled {
	cursor: default;
	pointer-events: none;
}

.coeditor-email-submit__text {
	display: inline;
}

.coeditor-email-submit__tick {
	display: none;
	width: 16px;
	height: 16px;
}

.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit,
.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit:hover {
	color: #2f7d4a;
}

.coeditor-email-submit__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid #d8d8d8;
	border-top-color: #111;
	border-radius: 50%;
	animation: coeditor-spin 0.7s linear infinite;
}

.coeditor-checkout-wrap[data-state="checking"] .coeditor-email-submit__text,
.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit__text,
.coeditor-checkout-wrap[data-state="checking"] .coeditor-email-submit__tick,
.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit__spinner {
	display: none;
}

.coeditor-checkout-wrap[data-state="checking"] .coeditor-email-submit__spinner,
.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit__tick {
	display: block;
}

.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-gate input[type="email"] {
	border-color: #2f7d4a;
	background: #fff;
}

.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-submit__tick {
	color: inherit;
}

.coeditor-email-gate__hint {
	margin: 0.75rem 0 0;
	color: #8a8a8a;
	font-size: 0.92rem;
	line-height: 1.4;
}

.coeditor-checkout-wrap[data-state="checking"] .coeditor-email-gate__hint,
.coeditor-checkout-wrap[data-state="ready"] .coeditor-email-gate__hint,
.coeditor-checkout-wrap[data-state="confirmed"] .coeditor-email-gate,
.coeditor-checkout-wrap[data-state="existing"] .coeditor-email-gate {
	display: none;
}

.coeditor-email-gate__error {
	color: #b42318;
	margin: 0.7rem 0 0;
	font-size: 0.9rem;
}

.coeditor-email-confirmed {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #2f7d4a;
	border-radius: 12px;
	background: #eef8ef;
	color: #1f6b3a;
	font-weight: 700;
}

.coeditor-email-confirmed span::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 13px;
	margin-left: 0.55rem;
	border: solid #1f6b3a;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translateY(-1px);
}

.coeditor-checkout-wrap[data-state="confirmed"] .coeditor-email-card,
.coeditor-checkout-wrap[data-state="existing"] .coeditor-email-card {
	border: 0;
	padding: 0;
	background: transparent;
}

.coeditor-checkout-wrap[data-state="confirmed"] .coeditor-email-confirmed,
.coeditor-checkout-wrap[data-state="existing"] .coeditor-email-confirmed {
	display: flex;
}

.coeditor-email-edit {
	border: 0;
	background: transparent;
	color: #1f6b3a;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.coeditor-existing-sub {
	display: none;
	margin-top: 0.85rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid #e6c15c;
	border-radius: 12px;
	background: #fbf6e0;
	color: #222;
	line-height: 1.45;
}

.coeditor-checkout-wrap[data-state="existing"] .coeditor-existing-sub {
	display: block;
}

.coeditor-existing-sub p {
	margin: 0 0 0.85rem;
}

.coeditor-existing-sub p:last-child {
	margin-bottom: 0;
}

.coeditor-existing-sub a {
	color: inherit;
}

.coeditor-checkout-wrap--gated .coeditor-subscription-summary {
	display: none;
}

.coeditor-subscription-summary {
	text-align: center;
	margin: 1.5rem 0 1.25rem;
}

.coeditor-subscription-summary__label,
.coeditor-subscription-summary__subline {
	margin: 0;
	color: #9a9a9a;
}

.coeditor-subscription-summary__headline {
	margin: 0.15rem 0 0.15rem;
	font-size: 1.7rem;
	line-height: 1.15;
	font-weight: 800;
	color: #111;
}

.coeditor-checkout-stage {
	position: relative;
	margin-top: 1.75rem;
}

.coeditor-checkout-skeleton {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1rem;
	border-radius: 16px;
	background: #f3f3f5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	animation: coeditor-skeleton-pulse 1.6s ease-in-out infinite;
}

.coeditor-checkout-skeleton span {
	display: block;
	height: 52px;
	border-radius: 10px;
	background: linear-gradient(90deg, #e4e4e8 0%, #f7f7f9 45%, #e4e4e8 90%);
	background-size: 200% 100%;
	animation: coeditor-shimmer 1.2s ease-in-out infinite;
}

@keyframes coeditor-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@keyframes coeditor-skeleton-pulse {
	0%,
	100% {
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	}
	50% {
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
	}
}

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

.coeditor-checkout-wrap--gated[data-state="idle"] .coeditor-checkout-stage,
.coeditor-checkout-wrap[data-state="confirmed"] .coeditor-checkout-skeleton,
.coeditor-checkout-wrap:not(.coeditor-checkout-wrap--gated) .coeditor-checkout-skeleton.is-hidden,
.coeditor-checkout-skeleton[hidden] {
	display: none;
}

.coeditor-checkout-wrap[data-state="existing"] .coeditor-checkout-stage,
.coeditor-checkout-wrap[data-state="existing"] .coeditor-checkout-skeleton,
.coeditor-checkout-wrap[data-state="existing"] #checkout {
	display: none;
}