/* ============================================================
   checkout.css  — basket + all checkout steps
   Requires: landing.css (loaded first via base_landing.html)
   Contains: ck-* classes — basket, steps, forms, order summary
   ============================================================ */

/* ══════════════════════════════════════════
   PAGE HEADER (shared across all steps)
   ══════════════════════════════════════════ */
.ck-pageHeader {
  position: relative;
  margin-top: var(--topbar-h);
  background: var(--parchment-pure);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.ck-pageHeader::after {
  content: ''; position: absolute; bottom: -1px; left: var(--page-header-rule-inset); right: var(--page-header-rule-inset);
  height: 1px; background: linear-gradient(to right, var(--gold), transparent 60%); opacity: 0.45;
}
.ck-pageHeader__inner {
  max-width: var(--shell-max-width); margin: 0 auto; padding: 24px var(--shell-gutter-x);
  display: flex; align-items: center; justify-content: space-between; gap: var(--page-header-gap);
}
.ck-pageHeader__left { display: flex; flex-direction: column; }
.ck-pageHeader__eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 0.60rem;
  text-transform: uppercase; letter-spacing: 0.20em; color: var(--gold); margin-bottom: 6px;
}
.ck-pageHeader__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 300;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.01em;
}
.ck-pageHeader__title em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.ck-pageHeader__watermark {
  position: absolute; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 700;
  color: rgba(88,18,37,0.03); right: var(--shell-gutter-x); top: 50%; transform: translateY(-50%);
  white-space: nowrap; pointer-events: none; letter-spacing: -0.02em; user-select: none;
}

/* ══════════════════════════════════════════
   CHECKOUT PROGRESS STEPS
   ══════════════════════════════════════════ */
.ck-steps {
  background: var(--parchment-pure);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 48px;
}
.ck-steps__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
  height: 48px;
}
.ck-step {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-faint); white-space: nowrap;
  text-decoration: none;
  padding: 0 4px;
  position: relative;
}
.ck-step--active { color: var(--burgundy); }
.ck-step--done { color: var(--muted); }
.ck-step--done:hover { color: var(--burgundy); }
.ck-step__num {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.60rem; flex-shrink: 0;
  transition: all var(--t-mid) var(--ease-smooth);
}
.ck-step--active .ck-step__num { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.ck-step--done .ck-step__num { background: var(--parchment); }
.ck-step__sep {
  flex: 1; height: 1px;
  background: var(--border-soft);
  margin: 0 12px; min-width: 24px;
}

/* ══════════════════════════════════════════
   MAIN LAYOUT — sidebar + content
   ══════════════════════════════════════════ */
.ck-layout {
  max-width: 1280px; margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.ck-layout--wide { grid-template-columns: 1fr; max-width: 880px; }

/* ══════════════════════════════════════════
   SECTION CARD — wraps each form block
   ══════════════════════════════════════════ */
.ck-card {
  background: var(--parchment-pure);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  box-shadow: 0 2px 8px rgba(19,16,12,0.03), 0 8px 28px rgba(19,16,12,0.04);
}
.ck-card + .ck-card { margin-top: 20px; }
.ck-card__title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 400; color: var(--ink); margin-bottom: 6px;
}
.ck-card__sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
  color: var(--muted-light); margin-bottom: 24px; line-height: 1.5;
}
.ck-card__divider {
  height: 1px; background: var(--border-soft); margin: 24px 0; position: relative;
}
.ck-card__divider::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0.18;
}

/* ══════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════ */
.ck-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ck-form__row--full { grid-template-columns: 1fr; }
.ck-form__row--thirds { grid-template-columns: 1fr 1fr 1fr; }
.ck-form__group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.ck-form__label {
  font-family: 'DM Sans', sans-serif; font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-faint);
}
.ck-form__label span { color: var(--burgundy); margin-left: 2px; }
.ck-form__input,
.ck-form__select,
.ck-form__textarea {
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  color: var(--ink-soft); background: var(--parchment);
  border: 1px solid var(--border-gold);
  padding: 11px 14px; border-radius: var(--radius-sm);
  outline: none; transition: border-color var(--t-mid), box-shadow var(--t-mid);
  width: 100%;
}
.ck-form__input:focus,
.ck-form__select:focus,
.ck-form__textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(88,18,37,0.08);
}
.ck-form__input.error,
.ck-form__select.error { border-color: #c0392b; }
.ck-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23a89880'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 32px; cursor: pointer;
}
.ck-form__textarea { resize: vertical; min-height: 80px; }
.ck-form__error {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  color: #c0392b; margin-top: 4px;
}
.ck-form__help {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  color: var(--muted-light); margin-top: 4px; line-height: 1.4;
}

