/*
 * Okamoto customer order page.
 *
 * Extracted by hand from prototype/order.html — the flat white 50/50 1040px
 * layout, which is the visual source of truth. order-v1-stacked.html and
 * order-v2-cards.html are earlier layouts retained for comparison only and
 * nothing here comes from them.
 *
 * Three things differ from the prototype's <style> block, and all three are
 * consequences of this loading on a themed page rather than in a standalone file.
 *
 *   1. **Everything is scoped under .okko**, and every class carries the okko-ord-
 *      prefix. The prototype styles bare `button`, `input` and `h1`, which here
 *      would restyle the theme's own header and footer.
 *   2. **The prototype's :root variables are not redeclared.** okko-base.css
 *      already defines the palette on .okko. Where the prototype's order page
 *      used a colour the base does not carry — the softer greens of the added
 *      state, the accent red of a ghost link — it is declared once below as an
 *      okko-ord- variable rather than a literal repeated down the file.
 *   3. **The theme styles our elements too.** okko-base.css already resets
 *      button, input and select under .okko. This file only overrides where the
 *      order page's look genuinely differs from the staff screens: square
 *      corners instead of rounded, 16px inputs instead of 14px, larger touch
 *      targets. Someone ordering lunch on a phone at a truck window is not the
 *      same user as a manager at a desk.
 *
 * The one prototype rule that must not be lost is `input[type=checkbox]
 * { width:auto }`. BUILD.md 4.6 calls it out by name: without it the "I accept"
 * checkbox renders full-width. okko-base.css carries it, and the override below
 * restates the sizing rather than the width so the base rule keeps working.
 *
 * No build step. Plain CSS, hand-extracted.
 */

.okko-ord {
	/* Palette additions the staff screens have no use for. */
	--okko-ord-accent: #b5372f;
	--okko-ord-ink: #22221f;
	--okko-ord-line: #e4e2dc;
	--okko-ord-line-2: #c9c6ba;
	--okko-ord-panel: #f2f0ea;
	--okko-ord-in-bg: #dcebc6;
	--okko-ord-in-line: #c6daab;
	--okko-ord-in-border: #a9c184;
	--okko-ord-added: #4f8b18;
	--okko-ord-rm-bd: #f0c1c1;
	--okko-ord-rm-hover: #f8dcdc;

	background: #fff;
	color: var(--okko-text);
	font-size: 16px;
	line-height: 1.5;
}

/* ---------- shell ---------- */

.okko-ord .okko-ord-wrap {
	max-width: 760px;
	margin: 0 auto;
	/* The bottom padding clears the fixed cart bar. */
	padding: 18px 16px 150px;
}

.okko-ord .okko-ord-h1 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 2px;
	padding: 0;
	line-height: 1.3;
	color: var(--okko-text);
}

.okko-ord .okko-ord-h2 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px;
	padding: 0;
}

.okko-ord .okko-ord-sub {
	font-size: 13px;
	color: var(--okko-text-3);
	margin: 0 0 16px;
}

.okko-ord .okko-ord-small {
	font-size: 13px;
}

.okko-ord .okko-ord-row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.okko-ord .okko-ord-grow {
	flex: 1;
	min-width: 0;
}

/* ---------- controls ---------- */

/*
 * Square corners and a bigger hit area than the staff screens. The order page is
 * used one-handed, outdoors, by someone who has not seen it before.
 */
.okko-ord button {
	font-size: 15px;
	padding: 11px 18px;
	border-radius: 0;
	border-color: var(--okko-ord-line-2);
}

.okko-ord button.okko-ord-primary {
	background: var(--okko-ord-ink);
	color: #fff;
	border-color: var(--okko-ord-ink);
	font-weight: 600;
}

.okko-ord button.okko-ord-primary:hover {
	opacity: 0.9;
	background: var(--okko-ord-ink);
	color: #fff;
}

.okko-ord button.okko-ord-wide {
	width: 100%;
}

.okko-ord button.okko-ord-ghost {
	border: 0;
	background: none;
	color: var(--okko-ord-accent);
	padding: 4px 2px;
	font-size: 14px;
	text-decoration: underline;
}

