:root {
  --checkout-bg: #fbf6ef;
  --checkout-surface: rgba(255, 253, 250, 0.92);
  --checkout-surface-strong: #fffdfa;
  --checkout-line: #eadbc9;
  --checkout-line-soft: #f1e7da;
  --checkout-text: #2b2018;
  --checkout-muted: #7d6a5c;
  --checkout-accent: #9e6844;
  --checkout-accent-dark: #7e4e2f;
  --checkout-accent-soft: #f6eadc;
  --checkout-shadow: 0 24px 60px rgba(91, 65, 48, 0.12);
  --checkout-radius-xl: 28px;
  --checkout-radius-lg: 22px;
  --checkout-radius-md: 16px;
}

* {
  box-sizing: border-box;
}

.checkout-stage-body {
  min-height: 100vh;
  margin: 0;
  color: var(--checkout-text);
  background:
    radial-gradient(circle at top left, rgba(255, 225, 196, 0.55), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 243, 225, 0.72), transparent 30%),
    linear-gradient(180deg, #fffaf5 0%, var(--checkout-bg) 100%);
  font-family: "Kanit", sans-serif;
}

.checkout-stage-page {
  min-height: 100vh;
  padding: 28px 0 44px;
}

.checkout-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(234, 219, 201, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(252, 246, 238, 0.9)),
    radial-gradient(circle at top right, rgba(246, 234, 220, 0.45), transparent 35%);
  box-shadow: var(--checkout-shadow);
}

.checkout-shell-head,
.checkout-shell-topbar,
.checkout-section-head,
.checkout-summary-row,
.checkout-choice-card,
.checkout-order-card {
  display: flex;
}

.checkout-shell-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.checkout-shell-copy {
  display: grid;
  gap: 8px;
}

.checkout-breadcrumb {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 0.88rem;
}

.checkout-shell h1,
.checkout-shell h2 {
  margin: 0;
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  line-height: 1.02;
}

.checkout-shell h1 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}

.checkout-shell h2 {
  font-size: 1.8rem;
}

.checkout-intro {
  max-width: 720px;
  margin: 0;
  color: var(--checkout-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.checkout-shell-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.checkout-chip-link,
.checkout-close-link,
.checkout-account-link,
.checkout-primary-button,
.checkout-muted-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.checkout-chip-link,
.checkout-close-link,
.checkout-account-link {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--checkout-line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--checkout-accent-dark);
  font-weight: 600;
}

.checkout-close-link {
  min-width: 52px;
}

.checkout-shell-topbar {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
  margin-bottom: 22px;
  border-top: 1px solid var(--checkout-line-soft);
  border-bottom: 1px solid var(--checkout-line-soft);
}

.checkout-auth-note {
  color: var(--checkout-muted);
  font-size: 0.94rem;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.checkout-progress-step {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--checkout-line);
  background: rgba(255, 253, 249, 0.7);
}

.checkout-progress-step span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f2e3d4;
  color: var(--checkout-accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.checkout-progress-step strong {
  font-size: 0.95rem;
}

.checkout-progress-step.is-active {
  background: linear-gradient(180deg, rgba(250, 233, 216, 0.9), rgba(255, 252, 247, 0.9));
  border-color: rgba(158, 104, 68, 0.28);
}

.checkout-progress-step.is-active span {
  background: linear-gradient(180deg, #b87449, #9e6844);
  color: #fff;
}

.checkout-page-message {
  min-height: 1.5em;
  margin: 0 0 18px;
  color: #b42318;
  font-size: 0.95rem;
}

.checkout-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.86fr);
  gap: 24px;
  align-items: start;
}

.checkout-dashboard-payment {
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.88fr);
}

.checkout-primary-panel,
.checkout-form-stack,
.checkout-summary-panel {
  display: grid;
  gap: 18px;
}

.checkout-primary-panel,
.checkout-detail-card,
.checkout-summary-card,
.cart-surface {
  border: 1px solid rgba(226, 211, 194, 0.92);
  border-radius: var(--checkout-radius-xl);
  background: var(--checkout-surface);
  box-shadow: 0 18px 42px rgba(114, 83, 60, 0.08);
}

