/* Dolvero Edge - checkout.
   Built from the shared components in v2-ui.css wherever one exists, so this
   page inherits the design system rather than restating it. What is here is
   only the layout and the three things the system has no component for: the
   method choice, the summary lines and the total. */

.ck{max-width:1040px;margin:0 auto;padding:26px 20px 64px}
.ck__back{display:inline-flex;align-items:center;gap:7px;margin-bottom:18px;
  font-size:12.5px;font-weight:600;color:var(--muted);text-decoration:none}
.ck__back:hover{color:var(--text)}
.ck__h{margin:0 0 22px;font-size:clamp(22px,3.4vw,30px);font-weight:750;letter-spacing:-.02em;color:var(--text)}

/* The summary is the thing being confirmed, so on a wide screen it sits beside
   the choice rather than under it - a customer should never scroll away from
   the total to pick how they pay. */
.ck__grid{display:grid;gap:20px;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);align-items:start}
@media (max-width:900px){.ck__grid{grid-template-columns:minmax(0,1fr)}}
.ck__col{display:flex;flex-direction:column;gap:18px;min-width:0}
@media (min-width:901px){.ck__side{position:sticky;top:18px}}

.ck__prod{padding:18px}
.ck__prodhead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.ck__eyebrow{margin:0 0 3px;font-size:10.5px;font-weight:800;letter-spacing:.09em;
  text-transform:uppercase;color:var(--accent)}
.ck__prodname{margin:0;font-size:17px;font-weight:730;letter-spacing:-.01em;color:var(--text);text-wrap:balance}

.ck__rules{display:grid;gap:1px;margin:0;padding:0;background:var(--line);
  border:1px solid var(--line);border-radius:10px;overflow:hidden}
.ck__rule{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:9px 12px;background:var(--panel2)}
.ck__rule dt{margin:0;font-size:12px;color:var(--muted)}
.ck__rule dd{margin:0;font-size:12.5px;font-weight:700;color:var(--text)}

.ck__sub{margin:0;font-size:12.5px;font-weight:700;letter-spacing:.01em;color:var(--text)}
.ck__methods{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ck__m{display:flex;align-items:center;gap:12px;padding:14px;text-align:left;cursor:pointer;
  background:var(--panel2);border:1.5px solid var(--line2);border-radius:12px;color:var(--text);
  transition:border-color .18s ease,background .18s ease}
.ck__m:hover{border-color:var(--faint)}
.ck__m.is-on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--panel2))}
.ck__mico{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;
  background:var(--w2);color:var(--accent)}
.ck__mico svg{width:19px;height:19px}
.ck__mtext{display:flex;flex-direction:column;gap:2px;min-width:0}
.ck__mtext b{font-size:13.5px;font-weight:700}
.ck__mtext em{font-style:normal;font-size:11px;color:var(--muted)}

.ck__sum{padding:18px}
.ck__sumh{margin:0 0 14px;font-size:12.5px;font-weight:700;color:var(--text)}
.ck__line{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  padding:8px 0;font-size:13px;color:var(--text);border-bottom:1px solid var(--hairline)}
.ck__line--add{color:var(--muted);font-size:12.5px}
.ck__fx{display:block;margin-top:2px;font-style:normal;font-size:10.5px;line-height:1.45;
  color:var(--faint);text-wrap:pretty}
/* A negative line is a REDUCTION, and it should not read like a charge. */
.ck__less{color:var(--buy)}
.ck__total{display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  margin-top:12px;padding-top:12px;border-top:1px solid var(--line2);font-size:13px;color:var(--muted)}
.ck__total b{font-size:22px;font-weight:780;letter-spacing:-.02em;color:var(--text)}
.ck__go{width:100%;margin-top:16px;justify-content:center}
.ck__go.is-busy{opacity:.62;pointer-events:none}
.ck__note{margin:12px 0 0;font-size:10.5px;line-height:1.5;color:var(--faint);text-wrap:pretty}

/* Figures line up column-wise without a monospace font anywhere near them. */
.tnum{font-variant-numeric:tabular-nums}

/* ---------- promo code ----------
   Collapsed to a link until asked for. A permanently open, empty discount box
   tells every customer without a code that someone else is paying less, which
   is a reason to leave the page and go looking for one. */
.ck__promo{margin-top:14px;padding-top:12px;border-top:1px solid var(--hairline)}
.ck__promotoggle{padding:0;background:none;border:0;cursor:pointer;
  font-size:11.5px;font-weight:600;color:var(--muted);text-decoration:underline;
  text-underline-offset:3px}
.ck__promotoggle:hover{color:var(--text)}
.ck__promotoggle[hidden]{display:none}
.ck__promorow{display:flex;gap:8px;align-items:center}
.ck__promorow[hidden]{display:none}
.ck__promoin{flex:1;min-width:0;text-transform:uppercase}
.ck__promomsg{margin:7px 0 0;font-size:11px;line-height:1.45;color:var(--faint);text-wrap:pretty}
.ck__promomsg.is-ok{color:var(--buy)}
.ck__promomsg.is-bad{color:var(--sell)}
.ck__line--disc[hidden]{display:none}

/* The design system has no visually-hidden helper, and a promo field needs a
   label that is announced without being drawn. */
.ui-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
