/* The shop's own checkout form inside the buy panel of the shop page (assets/checkout.js).
   Colours, fonts and buttons come from style.css. */
.co{display:grid;gap:13px}
.co-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.co-top b{font:700 15px/1.3 var(--sans);color:var(--white)}
.co-back{flex:none;padding:6px 0 6px 10px;border:0;background:none;cursor:pointer;font:600 13px/1 var(--sans);color:var(--muted)}
.co-back:hover{color:var(--white)}
.co-l{display:block;margin-bottom:7px;font:600 13px/1.2 var(--sans);color:#dfe3ea}
.co-inp{display:block;width:100%;height:46px;padding:0 14px;border-radius:var(--r2);border:1px solid var(--line2);background:var(--bg);color:var(--white);
  font:500 15px/1.2 var(--sans);outline:0;transition:border-color .15s, box-shadow .15s}
.co-inp::placeholder{color:var(--dim)}
.co-inp:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.18)}
.co-inp:-webkit-autofill{-webkit-text-fill-color:var(--white);box-shadow:0 0 0 60px var(--bg) inset;caret-color:var(--white)}
.co-as{font-size:14px;line-height:1.5;color:var(--text)}
.co-as b{font-weight:600;color:var(--white);word-break:break-all}
.co-tick{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;color:var(--text);cursor:pointer}
.co-tick input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent);cursor:pointer}
.co-tick a{color:var(--accent)}
.co-tick a:hover{text-decoration:underline}
.co-msg{padding:10px 13px;border-radius:var(--r2);font-size:14px;line-height:1.5;color:#ffd9d9;background:rgba(255,92,92,.1);border:1px solid rgba(255,92,92,.36)}
.co-msg.info{color:#dfe3ea;background:rgba(var(--accent-rgb),.07);border-color:rgba(var(--accent-rgb),.28)}
.co-msg b{font-weight:600;color:var(--white);word-break:break-all}
.co-pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.co-pick button{height:34px;padding:0 13px;border:0;border-radius:999px;background:rgba(255,255,255,.1);cursor:pointer;font:600 13px/1 var(--sans);color:var(--white)}
.co-pick button:hover{background:rgba(255,255,255,.16)}
.co .btn{width:100%;height:46px}
.co-foot{font-size:13px;line-height:1.5;color:var(--muted)}
/* a key the panel sells but cannot hand out right now: the button stays, greyed, with the reason under it */
.p-pay .btn[disabled], .co .btn[disabled]{opacity:.5;cursor:default;filter:none}
.p-out{font-size:13px;line-height:1.45;color:var(--muted)}
/* phones: while the form is open the buy bar at the bottom steps aside, and the field is 16px so iPhones do not zoom in on it */
.co-open .mbar{display:none}
@media (max-width:640px){
  .co-inp{font-size:16px}
}
/* while the form is open the panel drops what is not needed for paying (the description and the small boxes under the
   button), so on most screens it still fits without scrolling */
.co-open .buy .p-desc, .co-open .buy .p-chips{display:none}
/* a window that is not tall enough for the pinned buy panel with the form in it (laptops): the panel scrolls inside itself,
   so the pay button can always be reached. The class is set by checkout.js only when it is needed. */
.co-tall .panel{max-height:calc(100vh - var(--hdr) - 34px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line2) transparent}
