/* checkout/assets/checkout.css  (TE-137, checkout UI v1)
 *
 * Every rule is scoped under #co-app, the wrapper the checkout pages render inside the
 * site's #main.  The id root is deliberate: the site stylesheet styles #main a, #main
 * h1 and bare button/input/table, and only an id-rooted selector outranks those
 * without !important.  Nothing here reaches the rest of the site.
 *
 * Colour comes from the site: --primary per body.site-*, or --brand-text where a site
 * sets one (Brass Press gold is too light on white, so it uses its darker gold).  Every
 * tint below is derived from that one colour, so each brand works automatically.
 * ASCII only (this file is served to ISO-8859-1 pages; non-ASCII goes in as escapes).
 */

/* ================================================================ tokens */
#co-app {
	--co-accent: var(--brand-text, var(--primary, #27406F));
	--co-accent-strong: color-mix(in srgb, var(--co-accent) 82%, #000);
	--co-accent-soft: color-mix(in srgb, var(--co-accent) 7%, #fff);
	--co-accent-tint: color-mix(in srgb, var(--co-accent) 18%, #fff);
	--co-accent-line: color-mix(in srgb, var(--co-accent) 45%, #fff);
	--co-ink: #1b1f24;
	--co-body: #444a52;
	--co-muted: #646a73;
	--co-line: #e5e7eb;
	--co-line-strong: #c9ced6;
	--co-canvas: #f6f7f9;
	--co-surface: #fff;
	--co-danger: #b42318;
	--co-danger-soft: #fef3f2;
	--co-warn-ink: #7a4b00;
	--co-warn-bg: #fff7e0;
	--co-warn-line: #f0b429;
	--co-radius: 16px;
	--co-radius-md: 12px;
	--co-radius-sm: 10px;
	--co-shadow: 0 1px 2px rgba(20, 22, 28, .05), 0 8px 24px rgba(20, 22, 28, .06);
	--co-shadow-lift: 0 2px 4px rgba(20, 22, 28, .06), 0 16px 40px rgba(20, 22, 28, .12);
	--co-focus: 0 0 0 3px #fff, 0 0 0 5px var(--co-accent);
	--co-font: var(--font-display, 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif);

	max-width: 1120px;
	margin: 0 auto;
	font-family: var(--co-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--co-body);
	-webkit-font-smoothing: antialiased;
}

#co-app *,
#co-app *::before,
#co-app *::after { box-sizing: border-box; }

/* Reset the site-wide #main typography inside the checkout */
#co-app h1, #co-app h2, #co-app h3, #co-app h4 {
	font-family: var(--co-font);
	color: var(--co-ink);
	text-align: left;
	border: 0;
	padding: 0;
	margin: 0;
	letter-spacing: -0.01em;
}
#co-app p { margin: 0; line-height: 1.55; }
#co-app a { color: var(--co-accent); text-decoration: underline; text-underline-offset: 3px; }
#co-app a:hover { opacity: 1; color: var(--co-accent-strong); }
#co-app a:focus-visible,
#co-app button:focus-visible,
#co-app input:focus-visible,
#co-app select:focus-visible,
#co-app textarea:focus-visible,
#co-app summary:focus-visible { outline: none; box-shadow: var(--co-focus); border-radius: 8px; }
#co-app ul, #co-app ol { list-style: none; margin: 0; padding: 0; }
#co-app table { box-shadow: none; margin: 0; background: transparent; }
#co-app tr:hover { background: transparent; }
#co-app label { margin: 0; font-weight: inherit; color: inherit; display: block; }
#co-app [hidden] { display: none !important; }

#co-app .co-icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

#co-app .co-visually-hidden,
.co-cart-badge-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ================================================================ checkout header
   Focused header on the site's own header colour: a slim support line, then the logo
   and the progress indicator.  Everything on the band is drawn in --co-on (white; a
   dark ink on Brass Press, whose gold is too light for white text) and tints of it. */
body.co-checkout-page #contact-section { display: none; }
/* The site pads #center by 48px; the checkout's content should start near the top. */
body.co-checkout-page #center.content-wrapper { padding-top: 28px !important; }
@media (max-width: 639px) {
	body.co-checkout-page #center.content-wrapper { padding-top: 20px !important; }
}

.co-strip {
	background: var(--primary);
	background: color-mix(in srgb, var(--primary) 82%, #000);
	color: #fff;
	font-family: var(--font-display);
	font-size: 13px;
	line-height: 28px;
	height: 28px;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
	padding: 0 16px;
}
.co-strip-inner { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.co-strip a { color: #fff; font-weight: 600; text-decoration: none; }
.co-strip a:hover { text-decoration: underline; color: #fff; }
.co-strip .co-icon { width: 15px; height: 15px; flex-shrink: 0; }

#co-header {
	--co-on: #fff;
	--co-band: var(--primary);
	background: var(--co-band);
	color: var(--co-on);
	font-family: var(--font-display);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
#co-header .co-icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
#co-header .co-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
#co-header .co-header-inner {
	max-width: var(--max-width, 1300px);
	margin: 0 auto;
	padding: 14px 40px;
	display: flex;
	align-items: center;
	gap: 40px;
}
/* Logo with the way out of checkout underneath it.  Chrome, not page content: in the
   right-hand panel this link pushed the cart and the address below the fold. */
#co-header .co-header-brandcol { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
#co-header .co-header-back {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap;
	text-decoration: none;
	color: color-mix(in srgb, var(--co-on) 80%, transparent);
}
#co-header .co-header-back:hover,
#co-header .co-header-back:focus-visible { color: var(--co-on); text-decoration: underline; }
#co-header .co-header-back .co-icon { width: 15px; height: 15px; }
#co-header .co-header-brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; color: var(--co-on); }
#co-header .co-header-brand img { display: block; height: 60px; width: auto; max-width: 200px; object-fit: contain; }
#co-header .co-header-brand-text { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
#co-header .co-header-secure {
	display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
	font-size: 13px; font-weight: 500;
	color: color-mix(in srgb, var(--co-on) 85%, transparent);
}
#co-header .co-header-secure .co-icon { width: 16px; height: 16px; }

/* the steps */
#co-header .co-steps { flex: 1 1 auto; min-width: 0; }
#co-header .co-steps-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
#co-header .co-step { display: flex; align-items: center; flex: 1 1 0; min-width: 0; margin: 0; }
#co-header .co-step:first-child { flex: 0 0 auto; }
/* connector into each step */
#co-header .co-step + .co-step::before {
	content: '';
	flex: 1 1 auto;
	min-width: 16px;
	height: 2px;
	margin: 0 14px;
	border-radius: 2px;
	background: color-mix(in srgb, var(--co-on) 30%, transparent);
}
#co-header .co-step.is-done::before,
#co-header .co-step.is-current::before { background: var(--co-on); }

#co-header .co-step-link {
	display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
	color: inherit; text-decoration: none; border-radius: 999px; padding: 2px 6px 2px 2px;
}
#co-header a.co-step-link:focus-visible { outline: 2px solid var(--co-on); outline-offset: 3px; }
#co-header .co-step-marker {
	position: relative;
	width: 38px; height: 38px;
	border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid color-mix(in srgb, var(--co-on) 45%, transparent);
	color: color-mix(in srgb, var(--co-on) 75%, transparent);
}
#co-header .co-step-icon { width: 18px; height: 18px; }
#co-header .co-step-digit { font-size: 15px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
#co-header .co-step-check {
	position: absolute; right: -5px; bottom: -5px;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--co-on); color: var(--co-band);
	display: none; place-items: center;
	box-shadow: 0 0 0 2px var(--co-band);
}
#co-header .co-step-check .co-icon { width: 11px; height: 11px; stroke-width: 3.5; }
#co-header .co-step-text {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 15px; font-weight: 500; white-space: nowrap;
	color: color-mix(in srgb, var(--co-on) 78%, transparent);
}
/* done */
#co-header .is-done .co-step-marker { background: color-mix(in srgb, var(--co-on) 16%, transparent); border-color: var(--co-on); color: var(--co-on); }
#co-header .is-done .co-step-check { display: grid; }
#co-header .is-done .co-step-text { color: var(--co-on); }
#co-header a.co-step-link:hover .co-step-label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
#co-header a.co-step-link:hover .co-step-marker { background: color-mix(in srgb, var(--co-on) 28%, transparent); }
/* current */
#co-header .is-current .co-step-marker {
	background: var(--co-on); border-color: var(--co-on); color: var(--co-band);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--co-on) 28%, transparent);
}
#co-header .is-current .co-step-text { color: var(--co-on); font-weight: 700; }