.okko-ord button.okko-ord-ghost:hover {
	background: none;
	opacity: 0.8;
}

/*
 * 16px, not 14. Anything smaller makes iOS Safari zoom the whole page on focus,
 * which on a funnel means the customer loses their place mid-form.
 */
.okko-ord input,
.okko-ord select {
	font-size: 16px;
	padding: 11px 12px;
	border-radius: 0;
	border-color: var(--okko-ord-line-2);
}

/*
 * BUILD.md 4.6. Without the sizing here the "I accept" checkbox inherits the
 * width:100% above and renders as a full-width bar.
 */
.okko-ord input[type="checkbox"],
.okko-ord input[type="radio"] {
	width: 19px;
	height: 19px;
	flex: none;
	padding: 0;
	margin: 0;
}

.okko-ord label.okko-ord-f {
	display: block;
	font-size: 13px;
	color: var(--okko-text-2);
	margin-bottom: 5px;
	font-weight: 400;
}

.okko-ord label.okko-ord-cb {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	cursor: pointer;
	color: var(--okko-text);
	margin: 0;
}

.okko-ord label.okko-ord-cb.okko-ord-ctr {
	justify-content: center;
}

/* ---------- steps ---------- */

.okko-ord .okko-ord-step {
	background: #fff;
	border-bottom: 1px solid var(--okko-ord-line);
	margin: 0;
	padding-bottom: 4px;
}

/* A step the funnel has not reached yet: visible, so the shape of the whole
   process is legible from the first screen, but plainly not interactive. */
.okko-ord .okko-ord-step.okko-ord-locked {
	opacity: 0.45;
}

.okko-ord .okko-ord-sh {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 16px 0;
}

.okko-ord .okko-ord-sn {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: var(--okko-ord-panel);
	color: var(--okko-text-2);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.okko-ord .okko-ord-sn.okko-ord-done {
	background: var(--okko-green-bg);
	color: var(--okko-green-tx);
}

.okko-ord .okko-ord-sh b {
	font-size: 15px;
	font-weight: 700;
}

.okko-ord .okko-ord-sb {
	padding: 0 0 18px;
}

/* ---------- pick cards and chips ---------- */

.okko-ord .okko-ord-pick {
	border: 1px solid var(--okko-ord-line);
	border-radius: 0;
	padding: 14px 16px;
	/* Negative margin collapses the shared border between stacked cards. */
	margin-bottom: -1px;
	cursor: pointer;
	background: #fff;
	width: 100%;
	text-align: left;
	display: block;
	font: inherit;
	color: inherit;
}

.okko-ord .okko-ord-pick:hover {
	background: var(--okko-ord-panel);
}

.okko-ord .okko-ord-pick b {
	font-weight: 700;
}

.okko-ord .okko-ord-chipwrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.okko-ord button.okko-ord-chip {
	border: 1px solid var(--okko-ord-line-2);
	border-radius: 0;
	padding: 10px 14px;
	background: #fff;
	font-size: 15px;
}

.okko-ord button.okko-ord-chip.okko-ord-on {
	background: var(--okko-ord-ink);
	color: #fff;
	border-color: var(--okko-ord-ink);
	font-weight: 600;
}

/*
 * A full slot. Struck through as well as faded, so the reason is legible without
 * relying on the colour — BUILD.md 4.4 wants the reason visible.
 */
.okko-ord button.okko-ord-chip:disabled,
.okko-ord button.okko-ord-chip:disabled:hover {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
	background: #fff;
}

/* ---------- notes ---------- */

.okko-ord .okko-ord-note {
	font-size: 13.5px;
	padding: 11px 13px;
	border-radius: 0;
	margin-top: 10px;
	background: var(--okko-ord-panel);
	color: var(--okko-text-2);
}

.okko-ord .okko-ord-note.okko-ord-err {
	background: var(--okko-red-bg);
	color: var(--okko-red-tx);
}

.okko-ord .okko-ord-note.okko-ord-warn {
	background: var(--okko-amber-bg);
	color: var(--okko-amber-tx);
}

.okko-ord .okko-ord-note.okko-ord-ok {
	background: var(--okko-green-bg);
	color: var(--okko-green-tx);
}

.okko-ord .okko-ord-hint {
	font-size: 13px;
	color: var(--okko-text-3);
	margin: 10px 0 0;
}

/* ---------- terms ---------- */

.okko-ord .okko-ord-terms {
	background: var(--okko-ord-panel);
	border-radius: 0;
	padding: 13px 15px;
	margin: 16px 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--okko-text-2);
	max-height: 190px;
	overflow: auto;
}

