.order-body {
  background: #f7faff;
}

.order-header {
  background: rgba(255, 255, 255, 0.98);
}

.order-main {
  width: 100%;
  min-height: calc(100vh - 180px);
  overflow-x: clip;
}

.order-intro {
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.order-intro-inner {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 0.9fr);
  gap: 24px 72px;
  align-items: end;
}

.order-back-link {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.order-back-link svg,
.order-back-button svg {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}

.order-intro-copy {
  min-width: 0;
}

.order-eyebrow,
.summary-heading > span {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.order-intro h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.order-intro-copy > p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.order-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.order-progress::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 34px;
  right: 34px;
  height: 2px;
  background: var(--line);
}

.order-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  min-width: 0;
}

.order-progress li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.order-progress li div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.order-progress strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.order-progress small {
  font-size: 11px;
  font-weight: 650;
}

.order-progress li.active > span,
.order-progress li.complete > span {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.order-progress li.active strong,
.order-progress li.complete strong {
  color: var(--ink);
}

.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
  padding-top: 42px;
  padding-bottom: 72px;
  min-width: 0;
}

.order-form,
.order-success {
  min-width: 0;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 61, 124, 0.07);
}

.order-step[hidden],
.order-success[hidden] {
  display: none;
}

.step-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.step-header > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.step-header h2,
.order-success h2,
.summary-heading h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.step-header h2 {
  font-size: 30px;
}

