.checkout-entry {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-size: .91rem;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}
.checkout-entry:is(:hover, :focus-visible) {
  border-color: var(--rust-deep);
  background: var(--rust-deep);
  color: var(--paper-light);
}
.config-price-card:has(.checkout-entry:not([hidden])) .config-continue {
  margin-top: 10px;
  background: transparent;
  color: var(--ink);
}
.config-price-card:has(.checkout-entry:not([hidden])) .config-continue:is(:hover, :focus-visible) {
  background: var(--ink);
  color: var(--paper-light);
}
.checkout-entry[hidden],
[data-config-static][hidden],
.checkout-config[hidden],
.checkout-config [hidden],
.board-checkout[hidden],
.board-checkout [hidden] { display: none; }

.config-estimate-strip svg,
.config-length-control button svg {
  width: 18px;
  height: 18px;
}

.config-length-control button {
  display: grid;
  place-items: center;
  padding: 0;
}

.configurator-form :is(.config-finish-step, .checkout-config) {
  padding-bottom: 0;
  border-bottom: 0;
}
.checkout-config, .checkout-contact { display: grid; gap: 12px; }
.checkout-dimensions, .checkout-option-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.checkout-model { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.checkout-model strong { color: var(--ink); }
.checkout-options { border-block: 1px solid var(--line); }
.checkout-option-fields { padding-bottom: 14px; }
[data-config-live-status] { margin: 0; }
[data-config-live-status]:empty { position: absolute; }

.board-checkout { scroll-margin-top: 22px; }
.checkout-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .54fr);
  align-items: end;
  gap: 18px clamp(20px, 5vw, 72px);
  margin-bottom: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.checkout-intro h2 {
  margin: 0;
  font-size: var(--heading-section);
  line-height: 1.06;
  text-wrap: balance;
}
.checkout-intro p { max-width: 38ch; color: var(--muted); }
.checkout-form {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .72fr);
  align-items: start;
  gap: clamp(28px, 5vw, 78px);
}
.checkout-form :is(.checkout-fields, .checkout-payment) {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.checkout-contact h3, .checkout-form .checkout-payment legend {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: var(--heading-narrative);
  line-height: 1.12;
}
.checkout-selection {
  margin: 0;
  padding-block: 12px;
  border-block: 1px solid var(--line);
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.checkout-hint {
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.45;
}
.checkout-availability { margin: 0 0 10px; }
.checkout-availability:empty { position: absolute; }
.checkout-form .checkout-payment { gap: 6px; }
.checkout-plan {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.checkout-plan:has(input:checked) { border-color: var(--forest); background: var(--paper-2); }
.checkout-plan input { margin: 3px 0 0; accent-color: var(--forest); }
.checkout-plan small { display: block; color: var(--muted); line-height: 1.45; }
.checkout-summary {
  min-width: 0;
  padding: clamp(18px, 3vw, 38px);
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
}
.checkout-summary dl { margin: 0; }
.checkout-summary dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.checkout-summary dl dt { color: var(--muted); }
.checkout-summary dl dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.checkout-summary [data-checkout-due] { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.checkout-summary :is(.checkout-hint, .checkout-status) { margin-top: 14px; }
.checkout-summary .checkout-status:empty { margin-top: 0; }
.checkout-summary .checkout-status { color: var(--rust-deep); font-size: .92rem; }
.checkout-summary :is(.submit-button, .checkout-payment-link) { width: 100%; margin-top: 16px; }
.checkout-summary .submit-button:disabled { opacity: .62; cursor: default; }
.checkout-summary .checkout-quote { width: fit-content; margin-top: 12px; }
.checkout-form .checkout-privacy a { text-decoration: underline; text-underline-offset: .18em; }
.checkout-payment-link {
  min-height: 54px;
  justify-content: space-between;
  background: var(--ink);
  color: var(--paper-light);
  font-size: .91rem;
  letter-spacing: 0;
  text-transform: none;
}
.checkout-payment-link:is(:hover, :focus-visible) { background: var(--rust-deep); }

@media (max-width: 760px) {
  .checkout-intro, .checkout-form { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .checkout-dimensions, .checkout-option-fields { grid-template-columns: minmax(0, 1fr); }
}