/* compact form */
#co-header .co-steps-compact { display: none; }
#co-header .co-steps-compact-icon {
	width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--co-on); color: var(--co-band);
}
#co-header .co-steps-compact-icon .co-icon { width: 16px; height: 16px; }
#co-header .co-steps-compact-text { font-size: 14px; color: color-mix(in srgb, var(--co-on) 85%, transparent); white-space: nowrap; }
#co-header .co-steps-compact-text b { color: var(--co-on); font-weight: 700; }
#co-header .co-steps-bar { display: flex; gap: 5px; flex-basis: 100%; }
#co-header .co-steps-seg { position: relative; flex: 1 1 0; height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--co-on) 28%, transparent); }
#co-header .co-steps-seg.is-done,
#co-header .co-steps-seg.is-current { background: var(--co-on); }
#co-header a.co-steps-seg::after { content: ''; position: absolute; inset: -12px 0; }

@media (max-width: 1023px) {
	#co-header .co-header-secure { display: none; }
	#co-header .co-header-inner { gap: 28px; padding: 12px 24px; }
	#co-header .co-step + .co-step::before { margin: 0 10px; }
}
@media (max-width: 719px) {
	#co-header .co-header-inner { flex-wrap: wrap; gap: 10px 16px; padding: 10px 16px 12px; }
	#co-header .co-header-brand img { height: 44px; max-width: 120px; }
	#co-header .co-header-brandcol { gap: 4px; }
	#co-header .co-header-back { font-size: 12px; }
	#co-header .co-header-back .co-icon { width: 13px; height: 13px; }
	#co-header .co-steps { flex: 1 1 auto; }
	#co-header .co-steps-list { display: none; }
	#co-header .co-steps-compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; }
	#co-header .co-steps-bar { order: 3; }
}

/* ================================================================ page head */
#co-app .co-head { margin-bottom: 28px; }
#co-app .co-title {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 8px;
}
#co-app .co-lede { font-size: 16px; color: var(--co-muted); max-width: 60ch; }
@media (max-width: 639px) {
	#co-app .co-title { font-size: 25px; }
}

/* ================================================================ layout */
#co-app .co-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
@media (min-width: 960px) {
	#co-app .co-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
	#co-app .co-aside { position: sticky; top: 24px; }
}
#co-app .co-stack { display: grid; gap: 20px; }

#co-app .co-card {
	background: var(--co-surface);
	border: 1px solid var(--co-line);
	border-radius: var(--co-radius);
	box-shadow: var(--co-shadow);
	padding: 24px;
}
#co-app .co-card--flat { box-shadow: none; }
#co-app .co-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
#co-app .co-card-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 600;
}
#co-app .co-card-title .co-icon { color: var(--co-accent); }
#co-app .co-card-sub { font-size: 14px; color: var(--co-muted); }
@media (max-width: 639px) {
	#co-app .co-card { padding: 18px; border-radius: 14px; }
}

/* ================================================================ buttons */
#co-app .co-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	border-radius: var(--co-radius-md);
	border: 2px solid transparent;
	font-family: var(--co-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
	white-space: nowrap;
	opacity: 1;
}
#co-app .co-btn .co-icon { width: 20px; height: 20px; }
#co-app .co-btn:active { transform: translateY(1px); }
/* Primary buttons use the site's own CTA colour (--primary), as the rest of each site
   does; --co-accent (which may be a darker text-safe shade) is for text and outlines. */
