/* CPM 3D — Track Order page styles (extends home-pop.css, shop-pop.css, contact-pop.css) */

.track { padding: 64px 0 110px; }
.track-wrap { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }

.track-card {
  background: var(--paper); border: var(--ow) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: 7px 7px 0 var(--ink);
  padding: 38px 42px 42px;
}
.track-card h2 { font-size: 32px; margin-bottom: 8px; }
.track-card .track-sub { color: var(--text-soft); font-size: 15px; font-weight: 500; margin-bottom: 26px; }
.track-form { display: flex; flex-direction: column; gap: 20px; }
.track-form .form-row { align-items: end; grid-template-columns: 1fr 1fr auto; }
.track-form .btn { white-space: nowrap; }

/* ----- Result ----- */
.order-result { display: none; flex-direction: column; gap: 36px; }
.order-result.visible { display: flex; }

.result-head {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 2px dashed rgba(27, 42, 74, 0.25);
}
.result-head h2 { font-size: 30px; }
.result-head h2 .onum { color: var(--teal); text-shadow: 1.5px 1.5px 0 var(--ink); }
.status-pill {
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.05em;
  background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); border-radius: 999px; padding: 9px 22px;
  transform: rotate(-2deg);
}

/* status steps */
.osteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; padding-top: 4px; }
.osteps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; border-top: 3px dashed rgba(27, 42, 74, 0.3); }
.ostep { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; position: relative; }
.ostep .odot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; color: var(--ink);
}
.ostep.done .odot { background: var(--mint); box-shadow: 3px 3px 0 var(--ink); }
.ostep.current .odot { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: scale(1.12); }
.ostep b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ostep span { font-size: 11.5px; font-weight: 600; color: var(--text-soft); }
.ostep.upcoming b, .ostep.upcoming .odot { opacity: 0.45; }

/* items */
.oitems { display: flex; flex-direction: column; gap: 14px; }
.oitem {
  display: flex; align-items: center; gap: 18px;
  background: var(--bg); border: 2px solid var(--ink); border-radius: var(--radius-md);
  padding: 14px 18px;
}
.oitem .ph { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid var(--ink); flex-shrink: 0; }
.oitem .ph .ph-tag { display: none; }
.oitem .ph .ph-ic { color: var(--ink); opacity: 0.55; }
.oitem-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.oitem-info b { font-family: var(--font-display); font-weight: 400; font-size: 17px; color: var(--ink); }
.oitem-info span { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.oitem .oprice { font-size: 15.5px; font-weight: 700; color: var(--ink); }

.track-note {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-md);
  padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.track-note .tn-ic { display: inline-flex; color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.track-note a { color: var(--teal); font-weight: 700; }
.track-note a:hover { color: var(--red); }

@media (max-width: 1080px) {
  .track-form .form-row { grid-template-columns: 1fr; }
  .osteps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .osteps::before { display: none; }
}