.step-header > p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.order-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.order-fieldset > legend,
.range-control > span > strong,
.order-select-field > span,
.order-textarea-field > span {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.service-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-choice {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.service-choice:last-child {
  grid-column: 1 / -1;
}

.service-choice:has(input:checked) {
  border-color: var(--blue);
  background: #f5f9ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.service-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.choice-icon svg {
  width: 22px;
  height: 22px;
}

.service-choice > span:nth-of-type(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.service-choice strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.service-choice small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.service-choice em,
.extras-choice-list em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.quantity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control > span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.order-stepper {
  height: 44px;
  display: grid;
  grid-template-columns: 42px 42px 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.order-stepper button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: #f7faff;
  color: var(--ink);
  font: inherit;
  font-size: 21px;
  cursor: pointer;
}

.order-stepper button:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.order-stepper button:disabled {
  color: #b6c0d2;
  cursor: default;
}

.order-stepper output {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.range-control,
.order-select-field,
.order-textarea-field {
  display: block;
  margin-top: 28px;
}

.range-control > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.range-control > span > strong {
  margin: 0;
}

.range-control output {
  min-width: 86px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #f7faff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.range-control input[type="range"] {
  width: 100%;
  height: 5px;
  margin: 22px 0 10px;
  border: 0;
  border-radius: 3px;
  appearance: none;
  background: linear-gradient(to right, var(--blue) var(--range-progress, 8%), #dce6f5 var(--range-progress, 8%));
}

.range-control input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  appearance: none;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 2px 10px rgba(18, 103, 232, 0.28);
  cursor: pointer;
}

.range-control > small {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.order-select-field select,
.contact-fields input,
.order-textarea-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  outline: none;
}

.contact-fields input[readonly],
.order-textarea-field textarea[readonly] {
  background: #ffffff;
  cursor: pointer;
}

.contact-fields input[readonly]:focus,
.order-textarea-field textarea[readonly]:focus {
  border-color: var(--line);
  box-shadow: none;
  outline: none;
}

.order-select-field select,
.contact-fields input {
  min-height: 52px;
  padding: 0 15px;
}

.extras-fieldset,
.schedule-fieldset,
.payment-fieldset {
  margin-top: 28px;
}

.extras-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.extras-choice-list label {
  min-height: 50px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.extras-choice-list label:has(input:checked) {
  border-color: var(--blue);
  background: #f5f9ff;
}

.extras-choice-list input,
.order-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.step-actions-end {
  justify-content: flex-end;
}

.step-actions .btn {
  min-width: 180px;
}

.step-actions .btn svg {
  width: 18px;
  height: 18px;
}

.order-summary {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 61, 124, 0.07);
  min-width: 0;
}

.summary-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-heading h2 {
  font-size: 23px;
}

.summary-list,
.order-review-list {
  margin: 0;
}

.summary-list {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.summary-list dt,
.summary-list dd {
  margin: 0;
  font-size: 12px;
}

.summary-list dt {
  color: var(--muted);
  font-weight: 700;
}

.summary-list dd {
  max-width: 55%;
  color: var(--text);
  font-weight: 850;
  text-align: right;
}

.summary-total {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 12px;
  padding: 22px 0;
}

.summary-total > span {
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.summary-total strong {
  color: var(--ink);
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.summary-total small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.summary-trust {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.summary-trust li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.summary-trust svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.summary-trust span {
  display: grid;
  gap: 2px;
}

.summary-trust strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.summary-trust small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.summary-phone {
  display: block;
  margin-top: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-fields label,
.order-textarea-field {
  display: grid;
  gap: 9px;
}

.contact-fields label > span,
.order-textarea-field > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.contact-fields small,
.order-textarea-field small {
  color: var(--muted);
  font-weight: 650;
}

.contact-wide {
  grid-column: 1 / -1;
}

.order-textarea-field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 14px 15px;
  line-height: 1.5;
}

.order-textarea-field textarea[readonly] {
  resize: none;
}

.order-demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.order-demo-actions .btn {
  min-height: 48px;
  white-space: nowrap;
}

.order-demo-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.date-choice-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.date-choice,
.time-choice {
  position: relative;
  cursor: pointer;
}

.date-choice input,
.time-choice input,
.payment-choice-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.date-choice > span,
.time-choice > span {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
}

.date-choice > span strong {
  font-size: 12px;
  font-weight: 850;
}

.date-choice > span small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.date-choice input:checked + span,
.time-choice input:checked + span {
  border-color: var(--blue);
  background: #f5f9ff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.time-choice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.time-choice > span {
  min-height: 48px;
  font-size: 12px;
  font-weight: 800;
}

.order-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding: 4px 0;
}

.order-review-list > div {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.order-review-list dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.order-review-list dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.payment-choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.payment-choice-list label {
  position: relative;
  min-height: 86px;
  display: grid;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.payment-choice-list label:has(input:checked) {
  border-color: var(--blue);
  background: #f5f9ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.payment-choice-list span {
  display: grid;
  gap: 5px;
}

.payment-choice-list strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.payment-choice-list small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.order-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
}

.order-success {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
}

.success-icon svg {
  width: 34px;
  height: 34px;
}

.order-success h2 {
  font-size: 34px;
}

.order-success > p:not(.order-eyebrow) {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.success-details {
  display: grid;
  gap: 5px;
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: #f5f9ff;
}

.success-details strong {
  color: var(--ink);
  font-size: 16px;
}

.success-details span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.order-footer .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.order-footer a {
  color: var(--blue);
  font-weight: 800;
}

.order-form input:focus-visible,
.order-form select:focus-visible,
.order-form textarea:focus-visible,
.order-form button:focus-visible,
.order-form label:has(input:focus-visible),
.order-back-link:focus-visible,
.summary-phone:focus-visible {
  outline: 3px solid rgba(18, 103, 232, 0.2);
  outline-offset: 2px;
}

.order-form input[readonly]:focus-visible,
.order-form textarea[readonly]:focus-visible,
.order-form label:has(input[readonly]:focus-visible),
.order-form label:has(textarea[readonly]:focus-visible) {
  outline: none;
}

.order-form .field-error {
  border-color: #d64045;
  box-shadow: 0 0 0 2px rgba(214, 64, 69, 0.1);
}

@media (max-width: 1120px) {
  .order-intro-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .order-progress {
    max-width: 700px;
  }

  .order-workspace {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .order-form {
    padding: 32px;
  }

  .date-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .order-intro {
    padding: 24px 0 30px;
  }

  .order-workspace {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .order-summary {
    position: static;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
  }

  .summary-list,
  .summary-trust,
  .summary-phone {
    display: none;
  }

  .summary-heading {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .summary-heading > span {
    display: none;
  }

  .summary-heading h2 {
    font-size: 16px;
  }

  .summary-total {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: end;
    padding: 0;
  }

  .summary-total > span,
  .summary-total small {
    display: none;
  }

  .summary-total strong {
    font-size: 25px;
  }

  .service-choice-list,
  .extras-choice-list {
    grid-template-columns: 1fr;
  }

  .service-choice:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .order-body .container {
    width: calc(100% - 28px);
  }

  .order-intro h1 {
    font-size: 36px;
  }

  .order-intro-copy > p:last-child {
    font-size: 15px;
  }

  .order-progress {
    gap: 6px;
  }

  .order-progress li > span {
    width: 34px;
    height: 34px;
  }

  .order-progress::before {
    top: 17px;
  }

  .order-progress small {
    display: none;
  }

  .order-progress strong {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .order-form,
  .order-success,
  .order-summary {
    padding: 22px 18px;
    width: 100%;
  }

  .step-header {
    display: block;
    margin-bottom: 26px;
  }

  .step-header h2 {
    font-size: 25px;
  }

  .step-header > p {
    margin-top: 8px;
    text-align: left;
  }

  .quantity-grid,
  .contact-fields,
  .order-review-list,
  .payment-choice-list {
    grid-template-columns: 1fr;
  }

  .contact-wide {
    grid-column: auto;
  }

  .date-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .time-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-demo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .step-actions .btn {
    width: 100%;
  }

  .step-actions .order-back-button {
    grid-row: 2;
  }

  .service-choice {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .service-choice em {
    grid-column: 2;
  }

  .choice-icon {
    width: 38px;
    height: 38px;
  }

  .order-footer .container {
    min-height: 92px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .order-intro h1 {
    font-size: 32px;
  }

  .quantity-control {
    padding-left: 12px;
  }

  .order-stepper {
    grid-template-columns: 38px 36px 38px;
  }

  .order-stepper button {
    width: 38px;
  }
}

/* Reference-style calculator layout */
html:has(.order-body),
body.order-body {
  overflow-x: clip;
}

.order-main {
  overflow: visible;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order-body,
.order-main,
.order-intro {
  background: #ffffff;
}

.order-intro {
  padding: 22px 0 26px;
}

.order-intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.order-back-link {
  grid-column: auto;
}

.order-intro-copy {
  text-align: center;
}

.order-intro h1 {
  max-width: none;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 750;
}

.order-intro h1 span {
  color: var(--blue);
  white-space: nowrap;
}

.order-progress {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 68px;
}

.order-progress::before {
  top: 24px;
  left: 31%;
  right: 31%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--blue-line) 0 8px, transparent 8px 16px);
}

.order-progress li {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.order-progress li > span {
  display: none;
}

.order-progress li div {
  display: block;
}

.order-progress strong {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.order-progress li.active,
.order-progress li.complete {
  border-color: var(--blue);
  background: var(--blue);
}

.order-progress li.active strong,
.order-progress li.complete strong {
  color: #ffffff;
}

.order-workspace {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 80px;
}

.order-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.calculator-section-title {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.calculator-section-title:not(:first-child) {
  margin-top: 44px;
}

.schedule-picker {
  display: grid;
  grid-template-columns: minmax(350px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.calendar-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.calendar-panel > header {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-panel > header strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
}

.calendar-panel > header span {
  display: flex;
  gap: 4px;
}

.calendar-panel > header button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.calendar-panel > header button:hover:not(:disabled) {
  background: var(--blue-soft);
  color: var(--blue);
}

.calendar-panel > header button:disabled {
  color: #c7cfdd;
  cursor: default;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekdays {
  margin-bottom: 9px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

button.calendar-day {
  cursor: pointer;
}

button.calendar-day:hover:not(:disabled) {
  border-color: var(--blue-line);
  background: var(--blue-soft);
}

.calendar-day.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  font-weight: 850;
}

.calendar-day:disabled,
.calendar-day.outside {
  color: #c7cfdd;
  cursor: default;
}

.time-picker-fieldset > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.time-choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.time-choice > span {
  min-height: 48px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.time-choice input:checked + span {
  border-color: var(--blue);
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.apartment-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.apartment-select,
.bathroom-select {
  position: relative;
  flex: 0 0 250px;
}

.apartment-select select,
.bathroom-select select {
  width: 100%;
  min-height: 50px;
  padding: 0 46px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.apartment-select::after,
.bathroom-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--ink);
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.apartment-select option,
.bathroom-select option {
  font-weight: 500;
  text-align: center;
}

.bathroom-select {
  flex-basis: 170px;
}

.area-presets {
  display: flex;
  flex: 0 1 430px;
  width: min(100%, 430px);
  flex-wrap: nowrap;
  gap: 10px;
}

.area-presets button {
  min-width: 112px;
  min-height: 50px;
  flex: 1 1 112px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.area-presets button.active,
.area-presets button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.segmented-fieldset {
  margin-top: 44px;
}

.segmented-fieldset > legend,
.extras-fieldset > legend {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.segmented-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.segmented-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.segmented-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-options label > span {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.segmented-options input:checked + span {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.segmented-options em {
  color: var(--green-dark);
  font-size: 10px;
  font-style: normal;
}

.frequency-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.extras-fieldset {
  margin-top: 44px;
}

.extras-choice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.extras-choice-list .extra-tile {
  position: relative;
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
  cursor: pointer;
}

.extras-choice-list .extra-tile:has(input:checked) {
  border-color: var(--blue);
  background: #f7faff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.extra-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.extra-tile > img {
  width: 86px;
  height: 86px;
  margin-top: 2px;
  flex: 0 0 86px;
  object-fit: contain;
}

.extra-tile > strong {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.extra-tile > span {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  margin-top: auto;
  border: 1px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
}

.extra-tile > span em {
  color: var(--text);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.extra-tile > span b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 23px;
  font-weight: 500;
}

.step-actions {
  margin-top: 44px;
}

.order-summary {
  top: 102px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: none;
}

.summary-heading h2 {
  font-size: 23px;
}

.summary-list {
  padding: 10px 0 16px;
}

.summary-list > div {
  align-items: flex-start;
}

.summary-list dd {
  max-width: 62%;
  line-height: 1.35;
}

.summary-extras-button {
  width: 100%;
  min-height: 48px;
  margin: 2px 0 16px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.summary-total {
  border-top: 1px solid var(--line);
}

.summary-next-button {
  width: 100%;
  min-height: 50px;
  margin-bottom: 4px;
  border-radius: 999px;
  text-transform: uppercase;
}

.summary-trust {
  display: none;
}

.promo-field {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.promo-field > span:first-child {
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.promo-field > span:nth-child(2) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.promo-field input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  outline: none;
}

.promo-field button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
}

.promo-field button svg {
  width: 21px;
  height: 21px;
}

/* Order-page controls follow the same rounded action language as the homepage. */
.order-body button {
  border-radius: 999px;
}

.promo-field small {
  min-height: 16px;
  color: #c54747;
  font-size: 10px;
  font-weight: 700;
}

.promo-field small.success {
  color: var(--green-dark);
}

@media (max-width: 1180px) {
  .order-progress {
    gap: 28px;
  }

  .order-workspace {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .schedule-picker {
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  }

  .extras-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .order-progress {
    gap: 10px;
  }

  .order-workspace {
    grid-template-columns: 1fr;
  }

  .order-summary {
    grid-row: auto;
    display: block;
  }

  .summary-list,
  .summary-phone,
  .promo-field {
    display: grid;
  }

  .summary-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .summary-heading h2 {
    font-size: 22px;
  }

  .summary-total {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 22px 0;
  }

  .summary-total > span,
  .summary-total small {
    display: block;
  }

  .schedule-picker {
    grid-template-columns: 1fr;
  }

  .time-choice-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .order-intro h1 {
    font-size: 22px;
  }

  .order-progress {
    grid-template-columns: 1fr;
  }

  .order-progress::before {
    display: none;
  }

  .order-progress li {
    min-height: 42px;
  }

  .order-progress li:not(.active) {
    display: none;
  }

  .order-progress strong {
    font-size: 12px;
  }

  .calculator-section-title,
  .segmented-fieldset > legend,
  .extras-fieldset > legend {
    font-size: 21px;
  }

  .calendar-panel {
    padding: 16px 12px;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 5px;
  }

  .time-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apartment-select,
  .bathroom-select,
  .area-presets {
    flex: 1 1 100%;
  }

  .segmented-options,
  .frequency-options {
    grid-template-columns: 1fr;
  }

  .extras-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .extras-choice-list .extra-tile {
    min-height: 195px;
    padding: 14px 10px 10px;
  }

  .extra-tile > img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .order-summary {
    padding: 22px 18px;
  }
}

/* Keep every calculator action readable in the same Inter treatment. */
.order-body button,
.order-body input[type="submit"],
.order-body input[type="button"] {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-kerning: normal;
  letter-spacing: 0;
}