#co-app .co-btn--primary,
#co-app .co-btn--primary:hover {
	background: var(--primary, var(--co-accent));
	color: #fff;
	border-color: var(--primary, var(--co-accent));
}
#co-app .co-btn--primary:hover {
	background: color-mix(in srgb, var(--primary) 82%, #000);
	border-color: color-mix(in srgb, var(--primary) 82%, #000);
}
#co-app .co-btn--secondary,
#co-app .co-btn--secondary:hover {
	background: var(--co-surface);
	color: var(--co-ink);
	border-color: var(--co-line-strong);
}
#co-app .co-btn--secondary:hover { border-color: var(--co-ink); }
#co-app .co-btn--quiet,
#co-app .co-btn--quiet:hover {
	background: transparent;
	color: var(--co-accent);
	border-color: transparent;
	min-height: 44px;
	padding: 0 12px;
}
#co-app .co-btn--danger,
#co-app .co-btn--danger:hover { background: var(--co-danger); border-color: var(--co-danger); color: #fff; }
#co-app .co-btn--block { width: 100%; }
#co-app .co-btn[disabled],
#co-app .co-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; }
#co-app .co-btn.is-busy { cursor: progress; opacity: .85; }
#co-app .co-spinner {
	width: 18px; height: 18px;
	border-radius: 50%;
	border: 2.5px solid currentColor;
	border-right-color: transparent;
	animation: co-spin .7s linear infinite;
}
@keyframes co-spin { to { transform: rotate(360deg); } }

/* text-style action (Remove, Change, Edit) */
#co-app .co-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 4px;
	background: none;
	border: 0;
	color: var(--co-muted);
	font: 500 14px/1.2 var(--co-font);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
#co-app .co-link-btn:hover { background: none; color: var(--co-ink); border: 0; opacity: 1; }
#co-app .co-link-btn .co-icon { width: 16px; height: 16px; }
#co-app .co-link-btn--accent { color: var(--co-accent); }

/* Back / Next bar: same place on every step */
#co-app .co-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 28px;
}
#co-app .co-actions .co-btn--primary { min-width: 220px; }
@media (max-width: 639px) {
	#co-app .co-actions { flex-direction: column-reverse; align-items: stretch; }
	#co-app .co-actions .co-btn { width: 100%; min-width: 0; }
}

/* ================================================================ forms */
#co-app .co-fields {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 16px;
}
#co-app .co-field { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
@media (min-width: 640px) {
	#co-app .co-field--half { grid-column: span 3; }
	#co-app .co-field--third { grid-column: span 2; }
	#co-app .co-field--two-thirds { grid-column: span 4; }
}
#co-app .co-label {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--co-body);
}
#co-app .co-label.is-required { font-weight: 600; color: var(--co-ink); }
#co-app .co-optional { color: var(--co-muted); font-weight: 400; }

#co-app .co-input,
#co-app .co-select,
#co-app .co-textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1.5px solid var(--co-line-strong);
	border-radius: var(--co-radius-sm);
	background: #fff;
	color: var(--co-ink);
	font: 400 16px/1.4 var(--co-font);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
#co-app .co-select {
	padding-right: 44px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23444a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
/* Lucide chevron-down (ISC), used as the select arrow. */
#co-app .co-textarea { min-height: 120px; resize: vertical; }
#co-app .co-input:focus,
#co-app .co-select:focus,
#co-app .co-textarea:focus {
	outline: none;
	border-color: var(--co-accent);
	box-shadow: 0 0 0 4px var(--co-accent-tint);
	border-radius: var(--co-radius-sm);
}
#co-app .co-input[aria-invalid="true"],
#co-app .co-select[aria-invalid="true"],
#co-app .co-textarea[aria-invalid="true"] {
	border-color: var(--co-danger);
	background: var(--co-danger-soft);
}
#co-app .co-field-error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--co-danger);
}
#co-app .co-field-error .co-icon { width: 16px; height: 16px; margin-top: 2px; }
#co-app .co-hint { font-size: 13px; color: var(--co-muted); }

#co-app .co-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1.5px solid var(--co-line);
	border-radius: var(--co-radius-md);
	background: var(--co-canvas);
	cursor: pointer;
	font-size: 15px;
	color: var(--co-ink);
}
#co-app .co-check input {
	width: 22px; height: 22px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: var(--co-accent);
	cursor: pointer;
}
#co-app .co-check small { display: block; color: var(--co-muted); font-size: 13px; margin-top: 2px; }
#co-app .co-check.is-plain { background: none; border: 0; padding: 4px 0; }

#co-app .co-section-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--co-muted);
	margin: 8px 0 -4px;
	grid-column: 1 / -1;
}

/* ================================================================ cart: works and parts
   Dense on purpose: 30-40 lines is a normal order.  One header per work, one row per
   part.  Desktop: part | price | quantity | total | remove on a single line. */
#co-app .co-cart-sheet { display: grid; gap: 14px; }
/* Each work is its own small block: a lightly tinted caption band naming the work,
   then its parts.  The band is clearly a heading, not a row. */
#co-app .co-work {
	background: var(--co-surface);
	border: 1px solid var(--co-line);
	border-radius: var(--co-radius-md);
	box-shadow: 0 1px 2px rgba(20, 22, 28, .04);
	overflow: hidden;
}
#co-app .co-work-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	padding: 10px 16px 10px 20px;
	background: var(--co-accent-soft);
	border-bottom: 1px solid var(--co-accent-tint);
	box-shadow: inset 3px 0 0 var(--co-accent);
}
#co-app .co-work-composer { font-size: 13px; font-weight: 500; color: var(--co-muted); }
#co-app .co-work-title { font-size: 15px; font-weight: 600; color: var(--co-ink); text-decoration: none; line-height: 1.35; }
#co-app a.co-work-title:hover { text-decoration: underline; color: var(--co-ink); }
#co-app .co-work-meta { font-size: 12px; color: var(--co-muted); margin-left: auto; }
#co-app .co-part {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 76px 100px 84px 32px;
	align-items: center;
	column-gap: 12px;
	padding: 0 8px 0 20px;
}
#co-app .co-part {
	min-height: 42px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 1px solid var(--co-line);
	transition: opacity .2s ease;
}
#co-app .co-parts .co-part:first-child { border-top-color: transparent; }
#co-app .co-work .co-part:last-child { padding-bottom: 5px; }
#co-app .co-part.is-pending { opacity: .65; }
#co-app .co-part.is-leaving { opacity: .25; }
#co-app .co-part-name { font-size: 15px; color: var(--co-ink); min-width: 0; }
#co-app .co-part-warn {
	display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
	padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
	background: var(--co-warn-bg); border: 1px solid var(--co-warn-line); color: var(--co-warn-ink);
	font-size: 12px; font-weight: 500; white-space: nowrap;
}
#co-app .co-part-warn .co-icon { width: 13px; height: 13px; }
#co-app .co-part-price { font-size: 14px; color: var(--co-muted); text-align: right; font-variant-numeric: tabular-nums; }
#co-app .co-part-label { display: none; }
#co-app .co-part-qty { display: flex; justify-content: center; }
#co-app .co-part-total { font-size: 15px; font-weight: 600; color: var(--co-ink); text-align: right; font-variant-numeric: tabular-nums; }
#co-app .co-part-remove,
#co-app .co-part-remove:hover {
	width: 36px; height: 36px; padding: 0; margin: 0;
	display: grid; place-items: center;
	border: 0; border-radius: 10px; background: transparent;
	color: var(--co-muted); cursor: pointer; opacity: 1;
}
#co-app .co-part-remove:hover { color: var(--co-danger); background: var(--co-danger-soft); }
#co-app .co-part-remove .co-icon { width: 16px; height: 16px; }

