/*
 * NET 30 application, ONE STEP (S262, arm B). Presentation layer for woocommerce/checkout/form-checkout-onestep.php.
 * Built from the approved artboards: Main.dc.html (390 px) and Desktop.dc.html (1440 px). Every value below is the artboard's inline value.
 * Scoped to .ceo-os so nothing here reaches another page; arm A's css/v2_checkout.css is not touched and is not needed by this page.
 * Two layouts: one column (phone and tablet), two columns from 870 px (the width at which the artboard's flex row stops wrapping).
 */

.ceo-os {
	--os-bg: #f3f6fb;
	--os-ink: #1d2940;
	--os-navy: #0b2a5b;
	--os-muted: #4a5670;
	--os-line: #e3e9f2;
	--os-field: #7d8aa0;
	--os-blue: #1557b0;
	--os-orange: #f7941d;
	--os-green: #146c43;
	--os-chip: #eaf1fb;
	--os-err: #b3261e;
	--os-head: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
	--os-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--os-card-shadow: 0 1px 2px rgba(11, 42, 91, 0.06), 0 10px 28px rgba(11, 42, 91, 0.07);

	box-sizing: border-box;
	width: 100%;
	background: var(--os-bg);
	color: var(--os-ink);
	font-family: var(--os-body);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

body.woocommerce-checkout:has(.ceo-os),
body.woocommerce-checkout:has(.ceo-os) .website-wrapper,
body.woocommerce-checkout:has(.ceo-os) .main-page-wrapper {
	background: #f3f6fb;
}

/* WooCommerce's own "Returning customer? Click here to login" line: this page prints its own sign-in line in the header. */
.woocommerce-checkout .woocommerce-form-login-toggle {
	display: none;
}

/* The theme's blog sidebar (categories widget) and its phone "Sidebar" tab: the owner's design has neither, and on a phone the tab
   covers the hero (T29 review, B1). This stylesheet loads only on arm B's page, so arm A keeps today's sidebar. !important because the
   theme's phone rule for the tab (.offcanvas-sidebar-mobile .woodmart-sticky-sidebar-opener:not(.sticky-toolbar)) is more specific
   and loads after this sheet; without it the tab stays and opens an empty, dimmed page. */
.woocommerce-checkout .sidebar-container.area-sidebar-1,
.woocommerce-checkout .woodmart-sticky-sidebar-opener {
	display: none !important;
}

.ceo-os *,
.ceo-os *::before,
.ceo-os *::after {
	box-sizing: border-box;
}

.ceo-os p,
.ceo-os ul,
.ceo-os ol,
.ceo-os dl,
.ceo-os dd,
.ceo-os dt {
	padding: 0;
	margin: 0;
	list-style: none;
}

.ceo-os a {
	color: var(--os-blue);
}

.ceo-os a:hover {
	color: var(--os-navy);
}

/* keyboard focus on links (the theme strips the outline; WCAG 2.4.7) */
.ceo-os a:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

.ceo-os ::placeholder {
	color: var(--os-muted);
	opacity: 1;
}

.ceo-os .ceo-os-ico {
	flex: none;
	display: block;
}

/* ---------- page frame ---------- */

.ceo-os-page {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 76rem;
	margin: 0 auto;
	padding: 24px 16px 40px;
}

.ceo-os-grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ceo-os-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.ceo-os .ceo-os-what {
	display: none;
}

/* ---------- hero ---------- */

.ceo-os .ceo-os-hero {
	padding: 4px 0 0;
}

.ceo-os .ceo-os-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.ceo-os .ceo-os-steps__now {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--os-line);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--os-navy);
}

.ceo-os .ceo-os-steps__next {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--os-muted);
}

.ceo-os .ceo-os-steps__next .ceo-os-ico {
	stroke-width: 2;
}

.ceo-os .ceo-os-steps__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ceo-os .ceo-os-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--os-orange);
}

.ceo-os .ceo-os-dot--hollow {
	background: transparent;
	border: 2px solid var(--os-field);
}

/* round 2 (owner, 13 Oct): the current step's dot is green, not orange (orange stays the call-to-action colour) */
.ceo-os .ceo-os-steps__now .ceo-os-dot {
	background: var(--os-green);
}

.ceo-os .ceo-os-title {
	margin: 0;
	padding: 0;
	font-family: var(--os-head);
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--os-navy);
}