/* Non-field errors banner */
.ck-form__nonfield {
  background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 0.80rem; color: #b91c1c;
  margin-bottom: 20px; line-height: 1.5;
}

/* ══════════════════════════════════════════
   RADIO / OPTION CARDS (shipping methods)
   ══════════════════════════════════════════ */
.ck-option-list { display: flex; flex-direction: column; gap: 10px; }
.ck-option {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border-gold); border-radius: var(--radius-sm);
  padding: 14px 18px; cursor: pointer;
  transition: all var(--t-mid) var(--ease-smooth);
  background: var(--parchment);
}
.ck-option:hover { border-color: var(--border); background: var(--burgundy-mist); }
.ck-option--selected { border-color: var(--burgundy); background: var(--burgundy-pale); }
.ck-option input[type="radio"] { accent-color: var(--burgundy); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.ck-option__body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ck-option__name { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; }
.ck-option__desc { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: var(--muted-light); margin-top: 2px; }
.ck-option__price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--ink); font-weight: 400; white-space: nowrap; }

/* ══════════════════════════════════════════
   ADDRESS CHOOSER (saved addresses)
   ══════════════════════════════════════════ */
.ck-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.ck-address-card {
  border: 1px solid var(--border-gold); border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer; background: var(--parchment);
  transition: all var(--t-mid) var(--ease-smooth); position: relative;
}
.ck-address-card:hover { border-color: var(--border); background: var(--burgundy-mist); }
.ck-address-card--selected { border-color: var(--burgundy); background: var(--burgundy-pale); }
.ck-address-card input[type="radio"] { position: absolute; top: 12px; right: 12px; accent-color: var(--burgundy); }
.ck-address-card__name { font-family: 'DM Sans', sans-serif; font-size: 0.80rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.ck-address-card__lines { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: var(--muted); line-height: 1.55; }

/* ══════════════════════════════════════════
   ORDER SUMMARY SIDEBAR
   ══════════════════════════════════════════ */
.ck-summary {
  background: var(--parchment-pure);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(19,16,12,0.03), 0 8px 28px rgba(19,16,12,0.04);
  position: sticky; top: calc(var(--topbar-h) + 20px);
}
.ck-summary__head {
  padding: 20px 24px 14px; border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.ck-summary__head::after {
  content: ''; position: absolute; bottom: -1px; left: 24px; right: 24px;
  height: 1px; background: linear-gradient(to right, var(--gold), transparent 60%); opacity: 0.35;
}
.ck-summary__title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 400; color: var(--ink);
}
.ck-summary__items { padding: 14px 24px; display: flex; flex-direction: column; gap: 14px; }
.ck-summary__item { display: flex; align-items: flex-start; gap: 12px; }
.ck-summary__item-img {
  width: 52px; height: 64px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(160deg, #1c0d12, #350f1e);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ck-summary__item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.28)); }
.ck-summary__item-body { flex: 1; min-width: 0; }
.ck-summary__item-name {
  font-family: 'Cormorant Garamond', serif; font-size: 0.95rem;
  font-weight: 400; color: var(--ink); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ck-summary__item-upc { font-family: 'DM Sans', sans-serif; font-size: 0.60rem; color: var(--muted-faint); letter-spacing: 0.06em; margin-top: 2px; }
.ck-summary__item-price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
  color: var(--ink); white-space: nowrap; flex-shrink: 0; margin-top: 1px;
}

.ck-summary__totals {
  padding: 14px 24px; border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 8px;
}
.ck-summary__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--muted);
}
.ck-summary__row--total {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem;
  color: var(--ink); margin-top: 4px; font-weight: 400;
}
.ck-summary__row--total span:last-child { font-weight: 300; }
.ck-summary__divider { height: 1px; background: var(--border-soft); margin: 4px 0; }

/* Reservation timer inside summary */
.ck-summary__timer {
  padding: 12px 24px; border-top: 1px solid var(--border-soft);
  background: var(--gold-faint);
}
.ck-timer {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: var(--muted);
}
.ck-timer__icon { font-size: 0.85rem; flex-shrink: 0; }
.ck-timer__text { flex: 1; line-height: 1.4; }
.ck-timer__countdown {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums;
}
.ck-timer--warning .ck-timer__countdown { color: #c0392b; }
.ck-timer--warning { background: #fef9f0; }

/* ══════════════════════════════════════════
   BASKET PAGE
   ══════════════════════════════════════════ */
.ck-basket { padding: 40px 48px 80px; max-width: 1280px; margin: 0 auto; }

/* Expiry banner */
.ck-expiry-banner {
  display: flex; align-items: center; gap: 12px;
  background: #fff8ed; border: 1px solid rgba(192,57,43,0.25);
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 24px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: #92400e; line-height: 1.5;
  animation: ckSlideDown 0.35s var(--ease-smooth) both;
}
@keyframes ckSlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.ck-expiry-banner__icon { font-size: 1.1rem; flex-shrink: 0; }
.ck-expiry-banner__dismiss {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: currentColor; opacity: 0.5; font-size: 1rem; padding: 0 4px;
  transition: opacity var(--t-fast);
}
.ck-expiry-banner__dismiss:hover { opacity: 1; }

.ck-basket__layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start;
}

/* Basket items table */
.ck-basket-table { width: 100%; border-collapse: collapse; }
.ck-basket-table th {
  font-family: 'DM Sans', sans-serif; font-size: 0.60rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-faint);
  padding: 0 16px 12px; border-bottom: 1px solid var(--border-soft);
  text-align: left; font-weight: 400;
}
.ck-basket-table th:last-child { text-align: right; }
.ck-basket-row { border-bottom: 1px solid var(--border-soft); }
.ck-basket-row:last-child { border-bottom: none; }
.ck-basket-row td { padding: 20px 16px; vertical-align: middle; }
.ck-basket__product { display: flex; align-items: center; gap: 16px; }
.ck-basket__img {
  width: 56px; height: 70px; flex-shrink: 0;
  background: linear-gradient(160deg, #1c0d12, #350f1e);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ck-basket__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.30)); }
.ck-basket__name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 400; color: var(--ink); line-height: 1.25; }
.ck-basket__upc { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; color: var(--muted-faint); letter-spacing: 0.05em; margin-top: 3px; }
.ck-basket__price-cell { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.ck-basket__qty-cell { text-align: center; }
.ck-basket__qty {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--muted);
  background: var(--parchment); border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill); padding: 4px 14px; display: inline-block;
}
.ck-basket__subtotal { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--ink); text-align: right; white-space: nowrap; }
.ck-basket__remove {
  background: none; border: none; cursor: pointer; color: var(--muted-faint);
  font-size: 0.85rem; padding: 4px 8px; border-radius: 50%;
  transition: all var(--t-mid) var(--ease-smooth); display: flex; align-items: center;
}
.ck-basket__remove:hover { color: var(--burgundy); background: var(--burgundy-mist); }