.checkout-primary-panel,
.checkout-detail-card,
.checkout-summary-card,
.cart-surface {
  padding: 24px;
}

.checkout-form-surface {
  padding: 24px;
}

.checkout-section-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-section-head.is-compact {
  margin-bottom: 16px;
}

.checkout-section-kicker {
  margin: 0 0 6px;
  color: var(--checkout-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-counter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--checkout-accent-soft);
  color: var(--checkout-accent-dark);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  vertical-align: middle;
}

.cart-table-head,
.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) 110px 128px 110px 24px;
  gap: 16px;
  align-items: center;
}

.cart-table-head {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--checkout-line-soft);
  color: var(--checkout-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-items {
  display: grid;
}

.cart-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--checkout-line-soft);
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.cart-product-image {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(236, 224, 212, 0.9);
}

.cart-product-meta h4 {
  margin: 0;
  color: var(--checkout-text);
  font-size: 1.15rem;
  line-height: 1.3;
}

.cart-product-meta p {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.cart-item-price,
.cart-item-total {
  font-size: 1.08rem;
  font-weight: 700;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid var(--checkout-line);
  border-radius: 999px;
  background: var(--checkout-surface-strong);
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f3e8dc;
  color: var(--checkout-accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.cart-qty span {
  min-width: 14px;
  text-align: center;
  font-weight: 700;
}

.cart-delete {
  border: 0;
  background: transparent;
  color: #8f7b6c;
  font-size: 1rem;
  cursor: pointer;
  justify-self: end;
}

.checkout-inline-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.checkout-secondary-link {
  color: var(--checkout-accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.checkout-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.checkout-benefit-card,
.checkout-note-card {
  padding: 18px;
  border: 1px solid var(--checkout-line);
  border-radius: var(--checkout-radius-md);
  background: rgba(255, 253, 249, 0.86);
}

.checkout-benefit-card strong,
.checkout-benefit-card span,
.checkout-note-card strong,
.checkout-note-card span {
  display: block;
}

.checkout-benefit-card strong,
.checkout-note-card strong {
  margin-bottom: 6px;
  color: var(--checkout-accent-dark);
}

.checkout-benefit-card span,
.checkout-note-card span {
  color: var(--checkout-muted);
  line-height: 1.65;
}

.checkout-summary-card {
  position: sticky;
  top: 18px;
}

.checkout-summary-box {
  display: grid;
  gap: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--checkout-line-soft);
  border-bottom: 1px solid var(--checkout-line-soft);
}

.checkout-summary-row {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.checkout-summary-row span {
  color: var(--checkout-muted);
}

.checkout-summary-row strong {
  color: var(--checkout-text);
  font-size: 1.05rem;
}

.checkout-summary-row.is-total {
  margin-top: 6px;
  padding-top: 16px;
}

.checkout-summary-row.is-total span,
.checkout-summary-row.is-total strong {
  color: var(--checkout-accent-dark);
  font-weight: 700;
}

.checkout-summary-row.is-total strong {
  font-size: 1.42rem;
}

.checkout-voucher-block {
  display: grid;
  gap: 10px;
  margin: 18px 0 18px;
}

.checkout-member-coupons {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(226, 211, 194, 0.96);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(246, 229, 208, 0.5), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(252, 246, 239, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.checkout-member-coupons-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
}

.checkout-member-coupons-list {
  display: grid;
  gap: 10px;
}

.checkout-member-coupons-empty {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px dashed rgba(226, 211, 194, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.checkout-member-coupons-empty strong {
  color: var(--checkout-accent-dark);
  font-family: "Mitr", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
}

.checkout-member-coupons-empty p {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 1.65;
}

.checkout-member-coupon-card {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(226, 211, 194, 0.96);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(253, 247, 240, 0.94));
  box-shadow:
    0 10px 18px rgba(158, 104, 68, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.checkout-member-coupon-card.is-applied {
  border-color: rgba(177, 112, 72, 0.28);
  background: rgba(255, 249, 241, 0.98);
}

.checkout-member-coupon-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.checkout-member-coupon-copy {
  display: grid;
  gap: 2px;
}

.checkout-member-coupon-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 23px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(244, 230, 214, 0.9);
  color: var(--checkout-accent-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-member-coupon-top strong {
  display: block;
  color: var(--checkout-accent-dark);
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.checkout-member-coupon-top span {
  color: var(--checkout-muted);
  font-size: 0.82rem;
}

.checkout-member-coupon-value {
  color: var(--checkout-accent-dark) !important;
  font-size: 0.94rem !important;
  font-weight: 700;
}

.checkout-member-coupon-min {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(243, 232, 220, 0.9);
  color: var(--checkout-accent-dark) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-member-coupon-card p {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-member-coupon-card button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(177, 112, 72, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #b17048 0%, #9e6844 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  justify-self: start;
  box-shadow: 0 8px 14px rgba(158, 104, 68, 0.14);
}

.checkout-member-coupon-card.is-applied button {
  background: #f2e4d5;
  color: var(--checkout-accent-dark);
  border-color: rgba(177, 112, 72, 0.14);
  box-shadow: none;
}

.checkout-field-label {
  display: inline-flex;
  align-items: center;
  color: var(--checkout-accent-dark);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.checkout-voucher-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.checkout-voucher-row input,
.checkout-voucher-row button,
.checkout-field input,
.checkout-field textarea,
.checkout-slip-input {
  border-radius: 14px;
  font: inherit;
}

.checkout-voucher-row input,
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--checkout-line);
  background: var(--checkout-surface-strong);
  color: var(--checkout-text);
  outline: none;
}

.checkout-voucher-row button {
  min-width: 82px;
  border: 0;
  background: linear-gradient(180deg, #b17048 0%, #9e6844 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.checkout-summary-actions {
  display: grid;
  gap: 10px;
}

.checkout-primary-button,
.checkout-muted-button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-primary-button {
  border: 0;
  background: linear-gradient(180deg, #b17048 0%, #9e6844 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(158, 104, 68, 0.2);
}

.checkout-submit-button {
  cursor: pointer;
}

.checkout-muted-button {
  border: 1px solid var(--checkout-line);
  background: #f4ece2;
  color: var(--checkout-accent-dark);
}

.checkout-summary-card .checkout-auth-note {
  margin-top: 12px;
  line-height: 1.6;
}

.checkout-form-stack {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.checkout-detail-card {
  display: grid;
  gap: 2px;
}

.checkout-form-grid {
  display: grid;
  gap: 16px;
}

.checkout-form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-field {
  display: grid;
  gap: 8px;
}

.checkout-field span {
  color: var(--checkout-muted);
  font-size: 0.92rem;
}

.checkout-field textarea {
  resize: vertical;
}

.checkout-option-list {
  display: grid;
  gap: 12px;
}

.checkout-choice-card {
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--checkout-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
}

.checkout-choice-card input {
  margin: 0;
}

.checkout-choice-copy {
  flex: 1;
  display: grid;
  gap: 4px;
}

.checkout-choice-copy strong {
  color: var(--checkout-text);
}

.checkout-choice-copy span {
  color: var(--checkout-muted);
  line-height: 1.6;
}

.checkout-choice-card em {
  color: var(--checkout-accent-dark);
  font-style: normal;
  font-weight: 700;
}

.checkout-payment-detail {
  padding: 4px 4px 6px 4px;
}

.checkout-qr-layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px dashed var(--checkout-line);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.86);
}

.checkout-qr-layout img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--checkout-line-soft);
}

.checkout-slip-upload {
  display: grid;
  gap: 10px;
}

.checkout-slip-input {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px dashed var(--checkout-line);
  background: rgba(255, 253, 249, 0.88);
  cursor: pointer;
}

.checkout-slip-input input {
  width: 100%;
}

.checkout-slip-input span {
  color: var(--checkout-muted);
}

.checkout-slip-input em {
  color: var(--checkout-accent-dark);
  font-style: normal;
  font-weight: 700;
}

.checkout-order-preview {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.checkout-order-preview:empty {
  display: none;
}

.checkout-order-card {
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--checkout-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.86);
}

.checkout-order-card img,
.checkout-order-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.checkout-order-placeholder {
  background: linear-gradient(180deg, #f2e8dd, #e9d8c6);
}

.checkout-order-copy {
  display: grid;
  gap: 2px;
}

.checkout-order-copy strong {
  color: var(--checkout-accent-dark);
}

.checkout-order-copy span {
  color: var(--checkout-muted);
  font-size: 0.92rem;
}

.checkout-flow-panel,
.delivery-panel,
.done-panel {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.delivery-flow-shell,
.success-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.checkout-flow-main,
.checkout-flow-side,
.delivery-detail-list.compact,
.success-summary-grid {
  display: grid;
  gap: 18px;
}

.checkout-dashboard-delivery {
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.88fr);
}

.checkout-dashboard-success {
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.9fr);
}

.checkout-hero-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(251, 243, 233, 0.92)),
    radial-gradient(circle at top right, rgba(246, 234, 220, 0.4), transparent 36%);
}

.checkout-section-intro {
  max-width: 760px;
  margin-bottom: 0;
}

.checkout-status-pill {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.checkout-status-pill.is-warm {
  background: rgba(246, 234, 220, 0.96);
  color: var(--checkout-accent-dark);
}

.checkout-status-pill.is-success {
  background: rgba(229, 244, 234, 0.96);
  color: #1f6a41;
}

.checkout-meta-grid,
.delivery-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-meta-card,
.delivery-detail-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--checkout-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.8);
}

.checkout-meta-card span,
.delivery-detail-row span {
  color: var(--checkout-muted);
  font-size: 0.9rem;
}

.checkout-meta-card strong,
.delivery-detail-row strong {
  color: var(--checkout-accent-dark);
  font-size: 1.08rem;
  line-height: 1.5;
}

.delivery-detail-row.is-wide {
  grid-column: 1 / -1;
}

.delivery-timeline-modern {
  gap: 0;
}

.delivery-timeline-modern .delivery-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 20px;
}

.delivery-timeline-modern .delivery-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(234, 219, 201, 0.95), rgba(245, 235, 223, 0.75));
}

.delivery-timeline-modern .delivery-timeline-item span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ead8c6;
  border: 4px solid #fff7ef;
  box-shadow: 0 0 0 1px rgba(234, 219, 201, 0.9);
}

.delivery-timeline-modern .delivery-timeline-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--checkout-accent-dark);
}

.delivery-timeline-modern .delivery-timeline-item p {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 1.65;
}

.delivery-timeline-modern .delivery-timeline-item.is-done span {
  background: linear-gradient(180deg, #b87449, #9e6844);
}

.delivery-timeline-modern .delivery-timeline-item.is-active span {
  background: linear-gradient(180deg, #d28b5b, #b87449);
  box-shadow: 0 0 0 1px rgba(184, 116, 73, 0.22), 0 0 0 8px rgba(246, 234, 220, 0.72);
}

.checkout-success-card {
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.checkout-success-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 234, 220, 0.85), rgba(246, 234, 220, 0));
  pointer-events: none;
}

.checkout-success-badge {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #b87449, #9e6844);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 18px 34px rgba(158, 104, 68, 0.22);
}

@media (max-width: 1100px) {
  .checkout-dashboard,
  .checkout-dashboard-payment,
  .checkout-dashboard-delivery,
  .checkout-dashboard-success,
  .delivery-flow-shell,
  .success-hero-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .checkout-shell {
    width: min(100vw - 16px, 1240px);
    padding: 20px 16px;
    border-radius: 24px;
  }

  .checkout-shell-head,
  .checkout-shell-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-shell-tools {
    justify-content: flex-start;
  }

  .checkout-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-table-head {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-item-price,
  .cart-item-total,
  .cart-qty,
  .cart-delete {
    justify-self: start;
  }

  .checkout-benefit-grid,
  .checkout-form-grid.two-col,
  .checkout-meta-grid,
  .delivery-detail-grid {
    grid-template-columns: 1fr;
  }

  .checkout-voucher-row,
  .checkout-qr-layout {
    grid-template-columns: 1fr;
  }

  .checkout-qr-layout img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}
