/* Order flow layout (PL-05). Phone: one column. Desktop: the step on the left (max 560 px),
   a sticky summary on the right. Tokens only. */

.flow {
  padding-bottom: var(--space-7);
}

.flow__grid {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-5);
}

.flow__main {
  min-width: 0;
}

@media (min-width: 1080px) {
  .flow__grid {
    grid-template-columns: minmax(0, 560px) minmax(280px, 380px);
    justify-content: space-between;
    align-items: start;
  }

  .flow__aside {
    position: sticky;
    top: var(--space-5);
  }
}

.flow__title {
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-lh);
}

.flow__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-2);
}

.flow__figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stage--flow {
  height: 300px;
}

.stage--flow .statue {
  width: 230px;
}

.tips {
  margin-top: var(--space-1);
  padding-left: var(--space-4);
  color: var(--color-ink-muted);
}

.privacy-line {
  display: flex;
  gap: 10px;
  font-size: var(--type-small-size);
  line-height: var(--type-small-lh);
  color: var(--color-ink-muted);
}

.privacy-line .icon {
  flex: none;
  color: var(--color-accent);
}

[data-look='c'] .privacy-line .icon {
  color: var(--color-ink);
}

.check__more {
  padding-left: 36px;
}

.upload-progress {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--type-small-size);
}

.upload-progress progress {
  width: 100%;
  height: 8px;
  accent-color: var(--color-accent);
}

.filepick__js-thumb {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: var(--radius-tile);
}

.field-pair {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.input--caps {
  text-transform: uppercase;
}

.finish-notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--type-small-size);
  line-height: var(--type-small-lh);
}

.finish-notes__row dt {
  font-weight: 600;
}

.finish-notes__row dd {
  color: var(--color-ink-muted);
}

/* With the script on, only the chosen finish's note shows. */
.js .finish-notes__row {
  display: none;
}

.js .finish-notes__row.is-current {
  display: block;
}

.review {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.review__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}

.review__head a {
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.notice-plain {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-tile);
  background: var(--color-surface-alt);
}

.cf-turnstile {
  min-height: 0;
}

/* Automatic 3D first look (D-31): the review step and the order page. */
.preview3d__stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-tile);
  background: var(--color-surface-alt);
  overflow: hidden;
}

.preview3d__still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview3d__stage.is-3d .preview3d__still {
  display: none;
}

.preview3d__canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.preview3d__canvas:active {
  cursor: grabbing;
}

.preview3d__canvas:focus-visible {
  outline: 3px solid var(--color-focus, currentColor);
  outline-offset: -3px;
}

.preview3d__progress {
  width: 100%;
  max-width: 420px;
}
