/* GENERATED by tools/build_pages.py from checkout-test/checkout.css: edit that file and run the build, never this copy. */
/* Hidden test checkout. Builds on ../styles.css (site colours, Inter, .btn). */
.co { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; }
.co-back { display: inline-block; margin-bottom: 14px; color: var(--green); font-weight: 600; text-decoration: none; }
.co-brand { margin: 0 0 14px; color: var(--green-deep); }
.co h1 { font-size: 1.9rem; margin: 6px 0 18px; }
.co-banner { background: #fdf3da; border: 1px solid var(--gold-light); color: #5b4512; border-radius: var(--radius); padding: 10px 14px; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.co-banner.live { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.co-card h2 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.co-step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--green-deep); color: var(--cream); font-size: .85rem; }

.co-packs { list-style: none; }
.co-pack { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.co-pack:last-child { border-bottom: 0; }
.co-pack img { width: 56px; height: 56px; object-fit: cover; object-position: center 30%; border-radius: var(--radius); background: var(--green-deep); flex-shrink: 0; }
.co-pack-info { flex: 1; min-width: 0; }
.co-pack-name { font-weight: 600; font-size: .98rem; }
.co-pack-meta { font-size: .8rem; color: var(--ink-soft); margin-top: 2px; }
.co-qty { display: inline-flex; align-items: center; gap: 8px; }
.co-qty button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink); }
.co-qty button:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.co-qty button:disabled { opacity: .35; cursor: default; }
.co-qty output { min-width: 22px; text-align: center; font-weight: 600; }

.co-field { margin-bottom: 12px; flex: 1; min-width: 0; }
.co-field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; }
.co-field input, .co-field select, .co-field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
}
.co-field textarea { resize: vertical; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.co-field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.co-err { color: #b3261e; font-size: .8rem; margin-top: 4px; min-height: 0; }
.co-err:empty { display: none; }
.co-row { display: flex; gap: 12px; }
@media (max-width: 600px) { .co-row { flex-direction: column; gap: 0; } }

.co-sum .r { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .95rem; }
.co-sum .r.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 1.1rem; font-weight: 700; }
.co-sum .free { color: var(--green); font-weight: 600; }
.co-sum .gst { color: var(--ink-soft); font-size: .84rem; padding: 2px 0 4px; }
.co-pack-meta a { color: var(--green); white-space: nowrap; }
.co-linknote { margin: 0 0 8px; padding: 8px 10px; border-radius: var(--radius); background: #fdf3da; border: 1px solid var(--gold-light); color: #5b4512; }

/* Delivery, returns and seller block before the Pay button; the same seller block in the footer. */
.co-terms { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--bg); font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.co-terms h3 { font-size: .86rem; color: var(--ink); margin: 10px 0 2px; }
.co-terms h3:first-child { margin-top: 0; }
.co-terms p, .co-foot p { margin: 2px 0; overflow-wrap: anywhere; }
.co-terms a, .co-foot a { color: var(--green); }
.co-seller-name { font-weight: 600; color: var(--ink); }
.co-addr { list-style: none; margin: 2px 0; padding: 0; }
.co-addr li { margin: 2px 0; overflow-wrap: anywhere; }
.co-addr-label { font-weight: 600; color: var(--ink); }
.co-foot { padding-top: 0; padding-bottom: 40px; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; border-top: 1px solid var(--line); }
.co-foot h2 { font-size: .95rem; color: var(--ink); margin: 18px 0 6px; }
.co-sum .muted { color: var(--ink-faint); }
.co-note { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.co-note a { color: var(--green); }
.co-pay { margin-top: 16px; font-size: 1.02rem; padding: 14px 18px; }
.co-pay:disabled { opacity: .5; cursor: not-allowed; }

.co-status { margin-top: 16px; border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; line-height: 1.5; border: 1px solid var(--line); background: var(--bg); }
.co-status h3 { font-size: 1.05rem; margin-bottom: 4px; }
.co-status.ok { border-color: var(--green); background: var(--green-soft); }
.co-status.bad { border-color: #e2a39d; background: #fff4f2; }
.co-status .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.co-status .actions .btn { padding: 10px 14px; font-size: .9rem; }
.co-status code { font-weight: 700; font-family: inherit; letter-spacing: .02em; }
