:root {
  color-scheme: light;
  --blue: #2f7bff;
  --blue-deep: #123f73;
  --indigo: #7d66ff;
  --blue-soft: #e8f1ff;
  --ink: #142033;
  --muted: #5d6d80;
  --line: #d8e3ee;
  --surface: #eaf2ff;
  --panel: #ffffff;
  --success: #1f7a4d;
  --green: #0dbd6e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 40px auto;
  display: grid;
  grid-template-columns: 430px 430px;
  gap: 32px;
  justify-content: center;
  align-items: start;
}

.basket-shell {
  width: min(960px, calc(100% - 32px));
}

.lifecycle-shell {
  width: min(960px, calc(100% - 32px));
}

.store-shell {
  width: min(1120px, calc(100% - 32px));
  display: block;
}

.rail {
  min-width: 0;
  border: 1px solid #c7dbff;
  border-radius: 34px;
  background: #f4f9ff;
  padding: 24px;
  box-shadow: 0 12px 28px rgb(13 41 87 / 9%), 0 24px 42px rgb(20 87 255 / 10%);
}

.rail-context {
  min-height: 360px;
}

.basket-context {
  border-color: #c7dbff;
  box-shadow: 0 18px 38px rgb(20 64 153 / 10%);
}

.lifecycle-context {
  border-color: #d3e1f4;
}

.basket-action,
.lifecycle-action {
  position: static;
  border-color: #c7dbff;
  background: #f4f9ff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.2;
}

h3 {
  font-size: 15px;
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.surface-heading {
  display: grid;
  gap: 8px;
}

.surface-heading.compact h2 {
  color: var(--ink);
}

.state-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.state-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #bfd5f4;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.basket-panel,
.proof-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.panel-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.panel-heading p,
.action-note {
  font-size: 13px;
}

.line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #e3ebf5;
}

.line-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.line-item p {
  margin-top: 4px;
  font-size: 13px;
}

.line-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  white-space: nowrap;
}

.line-meta span {
  color: var(--muted);
  font-size: 12px;
}

.line-meta strong,
.total-row strong,
.proof-card strong {
  color: var(--ink);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #e3ebf5;
  color: var(--muted);
}

.contract-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #e3ebf5;
}

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

.contract-row strong {
  text-align: right;
}

.total-row-emphasis {
  color: var(--ink);
  font-size: 16px;
}

.primary-action {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 750;
  letter-spacing: 0;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.action-note {
  margin-top: 10px;
}

.proof-card h3 {
  margin-bottom: 12px;
}

.proof-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-card li {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
  gap: 12px;
  font-size: 13px;
}

.proof-card li span {
  color: var(--muted);
}

.proof-card p {
  font-size: 13px;
}

dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 4px 0 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .shell {
    margin: 24px auto;
    grid-template-columns: 1fr;
  }

  .basket-action,
  .lifecycle-action {
    position: static;
  }

  .line-item,
  .proof-card li,
  .contract-row {
    grid-template-columns: 1fr;
  }

  .contract-row {
    display: grid;
  }

  .line-meta {
    justify-items: start;
  }

  .contract-row strong {
    text-align: left;
  }
}

.store-shell-inner {
  display: grid;
  gap: 22px;
}

.store-heading {
  border: 1px solid #c7dbff;
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 12px 28px rgb(13 41 87 / 8%);
  padding: 24px;
}

.store-heading h1 {
  max-width: 720px;
}

.store-heading p:not(.eyebrow) {
  max-width: 760px;
}

.store-boundary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.store-boundary-strip span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfd5f4;
  border-radius: 999px;
  background: #e8f1ff;
  color: #2f7bff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.store-product-card {
  min-width: 0;
  min-height: 296px;
  border: 1px solid #d7e4f8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 18px rgb(13 41 87 / 6%);
  display: grid;
  grid-template-rows: 112px minmax(0, 1fr);
  overflow: hidden;
}

