/* ---- Checkout -----------------------------------------------------------
   Layered on courses.css (nav, footer, page base). Form fields and pills
   match the admissions form. */
[hidden] { display: none !important; }
.co-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; font-size: .875rem; color: rgba(20,20,15,.45); }
.co-steps li { display: flex; align-items: center; gap: .5rem; }
.co-steps span { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: rgba(20,20,15,.08); font-size: .8rem; font-weight: 600; }
.co-steps .is-on, .co-steps .is-done { color: #14140F; font-weight: 500; }
.co-steps .is-on span { background: #F5A521; color: #14140F; }
.co-steps .is-done span { background: #14140F; color: #FFF8EA; }
.co-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .co-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; } .co-summary { position: sticky; top: 100px; } }
.co-card { border-radius: 21px; background: #fff; border: 1px solid rgba(20,20,15,.08); padding: 1.75rem 1.25rem; }
@media (min-width: 640px) { .co-card { padding: 2rem; } }
.co-h { font-family: 'Sora', system-ui, sans-serif; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.co-label { display: block; margin-bottom: .6rem; font-size: .875rem; color: #55554B; }
.co-item { display: flex; gap: 1rem; align-items: center; }
.co-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; background: #FFE3A3; }
.co-lines { display: grid; gap: .7rem; border-top: 1px solid rgba(20,20,15,.08); padding-top: 1.1rem; font-size: .92rem; }
.co-lines div { display: flex; justify-content: space-between; gap: 1rem; }
.co-lines dt { color: #55554B; }
.co-lines dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.co-total { border-top: 1px dashed rgba(20,20,15,.15); padding-top: .8rem; font-size: 1.1rem; }
.co-total dt { color: #14140F; font-weight: 600; }
.co-total dd { font-family: 'Sora', system-ui, sans-serif; font-weight: 700; }
.co-agree { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #55554B; cursor: pointer; }
.co-agree input { margin-top: .25rem; width: 1rem; height: 1rem; accent-color: #F5A521; }
.co-agree a { color: #14140F; text-decoration: underline; text-decoration-color: #F5A521; text-underline-offset: 3px; }
.co-go { display: inline-flex; justify-content: center; align-items: center; cursor: pointer; border-radius: 999px; background: #14140F; color: #FFF8EA; padding: .9rem 1.6rem; font-size: .98rem; font-weight: 500; text-decoration: none; transition: transform .15s ease; }
.co-go:hover { transform: translateY(-2px); }
.co-go:disabled { opacity: .6; cursor: wait; transform: none; }
.co-ghost { display: inline-flex; align-items: center; cursor: pointer; border-radius: 999px; padding: .9rem 1.4rem; font-size: .95rem; color: #14140F; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(20,20,15,.2); }
.co-tick { margin: 0 auto; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 999px; background: #F5A521; color: #14140F; }
@media print { #nav, footer, #toTop, section:first-of-type { display: none !important; } .co-card { border: 0; } }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill input { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill span { display: block; cursor: pointer; border-radius: 999px; background: #F2EEE3; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 300; color: #55554B; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.pill:hover span { background: #E9E3D3; }
.pill input:checked + span { background: linear-gradient(135deg, #FFC24D 0%, #F5A521 62%, #E8931A 100%); color: #14140F; box-shadow: 0 6px 20px rgba(232,147,26,0.38); }
.pill input:focus-visible + span { outline: 2px solid #14140F; outline-offset: 3px; }
.field { width: 100%; border-radius: 1rem; background: #FDFCF7; padding: 0.8rem 1rem; font-size: 0.92rem; font-weight: 300; color: #14140F; box-shadow: inset 0 0 0 1px rgba(20,20,15,0.12); outline: none; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.field:focus { background: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(20,20,15,0.35), 0 4px 16px rgba(20,20,15,0.1); }
.field.is-bad { box-shadow: inset 0 0 0 2px #C2410C; }
[data-error-for] { display: none; margin-top: .375rem; }
[data-error-for].is-shown { display: block; }
.pill.is-locked span { cursor: default; }