.ceo-os .ceo-os-lead {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--os-ink);
}

.ceo-os .ceo-os-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
}

.ceo-os .ceo-os-chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px 7px 10px;
	border-radius: 999px;
	background: var(--os-chip);
	color: var(--os-navy);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
}

.ceo-os .ceo-os-chips .ceo-os-ico {
	stroke-width: 2.2;
}

.ceo-os .ceo-os-signin {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--os-muted);
}

.ceo-os .ceo-os-signin a,
.ceo-os .ceo-os-trust__call a {
	display: inline-block;
	padding: 12px 0;
	margin: -12px 0;
	color: var(--os-blue);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ceo-os .ceo-os-signin a {
	font-weight: 600;
}

/* the 44 px tap rule for the padded links (the artboard's 12 px padding gives 43.6 px on a 14 px line) */
.ceo-os .ceo-os-trust__call a {
	min-height: 44px;
	line-height: 20px;
}

/* ---------- cards ---------- */

.ceo-os .ceo-os-card {
	background: #fff;
	border: 1px solid var(--os-line);
	border-radius: 16px;
	box-shadow: var(--os-card-shadow);
	padding: 20px;
}

.ceo-os .ceo-os-h2 {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--os-head);
	font-size: 19px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--os-navy);
}

.ceo-os .ceo-os-required {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--os-muted);
}

/* ---------- the form ---------- */

.ceo-os form.ceo-onestep {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.ceo-os .ceo-os-block {
	padding: 22px 20px 24px;
}

.ceo-os .ceo-os-block__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 20px;
}

.ceo-os .ceo-os-block__head > div {
	min-width: 0;
}

.ceo-os .ceo-os-block__n {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--os-navy);
	color: #fff;
	font-family: var(--os-head);
	font-weight: 700;
	font-size: 16px;
}

.ceo-os .ceo-os-block__h2 {
	margin: 2px 0;
	padding: 0;
	font-family: var(--os-head);
	font-size: 21px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--os-navy);
}

.ceo-os .ceo-os-block__sub {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--os-muted);
}

.ceo-os .ceo-os-stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ceo-os .ceo-os-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 18px;
}

.ceo-os .ceo-os-row--names,
.ceo-os .ceo-os-row--statezip {
	gap: 14px;
}

.ceo-os .ceo-os-row--contact {
	align-items: flex-start;
	gap: 18px 14px;
}

.ceo-os .ceo-os-cell {
	flex: 1 1 15rem;
	min-width: 0;
}

.ceo-os .ceo-os-cell--name {
	flex: 1 1 9rem;
}

.ceo-os .ceo-os-cell--state {
	flex: 1.5 1 10rem;
}

.ceo-os .ceo-os-cell--zip {
	flex: 1 1 10rem;
}

/* a field: WooCommerce's .form-row is neutralised here (the theme gives it floats, widths and a 550 px minimum) */

.ceo-os .form-row.ceo-os-field,
.ceo-os .form-row.ceo-os-agree__row {
	float: none;
	clear: none;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ceo-os .ceo-os-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--os-ink);
	text-transform: none;
	letter-spacing: normal;
}

.ceo-os .ceo-os-label--doc {
	font-size: 15px;
}

.ceo-os input.ceo-os-input,
.ceo-os select.ceo-os-select {
	display: block;
	width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--os-field);
	border-radius: 12px;
	background-color: #fff;
	background-image: none;
	color: var(--os-ink);
	font-family: var(--os-body);
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
	text-transform: none;
	transition: none;
}

.ceo-os input.ceo-os-input:focus,
.ceo-os select.ceo-os-select:focus {
	padding: 0 13px;
	border: 2px solid var(--os-blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(21, 87, 176, 0.16);
}

.ceo-os select.ceo-os-select {
	padding-right: 44px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.ceo-os select.ceo-os-select:focus {
	padding-right: 43px;
}

.ceo-os .ceo-os-selectwrap {
	position: relative;
}

.ceo-os .ceo-os-selectico {
	position: absolute;
	right: 14px;
	top: 14px;
	color: var(--os-muted);
	pointer-events: none;
}

.ceo-os .ceo-os-selectico .ceo-os-ico {
	stroke-width: 1.8;
}

.ceo-os .ceo-os-hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--os-muted);
}

.ceo-os .ceo-os-hint--address {
	margin-top: 8px;
}

