.order-page {
  min-width: 320px;
  background: #fbfcfa;
  color: var(--navy-950);
}

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

.order-site-header {
  position: relative;
  height: 90px;
  background: #fff;
}

.order-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 54px);
}

.order-header-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.order-root {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(350px, 1fr);
  min-height: calc(100svh - 90px);
  border-bottom: 1px solid #cfd7df;
}

.order-intake {
  padding: clamp(44px, 5vw, 78px) clamp(30px, 5.5vw, 86px) 72px;
}

.order-intake > .eyebrow {
  margin-bottom: 12px;
  color: #0069b9;
  letter-spacing: .18em;
}

.order-intake h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.052em;
}

.order-lede {
  margin: 20px 0 0;
  color: #405474;
  font-size: clamp(17px, 1.45vw, 22px);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin: 28px 0 40px;
  padding: 0;
  list-style: none;
}

.order-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  color: #485b79;
}

.order-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 21px;
  left: 56px;
  right: 22px;
  height: 1px;
  background: #bdc8d4;
}

.order-steps span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #7e8ea6;
  border-radius: 50%;
  background: #fbfcfa;
  font-weight: 800;
}

/* The label paints over the connector so the line always stops at the text. */
.order-steps strong {
  position: relative;
  z-index: 1;
  justify-self: start;
  padding-right: 10px;
  background: #fbfcfa;
  font-weight: 600;
}
.order-steps .is-current { color: #0069d8; }
.order-steps .is-current span { border: 2px solid #0069d8; }
.order-steps .is-complete span { border-color: #217a5d; color: #217a5d; }

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

.order-form legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 19px;
  font-weight: 800;
}

.order-form legend span { color: #52647d; font-size: 13px; font-weight: 550; }

.order-form input,
.order-form select,
.order-form textarea {
  min-height: 52px;
  border-color: #b7c3d2;
  color: var(--navy-950);
  font-size: 16px;
}

.order-form textarea {
  width: 100%;
  padding: 14px;
  resize: vertical;
}

.order-form input::placeholder { color: #8797ad; opacity: 1; }
.order-form input + input { margin-top: 8px; }

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: #0065d8;
  outline: 2px solid rgba(0, 101, 216, .2);
}

.order-form [aria-invalid="true"] { border-color: #a53030; box-shadow: inset 3px 0 #a53030; }

.order-address-row {
  display: grid;
  grid-template-columns: 1.5fr .95fr;
  gap: 16px;
  margin-top: 8px;
}

.order-form label { display: grid; gap: 6px; color: #405474; font-size: 13px; font-weight: 650; }
.order-form label small { color: #607089; font-size: 12px; font-weight: 500; }
.field-hint { margin: 10px 0 0; color: #64738a; font-size: 12px; }

.order-section-break {
  margin-top: 26px !important;
  padding-top: 26px !important;
  border-top: 1px solid #c9d2dc !important;
}

.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field-span { grid-column: 1 / -1; }

.product-add-ons-fieldset {
  margin-top: 18px !important;
  padding: 18px !important;
  border: 1px solid #c9d2dc !important;
  background: #f6f8fb;
}
.order-form .product-add-ons-fieldset legend {
  width: auto;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: 0 8px;
  background: #f6f8fb;
  overflow-wrap: anywhere;
  font-size: 17px;
}
.product-add-ons-hint { margin: 0 0 14px; }
.product-add-on-list { display: grid; gap: 10px; }
.product-add-on-choice {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px !important;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid #b7c3d2;
  background: #fff;
  color: var(--navy-950) !important;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.product-add-on-choice:hover { border-color: #6f829b; }
.product-add-on-choice:focus-within { border-color: #0065d8; outline: 2px solid rgba(0, 101, 216, .2); }
.product-add-on-choice:has(input:checked) { border-color: #217a5d; background: #eef7f2; }
.product-add-on-choice input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: #176349;
}
.product-add-on-copy { display: grid; min-width: 0; gap: 5px; }
.product-add-on-heading { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.product-add-on-heading strong { font-size: 15px; }
.product-add-on-price { flex: 0 0 auto; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.product-add-on-description,
.product-add-on-timing { overflow-wrap: anywhere; color: #52647d; font-size: 13px; font-weight: 500; }
.product-add-on-timing { color: #176349; }

.photo-next-step {
  margin-top: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #405474;
  background: #eef7f2;
  border: 1px solid #c3ded0;
}

.photo-next-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #176349;
  background: #fff;
  border-radius: 50%;
}

.photo-next-step p {
  margin: 0;
}

.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
.code-apply { min-height: 52px; min-width: 132px; background: var(--navy-950); color: #fff; cursor: pointer; }
.code-apply:hover { background: var(--blue-600); }

.code-feedback {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #207526;
  background: #f0f8ef;
  color: #1e6d25;
  font-weight: 650;
}

.code-feedback.is-error { border-color: #a53030; background: #fff4f2; color: #8b2d28; }
.code-feedback.is-pending { border-color: #77869a; background: #f4f6f8; color: #43536a; }

.order-turnstile {
  min-height: 65px;
  margin-top: 12px;
}

.order-turnstile iframe {
  max-width: 100%;
}

.order-turnstile-status {
  margin: 8px 0 0;
  color: #52647d;
  font-size: 12px;
}

.order-turnstile-status.is-ready { color: #217a5d; }
.order-turnstile-status.is-error { color: #8b2d28; }

.order-primary {
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
}

.order-primary:disabled,
.code-apply:disabled {
  cursor: not-allowed;
  border-color: #8f9aaa;
  background: #8f9aaa;
  color: #f5f7f9;
  transform: none;
}

.order-fit-link { width: max-content; max-width: 100%; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; margin: 13px auto 0; color: #0064c7; text-align: center; }

.order-summary-desktop {
  position: relative;
  padding: clamp(44px, 5vw, 78px) clamp(30px, 4vw, 62px);
  border-left: 1px solid #bcc8d4;
  background: #fff;
}

.order-summary-sticky { position: sticky; top: 44px; }
.order-summary-sticky > .eyebrow { color: #0069b9; }
.order-summary-desktop h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; }

.summary-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid #c9d2dc;
}

.property-icon {
  display: grid;
  width: 62px;
  height: 58px;
  place-items: center;
  color: #087cb9;
  font-size: 58px;
  font-family: Georgia, serif;
  line-height: 1;
}

.summary-product strong { display: block; font-size: 17px; }
.summary-product p { margin: 5px 0 0; color: #405474; }

.summary-price { margin: 0; padding: 22px 0 30px; border-bottom: 1px solid #c9d2dc; }
.summary-price div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; }
.summary-price [hidden] { display: none; }
.summary-price dt, .summary-price dd { margin: 0; }
.summary-price dt { min-width: 0; overflow-wrap: anywhere; }
.summary-price dd { flex: 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-price [data-summary-discount] { color: #006ad4; }
.summary-price .summary-total { margin-top: 10px; padding-top: 18px; border-top: 1px solid #c9d2dc; font-size: 21px; font-weight: 850; }

.secure-payment-copy {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  color: #405474;
}

.order-summary-sticky > .secure-payment-copy { margin-top: 28px; }
.secure-payment-copy > span { color: var(--navy-950); font-size: 22px; }
.secure-payment-copy p { margin: 0; font-size: 13px; }
.secure-payment-copy strong { display: block; margin-bottom: 4px; color: var(--navy-950); }

.order-summary-mobile { display: none; }

.order-notice { margin-bottom: 20px; padding: 15px 18px; border-left: 3px solid #a53030; background: #fff1ef; color: #772723; }
.order-notice ul { margin: 8px 0 0; padding-left: 20px; }
.order-notice p { margin: 5px 0 0; }
.order-notice a { color: inherit; }
.order-form .field-error { color: #a53030; font-size: 12px; font-weight: 750; }
.order-notice-availability { border-left-color: #1670af; background: #eef7fc; color: #173f5c; }
.order-notice-availability p { margin: 5px 0 0; }
.order-form[inert] { opacity: .62; }

.order-review {
  margin-top: 30px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #b9c5d1;
  background: #fff;
}

.review-heading-row { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.order-review h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.text-button { min-height: 44px; padding: 7px 0; border: 0; background: transparent; color: #0065cc; cursor: pointer; font-weight: 750; text-decoration: underline; text-underline-offset: .25em; }
.review-facts { margin: 28px 0; border-top: 1px solid #ccd4dc; }
.review-facts div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #ccd4dc; }
.review-facts dt { color: #5d6d82; }
.review-facts dd { margin: 0; font-weight: 750; }
.review-price-rows { margin: 0 0 28px; border-top: 1px solid #ccd4dc; }
.review-facts + .review-price-rows { border-top: 0; }
.review-price-row,
.review-price-component { margin: 0; padding: 13px 0; border-bottom: 1px solid #ccd4dc; }
.review-price-row > div,
.review-price-component dl > div { display: flex; justify-content: space-between; gap: 20px; }
.review-price-component dl { display: grid; gap: 8px; margin: 8px 0 0; }
.review-price-rows dt,
.review-price-rows dd { margin: 0; }
.review-price-rows dt { min-width: 0; overflow-wrap: anywhere; color: #405474; }
.review-price-rows dd { flex: 0 0 auto; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.review-price-component-name { display: block; min-width: 0; overflow-wrap: anywhere; color: var(--navy-950); }
.review-price-rows .review-price-total { padding-top: 18px; color: var(--navy-950); font-size: 19px; font-weight: 850; }
.checkout-return-note { margin: 0 0 24px; padding: 18px; border: 1px solid #9dabb9; background: #f4f7f8; }
.checkout-return-note strong { color: var(--navy-950); }
.checkout-return-note p { margin: 4px 0 0; color: #52647d; font-size: 12px; }
.monthly-confirmation-note { margin: 24px 0; padding: 18px; border: 1px solid #9dabb9; background: #f4f7f8; }
.monthly-confirmation-note strong { color: var(--navy-950); }
.monthly-confirmation-note p { margin: 4px 0 0; color: #52647d; font-size: 12px; }
.payment-element-stage { margin-top: 28px !important; }
.payment-element-stage[hidden],
.payment-review-breakdown[hidden],
.payment-status-link[hidden],
.payment-confirmation[hidden] { display: none; }
.payment-element-stage legend { margin-bottom: 6px; }
.payment-element-stage > .field-hint { margin: 0 0 14px; }
.payment-element-notice {
  position: relative;
  margin: 0 0 14px;
  padding: 14px 16px 14px 44px;
  border: 1px solid #8eb7d4;
  background: #eef7fc;
  color: #173f5c;
  line-height: 1.45;
}
.payment-element-notice::before {
  content: "i";
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #4b87ad;
  border-radius: 50%;
  color: #215e83;
  font-family: Georgia, serif;
  font-weight: 800;
}
.payment-element-notice strong { display: block; color: #123a56; }
.payment-element-notice p { margin: 4px 0 0; font-size: 13px; }
.payment-element-shell {
  padding: 16px;
  border: 1px solid #b7c3d2;
  background: #fff;
}
.payment-element-shell:focus-within {
  border-color: #0065d8;
  outline: 2px solid rgba(0, 101, 216, .2);
  outline-offset: 2px;
}
.payment-element-mount { min-height: 132px; }
.payment-status { min-height: 22px; margin: 12px 0 0; color: #405474; font-size: 13px; }
.payment-status.is-error { color: #8b2d28; font-weight: 700; }
.payment-status.is-pending { color: #215e83; font-weight: 700; }
.payment-status.is-success { color: #176349; font-weight: 700; }
.payment-status-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 2px; color: #0064c7; font-weight: 750; }
.payment-confirmation { margin-top: 16px; padding: 16px; border: 1px solid #9fc9b5; background: #eef7f2; color: #1e503c; }
.payment-confirmation > strong { color: #174936; }
.payment-confirmation > p { margin: 4px 0 14px; font-size: 13px; }
.payment-credentials { margin: 0 0 14px; border-top: 1px solid #b9d9c7; }
.payment-credentials div { display: grid; grid-template-columns: minmax(120px, .65fr) minmax(0, 1.35fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid #b9d9c7; }
.payment-credentials dt { color: #356b54; }
.payment-credentials dd { margin: 0; overflow-wrap: anywhere; color: #174936; font-weight: 750; }
.payment-credentials code { font: inherit; letter-spacing: .04em; }
.payment-copy-button { min-height: 44px; }
.payment-review-breakdown { margin: 22px 0 28px; border-top: 1px solid #8eb7d4; border-bottom: 1px solid #8eb7d4; background: #f5faff; }
.payment-review-breakdown div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 14px; border-bottom: 1px solid #d3e3ef; }
.payment-review-breakdown div:last-child { border-bottom: 0; }
.payment-review-breakdown dt, .payment-review-breakdown dd { margin: 0; }
.payment-review-breakdown dt { color: #405474; }
.payment-review-breakdown dd { color: #173f5c; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.payment-review-breakdown div:nth-last-child(2) { border-top: 1px solid #8eb7d4; }
.acceptance-row { grid-template-columns: 24px 1fr !important; gap: 12px !important; align-items: start; font-size: 14px !important; }
.acceptance-row input { width: 20px; min-height: 20px; margin: 2px 0 0; }
.marketing-consent-row { margin-top: 4px; color: #405168; }
.marketing-consent-row:focus-within { outline: 2px solid #c76b2a; outline-offset: 5px; border-radius: 4px; }
.order-review .secure-payment-copy { margin: 24px 0 0; padding: 18px; background: #f2f5f7; }
.checkout-caption { margin: 10px 0 0; color: #627188; font-size: 12px; text-align: center; }
.monthly-order-confirmation > p:last-of-type { color: #52647d; }
.monthly-order-confirmation .order-primary { display: inline-flex; width: auto; margin-top: 12px; }

.status-action-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid #bdc8d4;
  background: #fff;
  color: #071a33;
  box-shadow: 0 24px 68px rgba(7, 26, 51, .22);
}
.status-action-dialog::backdrop { background: rgba(7, 26, 51, .56); }
.status-action-dialog-card { display: grid; margin: 0; }
.status-action-dialog-card > header { display: flex; justify-content: space-between; gap: 20px; padding: 26px 28px 20px; border-bottom: 1px solid #cbd4dd; }
.status-action-dialog-card h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); letter-spacing: -.04em; }
.status-action-dialog-card header p:not(.eyebrow) { margin: 8px 0 0; color: #405474; line-height: 1.5; }
.status-dialog-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid #aebbc9; border-radius: 50%; background: #fff; color: #17324a; cursor: pointer; font-size: 26px; }
.status-action-dialog-body { display: grid; gap: 16px; padding: 24px 28px 28px; }
.status-action-dialog-fields { display: grid; gap: 16px; }
.status-action-dialog-errors { padding: 12px 14px; border-left: 3px solid #a53030; background: #fff1f1; color: #8d2424; font-size: 13px; font-weight: 700; line-height: 1.5; }
.status-action-dialog-card > footer { display: flex; justify-content: end; gap: 12px; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #cbd4dd; background: #f8f9f6; }
.status-action-dialog [data-action-dialog-confirm]:disabled { cursor: not-allowed; opacity: .55; }

.order-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px var(--gutter);
  background: var(--navy-950);
  color: #dbe6ef;
  font-size: 13px;
}
.order-footer p { margin: 0; }
.order-footer nav { display: flex; gap: 22px; }
.order-footer nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

.is-loading::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 9px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -.15em;
  animation: order-spin .7s linear infinite;
}
@keyframes order-spin { to { transform: rotate(1turn); } }

@media (max-width: 980px) {
  .order-header-nav { gap: 18px; }
  .order-header-nav a { font-size: 12px; }
  .order-root { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr); }
  .order-intake { padding-inline: 32px; }
  .order-summary-desktop { padding-inline: 28px; }
  .summary-product { grid-template-columns: 52px 1fr; gap: 14px; }
  .property-icon { width: 50px; font-size: 48px; }
}

@media (max-width: 767px) {
  .order-site-header { height: 72px; padding-inline: 20px; }
  .order-header-nav { display: none; }
  .order-root { display: block; min-height: auto; }
  .order-intake { padding: 34px 20px 60px; }
  .order-intake h1 { font-size: clamp(40px, 10.5vw, 56px); }
  .order-lede { font-size: 17px; }
  .order-steps { margin: 28px 0; }
  .order-steps li { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
  .order-steps li:not(:last-child)::after { left: calc(50% + 34px); right: calc(-50% + 34px); }
  .order-steps strong { justify-self: center; padding-right: 0; background: none; font-size: 14px; }
  .order-summary-desktop { display: none; }
  .order-summary-mobile { display: block; margin: 0 0 26px; border: 1px solid #aebccb; background: #fff; }
  .order-summary-mobile summary { display: grid; min-height: 72px; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
  .order-summary-mobile summary::-webkit-details-marker { display: none; }
  .order-summary-mobile .property-icon { width: 40px; height: 40px; font-size: 38px; }
  .order-summary-mobile summary strong { font-size: 21px; font-variant-numeric: tabular-nums; }
  .order-summary-mobile > div { padding: 0 16px 18px; border-top: 1px solid #d3dae2; }
  .order-summary-mobile .summary-product { position: static; grid-template-columns: 1fr; margin: 0; padding: 16px 0; }
  .order-summary-mobile > div .property-icon { display: none; }
  .order-summary-mobile .summary-price { position: static; padding-bottom: 0; border-bottom: 0; }
  .order-address-row { grid-template-columns: 1fr 1fr; }
  .order-address-row label:first-child { grid-column: 1 / -1; }
  .order-fields { grid-template-columns: 1fr; }
  .field-span { grid-column: auto; }
  .product-add-on-heading { align-items: start; }
  .product-add-on-choice { grid-template-columns: 22px minmax(0, 1fr); }
  .review-heading-row { display: block; }
  .review-facts div { grid-template-columns: 1fr; gap: 4px; }
  .payment-credentials div { grid-template-columns: 1fr; gap: 4px; }
  .status-action-dialog-card > header,
  .status-action-dialog-body,
  .status-action-dialog-card > footer { padding-inline: 18px; }
  .status-action-dialog-card > footer { display: grid; }
  .status-action-dialog-card > footer .button { width: 100%; }
  .order-footer { display: grid; padding-inline: 20px; }
}

@media (max-width: 460px) {
  .order-intake { padding-inline: 16px; }
  .order-intake h1 { font-size: 40px; }
  .order-steps strong { font-size: 13px; }
  .code-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .code-apply { min-width: 116px; padding-inline: 12px; }
  .order-footer nav { display: grid; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-add-on-choice { transition: none; }
  .is-loading::after { animation: none; }
}
