/* Checkout / notify-me page. Builds on /shop/shop.css tokens and components. */
.co-body { background: var(--cream); }
.co-hdr { background: var(--paper); border-bottom: 1px solid var(--line); }
.co-hdr__inner { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.co-secure { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.co { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 6vw, 72px); align-items: start; }
.co__main h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 1rem 0 .8rem; }
.co__lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; }
.co-form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid var(--sand-deep); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(168,90,64,.18); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field__err { color: #B42318; font-size: .8rem; margin-top: 6px; }
.co-form__err { text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terracotta); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-form .btn[disabled] { opacity: .6; cursor: progress; }
#co-done-view .btn { margin-top: 24px; }
#co-done-view:focus { outline: none; }
.co__summary { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 24px; }
.co__summary h2 { font-size: 1.4rem; margin-bottom: 8px; }
.co-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.co-items img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.co-items small { display: block; color: var(--ink-soft); font-size: .74rem; }
.co-items .qty { position: relative; }
.co-items .qty b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 50%; background: var(--olive); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.co-items__empty { display: block !important; color: var(--ink-soft); padding: 18px 0 !important; text-align: center; }
.co-items__empty a { color: var(--terracotta); font-weight: 700; }
.co-totals { padding-top: 12px; font-size: .9rem; }
.co-totals > div { display: flex; justify-content: space-between; padding: 3px 0; }
.co-totals strong { font-size: 1.1rem; }
.co-save span:last-child { color: var(--olive); font-weight: 700; }
.co__summary .link { margin-top: 12px; }
.co-ftr { padding-block: 24px 40px; font-size: .75rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; text-align: center; }
@media (max-width: 820px) { .co { grid-template-columns: 1fr; } .co__summary { position: static; order: -1; } }