/* errors: WooCommerce marks the .form-row, the server's words are in its notice at the top of the form */

.ceo-os .woocommerce-invalid input.ceo-os-input,
.ceo-os .woocommerce-invalid select.ceo-os-select {
	border-color: var(--os-err);
	box-shadow: 0 0 0 1px var(--os-err);
}

/* registered e-mail: under the field and at the top of "Your business" (js/s262-onestep.js section 5) */
.ceo-os .ceo-os-fielderror {
	display: block;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--os-err);
}

.ceo-os .ceo-os-fielderror a {
	color: var(--os-err);
	font-weight: 600;
}

.ceo-os .ceo-os-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #f1b5b0;
	border-radius: 12px;
	background: #fdecea;
	color: #5f1410;
	font-size: 14px;
	line-height: 1.5;
}

.ceo-os .ceo-os-alert[hidden] {
	display: none;
}

.ceo-os .ceo-os-alert a {
	color: #5f1410;
	font-weight: 600;
}

.ceo-os .ceo-phone-error {
	display: block;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--os-err);
}

.ceo-os .woocommerce-NoticeGroup,
.ceo-os .woocommerce-NoticeGroup-checkout {
	margin: 0;
}

.ceo-os .woocommerce-error,
.ceo-os .woocommerce-message,
.ceo-os .woocommerce-info {
	margin: 0 0 4px;
	padding: 14px 16px;
	border: 1px solid #f1b5b0;
	border-radius: 12px;
	background: #fdecea;
	color: #5f1410;
	font-size: 14px;
	line-height: 1.5;
	list-style: none;
}

.ceo-os .woocommerce-error li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce's checkout script wraps each refusal in a link and the theme's own sheet makes links in .woocommerce-error white: white on this pale pink was 1.14:1 */
.ceo-os .woocommerce-error a {
	color: inherit;
	text-decoration: underline;
}

.ceo-os .woocommerce-error::before,
.ceo-os .woocommerce-message::before,
.ceo-os .woocommerce-info::before {
	display: none;
}

/* ---------- agreement ---------- */

.ceo-os .ceo-os-agree__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	color: var(--os-ink);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.ceo-os .ceo-os-agree__label input[type="checkbox"] {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--os-navy);
	cursor: pointer;
}

.ceo-os .ceo-os-agree__label span {
	font-size: 15px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--os-navy);
}

.ceo-os .ceo-os-agree__sum {
	margin: 6px 0 0 36px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--os-muted);
}

.ceo-os .ceo-os-agree__more {
	margin: 12px 0 0 36px;
}

.ceo-os .ceo-os-agree__more summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	color: var(--os-blue);
	list-style: none;
}

.ceo-os .ceo-os-agree__more summary::-webkit-details-marker {
	display: none;
}

.ceo-os .ceo-os-agree__more summary .ceo-os-ico {
	stroke-width: 2.2;
}

.ceo-os .ceo-os-agree__more p {
	margin: 4px 0 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--os-bg);
	font-size: 13px;
	line-height: 1.6;
	color: var(--os-ink);
}

.ceo-os .ceo-os-agree__more p a {
	color: var(--os-blue);
	text-decoration: underline;
}

/* ---------- submit and trust ---------- */

.ceo-os .ceo-os-submit {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ceo-os button.ceo-os-cta[type="submit"] {
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid #e07f0a;
	border-radius: 14px;
	background-color: var(--os-orange);
	background-image: linear-gradient(180deg, #ffad4f 0%, #f7941d 100%);
	color: var(--os-navy);
	font-family: var(--os-head);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: normal;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(247, 148, 29, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ceo-os button.ceo-os-cta[type="submit"]:hover {
	color: var(--os-navy);
	filter: brightness(0.97);
}

.ceo-os button.ceo-os-cta[type="submit"]:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: 2px;
}

.ceo-os .ceo-os-submit__guarantee,
.ceo-os .ceo-os-submit__privacy {
	font-size: 13px;
	line-height: 1.5;
	color: var(--os-muted);
	text-align: center;
}

.ceo-os .ceo-os-submit__privacy a {
	display: inline-block;
	padding: 13px 0;
	margin: -13px 0;
	color: var(--os-blue);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ceo-os .ceo-os-security {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 12px 8px;
	background: #fff;
	border: 1px solid var(--os-line);
	border-radius: 14px;
}

.ceo-os .ceo-os-security li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--os-ink);
}

.ceo-os .ceo-os-security__t {
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--os-ink);
}

.ceo-os .ceo-os-security__ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #e7f6ee;
	color: var(--os-green);
}