/* Empty basket */
.ck-basket-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px; text-align: center;
}
.ck-basket-empty__icon { font-size: 3rem; opacity: 0.15; margin-bottom: 20px; }
.ck-basket-empty__title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--muted-light); font-style: italic; margin-bottom: 12px; }
.ck-basket-empty__sub { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--muted-faint); margin-bottom: 28px; }

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.ck-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--ui-btn-min-h);
  padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x);
  font-family: 'DM Sans', sans-serif; font-size: var(--ui-btn-font-size); letter-spacing: var(--ui-btn-letter-spacing);
  border-radius: var(--radius-pill); cursor: pointer; text-decoration: none;
  text-transform: uppercase;
  border: none; transition: all var(--t-mid) var(--ease-smooth);
  white-space: nowrap;
}
.ck-btn--primary {
  background: var(--burgundy); color: #fff;
  box-shadow: var(--ui-btn-shadow);
}
.ck-btn--primary:hover { background: var(--burgundy-mid); transform: translateY(-2px); box-shadow: var(--ui-btn-shadow-hover); }
.ck-btn--primary:disabled { background: var(--muted-faint); cursor: not-allowed; transform: none; box-shadow: none; }
.ck-btn--ghost {
  background: var(--ui-btn-secondary-bg); color: var(--ui-btn-secondary-color);
  border: 1px solid var(--ui-btn-secondary-border);
}
.ck-btn--ghost:hover { color: var(--ui-btn-secondary-hover-color); border-color: var(--ui-btn-secondary-hover-border); background: var(--ui-btn-secondary-hover-bg); }
.ck-btn--full { width: 100%; }
.ck-btn__arrow { transition: transform var(--t-mid) var(--ease-smooth); }
.ck-btn:hover .ck-btn__arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════
   MESSAGES / ALERTS
   ══════════════════════════════════════════ */
