/* BoostWP checkout (page-checkout.php + woocommerce/checkout/*). WooCommerce's own styles are off site-wide. */
.co {
	padding: 8rem 0 96px;
}

/* nav.top is absolute: same top space as .hero */
.co-head h1 {
	font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin-top: .25rem;
}

.co-head p {
	margin-top: .75rem;
	max-width: 52ch;
	color: var(--ink-55);
	font-size: 15px;
	line-height: 1.6;
}

.co-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin-top: 40px;
}

/* steps */
.co-step {
	padding: 28px 0;
}

.co-step:first-child {
	padding-top: 0;
}

.co-step + .co-step {
	background: var(--dash) top/100% 1px no-repeat;
}

.co-step-h {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-bottom: 22px;
}

.co-n {
	font: 600 12px var(--mono);
	color: var(--accent);
}

.co-step-h h2 {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.co-me {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 13px;
	color: var(--ink-55);
}

.co-me svg {
	width: 13px;
	height: 13px;
}

.co-me a,
.co-terms a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.co-hint {
	margin-top: 14px;
	font-size: 13px;
	color: var(--ink-45);
}

/* fields */
.woocommerce-billing-fields > h3 {
	display: none;
}

.woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}

.co .form-row-wide {
	grid-column: 1/-1;
}

.co .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-65);
}

.co .form-row .required {
	color: var(--accent);
	text-decoration: none;
}

.co .input-text,
.co select {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--ink-15);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}

.co .input-text:focus,
.co select:focus {
	outline: 0;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px var(--ink-07);
}

.co .woocommerce-invalid .input-text,
.co .woocommerce-invalid .select2-selection {
	border-color: var(--accent);
}

.co .select2-container .select2-selection--single {
	height: 46px;
	border: 1px solid var(--ink-15);
	border-radius: 8px;
	background: #fff;
}

.co .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 14px;
	color: var(--ink);
}

.co .select2-container .select2-selection--single .select2-selection__arrow {
	height: 44px;
	right: 8px;
}

.co .select2-container--focus .select2-selection--single,
.co .select2-container--open .select2-selection--single {
	border-color: var(--ink);
}

.screen-reader-text {
	position: absolute!important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* payment */
.co-pay .payment_methods {
	list-style: none;
	display: grid;
	gap: 10px;
}

.co-pay .wc_payment_method {
	padding: 16px 18px;
	border: 1px solid var(--ink-15);
	border-radius: 8px;
	background: #fff;
}

.co-pay .wc_payment_method > label {
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.co-pay .wc_payment_method > label img {
	display: inline-block;
	max-height: 22px;
	margin-left: 8px;
	vertical-align: middle;
}

.co-pay .payment_box {
	margin-top: 12px;
	font-size: 14px;
	color: var(--ink-65);
}

.co-nopay {
	display: grid;
	gap: 4px;
	padding: 22px;
	border: 1px dashed var(--ink-25);
	border-radius: 8px;
	background: rgba(255, 255, 255, .45);
}

.co-nopay b {
	font-size: 15px;
}

.co-nopay span {
	font-size: 13px;
	line-height: 1.55;
	color: var(--ink-55);
}

.co-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin-top: 22px;
	border: 0;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	font: 600 15px Inter, ui-sans-serif, system-ui, sans-serif;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .2s;
}

.co-btn:hover {
	background: var(--accent-h);
}

.processing .co-btn {
	cursor: wait;
}

.co .bwpc-consent {
	margin: 18px 0 0!important;
}

.co .bwpc-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink-55);
	cursor: pointer;
}

.co .bwpc-consent input {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: var(--ink);
}

.co-terms {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--ink-45);
	text-align: center;
}

/* summary */
.co-side {
	position: sticky;
	top: 100px;
}

.co-sum {
	position: relative;
	padding: 28px;
	border: 1px dashed var(--ink-25);
	background: rgba(255, 255, 255, .5);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.co-c {
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(9, 9, 11, .35);
}

.co-c.tl {
	top: -8px;
	left: -8px;
	border-right: 0;
	border-bottom: 0;
}

.co-c.tr {
	top: -8px;
	right: -8px;
	border-left: 0;
	border-bottom: 0;
}

.co-c.bl {
	bottom: -8px;
	left: -8px;
	border-right: 0;
	border-top: 0;
}

.co-c.br {
	bottom: -8px;
	right: -8px;
	border-left: 0;
	border-top: 0;
}

.co-plan {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
}

.co-plan b {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.co-plan > div > span {
	font-size: 13px;
	color: var(--ink-55);
}

.co-plan em {
	font-style: normal;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
	white-space: nowrap;
}

.co-plan em small {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--ink-45);
}

.co-items,
.co-trust {
	list-style: none;
}

.co-items li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	font-size: 14px;
}