.ceo-os .ceo-os-security__ico .ceo-os-ico {
	stroke-width: 1.9;
}

/* below the form: on a phone a centred line, on a wide page the "About us" card */
.ceo-os .ceo-os-trust__h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ceo-os .ceo-os-trust__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: center;
}

.ceo-os .ceo-os-trust__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--os-ink);
}

.ceo-os .ceo-os-trust__call .ceo-os-ico {
	color: var(--os-navy);
	stroke-width: 1.8;
}

/* ---------- Google address suggestions (the library's own list, styled to the artboard) ---------- */

.pac-container {
	margin-top: 4px;
	border: 1px solid #d5dce6;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(11, 42, 91, 0.18);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pac-item {
	min-height: 44px;
	padding: 10px 12px;
	border-top: 1px solid #edf1f6;
	font-size: 14px;
	line-height: 1.35;
	color: #4a5670;
	cursor: pointer;
}

.pac-item:first-child {
	border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
	background: #f3f6fb;
}

.pac-item-query {
	font-size: 14px;
	font-weight: 700;
	color: #1d2940;
}

.pac-matched {
	font-weight: 700;
}

/* ---------- wide page (the artboard's two-column layout) ---------- */

@media (min-width: 870px) {
	/* the address hint is on the phone artboard only (T29 review, B2) */
	.ceo-os .ceo-os-hint--address {
		display: none;
	}

	.ceo-os-page {
		gap: 2rem;
		padding: 2.5rem 1rem 4rem;
	}

	.ceo-os .ceo-os-hero {
		max-width: 46rem;
	}

	.ceo-os .ceo-os-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 20rem;
		grid-template-rows: auto auto 1fr;
		column-gap: 2rem;
		row-gap: 18px;
		align-items: start;
	}

	.ceo-os .ceo-os-main {
		grid-column: 1;
		grid-row: 1 / 4;
	}

	.ceo-os .ceo-os-what {
		display: block;
		grid-column: 2;
		grid-row: 1;
	}

	.ceo-os .ceo-os-trust {
		grid-column: 2;
		grid-row: 2;
		box-sizing: border-box;
		background: #fff;
		border: 1px solid var(--os-line);
		border-radius: 16px;
		box-shadow: var(--os-card-shadow);
		padding: 20px;
	}

	.ceo-os .ceo-os-trust__h2 {
		position: static;
		width: auto;
		height: auto;
		margin: 0 0 14px;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}

	.ceo-os .ceo-os-trust__body {
		text-align: left;
	}

	.ceo-os .ceo-os-trust__call {
		justify-content: flex-start;
	}

	.ceo-os .ceo-os-required {
		margin-top: 0;
	}

	.ceo-os .ceo-os-row--contact {
		gap: 18px 14px;
	}

	.ceo-os .ceo-os-what__h2 {
		margin: 0 0 4px;
	}

	/* the artboard's subtitle under "What NET 30 is" (truth-table #20, restored 12 Oct with the credit-line row #1) */
	.ceo-os .ceo-os-what__sub {
		margin: 0 0 12px;
		font-size: 13px;
		color: var(--os-muted);
	}

	.ceo-os .ceo-os-what__list > div {
		padding: 12px 0;
		border-top: 1px solid var(--os-line);
	}

	.ceo-os .ceo-os-what__list dt {
		margin: 0;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--os-muted);
	}

	.ceo-os .ceo-os-what__list dd {
		margin: 3px 0 0;
		font-size: 14px;
		line-height: 1.5;
		color: var(--os-ink);
	}

	.ceo-os .ceo-os-what__p {
		margin: 0;
		padding: 12px 0 0;
		border-top: 1px solid var(--os-line);
		font-size: 14px;
		line-height: 1.55;
		color: var(--os-ink);
	}

	.ceo-os .ceo-os-what__p--last {
		margin: 10px 0 0;
		padding: 0;
		border-top: 0;
	}
}