#co-app .co-part-each { display: none; }
@media (max-width: 719px) {
	#co-app .co-work-head { padding: 9px 12px 9px 14px; }
	#co-app .co-work-meta { margin-left: 0; flex-basis: 100%; }
	#co-app .co-part {
		grid-template-columns: minmax(0, 1fr) auto 64px 32px;
		column-gap: 8px;
		padding: 5px 4px 5px 14px;
	}
	#co-app .co-part-price { display: none; }
	#co-app .co-part-name { font-size: 14px; line-height: 1.3; }
	#co-app .co-part-each { display: block; font-size: 12px; color: var(--co-muted); font-variant-numeric: tabular-nums; }
	#co-app .co-part-total { font-size: 14px; }
	#co-app .co-part-remove, #co-app .co-part-remove:hover { width: 32px; height: 36px; }
	#co-app .co-part-warn span { display: none; }
}

/* compact stepper for part rows: small and quiet, never the loudest thing on the row */
#co-app .co-stepper.co-stepper--compact {
	height: 30px;
	border: 1px solid var(--co-line);
	background: var(--co-surface);
	overflow: visible;
}
#co-app .co-stepper--compact .co-stepper-btn {
	position: relative;
	width: 28px; height: 28px;
	border-radius: 999px;
	color: var(--co-muted);
}
#co-app .co-stepper--compact .co-stepper-btn:hover { background: var(--co-canvas); color: var(--co-ink); }
#co-app .co-stepper--compact .co-stepper-btn .co-icon { width: 13px; height: 13px; stroke-width: 2.25; }
#co-app .co-stepper--compact .co-stepper-input {
	width: 30px; height: 26px;
	font-size: 14px; font-weight: 500;
	color: var(--co-body);
}
#co-app .co-stepper-btn[disabled] { color: var(--co-line-strong); cursor: default; background: transparent; }

/* ================================================================ read-only works (step summaries) */
#co-app .co-works--ro { display: grid; gap: 6px; }
#co-app .co-ro-work { border-bottom: 1px solid var(--co-line); }
#co-app .co-ro-work:last-child { border-bottom: 0; }
#co-app .co-ro-head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
	padding: 8px 0; cursor: pointer; list-style: none;
}
#co-app .co-ro-head::-webkit-details-marker { display: none; }
#co-app .co-ro-head-text { display: flex; flex-direction: column; min-width: 0; }
#co-app .co-ro-head .co-work-title { font-size: 14px; }
#co-app .co-ro-head .co-work-composer,
#co-app .co-ro-head .co-work-meta { font-size: 12px; }
#co-app .co-ro-head-sum { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; }
#co-app .co-ro-count { color: var(--co-muted); }
#co-app .co-ro-sum { color: var(--co-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
#co-app .co-ro-work[open] .co-ro-sum { display: none; }
#co-app .co-ro-chevron { width: 16px; height: 16px; color: var(--co-muted); transition: transform .15s ease; }
#co-app .co-ro-work[open] .co-ro-chevron { transform: rotate(180deg); }
#co-app .co-ro-parts { padding: 0 0 8px; display: grid; gap: 2px; }
#co-app .co-ro-part {
	display: grid; grid-template-columns: minmax(0, 1fr) auto 84px; gap: 10px;
	font-size: 13px; line-height: 1.4; padding: 2px 0;
}
#co-app .co-ro-name { color: var(--co-body); }
#co-app .co-ro-qty { color: var(--co-muted); font-variant-numeric: tabular-nums; }
#co-app .co-ro-total { text-align: right; color: var(--co-ink); font-variant-numeric: tabular-nums; }

/* quantity stepper: minus / number / plus */
#co-app .co-stepper {
	display: inline-flex;
	align-items: center;
	height: 48px;
	border: 1.5px solid var(--co-line-strong);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}
#co-app .co-stepper-btn {
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--co-ink);
	cursor: pointer;
}
#co-app .co-stepper-btn:hover { background: var(--co-canvas); color: var(--co-ink); border: 0; opacity: 1; }
#co-app .co-stepper-btn .co-icon { width: 18px; height: 18px; }
#co-app .co-stepper-btn.is-remove { color: var(--co-danger); }
#co-app .co-stepper-btn:focus-visible { border-radius: 999px; }
#co-app .co-stepper-input {
	width: 52px;
	height: 44px;
	border: 0;
	padding: 0;
	text-align: center;
	font: 600 17px/1 var(--co-font);
	color: var(--co-ink);
	background: transparent;
	-moz-appearance: textfield;
	font-variant-numeric: tabular-nums;
}
#co-app .co-stepper-input::-webkit-outer-spin-button,
#co-app .co-stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#co-app .co-stepper-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--co-accent); border-radius: 8px; }

/* ================================================================ summary */
#co-app .co-summary-rows { display: grid; gap: 10px; }
#co-app .co-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	font-size: 15px;
}
#co-app .co-summary-row span:last-child { font-variant-numeric: tabular-nums; color: var(--co-ink); font-weight: 500; text-align: right; }
#co-app .co-summary-row.is-total {
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--co-line);
	font-size: 18px;
	font-weight: 600;
	color: var(--co-ink);
}
#co-app .co-summary-row.is-total span:last-child { font-size: 22px; font-weight: 700; }
#co-app .co-summary-note { font-size: 13px; color: var(--co-muted); margin-top: 12px; }

