/* Fignoc-style track order storefront */
#figtrk1Root * { box-sizing: border-box; }
@keyframes figtrk1FadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes figtrk1Spin { to { transform:rotate(360deg); } }
#figtrk1Root .figtrk1-a0 { animation: figtrk1FadeUp .38s ease both; }
#figtrk1Root .figtrk1-a1 { animation: figtrk1FadeUp .38s ease .07s both; }
#figtrk1Root .figtrk1-a2 { animation: figtrk1FadeUp .38s ease .14s both; }
#figtrk1Root .figtrk1-spin { animation: figtrk1Spin 1.8s linear infinite; display:inline-block; }
#figtrk1Root .figtrk1-card { transition: box-shadow .2s; }
#figtrk1Root .figtrk1-card:hover { box-shadow: 0 8px 24px rgba(10,36,114,0.10); }
.figtrk-hint {
  margin: -0.35rem 0 0.5rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* ─── Two-column tracking layout (responsive) ─── */
.figtrk1-two-col { grid-template-columns: 1fr 300px; }
@media (max-width: 760px) {
  .figtrk1-two-col { grid-template-columns: 1fr; }
}

/* ─── Order progress stepper ─── */
.figtrk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.figtrk-step {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}
.figtrk-step::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  z-index: 0;
}
.figtrk-step:first-child::before { display: none; }
.figtrk-step.is-done::before,
.figtrk-step.is-current::before { background: var(--shop-brand, #0A2472); }
.figtrk-step__dot {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.figtrk-step.is-done .figtrk-step__dot {
  background: var(--shop-brand, #0A2472);
  border-color: var(--shop-brand, #0A2472);
  color: #fff;
}
.figtrk-step.is-current .figtrk-step__dot {
  background: #fff;
  border-color: var(--shop-brand, #0A2472);
  color: var(--shop-brand, #0A2472);
  box-shadow: 0 0 0 4px rgba(10, 36, 114, 0.12);
}
.figtrk-step__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.25;
}
.figtrk-step.is-done .figtrk-step__label,
.figtrk-step.is-current .figtrk-step__label { color: #0A2472; }

/* Phones: a clean vertical stepper reads far better than cramped columns */
@media (max-width: 560px) {
  .figtrk-steps { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .figtrk-step {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0.25rem 0;
  }
  .figtrk-step::before {
    top: auto;
    bottom: 50%;
    left: 16px;
    width: 3px;
    height: 100%;
  }
  .figtrk-step__label { font-size: 0.85rem; }
}