/*
 * PHONES ONLY (S262 fix 1, 13 Oct): the form comes first. Clarity put the first field at about 1,268 px on a 375 px phone because the
 * "How NET 30 works" card, the chips and the "have these 2 ready" box sat above it. Round 2 removed the card and the box from the page (owner,
 * 13 Oct); the chips stay and sit below the form. Only the ORDER changes (copy and markup are as they were).
 * The hero, the grid and the main column stop being boxes (display: contents; they are plain wrappers, the list and the steps keep their own
 * boxes), so every piece is an item of .ceo-os-page and can be ordered across the old wrappers. This is the exact complement of the 870 px
 * desktop block above (not all and min-width 870), so desktop and anything wider are byte-for-byte what they were.
 */
@media not all and (min-width: 870px) {
	.ceo-os .ceo-os-hero,
	.ceo-os .ceo-os-grid,
	.ceo-os .ceo-os-main {
		display: contents;
	}

	.ceo-os .ceo-os-steps {
		order: 1;
		margin: 4px 0 -2px;
	}

	.ceo-os .ceo-os-title {
		order: 2;
	}

	.ceo-os .ceo-os-lead {
		order: 3;
		margin: -6px 0 0;
	}

	.ceo-os .ceo-os-signin {
		order: 4;
		margin: 0;
	}

	.ceo-os .ceo-os-required {
		order: 5;
	}

	.ceo-os form.ceo-onestep {
		order: 6;
	}

	.ceo-os .ceo-os-chips {
		order: 7;
		margin: 0;
	}

	.ceo-os .ceo-os-trust {
		order: 8;
	}
}

/* ---------- the sign-in window (round 2, 13 Oct; owner: the inline box "looks terrible") ----------
 * js/s262-onestep.js section 7 opens it. A centred dialog from 870 px (the page's own desktop width), a sheet that slides up from the bottom below it.
 * The form inside is WooCommerce's (via woocommerce_login_form), so the rules below restyle its markup to the page's own fields and button.
 * Selectors carry .ceo-os .ceo-os-dlg form.woocommerce-form-login so they outrank the theme's login-form rules (style.css S8) and WoodMart's. */

html.ceo-os-dlg-lock,
html.ceo-os-dlg-lock body {
	overflow: hidden;
}

.ceo-os .ceo-os-dlg {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.ceo-os .ceo-os-dlg[hidden] {
	display: none;
}

.ceo-os .ceo-os-dlg__scrim {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(11, 42, 91, 0.55);
}

.ceo-os .ceo-os-dlg__panel {
	position: relative;
	width: 100%;
	max-width: 30rem;
	max-height: 92vh;
	max-height: 92dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px));
	border-radius: 20px 20px 0 0;
	background: #fff;
	box-shadow: 0 -12px 40px rgba(11, 42, 91, 0.28);
	animation: ceo-os-dlg-up 0.22s ease-out;
}

.ceo-os .ceo-os-dlg__panel:focus {
	outline: 0;
}

.ceo-os .ceo-os-dlg__x {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--os-chip);
	color: var(--os-navy);
	cursor: pointer;
	box-shadow: none;
}

.ceo-os .ceo-os-dlg__x .ceo-os-ico {
	stroke-width: 2.2;
}

.ceo-os .ceo-os-dlg__x:hover {
	background: #dce8f8;
	color: var(--os-navy);
}

.ceo-os .ceo-os-dlg__x:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: 2px;
}

.ceo-os .ceo-os-dlg__h {
	margin: 0;
	padding: 0 52px 0 0;
	font-family: var(--os-head);
	font-size: 26px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--os-navy);
}

.ceo-os .ceo-os-dlg__sub {
	margin: 6px 0 20px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--os-ink);
}

