/* Consumer-only layout. The merchant workspace keeps its own shared styles. */
.customer-body {
  min-height: 100svh;
  background: #f6f7f2;
}

.customer-body .customer-main {
  width: 100%;
  min-height: 100svh;
  max-width: none;
  margin: 0;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-body .pickup-area {
  width: 100%;
  max-width: 520px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.customer-body .pickup-card {
  min-height: 0;
  padding: 28px 30px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 40px #253a2b04;
}

.customer-body .card-top .small-label { font-size: 9px; }
.customer-body .card-number { font-size: 10px; }
.customer-body .steps { margin: 28px 0 32px; }
.customer-body .steps li { font-size: 11px; gap: 7px; }
.customer-body .steps li > span { width: 24px; height: 24px; font-size: 10px; }
.customer-body .stage-icon { margin: 0 0 13px; line-height: 1; }
.customer-body .stage h2 { font-size: 25px; margin-bottom: 10px; }
.customer-body .stage > .muted { font-size: 13px; line-height: 1.8; margin-bottom: 28px; }
.customer-body label { font-size: 13px; }

.customer-body input:not([type="checkbox"]),
.customer-body textarea {
  font-size: 16px;
  min-height: 52px;
  padding: 14px;
}

.customer-body .code-input { letter-spacing: .4px; }
.customer-body .code-input::placeholder { font-size: 14px; letter-spacing: .2px; }
.customer-body .field-hint { font-size: 12px; line-height: 1.7; }
.customer-body .primary,
.customer-body .secondary { min-height: 50px; font-size: 14px; border-radius: 10px; }
.customer-body #code-form .primary { margin-top: 28px; }
.customer-body .quiet-note { margin-top: 21px; font-size: 12px; line-height: 1.8; }
.customer-body .link-button,
.customer-body .back-link { font-size: 12px; min-height: 36px; line-height: 1.6; }
.customer-body .link-button { margin-top: 16px; text-align: left; }
.customer-body .back-link { margin-bottom: 13px; }
.customer-body .summary-title { font-size: 14px; line-height: 1.7; }
.customer-body .product-line strong { font-size: 13px; line-height: 1.6; }
.customer-body .product-line > div > span { font-size: 10px; line-height: 1.6; }
.customer-body .product-line b { font-size: 20px; }
.customer-body .product-line small { font-size: 11px; }
.customer-body .label-row { align-items: baseline; flex-wrap: wrap; }
.customer-body .label-row a { font-size: 12px; line-height: 1.8; }
.customer-body .recipient-confirm > a { display: inline-block; font-size: 12px; padding: 4px 0; }
.customer-body .checkbox-row { font-size: 13px; line-height: 1.8; min-height: 44px; }
.customer-body .checkbox-row input { width: 18px; height: 18px; }
.customer-body .order-meta { grid-template-columns: 62px minmax(0, 1fr); font-size: 12px; line-height: 1.8; }
.customer-body .order-meta code { font-size: 12px; }
.customer-body .timeline p { font-size: 12px; line-height: 1.8; }
.customer-body .timeline time { font-size: 10px; }
.customer-body .offer-links a { white-space: normal; text-align: center; line-height: 1.7; }
.customer-body .inline-error { font-size: 13px; overflow-wrap: anywhere; }

@media (max-width: 540px) {
  .customer-body .customer-main {
    align-items: flex-start;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .customer-body .pickup-card { padding: 24px 20px; border-radius: 17px; }
  .customer-body .card-top .small-label { font-size: 8px; letter-spacing: 1.6px; }
  .customer-body .card-number { font-size: 9px; }
  .customer-body .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 25px 0 29px; }
  .customer-body .steps li {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
    min-width: 0;
  }
  .customer-body .steps li:not(:last-child)::after {
    position: absolute;
    top: 12px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    margin: 0;
  }
  .customer-body .stage h2 { font-size: 24px; }
  .customer-body .stage > .muted { margin-bottom: 25px; }
  .customer-body .stage-icon { font-size: 25px; margin-bottom: 12px; }
  .customer-body .code-input { letter-spacing: 0; }
  .customer-body .code-input::placeholder { font-size: 13px; letter-spacing: 0; }
  .customer-body #code-form .primary { margin-top: 25px; }
  .customer-body .quiet-note { font-size: 11px; gap: 7px; margin-top: 19px; }
  .customer-body .product-summary { padding: 14px; }
  .customer-body .product-line { gap: 9px; }
  .customer-body .recipient-confirm { padding: 16px; }
}

@media (max-width: 350px) {
  .customer-body .customer-main { padding-left: 10px; padding-right: 10px; padding-top: 18px; }
  .customer-body .pickup-card { padding: 22px 16px; }
  .customer-body .steps li { font-size: 10px; }
  .customer-body .code-input::placeholder { font-size: 12px; }
  .customer-body .stage h2 { font-size: 23px; }
}
