/* Sipariş takip sayfası */
.track-page { padding-bottom: 3rem; }

.track-form { max-width: 44rem; }
.tf-grid { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .tf-grid { grid-template-columns: 1fr 1fr; } }

.track-result { max-width: 44rem; margin-top: 1.25rem; }

.tr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.tr-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--muted); }
.tr-head h2 { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tr-date { font-size: 12px; color: var(--muted); margin-top: .2rem; }
.tr-status { flex-shrink: 0; display: inline-flex; align-items: center; border-radius: 9999px; padding: .4rem .9rem; font-size: 12px; font-weight: 800; background: var(--emerald-soft); color: var(--emerald-dark); }
.tr-status.cancelled { background: #fef2f2; color: #b91c1c; }

/* Durum çubuğu */
.ts-bar { list-style: none; display: flex; margin: 0 0 1.25rem; padding: 0; }
.ts-bar li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.ts-bar li::before { content: ''; position: absolute; top: .8rem; left: -50%; width: 100%; height: 2px; background: var(--border-strong); }
.ts-bar li:first-child::before { display: none; }
.ts-bar li.done::before { background: var(--emerald); }
.ts-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: #fff; border: 2px solid var(--border-strong); font-size: 11px; font-weight: 800; color: var(--muted); }
.ts-bar li.done .ts-dot { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.ts-bar li.current .ts-dot { box-shadow: 0 0 0 4px var(--emerald-soft); }
.ts-label { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.ts-bar li.done .ts-label { color: var(--emerald-dark); }

.ts-cancelled { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: .75rem; padding: .9rem 1.1rem; font-size: 13px; margin-bottom: 1.25rem; }

.tr-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; margin-bottom: .5rem; }
.tr-meta b { color: var(--fg); font-weight: 700; }

.tr-items { display: flex; flex-direction: column; margin-bottom: 1rem; }
.tr-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.tr-item-main { min-width: 0; }
.tr-item-main b { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.tr-item-main small { font-size: 12px; color: var(--muted); }
.tr-item-total { flex-shrink: 0; font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

.tr-rows { display: flex; flex-direction: column; gap: .5rem; }
.tr-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.tr-row b { font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.tr-row.green b { color: var(--emerald-dark); }
.tr-grand { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: .8rem; margin-top: .3rem; }
.tr-grand span { font-size: 14px; font-weight: 800; display: block; }
.tr-grand small { font-size: 11px; color: var(--muted); }
.tr-grand b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
