.purchase-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px clamp(12px, 4cqw, 26px);
  color: var(--navy, #08234c);
}
.purchase-body [hidden] { display: none; }
.purchase-body h2 { margin: 0; font-size: 1rem; line-height: 1.2; }
.purchase-body p { margin: 0; }
.purchase-body :is(button, a, input):focus-visible { outline: 2px solid #085bb5; outline-offset: 2px; }
.purchase-demo {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #ffdbac;
  border-radius: 11px;
  background: #fff7eb;
  color: #653507;
  font-size: .79rem;
  line-height: 1.35;
}
.purchase-lines { display: grid; gap: 9px; }
.purchase-line, .purchase-store, .purchase-estimate, .purchase-choice, .purchase-empty, .purchase-review {
  border: 1px solid #dce6f2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 7px #0a325117;
}
.purchase-line {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px;
}
.purchase-line img, .purchase-store img { border-radius: 9px; object-fit: cover; }
.purchase-line img { width: 53px; height: 53px; }
.purchase-line-info { display: grid; gap: 3px; }
.purchase-line-info h2 { font-size: .91rem; overflow-wrap: anywhere; }
.purchase-line-info > span, .purchase-store p, .purchase-estimate p, .purchase-choice small,
.purchase-total small, .purchase-timeline small { color: #475d74; font-size: .79rem; }
.purchase-line-info > strong, .purchase-store p strong, .purchase-total > strong,
.purchase-review-total dd { color: #087b25; }
.purchase-line-actions { display: grid; justify-items: end; }
.purchase-remove, .purchase-quantity > button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.purchase-remove { width: 40px; height: 40px; color: #a01832; background: #fff3f5; font-size: 1.2rem; }
.purchase-quantity {
  display: grid;
  grid-template-columns: 36px minmax(20px, auto) 36px;
  align-items: center;
  gap: 1px;
  text-align: center;
  font-size: .85rem;
  font-weight: 800;
}
.purchase-quantity > button { height: 40px; color: #0a335e; background: #edf3fa; font-size: 1.12rem; }
.purchase-quantity > button[aria-disabled="true"] { color: #556d86; opacity: .66; cursor: default; }
.purchase-total { display: flex; align-items: center; justify-content: space-between; gap: 9px; font-size: 1.12rem; font-weight: 800; }
.purchase-total small { display: block; margin-top: 2px; font-weight: 500; }
.purchase-primary, .purchase-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 9px 12px;
  border-radius: 12px;
  text-align: center;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.purchase-primary { border: 1px solid var(--orange); background: var(--orange); color: #fff; }
.purchase-primary:hover { border-color: var(--navy); }
.purchase-secondary { border: 1px solid #d0ddeb; background: #fff; color: #0b3b6f; }
.purchase-secondary:hover { background: #eef5fc; }
.purchase-empty { display: grid; gap: 9px; padding: 13px; }
.purchase-empty p { color: #475d74; font-size: .85rem; }
.purchase-form { display: grid; gap: 12px; }
.purchase-options { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.purchase-options legend { margin-bottom: 8px; font-weight: 850; }
.purchase-choice { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 9px; cursor: pointer; }
.purchase-choice:has(input:checked) { border-color: var(--orange); background: #fff7ed; }
.purchase-choice > .icon { flex: 0 0 auto; color: #b24b00; font-size: 1.4rem; }
.purchase-choice > span:not(.icon) { flex: 1; min-width: 0; }
.purchase-choice small { display: block; margin-top: 3px; }
.purchase-choice input { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; accent-color: var(--orange); }
.purchase-review { padding: 12px; }
.purchase-review dl { display: grid; gap: 8px; margin: 11px 0 0; }
.purchase-review dl > div { display: flex; justify-content: space-between; gap: 9px; }
.purchase-review dt, .purchase-review dd { margin: 0; font-size: .84rem; }
.purchase-review dd { text-align: right; font-weight: 750; }
.purchase-review-total { padding-top: 9px; border-top: 1px solid #dce6f2; font-weight: 800; }
.purchase-store, .purchase-estimate { display: flex; align-items: center; gap: 10px; padding: 10px; }
.purchase-store p, .purchase-estimate p { margin-top: 4px; }
.purchase-estimate > .icon { color: #b24b00; font-size: 1.4rem; }
.purchase-timeline { display: grid; gap: 0; padding: 0 0 0 7px; margin: 0; list-style: none; }
.purchase-timeline li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 61px; }
.purchase-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  height: 100%;
  border-inline-start: 2px solid #d6e1ed;
}
.purchase-timeline small { display: block; margin-top: 2px; }
.purchase-milestone {
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  color: #405e7a;
  background: #e6edf5;
}
.purchase-timeline-done .purchase-milestone { background: #168343; color: #fff; }
.purchase-timeline-current .purchase-milestone { background: var(--orange); color: #fff; }