.ceo-os .ceo-os-dlg__notices {
	margin: 0 0 16px;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error {
	margin: 0;
	padding: 12px 14px;
	list-style: none;
	border: 1px solid #f1b5b0;
	border-radius: 12px;
	background: #fdecea;
	color: #5f1410;
	font-size: 14px;
	line-height: 1.5;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error:focus {
	outline: 0;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error::before {
	content: none;
	display: none;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error li::before {
	content: none;
	display: none;
}

.ceo-os .ceo-os-dlg__notices ul.woocommerce-error a {
	color: #5f1410;
	font-weight: 600;
	text-decoration: underline;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login p.form-row {
	float: none;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0 0 14px;
	padding: 0;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--os-ink);
	text-transform: none;
	letter-spacing: normal;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .required {
	color: var(--os-err);
	text-decoration: none;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login input.input-text {
	display: block;
	width: 100%;
	max-width: none;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--os-field);
	border-radius: 12px;
	background-color: #fff;
	background-image: none;
	color: var(--os-ink);
	font-family: var(--os-body);
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
	text-transform: none;
	transition: none;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login input.input-text:focus {
	padding: 0 13px;
	border: 2px solid var(--os-blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(21, 87, 176, 0.16);
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.woocommerce-form-login__submit {
	display: block;
	width: 100%;
	min-height: 54px;
	margin: 6px 0 0;
	padding: 0 20px;
	border: 1px solid #e07f0a;
	border-radius: 14px;
	background-color: var(--os-orange);
	background-image: linear-gradient(180deg, #ffad4f 0%, #f7941d 100%);
	color: var(--os-navy);
	font-family: var(--os-head);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: normal;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(247, 148, 29, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.woocommerce-form-login__submit:hover {
	color: var(--os-navy);
	filter: brightness(0.97);
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.woocommerce-form-login__submit:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: 2px;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .login-form-footer {
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .login-form-footer a.lost_password {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--os-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .login-form-footer a.lost_password:hover {
	color: var(--os-navy);
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .login-form-footer a.lost_password:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* the owner's list for the window has no "Remember me" */
.ceo-os .ceo-os-dlg form.woocommerce-form-login .woocommerce-form-login__rememberme {
	display: none;
}

/* WooCommerce's script wraps the password input and adds a show/hide button; no stylesheet on this page styles it (it showed as a grey box under the field),
   so it is placed inside the field's right edge here. WooCommerce's script toggles the input type and the .display-password class on it. */
.ceo-os .ceo-os-dlg form.woocommerce-form-login .password-input {
	position: relative;
	display: block;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .password-input input.input-text {
	padding-right: 52px;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login .password-input input.input-text:focus {
	padding-right: 51px;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.show-password-input {
	position: absolute;
	top: 2px;
	right: 2px;
	display: block;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5670' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
	box-shadow: none;
	cursor: pointer;
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5670' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}

.ceo-os .ceo-os-dlg form.woocommerce-form-login button.show-password-input:focus-visible {
	outline: 3px solid var(--os-blue);
	outline-offset: -2px;
}

@keyframes ceo-os-dlg-up {
	from {
		transform: translateY(28px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

@keyframes ceo-os-dlg-in {
	from {
		transform: scale(0.97);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

@media (min-width: 870px) {
	.ceo-os .ceo-os-dlg {
		align-items: center;
	}

	.ceo-os .ceo-os-dlg__panel {
		width: 26rem;
		max-width: calc(100% - 32px);
		padding: 32px 28px 28px;
		border-radius: 18px;
		box-shadow: 0 24px 60px rgba(11, 42, 91, 0.32);
		animation: ceo-os-dlg-in 0.18s ease-out;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ceo-os * {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- S-REAPPLY-SIGNIN: the "E-mail me a sign-in link" button (js/reapply-signin.js, inc/reapply-signin.php) ----------
 * Beside an "already has an account" refusal and under the password form of the sign-in window; printed only while the option ceo_rsl_live is 'yes'.
 * At least 44 px tall everywhere; full width on a phone (pointer: coarse, or a screen up to 480 px). The status line is a live region (role="status"). */
body .ceo-rsl {
	display: block;
	margin: 10px 0 0;
}

body .ceo-rsl-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid #1557b0;
	border-radius: 12px;
	background: #fff;
	color: #1557b0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: none;
}

body .ceo-rsl-send:hover {
	background: #eaf1fb;
	color: #0b2a5b;
}

body .ceo-rsl-send:focus-visible {
	outline: 3px solid #1557b0;
	outline-offset: 2px;
}

body .ceo-rsl-send[disabled],
body .ceo-rsl-send[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
}

body .ceo-rsl-status {
	display: block;
	margin: 8px 0 0;
	color: #1d2940;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
}

body .ceo-rsl-status:empty {
	margin: 0;
}

body .ceo-rsl-window {
	margin: 16px 0 0;
	text-align: center;
}

body .ceo-rsl-window__q {
	display: block;
	color: #1d2940;
	font-size: 15px;
	font-weight: 600;
}

@media (pointer: coarse), (max-width: 480px) {
	body .ceo-rsl-send {
		display: flex;
		width: 100%;
		min-height: 48px;
	}
}
