.ck-shell { padding: 24px 0 72px; }
.ck-heading { margin: 25px 0 40px; }
.ck-heading .eyebrow { color: var(--muted); }
.ck-heading h1 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.ck-heading > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.ck-heading h1:focus { outline: none; }
.ck-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); align-items: start; gap: clamp(32px, 7vw, 112px); }
.ck-layout > * { min-width: 0; }
.ck-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.ck-section-heading h2, .ck-summary h2, .ck-confirm-destination h2 { font-size: 23px; line-height: 1.25; font-weight: 400; letter-spacing: -.02em; margin: 0; }
.ck-section-heading h2 small { font-size: 14px; color: var(--muted); }
.ck-inline-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.ck-help, .ck-pay-note { margin: 16px 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.ck-items { border-top: 1px solid var(--line); }
.ck-item { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ck-item-image { display: grid; place-items: center; width: 110px; height: 110px; padding: 9px; background: var(--surface); }
.ck-item img { width: 100%; height: 100%; object-fit: contain; }
.ck-item-copy .kicker { margin: 0 0 6px; font-size: 10px; }
.ck-item-name { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.ck-item-name:hover { text-decoration: underline; }
.ck-item-copy > p:not(.kicker) { margin: 8px 0 12px; font-size: 12px; color: var(--muted); }
.ck-quantity { font-size: 11px; color: var(--muted); }
.ck-remove { margin: -8px 0 -8px 14px; min-height: 40px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
.ck-item-price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.ck-summary { position: sticky; top: 24px; padding-top: 20px; border-top: 1px solid var(--ink); }
.ck-summary-route { font-size: 12px; color: var(--muted); margin: 10px 0 24px; }
.ck-costs { margin: 0; }
.ck-cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 9px 0; font-size: 13px; }
.ck-cost-row dt { color: var(--muted); }
.ck-cost-row dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ck-grand-total { border-top: 1px solid var(--ink); margin-top: 16px; padding: 20px 0 12px; align-items: center; }
.ck-grand-total dt { color: var(--ink); font-size: 15px; }
.ck-grand-total dd { font-size: 28px; letter-spacing: -.025em; }
.ck-included { margin: 0 0 22px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.ck-full-button { display: flex; width: 100%; justify-content: center; text-align: center; }
.ck-assumptions { margin-top: 25px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.65; color: var(--muted); }
.ck-assumptions summary { cursor: pointer; min-height: 40px; display: list-item; padding: 9px 0; color: var(--ink); font-size: 12px; }
.ck-assumptions a { display: block; margin-top: 9px; text-decoration: underline; text-underline-offset: 3px; }
.ck-steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); }
.ck-steps button { border: 0; padding: 8px 0; min-height: 40px; background: transparent; font: inherit; color: inherit; }
.ck-steps button[disabled] { cursor: default; opacity: .6; }
.ck-steps [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.ck-steps > span[aria-hidden] { color: #aaa; }
.ck-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.ck-label { display: block; min-width: 0; font-size: 13px; font-weight: 500; line-height: 1.5; }
.ck-label small { font-weight: 400; color: var(--muted); font-size: 11px; }
.ck-label input, .ck-label select { width: 100%; min-width: 0; border: 1px solid #c9c9c6; border-radius: 0; background: #fff; color: var(--ink); min-height: 48px; margin-top: 8px; padding: 11px 12px; font-size: 15px; line-height: 1.5; font-weight: 400; }
.ck-label input[readonly] { background: var(--surface); color: var(--muted); }
.ck-wide { grid-column: 1 / -1; }
.ck-packing { margin-top: 24px; max-width: 400px; }
.ck-error { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: #9b2424; font-weight: 400; }
.ck-error[hidden] { display: none; }
.ck-label [aria-invalid] { border-color: #9b2424; }
.ck-address-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.ck-address-card { padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.ck-address-card address { font-style: normal; line-height: 1.8; font-size: 14px; overflow-wrap: anywhere; }
.ck-address-card > p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.ck-payment { border: 0; padding: 28px 0 0; margin: 0; }
.ck-payment legend { float: left; width: 100%; font-size: 23px; letter-spacing: -.02em; margin-bottom: 20px; }
.ck-payment-option { display: flex; align-items: center; gap: 14px; clear: both; border: 1px solid var(--line); padding: 17px; margin-bottom: 10px; cursor: pointer; }
.ck-payment-option:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.ck-payment-option input { accent-color: #171717; width: 17px; height: 17px; flex-shrink: 0; }
.ck-payment-option b { display: block; font-size: 14px; font-weight: 500; }
.ck-payment-option small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.ck-demo-note { padding: 20px; background: var(--surface); margin: 20px 0; }
.ck-demo-note b { font-weight: 500; font-size: 13px; }
.ck-demo-note p { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 8px 0 0; }
.ck-pay-note { text-align: center; font-size: 11px; }
.ck-items-compact { margin-bottom: 22px; }
.ck-items-compact .ck-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; }
.ck-items-compact .ck-item-image { width: 62px; height: 68px; padding: 5px; }
.ck-items-compact .ck-item-name { font-size: 13px; }
.ck-items-compact .ck-item-copy > p:not(.kicker) { font-size: 10px; margin: 5px 0; }
.ck-items-compact .ck-item-price { font-size: 12px; }
.ck-items-compact .ck-quantity { font-size: 10px; }
.ck-empty { max-width: 560px; padding: 40px 0 80px; }
.ck-empty > span { font-size: 36px; }
.ck-empty h2 { font-size: 30px; font-weight: 400; letter-spacing: -.025em; line-height: 1.2; margin: 18px 0 12px; }
.ck-empty p { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.ck-complete { max-width: 720px; margin: 0 0 44px; }
.ck-complete-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); font-size: 22px; margin: 0 0 22px; }
.ck-complete h2 { font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; margin: 0 0 12px; }
.ck-complete > p:not(.ck-complete-mark) { color: var(--muted); font-size: 14px; }
.ck-demo-reference { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.ck-confirm-destination { margin: 28px 0; }
.ck-confirm-destination h2 { font-size: 19px; }
.ck-confirm-destination p { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .ck-layout { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); } .ck-item { grid-template-columns: 80px minmax(0,1fr); gap: 14px; } .ck-item-image { width: 80px; height: 90px; } .ck-item-price { grid-column: 2; margin-top: -8px; } .ck-items-compact .ck-item-price { grid-column: auto; margin: 0; } }
@media (max-width: 700px) {
  .ck-shell { padding: 12px 0 48px; }
  .ck-heading { margin: 20px 0 30px; }
  .ck-heading h1 { font-size: 34px; }
  .ck-heading > p:last-child { font-size: 12px; }
  .ck-layout { grid-template-columns: 1fr; gap: 32px; }
  .ck-summary { position: static; }
  .ck-section-heading { gap: 12px; }
  .ck-section-heading h2, .ck-summary h2 { font-size: 22px; }
  .ck-item { grid-template-columns: 78px minmax(0,1fr); gap: 14px; padding: 20px 0; }
  .ck-item-image { width: 78px; height: 90px; }
  .ck-item-name { font-size: 17px; }
  .ck-item-price { grid-column: 2; margin-top: -10px; }
  .ck-items-compact .ck-item { grid-template-columns: 60px minmax(0,1fr) auto; }
  .ck-items-compact .ck-item-price { grid-column: auto; margin-top: 0; }
  .ck-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .ck-wide { grid-column: auto; }
  .ck-label input, .ck-label select { font-size: 16px; }
  .ck-address-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .ck-address-actions > .btn-dark { justify-content: center; }
  .ck-address-actions .ck-inline-button { justify-content: center; }
  .ck-packing { max-width: none; }
  .ck-grand-total dd { font-size: 27px; }
  .ck-steps { gap: 7px; font-size: 10px; }
  .ck-empty { padding: 20px 0 60px; }
  .ck-complete h2 { font-size: 27px; }
}

.ck-payment-total { display: none; }
.ck-payment-action .ck-full-button { gap: 4px; }
@media (max-width: 700px), (max-height: 500px) and (max-width: 1000px) and (pointer: coarse) {
  html:has(.ck-payment-action) { scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  body:has(.ck-payment-action) { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .ck-summary { position: static; }
  .ck-payment-action {
    position: fixed;
    z-index: 20;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
    align-items: center;
    gap: 8px 16px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .ck-payment-total { display: grid; gap: 2px; margin: 0; min-width: 0; }
  .ck-payment-total span { font-size: 11px; line-height: 16px; color: var(--muted); }
  .ck-payment-total strong { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ck-payment-action .ck-full-button { width: auto; min-height: 48px; padding: 12px 16px; font-size: 13px; white-space: nowrap; }
  .ck-payment-action .ck-pay-amount { display: none; }
  .ck-payment-action .ck-pay-note { grid-column: 1 / -1; margin: 0; font-size: 10px; line-height: 15px; }
}
