.order-wrap {
  max-width: 790px;
  padding: 32px 24px 64px;
  margin: auto;
}
.order-wrap [hidden],
.delivery-preview [hidden] {
  display: none !important;
}
.order-wrap .site-header {
  position: relative;
}
.delivery-heading {
  margin-bottom: 28px;
}
.order-wrap h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  line-height: 1.16;
  margin: 14px 0 12px;
  letter-spacing: -0.035em;
}
.delivery-heading > p {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 660px;
}
.order-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f0e4eb;
  color: #654353;
  font-size: 0.95rem;
  font-weight: 850;
}
.order-badge.confirmed {
  background: #e5f3e9;
  color: #235938;
}
.order-refresh {
  border: 0;
  background: none;
  padding: 8px 0;
  color: #82304e;
  text-decoration: underline;
  font: 800 1rem var(--sans);
  cursor: pointer;
  min-height: 44px;
}
.order-refresh:disabled {
  color: #6d5663;
  cursor: wait;
}
.order-wrap section {
  padding: 0;
}
.delivery-downloads h2,
.delivery-email h2 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 12px;
}
.delivery-instruction {
  margin: 0 0 16px;
}
.delivery-big-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  min-height: 110px;
  margin: 14px 0;
  padding: 24px 26px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #a83261;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  box-shadow: 0 5px 16px #a832611a;
  transition: background 0.15s ease;
}
.delivery-big-button:hover:not(:disabled) {
  background: #85274d;
}
.delivery-big-button > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.delivery-big-button > span {
  min-width: 0;
}
.delivery-big-button strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.delivery-big-button small {
  display: block;
  margin-top: 7px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.delivery-big-button:focus-visible {
  outline: 3px solid #365e9b;
  outline-offset: 4px;
}
.delivery-big-button:disabled {
  background: #eee4e9;
  color: #624553;
  border-color: #d9c3ce;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.delivery-email {
  margin-top: 28px;
}
.private-order-link {
  margin-top: 30px;
  padding: 22px !important;
  border: 1px solid #d9b9c7;
  border-radius: 18px;
  background: #fff5fa;
}
.private-order-link h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.private-order-link label {
  display: block;
  margin: 16px 0 7px;
  font-weight: 850;
}
.private-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.private-link-row input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #bfa8b2;
  border-radius: 10px;
  background: #fff;
}
.private-link-row .button {
  min-height: 50px;
}
.email-big-button {
  background: #493342;
}
.email-big-button:hover:not(:disabled) {
  background: #30212b;
}
.delivery-feedback {
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.delivery-feedback:empty {
  display: none;
}
.delivery-feedback > a {
  display: block;
  font-weight: 850;
  margin-top: 8px;
  min-height: 44px;
  text-decoration: underline;
}
.iphone-save-note {
  padding: 14px 17px;
  border-radius: 12px;
  background: #f8eddc;
  font-size: 1rem;
  line-height: 1.6;
  margin: 16px 0 0;
}
.order-wrap .junk-reminder {
  margin: 16px 0 0;
}
.order-wrap .junk-reminder strong,
.delivery-preview .junk-reminder strong {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.order-wrap .junk-reminder p {
  font-size: 1rem;
}
.order-help {
  margin-top: 32px;
  padding: 18px 0 0;
  border-top: 1px solid #dec8d0;
}
.order-help summary {
  cursor: pointer;
  font-weight: 850;
  font-size: 1rem;
  padding: 10px 0;
  min-height: 44px;
}
.order-help p {
  font-size: 1rem;
}
.order-help .micro {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}
.order-help .button {
  white-space: normal;
  border-radius: 12px;
  min-height: 52px;
}
.order-help button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.order-wrap ~ .site-footer {
  padding: 22px 0;
  border-top: 1px solid #eadce1;
}
.delivery-preview .delivery-big-button {
  min-height: 110px;
  font-size: 1rem;
}
.delivery-preview .delivery-big-button:disabled {
  background: #eee4e9;
  color: #624553;
  border: 2px solid #d9c3ce;
}
.delivery-preview h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 20px 0 8px;
}
.checkout-terms {
  margin: 24px 0;
}
.checkout-terms label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
}
.checkout-terms input {
  width: 20px;
  min-width: 20px;
  margin-top: 4px;
}
.checkout-terms span {
  line-height: 1.55;
}
@media (max-width: 600px) {
  .private-link-row {
    grid-template-columns: 1fr;
  }
  .order-wrap {
    padding: 24px 18px 44px;
  }
  .delivery-heading {
    margin-bottom: 22px;
  }
  .delivery-big-button {
    min-height: 108px;
    padding: 21px 18px;
    gap: 14px;
  }
  .delivery-big-button strong {
    font-size: 1.28rem;
  }
  .delivery-big-button small {
    font-size: 0.96rem;
  }
  .delivery-big-button > svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .delivery-email {
    margin-top: 24px;
  }
  .delivery-preview.keepsake-hub {
    padding: 18px !important;
  }
  .delivery-preview .delivery-big-button {
    padding: 20px 15px;
    gap: 12px;
  }
  .delivery-preview .delivery-big-button strong {
    font-size: 1.15rem;
  }
  .delivery-preview .delivery-big-button small {
    font-size: 0.94rem;
  }
  .order-wrap .junk-reminder {
    padding: 16px 14px;
  }
  .order-help .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .delivery-big-button {
    transition: none;
  }
}
.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 0.95rem;
}
.checkout-progress span,
.checkout-progress strong {
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1e8ed;
}
.checkout-progress strong {
  background: #513744;
  color: #fff;
}
.delivery-heading > .eyebrow {
  margin: 0 0 12px;
}