#co-app .co-mini-lines { display: grid; gap: 12px; margin-bottom: 18px; }
#co-app .co-mini-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: 14px; }
#co-app .co-mini-line b { display: block; color: var(--co-ink); font-weight: 600; line-height: 1.35; }
#co-app .co-mini-line small { display: block; color: var(--co-muted); font-size: 13px; }
#co-app .co-mini-line .co-mini-price { color: var(--co-ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

#co-app .co-currency { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
#co-app .co-currency .co-select { width: auto; min-width: 200px; min-height: 46px; }
#co-app .co-currency-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--co-ink); }

/* ================================================================ option cards (service, payment) */
#co-app .co-options { display: grid; gap: 12px; }
#co-app .co-option {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 16px;
	padding: 18px 20px;
	border: 1.5px solid var(--co-line-strong);
	border-radius: var(--co-radius-md);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
#co-app .co-option:hover { border-color: var(--co-accent-line); }
#co-app .co-option.is-selected {
	border: 2px solid var(--co-accent);
	padding: 17.5px 19.5px;
	background: var(--co-accent-soft);
	box-shadow: 0 0 0 4px var(--co-accent-tint);
}
#co-app .co-option input[type="radio"] {
	width: 22px; height: 22px;
	margin: 0;
	accent-color: var(--co-accent);
	cursor: pointer;
}
#co-app .co-option-name { display: block; font-size: 16px; font-weight: 600; color: var(--co-ink); line-height: 1.3; }
#co-app .co-option-desc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: 14px; color: var(--co-muted); }
#co-app .co-option-desc .co-icon { width: 15px; height: 15px; }
#co-app .co-option-desc span { display: inline-flex; align-items: center; gap: 6px; }
#co-app .co-option-price { font-size: 17px; font-weight: 700; color: var(--co-ink); font-variant-numeric: tabular-nums; text-align: right; }
#co-app .co-option-note { font-size: 14px; color: var(--co-muted); display: flex; align-items: center; gap: 8px; margin-top: 12px; }
#co-app .co-option-note .co-icon { width: 16px; height: 16px; color: var(--co-accent); }
@media (max-width: 479px) {
	#co-app .co-option { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
	#co-app .co-option.is-selected { padding: 15.5px; }
	#co-app .co-option-price { grid-column: 2; text-align: left; }
}

/* shipment groups */
#co-app .co-shipment + .co-shipment { margin-top: 20px; }
#co-app .co-shipment-items {
	display: grid;
	gap: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background: var(--co-canvas);
	border-radius: var(--co-radius-md);
}
#co-app .co-shipment-item { display: flex; gap: 10px; font-size: 14px; color: var(--co-ink); }
#co-app .co-shipment-item .co-qty { flex-shrink: 0; min-width: 28px; font-weight: 600; color: var(--co-muted); font-variant-numeric: tabular-nums; }
#co-app .co-group-error { margin-top: 10px; }

/* ================================================================ payment methods */
#co-app .co-pay-option { grid-template-columns: auto auto minmax(0, 1fr); }
#co-app .co-pay-mark {
	width: 56px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	border: 1px solid var(--co-line);
	background: #fff;
	color: var(--co-ink);
}
#co-app .co-pay-mark .co-icon { width: 24px; height: 24px; }
#co-app .co-pay-mark img { width: 36px; height: auto; display: block; }
#co-app .co-pay-panel {
	grid-column: 1 / -1;
	cursor: default;
	padding-top: 16px;
	margin-top: 4px;
	border-top: 1px solid var(--co-accent-tint);
}
#co-app .co-pay-panel p { font-size: 14px; color: var(--co-body); }
#co-app .co-stripe-mount { min-height: 120px; }
#co-app .co-stripe-loading { display: flex; align-items: center; gap: 10px; color: var(--co-muted); font-size: 14px; }
#co-app .co-pay-unavailable { font-size: 13px; color: var(--co-muted); }
#co-app .co-option.is-disabled { cursor: not-allowed; opacity: .6; }

#co-app .co-trust {
	display: grid;
	gap: 8px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--co-muted);
}
#co-app .co-trust span { display: flex; align-items: flex-start; gap: 8px; }
#co-app .co-trust .co-icon { width: 16px; height: 16px; margin-top: 1px; color: var(--co-accent); }

#co-app .co-address { font-size: 15px; color: var(--co-ink); line-height: 1.6; white-space: pre-line; }
#co-app .co-kv { display: grid; gap: 4px; font-size: 14px; }
#co-app .co-kv span { color: var(--co-muted); }

/* ================================================================ notices */
#co-app .co-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--co-radius-md);
	background: var(--co-accent-soft);
	border: 1px solid var(--co-accent-tint);
	color: var(--co-ink);
	font-size: 15px;
}
#co-app .co-notice .co-icon { color: var(--co-accent); margin-top: 1px; }
#co-app .co-notice--warn { background: var(--co-warn-bg); border-color: var(--co-warn-line); color: var(--co-warn-ink); }
#co-app .co-notice--warn .co-icon { color: var(--co-warn-ink); }
#co-app .co-notice--danger { background: var(--co-danger-soft); border-color: #fecdca; color: var(--co-danger); }
#co-app .co-notice--danger .co-icon { color: var(--co-danger); }
#co-app .co-notice b { font-weight: 600; }
#co-app .co-notice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ================================================================ empty + loading */
#co-app .co-empty {
	text-align: center;
	padding: 56px 24px;
	background: var(--co-surface);
	border: 1px dashed var(--co-line-strong);
	border-radius: var(--co-radius);
}
#co-app .co-empty-icon {
	width: 72px; height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--co-accent-soft);
	color: var(--co-accent);
}
#co-app .co-empty-icon .co-icon { width: 32px; height: 32px; }
#co-app .co-empty h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; text-align: center; }
#co-app .co-empty p { color: var(--co-muted); margin-bottom: 24px; }

#co-app .co-skeleton {
	height: 96px;
	border-radius: var(--co-radius);
	background: linear-gradient(90deg, var(--co-canvas) 0%, #fff 50%, var(--co-canvas) 100%);
	background-size: 200% 100%;
	animation: co-shimmer 1.2s ease-in-out infinite;
}
@keyframes co-shimmer { to { background-position: -200% 0; } }