.co-tot {
	margin-top: 22px;
	padding-top: 16px;
	background: var(--dash) top/100% 1px no-repeat;
}

.co-tot div {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 14px;
}

.co-due dt {
	font-weight: 600;
}

.co-due dd {
	font-size: 1.25rem;
	font-weight: 700;
}

.co-renew {
	margin-top: 10px;
	font: 500 11.5px/1.6 var(--mono);
	color: var(--ink-45);
}

.co-trust {
	display: grid;
	gap: 8px;
	margin-top: 20px;
	padding: 0 4px;
}

.co-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--ink-55);
}

.co-trust svg {
	width: 12px;
	height: 12px;
	color: var(--ink-40);
}

/* notices */
.co .woocommerce-error,
.co .woocommerce-message,
.co .woocommerce-info {
	list-style: none;
	margin-bottom: 18px;
	padding: 14px 18px;
	border: 1px solid var(--ink-15);
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
}

.co .woocommerce-error {
	border-color: var(--accent);
	background: rgba(232, 0, 13, .04);
}

.co .woocommerce-error li + li {
	margin-top: 4px;
}

@media (max-width: 900px) {
	.co {
		padding: 8rem 0 64px;
	}

	.co-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-top: 28px;
	}

	.co-side {
		position: static;
		order: -1;
	}
}

@media (max-width: 560px) {
	.woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.co-sum {
		padding: 22px;
	}

	.co-me {
		margin-left: 0;
	}
}

/* order received (woocommerce/checkout/thankyou.php) */
.co-ty-grid {
	margin-top: 40px;
}

.co-ty-steps {
	list-style: none;
	display: grid;
	gap: 0;
}

.co-ty-steps li {
	display: flex;
	gap: 16px;
	padding: 24px 0;
}

.co-ty-steps li:first-child {
	padding-top: 0;
}

.co-ty-steps li + li {
	background: var(--dash) top/100% 1px no-repeat;
}

.co-ty-steps b {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -.01em;
}

.co-ty-steps p {
	margin: 6px 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-55);
	max-width: 46ch;
}

.co-ty-sum {
	margin-top: 14px;
	padding-top: 0;
	background: none;
}

.co-ty-sum dt {
	color: var(--ink-55);
}

.co-ty-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 28px;
}

.co-ty-cta .co-btn {
	width: auto;
	margin: 0;
	padding: 0 24px;
}

/* ---- 1. focused header + footer (checkout form only) ---- */
.co-top .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.co-secure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 500 12px var(--mono);
	letter-spacing: .04em;
	color: var(--ink-55);
}

.co-secure svg {
	width: 13px;
	height: 13px;
	color: var(--accent);
}

.co-help {
	font-size: 14px;
	font-weight: 500;
	color: var(--ink-65);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.co-focus .co {
	padding-top: 8.5rem;
}

.co-foot {
	padding: 22px 0 26px;
	background: var(--bg-foot);
	border-top: 1px solid var(--ink-08);
}

.co-foot .wrap {
	font-size: 13px;
	color: var(--ink-45);
}

/* ---- 4. plan savings ---- */
.co-save {
	margin-top: 10px;
	font-size: 13px;
	color: var(--ink-65);
}

.co-save a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}

/* ---- 5. reassurance beside the pay button ---- */
.co-assure {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin-top: 14px;
	list-style: none;
}

.co-assure li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--ink-65);
}

.co-assure svg {
	width: 13px;
	height: 13px;
	color: var(--accent);
}

.co-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.co-cards span {
	padding: 3px 8px;
	border: 1px solid var(--ink-15);
	border-radius: 4px;
	background: #fff;
	font: 600 10.5px var(--mono);
	letter-spacing: .04em;
	color: var(--ink-55);
}

/* ---- 7. discount code ---- */
.co-coupon {
	margin-top: 18px;
	font-size: 13px;
}

.co-coupon summary {
	display: inline-block;
	cursor: pointer;
	color: var(--ink-55);
	text-decoration: underline;
	text-underline-offset: 3px;
	list-style: none;
}

.co-coupon summary::-webkit-details-marker {
	display: none;
}

.co-coupon-in {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.co-coupon-in .input-text {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ink-15);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	text-transform: uppercase;
}

.co-coupon-apply {
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
	font: 600 13px Inter, ui-sans-serif, system-ui, sans-serif;
	cursor: pointer;
}