.okko-ord .okko-ord-terms p {
	margin: 0 0 9px;
}

.okko-ord .okko-ord-terms p:last-child {
	margin: 0;
}

.okko-ord .okko-ord-terms b {
	color: var(--okko-text);
}

.okko-ord .okko-ord-tos {
	font-size: 14px;
	line-height: 1.65;
	color: var(--okko-text-2);
}

.okko-ord .okko-ord-tos p {
	margin: 0 0 14px;
}

.okko-ord .okko-ord-tos p:last-child {
	margin: 0;
}

.okko-ord .okko-ord-tos b {
	color: var(--okko-text);
}

/* ---------- the menu ---------- */

.okko-ord .okko-ord-cats {
	display: flex;
	gap: 6px;
	overflow: auto;
	padding: 10px 0;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 6;
	border-bottom: 1px solid var(--okko-ord-line);
}

.okko-ord .okko-ord-cats button {
	padding: 8px 14px;
	font-size: 14px;
	white-space: nowrap;
	border-radius: 20px;
}

.okko-ord .okko-ord-cats button.okko-ord-on {
	background: var(--okko-ord-ink);
	color: #fff;
	border-color: var(--okko-ord-ink);
	font-weight: 600;
}

.okko-ord .okko-ord-cathd {
	font-size: 22px;
	font-weight: 800;
	margin: 34px 0 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--okko-ord-ink);
	letter-spacing: -0.01em;
}

.okko-ord .okko-ord-mi {
	background: #fff;
	border-bottom: 1px solid var(--okko-ord-line);
	padding: 22px 0;
	margin: 0;
}

.okko-ord .okko-ord-ph {
	width: 100%;
	aspect-ratio: 1;
	background: var(--okko-ord-panel);
	border-radius: 0;
	margin-bottom: 14px;
	display: block;
	object-fit: cover;
}

.okko-ord .okko-ord-mi h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 3px;
	padding: 0;
}

.okko-ord .okko-ord-mi .okko-ord-d {
	font-size: 14px;
	color: var(--okko-text-2);
	margin: 4px 0 0;
}

.okko-ord .okko-ord-tag {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--okko-green-tx);
	background: var(--okko-green-bg);
	padding: 2px 8px;
	border-radius: 20px;
	margin-right: 5px;
}

/* ---------- item rows, all three shapes ---------- */

.okko-ord .okko-ord-vrow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid var(--okko-ord-line);
}

.okko-ord .okko-ord-vrow:first-of-type {
	margin-top: 11px;
}

.okko-ord .okko-ord-vn {
	font-weight: 600;
	flex: 1;
	min-width: 0;
}

.okko-ord .okko-ord-vn.okko-ord-chose {
	font-weight: 500;
	color: var(--okko-text-2);
}

.okko-ord .okko-ord-vp {
	font-weight: 700;
	white-space: nowrap;
}

/*
 * The added state. A green wash on the row, and in this flat layout it sits
 * inside the column rather than bleeding to a card edge — the card layouts did
 * the latter and are not what shipped.
 */
.okko-ord .okko-ord-vrow.okko-ord-in {
	background: var(--okko-ord-in-bg);
	margin: 0;
	padding-left: 12px;
	padding-right: 12px;
}

.okko-ord .okko-ord-vrow.okko-ord-in + .okko-ord-vrow.okko-ord-in {
	border-top-color: var(--okko-ord-in-line);
}

