/* ── Форма заявки на 3D-печать (/order/). Янтарь на тёмном, стиль витрины. ── */
.order-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 40px);
}
.order-page__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 14px; color: var(--fg);
}
.order-page__intro {
  color: var(--muted); font-weight: 300; line-height: 1.6;
  margin: 0 0 32px; font-size: 1.02rem;
}

.order-form { display: flex; flex-direction: column; gap: 18px; }
.order-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.order-field { display: flex; flex-direction: column; gap: 6px; }
.order-field__label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.order-field__label em { color: var(--accent); font-style: normal; }
.order-field__input {
  height: 44px; padding: 0 14px; font: inherit; color: var(--fg);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease;
}
.order-field__textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.order-field__input:focus { outline: none; border-color: var(--accent); }
.order-field__input::placeholder { color: var(--muted); opacity: .6; }

/* ── Файлы ── */
.order-files { display: flex; flex-direction: column; gap: 10px; }
.order-files__drop {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.012); transition: border-color .15s ease, background .15s ease;
}
.order-files__drop.is-dragover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.order-files__hint { color: var(--muted); font-size: 0.9rem; font-weight: 300; }
.order-files__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.order-file {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.86rem; color: var(--fg);
}
.order-file__meta { color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.order-file__del {
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer; font-size: 1.1em; line-height: 1; padding: 0 4px;
}
.order-file__del:hover { color: var(--accent); }

/* ── Сабмит ── */
.order-form__submit { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.order-form__btn { padding: 13px 28px; font-weight: 600; }
.order-form__note { font-size: 0.88rem; color: var(--muted); }
.order-form__note.is-error { color: var(--err); }

/* ── Успех ── */
.order-success { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; }
.order-success__mark {
  width: 64px; height: 64px; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 2rem;
  border-radius: 50%; color: var(--accent);
  border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.order-success h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 10px; color: var(--fg); }
.order-success p { color: var(--muted); font-weight: 300; margin: 0 0 24px; line-height: 1.6; }

@media (max-width: 600px) {
  .order-form__row { grid-template-columns: 1fr; }
}