.co-coupon-apply:disabled {
	opacity: .6;
}

/* ---- 8. Apple Pay / Google Pay (Stripe express checkout, shown once Stripe is connected) ---- */
#wc-stripe-express-checkout-element {
	margin: 0 0 6px;
}

#wc-stripe-express-checkout-button-separator {
	display: flex!important;
	align-items: center;
	gap: 12px;
	margin: 14px 0 20px!important;
	font: 500 11px var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-40);
}

#wc-stripe-express-checkout-button-separator::before,
#wc-stripe-express-checkout-button-separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--dash);
}

#wc-stripe-express-checkout-button-separator[style*="display: none"],
#wc-stripe-express-checkout-button-separator[style*="display:none"] {
	display: none!important;
}

/* ---- 6. phone pay bar ---- */
.co-sticky {
	display: none;
}

@media (max-width: 900px) {
	.co-sticky {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px dashed var(--ink-25);
		background: rgba(240, 239, 235, .94);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		transform: translateY(110%);
		transition: transform .25s;
	}

	.co-sticky.on {
		transform: none;
	}

	.co-sticky-t {
		display: grid;
		font-size: 12px;
		color: var(--ink-55);
	}

	.co-sticky-t b {
		font-size: 15px;
		color: var(--ink);
	}

	.co-sticky-b {
		height: 46px;
		padding: 0 18px;
		border: 0;
		border-radius: 8px;
		background: var(--accent);
		color: #fff;
		font: 600 14px Inter, ui-sans-serif, system-ui, sans-serif;
		cursor: pointer;
	}

	.co-focus .co {
		padding-top: 7rem;
		padding-bottom: 48px;
	}

	.co-secure {
		display: none;
	}
}

/* ---- summary v2: no plan comparison; trust signals; single product + membership offer ---- */
.co-change {
	display: inline-block;
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--ink-45);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.co-change:hover {
	color: var(--ink);
}

.co-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}

.co-item-img {
	width: 72px;
	height: 44px;
	border-radius: 6px;
	object-fit: cover;
	background: var(--ink-07);
}

.co-item-t b {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.co-item-t span {
	display: block;
	margin-top: 2px;
	font: 500 12px var(--mono);
	color: var(--ink-45);
}

.co-item em {
	display: grid;
	justify-items: end;
	font-style: normal;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.co-item em s {
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-40);
}

.co-offer {
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px dashed rgba(232, 0, 13, .4);
	border-radius: 8px;
	background: rgba(232, 0, 13, .035);
}

.co-offer b {
	display: block;
	margin-top: 6px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.co-offer p {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--ink-65);
}

.co-offer-b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid var(--accent);
	background: #fff;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	transition: background .2s, color .2s;
}

.co-offer-b:hover {
	background: var(--accent);
	color: #fff;
}

.co-tg {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
	margin-top: 20px;
	padding-top: 18px;
	list-style: none;
	background: var(--dash) top/100% 1px no-repeat;
}

.co-tg li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	column-gap: 10px;
	align-items: start;
}

.co-tg svg {
	grid-row: span 2;
	width: 28px;
	height: 28px;
	padding: 6px;
	border-radius: 50%;
	background: rgba(232, 0, 13, .07);
	color: var(--accent);
}

.co-tg b {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.co-tg span {
	font-size: 12px;
	line-height: 1.45;
	color: var(--ink-55);
}

@media (max-width: 420px) {
	.co-tg {
		grid-template-columns: 1fr;
	}
}

/* ---- summary box opens from a small square: the 4 corners start together in the middle and slide out,
the box is revealed with them (clip), then the contents fade in. Not inside the AJAX fragment, so it plays once. ---- */

@keyframes co-open {
	from {
		clip-path: inset(calc(50% - 26px) calc(50% - 26px));
	}

	to {
		clip-path: inset(-14px);
	}
}

@keyframes co-tl {
	from {
		top: calc(50% - 24px);
		left: calc(50% - 24px);
	}
}

@keyframes co-tr {
	from {
		top: calc(50% - 24px);
		right: calc(50% - 24px);
	}
}

@keyframes co-bl {
	from {
		bottom: calc(50% - 24px);
		left: calc(50% - 24px);
	}
}

@keyframes co-br {
	from {
		bottom: calc(50% - 24px);
		right: calc(50% - 24px);
	}
}

@keyframes co-veil {
	from,
	55% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.co-sum,
.co-c {
	animation: .85s cubic-bezier(.65, 0, .35, 1) .25s backwards;
}

.co-sum {
	animation-name: co-open;
}

.co-c {
	z-index: 2;
}

.co-c.tl {
	animation-name: co-tl;
}

.co-c.tr {
	animation-name: co-tr;
}

.co-c.bl {
	animation-name: co-bl;
}

.co-c.br {
	animation-name: co-br;
}

.co-sum::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--bg);
	opacity: 0;
	pointer-events: none;
	animation: co-veil 1.1s ease .25s backwards;
}

