.calculator-columns.order-wizard {
  display: block;
  max-width: 800px;
  margin-inline: auto;
}
.order-wizard[hidden], .order-step[hidden], .order-wizard button[hidden] { display: none; }
.order-wizard .calculator-builder { gap: 24px; padding: 32px; }
.order-wizard .calculator-lead { margin: 0 auto; text-align: center; }
.order-progress { display: grid; gap: 8px; text-align: center; font-size: 14px; }
.order-progress-track { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 8px; }
.order-progress-track span { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.order-progress-track .is-complete { background: var(--ink); }
.order-step {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 440px;
}
.order-step-heading { margin: 0; text-align: center; font-size: clamp(24px, 4vw, 36px); }
.order-step-heading:focus { outline: none; }
[data-order-step="quantity"] > :is(h3, .calculator-hourly-note) { grid-column: 1/-1; }
[data-order-step="quantity"] > .calculator-stepper-field {
  width: min(100%, 248px);
  justify-self: center;
  text-align: center;
}
@media (min-width: 561px) {
  [data-order-step="quantity"]:has(.calculator-stepper-field + .calculator-stepper-field) {
    grid-template-columns: repeat(2, minmax(0, 248px));
    justify-content: center;
  }
}
.order-wizard .calculator-contact-grid { grid-template-columns: 1fr 1fr; }
.order-wizard .calculator-field-group > label { font-size: 13px; font-weight: 700; opacity: .64; }
.order-wizard #charmChoices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.order-wizard #charmChoices button { padding-inline: 4px; }
.order-wizard .calculator-charm-code { gap: 8px; margin-top: 4px; }
.order-wizard .calculator-field-group:has(textarea) { padding: 12px; }
.order-wizard #orderComment { min-height: 80px; }
.order-wizard .calculator-summary-rows b { white-space: nowrap; }
.order-step[data-order-step="summary"] { grid-template-rows: auto minmax(min-content, 1fr); }
.order-wizard #summaryPrices:not([hidden]) {
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr);
}
.order-wizard .calculator-grand-total, .order-wizard .calculator-total { text-align: center; }
.order-wizard #summaryAgreement {
  width: min(100%, 600px);
  max-width: none;
  margin: auto;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.15;
}
.order-wizard .calculator-grand-total strong { line-height: 1.1; overflow-wrap: anywhere; }
.order-wizard .calculator-grand-total {
  display: grid;
  align-content: center;
  margin: 0;
  /* Include the gap before the navigation buttons in the visual midpoint. */
  padding-block: 32px 8px;
}
.order-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 480px);
  margin-inline: auto;
}
.order-navigation button { width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 16px; }
.order-navigation #orderBack { grid-column: 1; }
.order-navigation :is(#orderNext, #submitOrder) { grid-column: 2; grid-row: 1; }
.order-navigation button:disabled { opacity: .45; }
@media (max-width: 560px) {
  .order-wizard .calculator-contact-grid { grid-template-columns: 1fr; }
  .order-wizard .calculator-builder { gap: 20px; padding: 16px; }
  .order-step { min-height: 460px; }
  .order-wizard .calculator-grand-total { padding-top: 28px; }
}