.store-product-visual {
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(47, 123, 255, 0.16), rgba(13, 189, 110, 0.14)),
    #eef4ff;
}

.store-product-code {
  width: 76px;
  height: 76px;
  border: 1px solid #bfd4f8;
  border-radius: 20px;
  background: linear-gradient(180deg, #dcebff 0%, #cfe0ff 100%);
  color: #123f73;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%);
}

.store-product-code strong,
.store-product-code em {
  display: block;
  color: #123f73;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.store-product-code strong {
  font-size: 18px;
}

.store-product-code em {
  border-top: 1px solid rgb(191 212 248 / 70%);
  padding-top: 6px;
  font-size: 14px;
}

.store-product-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.store-product-copy h2 {
  color: #141c38;
  font-size: 17px;
}

.store-product-copy p {
  font-size: 13px;
}

.store-product-meta {
  color: #2f7bff;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.store-product-footer {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-product-footer strong {
  color: #141c38;
  font-size: 14px;
}

.store-link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #2f7bff;
  color: #fff;
  padding: 0 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .store-product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .store-product-grid {
    grid-template-columns: 1fr;
  }
}

/* CoreBlue rail runtime mapping */
.coreblue-context-rail,
.coreblue-action-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cb-header-card {
  min-height: 102px;
  border-radius: 24px;
  background: linear-gradient(100deg, var(--blue), var(--indigo));
  box-shadow: 0 8px 18px rgb(13 41 87 / 6%), 0 16px 34px rgb(20 87 255 / 8%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.cb-cart-tile {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  overflow: hidden;
}

.cb-cart-halo {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
}

.cb-cart-icon {
  position: relative;
  width: 27px;
  height: 27px;
}

.cb-header-copy {
  min-width: 0;
}

.cb-header-copy p {
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.cb-header-copy span {
  display: block;
  margin-top: 4px;
  color: rgb(255 255 255 / 90%);
  font-size: 12px;
  font-weight: 650;
}

.cb-state-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cb-state-strip span,
.cb-live-rate,
.cb-currency-chips span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #c7dbff;
  background: #eef5ff;
  color: var(--blue-deep);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 800;
}

.cb-product-stack {
  display: grid;
  gap: 12px;
}

.cb-empty-card {
  min-height: 354px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 40px 32px;
  text-align: center;
}

.cb-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #f8faff;
  color: #b8cbff;
  display: grid;
  place-items: center;
}

.cb-empty-icon svg {
  width: 54px;
  height: 54px;
}

.cb-empty-copy {
  max-width: 240px;
}

.cb-empty-copy h2 {
  color: #1e2740;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.cb-empty-copy p {
  margin-top: 7px;
  color: #6c7b9d;
  font-size: 11px;
  line-height: 1.55;
}

.cb-product-card {
  width: 100%;
  max-width: 380px;
  min-height: 103px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid #d7e4f8;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 9px rgb(13 41 87 / 5%);
}

.product-row-card {
  width: 100%;
  max-width: 380px;
  min-height: 103px;
}

.product-row-card-grid {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
}

.cb-product-thumb {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--prt-tile-border, #d7e4f8);
  border-radius: 12px;
  background: #eef4ff;
  background: var(--prt-tile-bg, #eef4ff);
  padding: 7px;
}

.cb-product-thumb.is-mobile {
  width: 56px;
  height: 56px;
  min-width: 56px;
  padding: 6px;
}

.cb-product-thumb.is-desktop {
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 7px;
}

.cb-product-thumb img,
.product-row-thumbnail img {
  width: 100%;
  height: 100%;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
}

.cb-product-code-chip {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #dcebff 0%, #cfe0ff 100%);
  background: linear-gradient(180deg, var(--prt-chip-from, #dcebff) 0%, var(--prt-chip-to, #cfe0ff) 100%);
}

.cb-product-thumb.is-stack .cb-product-code-chip {
  background: linear-gradient(180deg, var(--prt-stack-from, #256dff) 0%, var(--prt-stack-to, #7d66ff) 100%);
}

.cb-product-code-line {
  max-width: 100%;
  overflow: hidden;
  color: var(--prt-text, #256dff);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cb-product-thumb.is-stack .cb-product-code-line {
  color: #fff;
}

.cb-product-thumb.is-desktop .cb-product-code-top {
  font-size: 16px;
}

.cb-product-thumb.is-mobile .cb-product-code-top {
  font-size: 14px;
}

.cb-product-code-top.is-long-top,
.cb-product-thumb.is-mobile .cb-product-code-top.is-long-top {
  font-size: 12px;
}

.cb-product-thumb.is-desktop .cb-product-code-top.is-long-top {
  font-size: 13px;
}

.cb-product-thumb.is-desktop .cb-product-code-bottom {
  font-size: 15px;
}

.cb-product-thumb.is-mobile .cb-product-code-bottom {
  font-size: 13px;
}

.cb-product-code-bottom.is-long-code {
  font-size: 12px;
}

.cb-product-thumb.is-mobile .cb-product-code-bottom.is-long-code {
  font-size: 10px;
}

.cb-product-thumb.is-desktop .cb-product-code-bottom.is-long-code {
  font-size: 11px;
}

.cb-product-code-divider {
  width: 32px;
  height: 1px;
  margin: 3px 0;
  background: rgb(191 212 248 / 60%);
  background: var(--prt-divider, #bfd4f8);
  opacity: 0.6;
}

.cb-product-thumb.is-stack .cb-product-code-divider {
  background: rgb(255 255 255 / 35%);
  opacity: 1;
}

.cb-product-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.cb-product-copy h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #141c38;
  font-size: 13px;
  font-weight: 800;
}

.cb-product-copy p,
.cb-card-note,
.cb-status-copy {
  color: #5e709e;
  font-size: 11px;
  line-height: 1.42;
}

.cb-product-price {
  display: grid;
  gap: 6px;
  justify-items: end;
  white-space: nowrap;
}

.cb-product-price strong {
  color: #141c38;
  font-size: 13px;
  font-weight: 850;
}

.cb-product-price span {
  color: #5e709e;
  font-size: 10px;
}

.cb-product-overflow {
  width: 22px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: #f2f7ff;
  color: #5e709e;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.cb-qty {
  width: 100px;
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d7e4f8;
  background: #f2f7ff;
  overflow: hidden;
}

.cb-qty span,
.cb-qty strong,
.cb-qty button {
  text-align: center;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.cb-qty button {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.cb-qty button:disabled {
  color: #9fb1c9;
  cursor: not-allowed;
}

.cb-qty.is-disabled {
  opacity: 0.65;
}

.cb-qty-readonly {
  width: 72px;
  grid-template-columns: 1fr;
  background: #ffffff;
}

.cb-card,
.cb-action-card,
.cb-payment-boundary,
.cb-proof-strip {
  border: 1px solid #d7e4f8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 18px rgb(13 41 87 / 6%);
  padding: 20px;
}

.cb-card h2,
.cb-action-card h3 {
  color: #141c38;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 850;
}

.cb-summary-list {
  margin-top: 8px;
  display: grid;
}

.cb-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #eef4ff;
}

.cb-summary-row:first-child {
  border-top: 0;
}

.cb-summary-row span {
  color: #141c38;
  font-size: 12px;
  font-weight: 750;
}

.cb-summary-row strong {
  color: #141c38;
  font-size: 13px;
  font-weight: 850;
}

.cb-summary-row small {
  display: block;
  margin-top: 3px;
  color: #5e709e;
  font-size: 10px;
  text-align: right;
}

.cb-summary-row.is-emphasis strong {
  color: var(--blue);
}

.cb-card-heading-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cb-live-rate {
  border-color: #9eebc4;
  background: #e5fff2;
  color: #057a4d;
}

.cb-live-rate i,
.cb-trust-rail span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  margin-right: 6px;
}

.cb-currency-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.cb-currency-chips span {
  justify-content: center;
  min-height: 44px;
  background: #fff;
}

.cb-currency-chips span.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.cb-fx-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.cb-fx-line strong {
  min-width: 0;
  color: #141c38;
  font-size: 22px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.cb-fx-line span,
.cb-fx-line .is-blue {
  color: var(--blue);
}

.cb-fx-note,
.cb-amount-confirm {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #d7e4f8;
  border-radius: 16px;
  background: #f1f6ff;
  padding: 12px;
}

.cb-fx-note span,
.cb-amount-confirm span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #c7dbff;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.cb-fx-note p,
.cb-amount-confirm p {
  color: #5e709e;
  font-size: 10px;
  line-height: 1.35;
}

.cb-fx-note-copy {
  min-width: 0;
}

.cb-fx-note-copy strong {
  display: block;
  color: #141c38;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
}

.cb-fx-note-copy p + p {
  margin-top: 1px;
}

.cb-amount-card p {
  color: #5e709e;
  font-size: 11px;
  font-weight: 750;
}

.cb-amount-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.cb-amount-confirm {
  border: 0;
  background: transparent;
  padding: 0;
}

.cb-amount-confirm span {
  color: var(--green);
  background: #e5fff2;
  border: 0;
  width: auto;
  min-width: 28px;
  padding: 0 6px;
}

.cb-action-card {
  display: grid;
  gap: 13px;
}

.cb-action-card-bare {
  gap: 0;
}

.cb-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cb-field-shell,
.cb-select-shell {
  min-height: 50px;
  border: 1px solid #d7e4f8;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  min-width: 0;
}

.cb-field-shell.is-wide {
  grid-column: 1 / -1;
}

.cb-field-shell span,
.cb-select-shell span {
  min-width: 0;
  color: #5e709e;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.cb-field-shell strong {
  color: #141c38;
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
}

.cb-field-shell input {
  width: 100%;
  min-width: 80px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #141c38;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.cb-field-shell input::placeholder {
  color: #8da0c5;
  font-weight: 650;
}

.cb-field-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17, 85, 212, 0.08);
}

.cb-select-shell i {
  color: #5e709e;
  font-style: normal;
  font-weight: 900;
}

.cb-check-row,
.cb-payment-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cb-check-row {
  position: relative;
  cursor: pointer;
}

.cb-check-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cb-check-row span,
.cb-payment-option > span {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #d7e4f8;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.cb-check-row input[type="checkbox"]:checked + span {
  border-color: var(--blue);
  background: var(--blue);
}

.cb-check-row input[type="checkbox"]:checked + span::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.cb-check-row.is-checked span {
  border-color: var(--blue);
  background: var(--blue);
}

.cb-check-row p {
  color: #141c38;
  font-size: 12px;
  line-height: 1.45;
}

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

.cb-coupon-input {
  min-height: 50px;
  min-width: 0;
  border: 1px solid #d7e4f8;
  border-radius: 16px;
  background: #fff;
  color: #141c38;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
}

.cb-coupon-input::placeholder {
  color: #5e709e;
}

.cb-secondary-button {
  min-height: 50px;
  border: 1px solid #d7e4f8;
  border-radius: 16px;
  background: #f2f7ff;
  color: var(--blue);
  padding: 0 20px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.cb-select-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.cb-checkout-submit-form {
  display: grid;
  gap: 10px;
}

.cb-payment-option {
  border: 1px solid #d7e4f8;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.cb-payment-option.is-selected {
  border: 2px solid var(--blue);
  background: #f8fbff;
}

.cb-payment-option.is-selected > span {
  border-color: var(--blue);
}

.cb-payment-option.is-selected > span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.cb-payment-option strong,
.cb-payment-option em {
  display: block;
  color: #141c38;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.cb-payment-option em {
  margin-top: 3px;
  color: var(--blue);
  font-size: 11px;
}

.cb-payment-option p {
  margin-top: 8px;
  color: #5e709e;
  font-size: 11px;
}

.cb-primary-action {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(100deg, var(--blue), var(--indigo));
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
}

.cb-primary-action:disabled,
.cb-secondary-button:disabled,
.cb-outline-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.cb-outline-action {
  width: 100%;
  min-height: 56px;
  border: 2px solid #d7e4f8;
  border-radius: 18px;
  background: #fff;
  color: var(--blue);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
}

.cb-trust-rail {
  min-height: 58px;
  border: 1px solid #c7dbff;
  border-radius: 24px;
  background: #f8fbff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.cb-trust-rail span {
  margin: 0;
}

.cb-trust-rail p {
  color: #5e709e;
  font-size: 10px;
  font-weight: 650;
}

.cb-payment-boundary {
  display: grid;
  gap: 8px;
  background: #f8fbff;
}

.cb-payment-boundary strong {
  color: #141c38;
  font-size: 13px;
  font-weight: 850;
}

.cb-payment-boundary p {
  color: #5e709e;
  font-size: 11px;
}

.cb-proof-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fbff;
  box-shadow: none;
}

.cb-proof-strip div {
  min-width: 0;
}

.cb-proof-strip span {
  display: block;
  color: #5e709e;
  font-size: 10px;
}

.cb-proof-strip strong {
  display: block;
  margin-top: 2px;
  color: #141c38;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.cb-terminal-frame {
  min-height: 440px;
  border: 2px dashed #b8cbff;
  border-radius: 18px;
  background: #f8fbff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.cb-terminal-frame.is-mounted {
  display: block;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: #fff;
}

.cb-terminal-iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  height: min(720px, 78vh);
  border: 0;
  background: #fff;
}

.cb-terminal-frame.is-mounted small {
  display: block;
  padding: 10px 12px 12px;
  border-top: 1px solid #e4edfb;
  background: #f8fbff;
}

.cb-terminal-frame strong {
  color: var(--blue);
  font-size: 16px;
  font-weight: 850;
}

.cb-terminal-frame p {
  max-width: 320px;
  color: #5e709e;
  font-size: 12px;
}

.cb-terminal-frame em,
.cb-terminal-frame small {
  color: #8190b3;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.cb-terminal-status {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cb-terminal-status strong {
  display: block;
  color: #141c38;
  font-size: 15px;
  font-weight: 850;
}

.cb-terminal-status p {
  margin-top: 3px;
  color: #5e709e;
  font-size: 11px;
}

.cb-terminal-icon,
.cb-terminal-large-icon {
  border: 1px solid #c7dbff;
  background: #f1f6ff;
  display: grid;
  place-items: center;
}

.cb-terminal-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
}

.cb-terminal-large-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.cb-terminal-icon::before,
.cb-terminal-large-icon::before {
  content: "";
  width: 52%;
  height: 34%;
  border: 2px solid var(--blue);
  border-radius: 4px;
  box-shadow: inset 0 6px 0 0 transparent;
}

.cb-status-list {
  display: grid;
  gap: 10px;
}

.cb-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #eef4ff;
  padding-top: 10px;
}

.cb-status-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.cb-status-list span {
  color: #5e709e;
  font-size: 12px;
}

.cb-status-list strong {
  color: #141c38;
  font-size: 12px;
  text-align: right;
}

.cb-action-feedback {
  border: 1px solid #c7dbff;
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px 16px;
}

.cb-action-feedback.is-applied {
  border-color: #9eebc4;
  background: #e5fff2;
}

.cb-action-feedback.is-failed {
  border-color: #f3b5b5;
  background: #fff4f4;
}

.cb-action-feedback strong {
  display: block;
  color: #141c38;
  font-size: 13px;
  font-weight: 850;
}

.cb-action-feedback p {
  margin-top: 4px;
  color: #5e709e;
  font-size: 11px;
}

.cb-success-banner {
  min-height: 188px;
  border-radius: 24px;
  background: linear-gradient(100deg, #0dbd6e, #2bbf73);
  box-shadow: 0 8px 18px rgb(13 41 87 / 6%);
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.cb-success-banner span {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgb(255 255 255 / 20%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cb-success-banner strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.cb-success-banner p {
  color: rgb(255 255 255 / 90%);
  font-size: 13px;
}

.cb-info-note {
  border: 1px solid #c7dbff;
  border-radius: 24px;
  background: #f1f6ff;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cb-info-note > span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c7dbff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
}

.cb-info-note strong {
  color: #141c38;
  font-size: 11px;
  font-weight: 850;
}

.cb-info-note p {
  margin-top: 5px;
  color: #5e709e;
  font-size: 10px;
}

.cb-receipt-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #eef4ff;
  padding: 12px 0;
}

.cb-receipt-row:first-of-type {
  border-top: 0;
}

.cb-receipt-row span {
  color: #5e709e;
  font-size: 11px;
  font-weight: 800;
}

.cb-receipt-row strong {
  max-width: 190px;
  color: #141c38;
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.cb-receipt-heading,
.cb-order-lookup,
.cb-current-status,
.cb-shipping-status {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cb-receipt-heading > span,
.cb-order-lookup > span,
.cb-current-status > span,
.cb-shipping-status > span {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #e5fff2;
  border: 1px solid #9eebc4;
  color: #057a4d;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  font-size: 11px;
  font-weight: 900;
}

.cb-receipt-heading div,
.cb-order-lookup div,
.cb-current-status div,
.cb-shipping-status div {
  min-width: 0;
  flex: 1;
}

.cb-receipt-heading strong,
.cb-order-lookup strong,
.cb-current-status strong,
.cb-shipping-status strong {
  display: block;
  color: #141c38;
  font-size: 13px;
  font-weight: 850;
}

.cb-receipt-heading p,
.cb-order-lookup p,
.cb-current-status p,
.cb-shipping-status p {
  margin-top: 4px;
  color: #5e709e;
  font-size: 11px;
}

.cb-receipt-heading em {
  border: 1px solid #9eebc4;
  border-radius: 999px;
  background: #e5fff2;
  color: #057a4d;
  padding: 8px 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.cb-shipping-status > span {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  background: #fff5e6;
  border-color: #ffd8a8;
  color: #c2410c;
}

.cb-status-timeline {
  margin: 16px 0 0 20px;
  border-left: 2px solid #eef4ff;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.cb-status-timeline p {
  color: #141c38;
  font-size: 11px;
  font-weight: 750;
}

@media (max-width: 960px) {
  .basket-shell,
  .lifecycle-shell {
    width: min(430px, calc(100% - 24px));
    grid-template-columns: 1fr;
    margin: 18px auto;
  }

  .basket-action,
  .lifecycle-action {
    position: static;
  }
}

@media (max-width: 480px) {
  .rail {
    border-radius: 28px;
    padding: 16px;
  }

  .cb-product-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .product-row-card-grid {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cb-product-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 6px;
  }

  .cb-product-code-divider {
    width: 28px;
  }

  .cb-product-price {
    grid-column: 2;
    justify-items: start;
  }

  .cb-field-grid,
  .cb-proof-strip {
    grid-template-columns: 1fr;
  }

  .cb-coupon-row {
    grid-template-columns: 1fr;
  }

  .cb-select-form {
    grid-template-columns: 1fr;
  }

  .cb-receipt-row {
    display: grid;
  }

  .cb-receipt-row strong {
    max-width: none;
    text-align: left;
  }
}