@media (prefers-reduced-motion: reduce) {
	.co-sum,
	.co-c,
	.co-sum::after {
		animation: none;
	}
}

/* ---- line drawing (pathLength="1" on each shape): trust icons after the box opens, step 01 tick, thank-you padlock ---- */
@keyframes co-draw {
	from {
		stroke-dashoffset: 1;
		opacity: 0;
	}

	8% {
		opacity: 1;
	}
}

/* step 01: the number gives way to a red check that draws itself, then a red line runs to step 02 */
.co-n1 {
	position: relative;
	display: inline-block;
}

.co-n1 > span {
	transition: opacity .2s;
}

.co-n1 svg {
	position: absolute;
	left: 0;
	top: 50%;
	width: 15px;
	height: 15px;
	margin-top: -8px;
	color: var(--accent);
	stroke-dasharray: 1;
}

.co-n1 path {
	stroke-dashoffset: 1;
	transition: stroke-dashoffset .45s cubic-bezier(.65, 0, .35, 1);
}

.co-step.is-done .co-n1 > span {
	opacity: 0;
}

.co-step.is-done .co-n1 path {
	stroke-dashoffset: 0;
	transition-delay: .12s;
}

.co-step {
	position: relative;
}

.co-step + .co-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), rgba(232, 0, 13, .12));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .7s cubic-bezier(.65, 0, .35, 1);
}

.co-step.is-done + .co-step::before {
	transform: scaleX(1);
	transition-delay: .4s;
}

/* thank-you: a padlock draws inside crop marks, then the red shackle lifts open */
.co-lock {
	display: block;
	width: 64px;
	height: 64px;
	margin-bottom: 22px;
	overflow: visible;
}

.co-lock [pathLength] {
	stroke-dasharray: 1;
	animation: co-draw .7s cubic-bezier(.65, 0, .35, 1) backwards;
}

.co-lock-c {
	stroke: rgba(9, 9, 11, .3);
	stroke-width: 2;
	animation-delay: .1s!important;
}

.co-lock-b {
	stroke: rgba(9, 9, 11, .55);
	stroke-width: 1.5;
	fill: var(--bg);
	animation-delay: .35s!important;
}

.co-lock-s {
	stroke: var(--accent);
	stroke-width: 1.6;
	transform-box: view-box;
	transform-origin: 24px 38px;
	animation: co-draw .6s cubic-bezier(.65, 0, .35, 1) .7s backwards, co-unlock .55s cubic-bezier(.34, 1.56, .64, 1) 1.45s both!important;
}

.co-lock-k {
	stroke: rgba(9, 9, 11, .45);
	stroke-width: 1.5;
	animation-delay: 1.05s!important;
}

@keyframes co-unlock {
	to {
		transform: translateY(-6px) rotate(-14deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.co-lock [pathLength] {
		animation: none!important;
	}

	.co-lock-s {
		transform: translateY(-6px) rotate(-14deg);
	}

	.co-n1 path,
	.co-n1 > span,
	.co-step + .co-step::before {
		transition: none;
	}
}

/* ---- code message under the code box ---- */
.co-coupon-msg {
	margin-top: 8px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--ink-55);
}

.co-coupon-msg.is-err {
	color: var(--accent);
}

/* ---- struck prices: a red line that draws (regular price once, an old total after a code) ---- */
.co-item em s,
.co-was {
	position: relative;
	text-decoration: none;
}

.co-item em s::after,
.co-was::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	top: 52%;
	height: 1.5px;
	background: var(--accent);
	transform-origin: left;
}

.co-item em s.co-strike::after {
	animation: co-strike .45s cubic-bezier(.65, 0, .35, 1) var(--d, 0ms) backwards;
}

.co-was {
	margin-right: 10px;
	font-size: .62em;
	font-weight: 500;
	color: var(--ink-40);
}

.co-was::after {
	animation: co-strike .45s cubic-bezier(.65, 0, .35, 1) .1s backwards;
}

.co-due dd.is-new .woocommerce-Price-amount {
	display: inline-block;
	animation: co-in .45s cubic-bezier(.2, .8, .2, 1) .35s backwards;
}

@keyframes co-strike {
	from {
		transform: scaleX(0);
	}
}

@keyframes co-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