.okko-ord .okko-ord-vrow.okko-ord-in button {
	border-color: var(--okko-ord-in-border);
}

.okko-ord .okko-ord-vrow.okko-ord-in button.okko-ord-rm {
	background: #fff;
	border-color: #e3a9a9;
}

.okko-ord .okko-ord-vrow.okko-ord-in button.okko-ord-rm:hover {
	background: var(--okko-red-bg);
}

.okko-ord .okko-ord-added {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: var(--okko-ord-added);
	padding: 6px 12px;
	border-radius: 20px;
	white-space: nowrap;
}

.okko-ord button.okko-ord-rm {
	width: 32px;
	height: 32px;
	padding: 0;
	flex: none;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	background: var(--okko-red-bg);
	border-color: var(--okko-ord-rm-bd);
	color: var(--okko-red-tx);
}

.okko-ord button.okko-ord-rm:hover {
	background: var(--okko-ord-rm-hover);
	color: var(--okko-red-tx);
}

/* ---------- wide screens: square image left, everything else right ---------- */

@media (min-width: 660px) {

	.okko-ord .okko-ord-wrap {
		max-width: 1040px;
	}

	.okko-ord .okko-ord-mi {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 28px;
		align-items: start;
		padding: 26px 0;
	}

	/* An item with no photo gets the full width rather than an empty half. */
	.okko-ord .okko-ord-mi.okko-ord-noimg {
		display: block;
	}

	.okko-ord .okko-ord-ph {
		margin: 0;
	}

	.okko-ord .okko-ord-body {
		min-width: 0;
	}
}

/* ---------- the fixed cart bar ---------- */

/*
 * Black, taller, with a count badge, so it cannot be mistaken for the
 * site footer. Turns green with "Added: dish" for ~2s after each add
 * (order.js flashBar). Slides in when it first appears; bounces on later adds.
 */
.okko-ord .okko-ord-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 16px env(safe-area-inset-bottom, 0);
	background: var(--okko-ord-ink);
	color: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.22);
	font: inherit;
	font-size: 17px;
	text-align: left;
	cursor: pointer;
	z-index: 20;
	transition: background-color 0.25s ease;
}

.okko-ord .okko-ord-bar:hover,
.okko-ord .okko-ord-bar:focus {
	background: var(--okko-ord-ink);
	color: #fff;
	filter: brightness(1.08);
}

.okko-ord .okko-ord-bar.okko-ord-bar-flash,
.okko-ord .okko-ord-bar.okko-ord-bar-flash:hover,
.okko-ord .okko-ord-bar.okko-ord-bar-flash:focus {
	background: var(--okko-ord-added);
}

.okko-ord .okko-ord-bar-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 760px;
	min-height: 72px;
	margin: 0 auto;
}

.okko-ord .okko-ord-bar-badge {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 38px;
	height: 38px;
	padding: 0 9px;
	border-radius: 19px;
	background: #fff;
	color: var(--okko-ord-ink);
	font-weight: 800;
	font-size: 18px;
	line-height: 1;
}

.okko-ord .okko-ord-bar-flash .okko-ord-bar-badge {
	color: var(--okko-ord-added);
}