/* Customers can choose a concise or comprehensive story without changing value. */
.story-route {
  margin: 24px 0 30px;
  padding: 0;
  border: 0;
}
.story-route legend {
  font-size: 1.28rem;
  font-weight: 900;
  color: #493342;
  margin-bottom: 14px;
}
.story-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.story-route-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 3px 10px;
  align-items: start;
  min-height: 184px;
  padding: 22px;
  border: 2px solid #d9c4cd;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(73, 51, 66, 0.06);
}
.story-route-card:has(input:checked) {
  border-color: #a83261;
  background: #fff8fa;
  box-shadow:
    0 0 0 3px rgba(168, 50, 97, 0.12),
    0 10px 26px rgba(73, 51, 66, 0.08);
}
.story-route-card input {
  grid-row: 1/5;
  width: 21px;
  height: 21px;
  margin: 3px 0 0;
  accent-color: #a83261;
}
.story-route-card strong {
  font-size: 1.22rem;
  line-height: 1.3;
  color: #493342;
}
.story-route-card > span:not(.route-badge) {
  font-weight: 850;
  color: #a83261;
}
.story-route-card small {
  font-size: 0.96rem;
  line-height: 1.5;
  color: #67525f;
}
.story-route-card .route-badge {
  position: absolute;
  right: 14px;
  top: -13px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #a83261;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.story-route > .micro {
  margin: 12px 2px 0;
}
.route-hidden {
  display: none !important;
}
.timeline-options {
  margin: 28px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dcc8d1;
  border-radius: 16px;
  background: #fff;
}
.timeline-options > summary {
  min-height: 32px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  color: #493342;
}
.timeline-options[open] > summary {
  margin-bottom: 8px;
}
.timeline-options .field:last-child {
  margin-bottom: 0;
}
@media (max-width: 680px) {
  .story-route {
    margin: 18px 0 24px;
  }
  .story-route-grid {
    grid-template-columns: 1fr;
  }
  .story-route-card {
    min-height: 0;
    padding: 19px;
  }
  .story-route-card strong {
    font-size: 1.16rem;
  }
}