/* ---- pay button while processing: the logo's red-and-white slash sweeps across ---- */
form.checkout.processing #place_order {
	position: relative;
	z-index: 1001;
	overflow: hidden;
	color: transparent;
	pointer-events: none;
}

form.checkout.processing #place_order::before {
	content: "Processing payment";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
}

form.checkout.processing #place_order::after {
	content: "";
	position: absolute;
	top: 22%;
	bottom: 22%;
	left: -8%;
	width: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .85);
	transform: skewX(-22deg);
	animation: co-slash 1.1s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes co-slash {
	to {
		left: 108%;
	}
}

/* ---- field being typed in: a thin red line draws under it ---- */
.co-main .woocommerce-input-wrapper {
	position: relative;
	display: block;
}

.co-main .woocommerce-input-wrapper::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s cubic-bezier(.65, 0, .35, 1);
	pointer-events: none;
}

.co-main .woocommerce-input-wrapper:focus-within::after {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.co-item em s.co-strike::after,
	.co-was::after,
	.co-due dd.is-new .woocommerce-Price-amount,
	form.checkout.processing #place_order::after {
		animation: none;
	}

	.co-main .woocommerce-input-wrapper::after {
		transition: none;
	}
}

/* ---- returning customers: Welcome back panel (known email) ---- */
.co-wb {
	position: relative;
	margin-top: 20px;
	padding: 18px 20px;
	border: 1px dashed rgba(232, 0, 13, .4);
	border-radius: 8px;
	background: rgba(232, 0, 13, .035);
	animation: co-wb-in .4s cubic-bezier(.2, .8, .2, 1);
}

.co-wb[hidden] {
	display: none;
}

@keyframes co-wb-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.co-wb-h b {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.co-wb-h span {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ink-65);
}

.co-wb-pw {
	margin-top: 14px;
}

.co-wb-pw label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-65);
}

.co-wb-row {
	display: flex;
	gap: 8px;
}

.co-wb-row .input-text {
	flex: 1;
	min-width: 0;
}

.co-wb-go,
.co-wb-page {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	font: 600 14px/1 inherit;
	cursor: pointer;
}

.co-wb-go:disabled {
	opacity: .6;
	cursor: wait;
}

.co-wb-page {
	display: none;
	margin-top: 14px;
}

.co-wb.is-page .co-wb-pw,
.co-wb.is-page .co-wb-link {
	display: none;
}

.co-wb.is-page .co-wb-page {
	display: inline-flex;
}

.co-wb-msg {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink-65);
}

.co-wb-msg.is-err {
	color: var(--accent);
}

.co-wb-alt {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 12px;
	font-size: 13px;
}

.co-wb-alt button,
.co-wb-alt a {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--ink-65);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.co-wb-alt button:hover,
.co-wb-alt a:hover {
	color: var(--ink);
}

.co-wb-alt button:disabled {
	opacity: .5;
	cursor: default;
}

/* while the email is a known one, only email + login matter: names, country and the new-account note step aside, payment waits */
.co-step.is-known #billing_first_name_field,
.co-step.is-known #billing_last_name_field,
.co-step.is-known #billing_country_field,
.co-step.is-known .co-hint {
	display: none;
}

form.co-need-login #payment,
form.co-stop #payment {
	opacity: .4;
	pointer-events: none;
	transition: opacity .3s;
}

body:has(form.co-stop) .co-sticky {
	display: none;
}

/* ---- signed-in buyer who already has it ---- */
.co-have {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 28px;
	padding: 16px 18px;
	border: 1px dashed var(--ink-25);
	border-radius: 8px;
	background: rgba(255, 255, 255, .55);
}

.co-have.is-stop {
	border-color: rgba(232, 0, 13, .45);
	background: rgba(232, 0, 13, .04);
}

.co-have svg {
	flex: none;
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 50%;
	background: rgba(232, 0, 13, .07);
	color: var(--accent);
}

.co-have b {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.co-have p {
	margin-top: 4px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ink-65);
}

.co-have-a {
	display: inline-block;
	margin-top: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
	.co-wb {
		animation: none;
	}
}

/* WooCommerce lays a 60% white overlay on the summary and payment while it refreshes them (right after load, after a code);
keep it invisible so nothing flashes, it still blocks clicks during the refresh */

.co .blockUI.blockOverlay {
	background-color: transparent!important;
}

/* Checkout footer: one short line (the site footer's padding doesn't apply here) */
.co-foot .wrap {
	padding-top: 0;
	padding-bottom: 0;
}

@media (min-width: 901px) {
	.co {
		padding-bottom: 56px;
	}
}