.okko-ord .okko-ord-bar-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.okko-ord .okko-ord-bar-main b {
	font-weight: 700;
	font-size: 17px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.okko-ord .okko-ord-bar-sub {
	font-size: 14px;
	opacity: 0.92;
}

.okko-ord .okko-ord-bar-total {
	flex: none;
	font-weight: 800;
	font-size: 19px;
}

.okko-ord .okko-ord-bar-enter {
	animation: okko-ord-bar-in 0.4s ease-out;
}

.okko-ord .okko-ord-bar-kick {
	animation: okko-ord-bar-bounce 0.4s ease-out;
}

.okko-ord .okko-ord-bar-enter .okko-ord-bar-badge,
.okko-ord .okko-ord-bar-kick .okko-ord-bar-badge {
	animation: okko-ord-bar-pop 0.4s ease-out;
}

@keyframes okko-ord-bar-in {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

@keyframes okko-ord-bar-bounce {
	0% { transform: translateY(0); }
	40% { transform: translateY(-6px); }
	100% { transform: translateY(0); }
}

@keyframes okko-ord-bar-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.okko-ord .okko-ord-bar,
	.okko-ord .okko-ord-bar-badge {
		animation: none !important;
		transition: none;
	}
}

/* ---------- the sheet: configuring, cart and terms modal ---------- */

.okko-ord .okko-ord-sheet {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	align-items: flex-end;
	justify-content: center;
	z-index: 40;
	overflow: auto;
}

.okko-ord .okko-ord-sheet.okko-ord-on {
	display: flex;
}

.okko-ord .okko-ord-card {
	background: #fff;
	width: 100%;
	max-width: 560px;
	/* Rounded only at the top: on a phone this rises from the bottom edge. */
	border-radius: 16px 16px 0 0;
	max-height: 94vh;
	overflow: auto;
	color: var(--okko-text);
}

@media (min-width: 600px) {

	.okko-ord .okko-ord-sheet {
		align-items: center;
	}

	.okko-ord .okko-ord-card {
		border-radius: 16px;
	}
}

.okko-ord .okko-ord-hd {
	padding: 14px 16px;
	border-bottom: 1px solid var(--okko-ord-line);
	display: flex;
	align-items: center;
	gap: 10px;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 2;
}

.okko-ord .okko-ord-hd b {
	flex: 1;
	font-size: 17px;
	font-weight: 700;
}

.okko-ord .okko-ord-bd {
	padding: 16px;
}

.okko-ord .okko-ord-ft {
	padding: 14px 16px;
	border-top: 1px solid var(--okko-ord-line);
	position: sticky;
	bottom: 0;
	background: #fff;
}

.okko-ord .okko-ord-hero {
	width: 100%;
	aspect-ratio: 1.6;
	background: var(--okko-ord-panel);
	border-radius: 12px;
	margin-bottom: 14px;
	display: block;
	object-fit: cover;
}

/* ---------- option groups inside the sheet ---------- */

.okko-ord .okko-ord-og {
	margin-top: 18px;
}

.okko-ord .okko-ord-oh {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
}

.okko-ord .okko-ord-oh b {
	font-size: 15px;
	font-weight: 700;
}

.okko-ord .okko-ord-oh span {
	font-size: 12px;
	color: var(--okko-text-3);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.okko-ord label.okko-ord-opt {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 2px;
	border-bottom: 1px solid var(--okko-ord-line);
	cursor: pointer;
	font-size: 15px;
	margin: 0;
	font-weight: 400;
}

.okko-ord label.okko-ord-opt:last-child {
	border-bottom: 0;
}

/* A choice refused because the group is at its max. Still legible, still
   priced — it is a limit, not a secret. */
.okko-ord label.okko-ord-opt.okko-ord-maxed {
	opacity: 0.45;
	cursor: not-allowed;
}

.okko-ord .okko-ord-dd {
	margin-left: auto;
	color: var(--okko-text-2);
	font-size: 14px;
}

/* The picked combo item's own options, indented under its part. */
.okko-ord .okko-ord-sub {
	margin: 2px 0 10px 14px;
	padding-left: 12px;
	border-left: 3px solid var(--okko-ord-line-2);
}

.okko-ord .okko-ord-sub .okko-ord-og {
	margin-top: 6px;
}

/* ---------- cart lines and totals ---------- */

.okko-ord .okko-ord-line {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 13px 0;
	border-bottom: 1px solid var(--okko-ord-line);
}

.okko-ord .okko-ord-line:last-child {
	border-bottom: 0;
}

.okko-ord .okko-ord-line .okko-ord-n {
	font-weight: 600;
}

.okko-ord .okko-ord-line .okko-ord-o {
	font-size: 13.5px;
	color: var(--okko-text-2);
}

.okko-ord .okko-ord-line .okko-ord-p {
	margin-left: auto;
	font-weight: 700;
	white-space: nowrap;
}

/*
 * A cart line the server refused — sold out, or belonging to a slot that has
 * passed. Faded and reasoned-against, but still listed and still removable: the
 * customer is told which line and why, next to the line, rather than finding out
 * at the Pay button. BUILD.md 4.12.
 */
.okko-ord .okko-ord-line.okko-ord-gone .okko-ord-n {
	text-decoration: line-through;
	color: var(--okko-text-3);
}

.okko-ord .okko-ord-line.okko-ord-gone .okko-ord-p {
	color: var(--okko-text-3);
}

.okko-ord .okko-ord-red {
	color: var(--okko-red-tx);
}

.okko-ord .okko-ord-tot {
	display: flex;
	padding: 5px 0;
	font-size: 15px;
}

.okko-ord .okko-ord-tot span:last-child {
	margin-left: auto;
}

.okko-ord .okko-ord-tot.okko-ord-big {
	font-size: 19px;
	font-weight: 700;
	border-top: 1px solid var(--okko-ord-line-2);
	margin-top: 8px;
	padding-top: 11px;
}

.okko-ord .okko-ord-pp {
	border: 1px solid var(--okko-ord-line-2);
	border-radius: 0;
	padding: 14px;
	text-align: center;
	background: var(--okko-ord-panel);
	color: var(--okko-text-2);
	font-size: 14px;
}

/* ---------- closed, and the confirmation ---------- */

.okko-ord .okko-ord-mid {
	padding: 26px 16px;
	text-align: center;
}

.okko-ord .okko-ord-tick {
	font-size: 34px;
	line-height: 1;
}

.okko-ord .okko-ord-num {
	font-size: 21px;
	font-weight: 700;
	margin: 2px 0 14px;
}

.okko-ord .okko-ord-recap {
	text-align: left;
	margin-top: 20px;
	border-top: 1px solid var(--okko-ord-line);
	padding-top: 14px;
}

/* A request in flight. Deliberately subtle: the five-minute revalidation runs
   without being asked for, and must not look like a page reload. */
.okko-ord .okko-ord-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* ---------- the payment step. Phase 5b ---------- */

/*
 * The Payment Element renders inside a Stripe-hosted iframe, so nothing in here
 * styles the card fields themselves — that is done by the `appearance` object in
 * order.js, which is the only route into the frame. What these rules style is
 * the room the frame sits in.
 */

.okko-ord .okko-ord-paytot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 12px 0;
	margin: 4px 0 18px;
	border-top: 1px solid var(--okko-border);
	border-bottom: 1px solid var(--okko-border);
	font-weight: 600;
}

.okko-ord .okko-ord-payel {
	/*
	 * A reserved minimum, so the page does not jump when the iframe finishes
	 * loading and the form appears. Stripe's own height varies with the methods
	 * the account has enabled, so this is a floor rather than a fixed box.
	 */
	min-height: 240px;
	margin-bottom: 16px;
}

.okko-ord button.okko-ord-pay {
	display: block;
	width: 100%;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
	border: 0;
	border-radius: var(--okko-radius);
	background: var(--okko-text);
	color: #fff;
	cursor: pointer;
}

.okko-ord button.okko-ord-pay:hover {
	background: var(--okko-text);
	filter: brightness(1.15);
}

.okko-ord button.okko-ord-pay:disabled,
.okko-ord button.okko-ord-pay:disabled:hover {
	background: var(--okko-border-strong);
	color: var(--okko-surface);
	cursor: not-allowed;
	filter: none;
}

.okko-ord .okko-ord-small {
	font-size: 12.5px;
	margin: 10px 0 0;
	text-align: center;
}

/*
 * The way out of the payment step. Deliberately quiet — muted rather than the
 * accent a ghost button normally carries, so it reads as the secondary action
 * beside Pay now rather than an equal choice.
 */
.okko-ord button.okko-ord-cancel {
	margin-top: 14px;
	color: var(--okko-text-3);
	font-size: 13px;
}

.okko-ord button.okko-ord-cancel:disabled,
.okko-ord button.okko-ord-cancel:disabled:hover {
	opacity: 0.45;
	cursor: not-allowed;
	text-decoration: none;
}