/* ================================================================ toast */
#co-app .co-toast-region {
	position: fixed;
	left: 50%;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%);
	z-index: 1000;
	width: min(560px, calc(100vw - 32px));
	display: grid;
	gap: 10px;
	pointer-events: none;
}
#co-app .co-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 14px 18px;
	border-radius: 14px;
	background: var(--co-ink);
	color: #fff;
	box-shadow: var(--co-shadow-lift);
	font-size: 15px;
	font-weight: 500;
	animation: co-toast-in .22s ease-out;
}
#co-app .co-toast--error { background: var(--co-accent); }
#co-app .co-toast .co-icon { width: 20px; height: 20px; }
#co-app .co-toast-text { flex: 1; }
#co-app .co-toast-action,
#co-app .co-toast-action:hover {
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1.5px solid rgba(255, 255, 255, .7);
	background: transparent;
	color: #fff;
	font: 600 15px/1 var(--co-font);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
#co-app .co-toast-action:hover { background: rgba(255, 255, 255, .12); }
#co-app .co-toast-close,
#co-app .co-toast-close:hover {
	width: 40px; height: 40px;
	padding: 0;
	display: grid;
	place-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	border-radius: 10px;
}
#co-app .co-toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@keyframes co-toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ================================================================ confirm dialog */
#co-app .co-dialog {
	margin: auto;
	border: 0;
	padding: 0;
	border-radius: 20px;
	width: min(480px, calc(100vw - 32px));
	box-shadow: var(--co-shadow-lift);
	color: var(--co-body);
	font-family: var(--co-font);
}
#co-app .co-dialog::backdrop { background: rgba(15, 18, 24, .5); }
#co-app .co-dialog-body { padding: 28px 28px 8px; }
#co-app .co-dialog-icon {
	width: 48px; height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--co-danger-soft);
	color: var(--co-danger);
	margin-bottom: 16px;
}
#co-app .co-dialog h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
#co-app .co-dialog p { font-size: 15px; }
#co-app .co-dialog-actions { display: flex; gap: 12px; justify-content: flex-end; padding: 20px 28px 28px; }
@media (max-width: 479px) {
	#co-app .co-dialog-actions { flex-direction: column-reverse; }
	#co-app .co-dialog-actions .co-btn { width: 100%; }
}

/* ================================================================ receipt */
#co-app .co-receipt { max-width: 860px; margin: 0 auto; }
#co-app .co-hero {
	text-align: center;
	padding: 12px 0 32px;
}
#co-app .co-hero-icon {
	width: 76px; height: 76px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--co-accent);
	color: #fff;
	box-shadow: 0 0 0 10px var(--co-accent-tint);
}
#co-app .co-hero-icon .co-icon { width: 36px; height: 36px; stroke-width: 2.5; }
#co-app .co-hero h1 { text-align: center; font-size: 32px; line-height: 1.2; font-weight: 600; margin: 0 0 14px; }
#co-app .co-hero { display: flex; flex-direction: column; align-items: center; }
#co-app .co-hero-icon { margin: 0 0 20px; }
@media (max-width: 639px) {
	#co-app .co-hero h1 { font-size: 26px; }
	#co-app .co-hero-meta { font-size: 14px; }
}
#co-app .co-hero-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--co-muted);
	font-size: 15px;
	line-height: 32px;
}
#co-app .co-hero-meta li { display: inline-flex; align-items: center; height: 32px; }
/* a thin separator between items that share a line */
#co-app .co-hero-meta li + li::before {
	content: '';
	width: 4px; height: 4px; border-radius: 50%;
	background: var(--co-line-strong);
	margin: 0 14px;
}
#co-app .co-hero-meta li:nth-child(2) { color: var(--co-ink); font-weight: 600; }
#co-app .co-order-number {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 14px;
	line-height: 1;
	border-radius: 999px;
	background: var(--co-accent-soft);
	border: 1px solid var(--co-accent-tint);
	color: var(--co-accent);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
#co-app .co-next-list { display: grid; gap: 14px; }
#co-app .co-next-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--co-ink); }
#co-app .co-next-list .co-icon { color: var(--co-accent); margin-top: 2px; }

#co-app .co-payment-needed {
	border: 2px solid var(--co-warn-line);
	background: var(--co-warn-bg);
	border-radius: var(--co-radius);
	padding: 24px;
	color: var(--co-warn-ink);
}
#co-app .co-payment-needed-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
#co-app .co-payment-needed-head .co-badge-icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--co-warn-line);
	color: #3d2600;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
#co-app .co-payment-needed h2 { color: #3d2600; font-size: 20px; font-weight: 700; }
#co-app .co-payment-needed-sub { font-size: 15px; font-weight: 500; }
#co-app .co-instructions {
	background: #fff;
	border-radius: var(--co-radius-md);
	border: 1px solid var(--co-warn-line);
	padding: 18px 20px;
	color: var(--co-ink);
	font-size: 15px;
	overflow-wrap: anywhere;
}
#co-app .co-instructions table { width: auto; }
#co-app .co-instructions td { border: 0; padding: 2px 12px 2px 0; font-size: 15px; }

#co-app .co-invoice-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}
#co-app .co-invoice-meta h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--co-muted); margin-bottom: 6px; }
#co-app .co-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: var(--co-canvas);
	border: 1px solid var(--co-line);
	color: var(--co-ink);
}
#co-app .co-status-pill.is-paid { background: #ecfdf3; border-color: #abefc6; color: #067647; }
#co-app .co-status-pill.is-due { background: var(--co-warn-bg); border-color: var(--co-warn-line); color: var(--co-warn-ink); }
#co-app .co-receipt-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ================================================================ print */
@media print {
	.site-header, .site-utility-bar, #contact-section, #footer, .site-footer,
	.co-strip, #co-header, #co-app .co-actions, #co-app .co-receipt-actions,
	#co-app .co-toast-region, #co-app .co-no-print { display: none !important; }
	#center, .content-wrapper, #main, .main-content { padding: 0 !important; }
	#co-app { font-size: 12pt; color: #000; }
	#co-app .co-card { box-shadow: none; border-color: #bbb; break-inside: avoid; }
	#co-app .co-hero-icon { box-shadow: none; }
	#co-app .co-payment-needed { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
	#co-app *, #co-app *::before, #co-app *::after { animation: none !important; transition: none !important; }
}