.ck-messages { padding: 20px 48px 0; max-width: 1280px; margin: 0 auto; }
.ck-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; line-height: 1.5;
  animation: ckSlideDown 0.3s var(--ease-smooth) both;
}
.ck-alert--error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.ck-alert--success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.ck-alert--warning { background: #fff8ed; border: 1px solid #fcd34d; color: #92400e; }
.ck-alert--info { background: var(--gold-faint); border: 1px solid var(--border-gold); color: var(--muted); }

/* ══════════════════════════════════════════
   SHARED CHECKOUT UTILITIES
   ══════════════════════════════════════════ */
.ck-messages--spaced { padding-top: 20px; }
.ck-card--flush { padding: 0; overflow: hidden; }
.ck-section-top { margin-top: 20px; }
.ck-section-top-lg { margin-top: 24px; }
.ck-action-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.ck-action-row--spaced { margin-top: 24px; }
.ck-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--muted-faint);
  line-height: 1.6;
}
.ck-note--center {
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}
.ck-note--muted-link {
  font-size: 0.72rem;
  color: var(--muted-light);
  text-decoration: none;
}
.ck-note--muted-link:hover { color: var(--burgundy); }
.ck-center { text-align: center; }
.ck-free { color: var(--gold); }
.ck-inline-hidden { display: none; }
.ck-btn--min-wide { min-width: 200px; }

/* Basket table cleanup */
.ck-basket-table__head-start { padding-left: 24px; }
.ck-basket-table__head-center { text-align: center; }
.ck-basket-table__head-end { text-align: right; padding-right: 24px; }
.ck-basket-table__cell-start { padding-left: 24px; }
.ck-basket-table__cell-subtotal { padding-right: 8px; }
.ck-basket-table__cell-end { padding-right: 16px; }
.ck-basket__product-link { color: inherit; text-decoration: none; }
.ck-summary__footer { padding: 16px 24px 20px; }

/* Form helpers */
.ck-form__prompt { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: var(--muted-faint); }
.ck-form__checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.ck-form__checkbox {
  accent-color: var(--burgundy);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ck-form__checkbox-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
}

/* Review and thank-you blocks */
.ck-review__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.ck-review__shipping-free { color: var(--gold); font-size: 0.82rem; }
.ck-thankyou__spacer { margin-top: var(--topbar-h, 72px); }
.ck-thankyou__section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.ck-thankyou__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.60rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-faint);
  margin-bottom: 8px;
}
.ck-thankyou__address {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.ck-thankyou__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.ck-thankyou__line-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--ink);
}
.ck-thankyou__line-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  color: var(--muted-faint);
}
.ck-thankyou__line-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.ck-thankyou__totals {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ck-thankyou__total-row {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}
.ck-thankyou__total-row--grand {
  margin-top: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--ink);
}

/* ══════════════════════════════════════════
   THANK YOU PAGE
   ══════════════════════════════════════════ */
