.track-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.track-intro { text-align: center; margin-bottom: 32px; }

.track-intro h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green);
  margin: 0 0 10px;
}

.track-intro p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.track-form {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.track-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.track-form input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }

.track-form .btn-checkout { width: auto; padding: 0 22px; }

.track-error {
  color: var(--danger);
  font-size: 0.85rem;
  text-align: center;
  min-height: 18px;
  margin: 4px 0 0;
}

.track-result { margin-top: 40px; }

/* ---------- Status timeline ---------- */

.status-timeline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.status-timeline::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step.done .timeline-dot { background: var(--green); border-color: var(--green); }

.timeline-step.done .timeline-dot svg { color: #fff; width: 14px; height: 14px; }

.timeline-step.current .timeline-dot { border-color: var(--coral); background: var(--cream-soft); }

.timeline-step.cancelled .timeline-dot { background: var(--danger); border-color: var(--danger); }

.timeline-label {
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 80px;
}

.timeline-step.done .timeline-label,
.timeline-step.current .timeline-label { color: var(--ink); font-weight: 500; }

/* ---------- Summary ---------- */

.track-summary {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}

.track-summary h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child { border-bottom: none; }

.detail-row span:first-child { color: var(--ink-soft); }

.track-items {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.track-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
}

@media (max-width: 480px) {
  .timeline-label { font-size: 0.68rem; max-width: 60px; }
}