/* ================================================================ payment page layout */
#co-app .co-mobile-total { display: block; }
#co-app .co-desktop-only { display: none; }
@media (min-width: 960px) {
	#co-app .co-mobile-total { display: none; }
	#co-app .co-desktop-only { display: block; }
}
#co-app .co-trust--center { justify-items: center; text-align: center; margin-top: 14px; }
#co-app .co-pay-mark--wide { width: 72px; }
#co-app .co-pay-mark--wide img { width: 58px; }
#co-app .co-shipment-block + .co-shipment-block { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--co-line); }
#co-app .co-shipment-block-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 12px;
}
#co-app .co-shipment-service { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--co-muted); }
#co-app .co-shipment-service b { color: var(--co-ink); font-size: 15px; }
#co-app .co-shipment-service .co-icon { width: 16px; height: 16px; color: var(--co-accent); }
#co-app .co-shipment-price { font-weight: 600; color: var(--co-ink); font-variant-numeric: tabular-nums; }

/* Review step: delivery summarised under the item list, one quiet row per package. */
#co-app .co-delivery-summary { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--co-line); }
#co-app .co-delivery-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#co-app .co-delivery-summary-head h3 {
	display: flex; align-items: center; gap: 8px;
	margin: 0; font-size: 15px; font-weight: 600; color: var(--co-ink);
}
#co-app .co-delivery-summary-head h3 .co-icon { width: 18px; height: 18px; color: var(--co-accent); }
#co-app .co-delivery-rows { list-style: none; margin: 0; padding: 0; }
#co-app .co-delivery-row {
	display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 12px;
	padding: 7px 0; font-size: 14px; color: var(--co-muted);
}
#co-app .co-delivery-row + .co-delivery-row { border-top: 1px solid var(--co-line); }
#co-app .co-delivery-label { display: inline-flex; align-items: center; gap: 6px; color: var(--co-ink); font-weight: 600; }
#co-app .co-delivery-label .co-icon { width: 15px; height: 15px; color: var(--co-accent); }
#co-app .co-delivery-row.is-single { grid-template-columns: 1fr auto; }
#co-app .co-delivery-price { font-weight: 600; color: var(--co-ink); font-variant-numeric: tabular-nums; }
#co-app .co-dot { opacity: .55; }
@media (max-width: 599px) {
	#co-app .co-delivery-row { grid-template-columns: 1fr auto; }
	#co-app .co-delivery-facts { grid-column: 1 / -1; }
}

/* Step 3: the package count that follows from the chosen speed, and the link to the
   per-shipment view.  Both are quiet on purpose: the speed is the question. */
#co-app .co-option-consequence {
	display: flex; align-items: center; gap: 6px;
	margin-top: 6px; font-size: 13px; color: var(--co-muted);
}
#co-app .co-option-consequence .co-icon { width: 15px; height: 15px; color: var(--co-accent); }
#co-app .co-split-toggle { margin: 14px 0 0; text-align: center; }
#co-app .co-split-toggle .co-link-btn { font-size: 14px; }

/* The offline receipt's reminder that a bank transfer is not the only way to pay. */
#co-app .co-instructions-note {
	display: flex; align-items: flex-start; gap: 8px;
	margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--co-muted);
}
#co-app .co-instructions-note .co-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--co-accent); }
#co-app .co-shipment-service span { display: inline-flex; align-items: center; gap: 5px; }

/* Cart: the subtotal sits above Next on phones, beside the lines on desktop. */
#co-app .co-layout--cart { grid-template-areas: "lines" "aside" "back"; row-gap: 20px; }
#co-app .co-cart-backrow { grid-area: back; }
#co-app .co-cart-lines { grid-area: lines; }
#co-app .co-cart-aside { grid-area: aside; }
#co-app .co-cart-next { margin-top: 18px; }
#co-app .co-cart-back { padding-left: 0; }
@media (min-width: 960px) {
	#co-app .co-layout--cart { grid-template-areas: "lines aside" "back aside"; grid-template-rows: auto 1fr; row-gap: 12px; }
}
#co-app .co-input, #co-app .co-select, #co-app .co-textarea, #co-app .co-shipment { scroll-margin-top: 220px; }

/* Phones: the site wraps #main in 48px of padding; the checkout reclaims most of it so
   forms and cards get the width (16px gutters remain). */
@media (max-width: 639px) {
	#co-app { margin-left: -32px; margin-right: -32px; }
	#co-app .co-card .co-option { padding: 14px; gap: 10px 12px; }
	#co-app .co-card .co-option.is-selected { padding: 13.5px; }
	#co-app .co-pay-mark { width: 48px; height: 36px; }
	#co-app .co-pay-mark--wide { width: 60px; }
	#co-app .co-pay-mark--wide img { width: 48px; }
}

/* ================================================================ payment: method cards, sticky Back / Pay */
#co-app .co-pay-panel.is-empty { display: none !important; }
#co-app .co-stripe-logo { display: inline-block; height: 18px; width: auto; vertical-align: middle; margin-left: 2px; }
#co-app .co-option-desc img.co-stripe-logo { flex-shrink: 0; }
#co-app .co-page-payment .co-actions,
#co-app.co-page-payment .co-actions {
	position: sticky;
	bottom: 0;
	z-index: 20;
	margin-top: 8px;
	padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
	background: var(--co-surface);
	box-shadow: 0 -8px 16px -12px rgba(20, 22, 28, .25);
}
@media (max-width: 639px) {
	#co-app.co-page-payment .co-actions { flex-direction: row; gap: 10px; padding-left: 0; padding-right: 0; }
	#co-app.co-page-payment .co-actions .co-btn--secondary { width: auto; flex: 0 0 auto; padding: 0 16px; }
	#co-app.co-page-payment .co-actions .co-btn--primary { flex: 1 1 auto; width: auto; min-width: 0; padding: 0 12px; }
}