.ck-thankyou {
  max-width: 780px; margin: 0 auto; padding: 64px 48px 100px;
  text-align: center;
}
.ck-thankyou__mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 1.6rem;
  box-shadow: 0 8px 32px rgba(88,18,37,0.28);
  animation: ckPop 0.6s var(--ease-spring) both;
}
@keyframes ckPop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.ck-thankyou__eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 14px;
  animation: ckFadeUp 0.6s var(--ease-smooth) 0.2s both;
}
.ck-thankyou__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px;
  animation: ckFadeUp 0.6s var(--ease-smooth) 0.3s both;
}
.ck-thankyou__title em { font-style: italic; color: var(--burgundy); }
.ck-thankyou__sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.90rem;
  color: var(--muted); line-height: 1.7; max-width: 480px; margin: 0 auto 40px;
  animation: ckFadeUp 0.6s var(--ease-smooth) 0.4s both;
}
.ck-thankyou__order-card {
  background: var(--cream); border: 1px solid var(--border-gold);
  border-radius: var(--radius-card); padding: 28px 36px; margin-bottom: 36px; text-align: left;
  animation: ckFadeUp 0.6s var(--ease-smooth) 0.5s both;
}
.ck-thankyou__order-num {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
  color: var(--ink); letter-spacing: 0.02em; margin-bottom: 6px;
}
.ck-thankyou__order-num span { color: var(--burgundy); font-style: italic; }
.ck-thankyou__order-meta { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: var(--muted-faint); }
.ck-thankyou__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: ckFadeUp 0.6s var(--ease-smooth) 0.6s both;
}
@keyframes ckFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════
   GATEWAY (login / guest)
   ══════════════════════════════════════════ */
.ck-gateway {
  max-width: 920px; margin: 0 auto;
  padding: 40px 48px 80px;
}
.ck-gateway__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ck-gateway__or {
  display: flex; align-items: center; gap: 12px; margin: 20px 0;
  font-family: 'DM Sans', sans-serif; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-faint);
}
.ck-gateway__or--tight { margin: 20px 0 12px; }
.ck-gateway__or::before, .ck-gateway__or::after {
  content: ''; flex: 1; height: 1px; background: var(--border-soft);
}

/* ══════════════════════════════════════════
   PREVIEW / CONFIRM ORDER
   ══════════════════════════════════════════ */
.ck-review__line {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
}
.ck-review__line:last-child { border-bottom: none; }
.ck-review__line-img {
  width: 48px; height: 60px; flex-shrink: 0;
  background: linear-gradient(160deg, #1c0d12, #350f1e);
  border-radius: 6px; overflow: hidden; display: flex; align-items: center;
}
.ck-review__line-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.28)); }
.ck-review__line-body { flex: 1; min-width: 0; }
.ck-review__line-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--ink); }
.ck-review__line-detail { font-family: 'DM Sans', sans-serif; font-size: 0.68rem; color: var(--muted-faint); margin-top: 3px; }
.ck-review__line-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }

/* Address + shipping review blocks */
.ck-review__block {
  background: var(--parchment); border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm); padding: 16px 20px;
}
.ck-review__block-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.60rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-faint); margin-bottom: 8px;
}
.ck-review__block-val {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  color: var(--ink-soft); line-height: 1.6;
}
.ck-review__block-edit {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  color: var(--muted-light); text-decoration: none; margin-top: 6px; display: inline-block;
  transition: color var(--t-mid);
}
.ck-review__block-edit:hover { color: var(--burgundy); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ck-pageHeader__inner, .ck-steps, .ck-layout, .ck-basket,
  .ck-messages, .ck-gateway { padding-left: 24px; padding-right: 24px; }
  .ck-steps__inner { padding: 0; }
}
@media (max-width: 900px) {
  .ck-layout { grid-template-columns: 1fr; }
  .ck-basket__layout { grid-template-columns: 1fr; }
  .ck-summary { position: static; }
  .ck-gateway__grid { grid-template-columns: 1fr; }
  .ck-address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ck-pageHeader__watermark { display: none; }
  .ck-form__row, .ck-form__row--thirds { grid-template-columns: 1fr; }
  .ck-basket-table thead { display: none; }
  .ck-basket-row td { display: block; padding: 8px 12px; }
  .ck-basket-row td:first-child { padding-top: 16px; }
  .ck-basket-row td:last-child { padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-card, .ck-btn, .ck-option, .ck-address-card { transition: none !important; animation: none !important; }
  .ck-thankyou__mark, .ck-thankyou__eyebrow, .ck-thankyou__title,
  .ck-thankyou__sub, .ck-thankyou__order-card, .ck-thankyou__actions { animation: none !important; opacity: 1; transform: none; }
}
