.order-status-page {
  width: min(980px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 72px);
}
.order-status-page [hidden] { display: none !important; }
.order-status-intro { max-width: 690px; margin-bottom: 24px; }
.order-status-intro h1 {
  max-width: none;
  margin: 6px 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .98;
}
.order-status-intro > p:last-child {
  max-width: 640px;
  color: #4d5964;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}
.order-status-lookup-card,
.order-status-card {
  border: 1px solid #ddd7cd;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 70px rgba(17, 24, 32, .09);
}
.order-status-lookup-card { padding: clamp(18px, 4vw, 30px); }
.order-status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}
.order-status-form .field { gap: 7px; }
.order-status-form label { color: #111820; font-weight: 800; }
.order-status-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfc8bd;
  border-radius: 11px;
  padding: 0 14px;
  background: #fff;
  color: #111820;
  font-size: 16px;
}
.order-status-form input:focus-visible {
  border-color: #b42318;
  outline: 3px solid rgba(180, 35, 24, .18);
  outline-offset: 1px;
}
.order-status-form small,
.order-status-privacy {
  color: #65717a;
  font-size: 13px;
  line-height: 1.45;
}
.order-status-form .button {
  min-height: 54px;
  padding-inline: 24px;
  white-space: nowrap;
}
.order-status-form .button:disabled { cursor: wait; opacity: .65; }
.order-status-privacy { margin: 15px 0 0; }
.order-status-error {
  min-height: 0;
  margin: 10px 0 0;
  color: #a21d15;
  font-weight: 700;
}
.order-status-error:empty { display: none; }
#orderStatusResult { scroll-margin-top: 24px; }
.order-status-card { overflow: hidden; }
.order-status-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: clamp(22px, 5vw, 38px);
  background: linear-gradient(135deg, #111820, #26333d);
  color: #fff;
}
.order-status-card.is-cancelled .order-status-hero {
  background: linear-gradient(135deg, #76221c, #a02a21);
}
.order-status-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-size: 26px;
  font-weight: 900;
}
.order-status-kicker {
  margin: 0 0 5px;
  color: #ffb2aa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.order-status-hero h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(27px, 5vw, 42px);
  line-height: 1.05;
}
.order-status-hero h2:focus { outline: none; }
.order-status-hero p:last-child {
  max-width: 680px;
  margin: 0;
  color: #dfe5e9;
  font-size: 16px;
  line-height: 1.55;
}
.order-status-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 24px clamp(20px, 5vw, 38px);
  list-style: none;
  border-bottom: 1px solid #e7e2da;
  background: #faf9f6;
}
.order-status-progress li {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.order-status-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 10px;
  left: 46px;
  height: 2px;
  background: #d5d0c8;
  content: '';
}
.order-status-progress li.complete:not(:last-child)::after { background: #2f7851; }
.order-status-step-mark {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #c8c3bb;
  border-radius: 50%;
  background: #fff;
  color: #707780;
  font-weight: 900;
}
.order-status-progress .complete .order-status-step-mark {
  border-color: #2f7851;
  background: #2f7851;
  color: #fff;
}
.order-status-progress .active .order-status-step-mark {
  border-color: #b42318;
  color: #b42318;
  box-shadow: 0 0 0 5px rgba(180, 35, 24, .1);
}
.order-status-progress strong,
.order-status-progress small { display: block; }
.order-status-progress strong {
  color: #111820;
  font-size: 14px;
  line-height: 1.25;
}
.order-status-progress small {
  margin-top: 2px;
  color: #6b747c;
  font-size: 11px;
}
.order-status-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 38px);
  background: #e7e2da;
  border-bottom: 1px solid #e7e2da;
}
.order-status-facts > div {
  min-width: 0;
  padding: 18px 14px;
  background: #fff;
}
.order-status-facts dt {
  margin-bottom: 5px;
  color: #6b747c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.order-status-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111820;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.order-status-copy {
  min-height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.order-status-copy:focus-visible,
.order-status-reset:focus-visible {
  outline: 3px solid rgba(180, 35, 24, .24);
  outline-offset: 3px;
}
.order-status-delivery {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  margin: clamp(20px, 4vw, 32px) clamp(20px, 5vw, 38px) 0;
  padding: 17px;
  border: 1px solid #e1d9ca;
  border-radius: 13px;
  background: #fff8e7;
}
.order-status-delivery > div:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #b42318;
  color: #fff;
  font-weight: 900;
}
.order-status-delivery strong {
  display: block;
  margin-bottom: 3px;
  color: #111820;
}
.order-status-delivery p {
  margin: 0;
  color: #4d5964;
  font-size: 14px;
  line-height: 1.5;
}
.order-status-section,
.order-status-next,
.order-status-help {
  margin-inline: clamp(20px, 5vw, 38px);
  padding-block: clamp(24px, 4vw, 32px);
  border-bottom: 1px solid #e7e2da;
}
.order-status-section-heading {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.order-status-section h2,
.order-status-next h2,
.order-status-help h2 {
  margin: 0;
  color: #111820;
  font-size: 20px;
}
.order-status-section-heading > strong { font-size: 19px; }
.order-status-product {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}
.order-status-product + .order-status-product { border-top: 1px solid #eeeae3; }
.order-status-product-image {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #eeebe5;
}
.order-status-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.order-status-product-placeholder {
  color: #8b9298;
  font-size: 13px;
  font-weight: 900;
}
.order-status-product h3 {
  margin: 0 0 4px;
  color: #111820;
  font-size: 15px;
  line-height: 1.35;
}
.order-status-product p,
.order-status-next p,
.order-status-help p {
  margin: 0;
  color: #53606a;
  font-size: 14px;
  line-height: 1.55;
}
.order-status-next {
  border: 0;
  margin-block: 0;
  padding: 22px;
  background: #f2f6f3;
}
.order-status-next h2,
.order-status-help h2 { margin-bottom: 7px; }
.order-status-help { border-top: 1px solid #e7e2da; }
.order-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.order-status-actions .button,
.order-status-actions .ghost-button { min-height: 48px; }
.order-status-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 38px) 22px;
  background: #faf9f6;
}
.order-status-card-footer p {
  margin: 0;
  color: #53606a;
  font-size: 14px;
}
.order-status-card-footer a { color: #b42318; font-weight: 800; }
.order-status-reset {
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111820;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  .order-status-page {
    width: min(100% - 24px, 620px);
    padding-block: 30px 48px;
  }
  .order-status-form { grid-template-columns: minmax(0, 1fr); }
  .order-status-form .button { width: 100%; }
  .order-status-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .order-status-intro h1 { font-size: clamp(34px, 11vw, 46px); }
  .order-status-lookup-card { padding: 16px; border-radius: 14px; }
  .order-status-hero {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 18px;
  }
  .order-status-icon { width: 42px; height: 42px; font-size: 22px; }
  .order-status-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px;
  }
  .order-status-progress li { min-height: 54px; }
  .order-status-progress li:not(:last-child)::after {
    top: 39px;
    bottom: -15px;
    left: 17px;
    width: 2px;
    height: auto;
  }
  .order-status-facts {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 18px;
  }
  .order-status-facts > div { padding: 13px 0; }
  .order-status-delivery,
  .order-status-section,
  .order-status-next,
  .order-status-help { margin-inline: 18px; }
  .order-status-next { margin-inline: 0; padding-inline: 18px; }
  .order-status-actions { display: grid; }
  .order-status-actions .button,
  .order-status-actions .ghost-button { width: 100%; }
  .order-status-card-footer {
    align-items: flex-start;
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-status-page * { scroll-behavior: auto !important; }
}