/* offline payment details: label / value rows, values easy to select and copy */
#co-app .co-instructions p { margin: 0 0 12px; }
#co-app .co-instructions p:last-child { margin-bottom: 0; }
#co-app .co-bank {
	margin: 4px 0 14px;
	border: 1px solid var(--co-line);
	border-radius: var(--co-radius-sm);
	overflow: hidden;
}
#co-app .co-bank-row {
	display: grid;
	grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
	gap: 12px;
	padding: 8px 14px;
	border-top: 1px solid var(--co-line);
}
#co-app .co-bank-row:first-child { border-top: 0; }
#co-app .co-bank dt { margin: 0; color: var(--co-muted); font-size: 14px; font-weight: 500; }
#co-app .co-bank dd { margin: 0; }
#co-app .co-copy {
	color: var(--co-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
	-webkit-user-select: all;
	user-select: all;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	#co-app .co-bank-row { grid-template-columns: 1fr; gap: 0; }
}
#co-app .co-ro-work--static .co-ro-head { cursor: default; padding-top: 10px; }
#co-app .co-shipment-block .co-works--ro { margin-top: 4px; }
#co-app .co-cart-aside .co-summary-row.is-total:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
/* Phones: same small pill, but each button's hit area grows to 40px. */
@media (max-width: 719px) {
	#co-app .co-stepper--compact .co-stepper-btn { width: 30px; }
	#co-app .co-stepper--compact .co-stepper-btn::after { content: ''; position: absolute; inset: -6px -5px; }
}
@media (max-width: 639px) {
	#co-app .co-hero-meta { flex-direction: column; gap: 2px; }
	#co-app .co-hero-meta li + li::before { display: none; }
	#co-app .co-hero-meta li { height: 28px; }
}

/* ================================================================ round 4 */
/* Work header: code first (as on the product page), composer, title, edition. */
#co-app .co-work-head { flex-direction: column; align-items: flex-start; gap: 0; }
#co-app .co-work-code,
#co-app .co-ro-head .co-work-code {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .05em;
	color: var(--co-muted);
	font-variant-numeric: tabular-nums;
}
#co-app .co-work-composer { display: block; }
#co-app .co-work-title { display: block; }
#co-app .co-work-meta { display: block; margin-left: 0; }

/* Simple products: one row that is the item itself. */
#co-app .co-work--simple .co-part { padding-top: 10px; padding-bottom: 10px; }
#co-app .co-simple { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
#co-app .co-simple .co-work-composer { font-size: 13px; }
#co-app .co-simple .co-work-title { font-size: 15px; }
#co-app .co-ro-part--simple { align-items: start; padding: 8px 0; }
#co-app .co-ro-part--simple .co-work-title { font-size: 14px; }
#co-app .co-ro-work--simple .co-work-composer,
#co-app .co-ro-work--simple .co-work-meta { font-size: 12px; color: var(--co-muted); }

/* Unit price: " each" only where the price sits under the label. */
#co-app .co-part-each-word { display: none; }

/* Phones: a part row is two lines.  Line 1 is the full label; line 2 is the unit
   price, the stepper, the line total and the bin.  Nothing wraps word by word. */
@media (max-width: 719px) {
	#co-app .co-part {
		grid-template-columns: minmax(0, 1fr) auto 70px 32px;
		grid-template-areas: "name name name name" "price qty total remove";
		column-gap: 8px;
		row-gap: 2px;
		padding: 8px 4px 8px 14px;
	}
	#co-app .co-part-name { grid-area: name; font-size: 14px; line-height: 1.35; }
	#co-app .co-part-price { grid-area: price; display: block; text-align: left; font-size: 12px; }
	#co-app .co-part-each-word { display: inline; }
	#co-app .co-part-qty { grid-area: qty; }
	#co-app .co-part-total { grid-area: total; }
	#co-app .co-part-remove { grid-area: remove; }
	#co-app .co-part-each { display: none; }
}

/* Payment method header: the Stripe mark sits at the right of the card option. */
#co-app .co-option-name--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#co-app .co-pay-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
#co-app .co-pay-brand img { height: 22px; width: auto; display: block; }
@media (max-width: 479px) { #co-app .co-pay-brand img { height: 18px; } }

/* Phone header: caption and the four segments are one unit, beside the logo. */
@media (max-width: 719px) {
	#co-header .co-header-inner { flex-wrap: nowrap; gap: 16px; padding: 10px 16px 12px; }
	#co-header .co-header-brand img { height: 40px; max-width: 104px; }
	#co-header .co-steps { flex: 1 1 auto; min-width: 0; }
	#co-header .co-steps-compact { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
	#co-header .co-steps-caption { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
	#co-header .co-steps-compact-icon { width: 26px; height: 26px; flex-shrink: 0; }
	#co-header .co-steps-compact-icon .co-icon { width: 14px; height: 14px; }
	#co-header .co-steps-compact-text { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
	#co-header .co-steps-bar { flex-basis: auto; width: 100%; }
}

/* The payment step and the receipt show every item: a readable size, not sidebar size. */
#co-app.co-page-payment [data-co-shipments] .co-ro-part,
#co-app.co-page-receipt .co-ro-part { font-size: 14px; padding: 3px 0; }
#co-app.co-page-payment [data-co-shipments] .co-ro-head .co-work-title,
#co-app.co-page-payment [data-co-shipments] .co-ro-work--simple .co-work-title,
#co-app.co-page-receipt .co-ro-head .co-work-title,
#co-app.co-page-receipt .co-ro-work--simple .co-work-title { font-size: 15px; }
#co-app.co-page-payment [data-co-shipments] .co-ro-head .co-work-composer,
#co-app.co-page-receipt .co-ro-head .co-work-composer { font-size: 13px; }
#co-app.co-page-payment [data-co-shipments] .co-ro-work,
#co-app.co-page-receipt .co-ro-work { padding: 4px 0 8px; }
/* Phones: where a read-only row would squeeze its label (the receipt's "1 x $134.95"
   column, a simple product's long title), the label takes the full first line and the
   quantity and total sit beneath it. */
@media (max-width: 719px) {
	#co-app.co-page-receipt .co-ro-part,
	#co-app .co-ro-part--simple {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "name name" "qty total";
		row-gap: 2px;
	}
	#co-app.co-page-receipt .co-ro-part .co-ro-name,
	#co-app .co-ro-part--simple .co-ro-name { grid-area: name; }
	#co-app.co-page-receipt .co-ro-part .co-ro-qty,
	#co-app .co-ro-part--simple .co-ro-qty { grid-area: qty; }
	#co-app.co-page-receipt .co-ro-part .co-ro-total,
	#co-app .co-ro-part--simple .co-ro-total { grid-area: total; }
}

/* Header logo: the text-less mark (default) is shorter than the full logo. */
#co-header .co-header-brand img.is-mark { height: 44px; max-width: 170px; }
@media (max-width: 719px) {
	#co-header .co-header-brand img.is-mark { height: 30px; max-width: 104px; }
}
