/* Order tracking without login (/track/) and the crumbs of the OS page (/os/, its own os.css), docs/70-storefront-redesign.md checkpoint 5, on the Arena
   tokens of store.css. The progress line runs across on wide screens and down on phones; every motion is transform, opacity or a colour. */
.tk-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:6px 0 14px; font-size:13px; color:var(--st-muted); }
.tk-crumbs a { color:var(--st-muted) !important; transition:color .2s; }
.tk-crumbs a:hover { color:#fff !important; }
.tk-crumbs [aria-current] { color:var(--st-ink); }
.tk { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:22px; align-items:start; }
.tk-card, .tk-how, .tk-box { padding:22px; border-radius:22px; border:1px solid var(--st-line); background:linear-gradient(180deg, var(--st-card), var(--st-card2)); }
.tk-card { border:1px solid transparent; background:linear-gradient(180deg, var(--st-card), var(--st-card2)) padding-box, var(--st-grad) border-box; }
body[data-page="store"] .tk-card h1 { margin:0; font-size:clamp(26px,3.4vw,38px); font-weight:900; line-height:1.35; }
.tk-lead { margin:6px 0 18px; color:var(--st-muted); font-size:15px; }
.tk-form { display:grid; gap:8px; }
.tk-form label { margin-top:6px; font-size:14px; font-weight:700; color:#fff; }
body[data-page="store"] .tk-form input { box-sizing:border-box; width:100%; min-height:50px; padding:0 14px; border-radius:14px; border:1px solid var(--st-line2);
  background:#ffffff08; color:#fff; font:inherit; font-size:17px; letter-spacing:.04em; color-scheme:dark; text-align:left; transition:border-color .2s, background .2s; }
body[data-page="store"] .tk-form input::placeholder { color:#ffffff4d; letter-spacing:0; }
body[data-page="store"] .tk-form input:focus { outline:none; border-color:#F05666; background:#f056660d; }
body[data-page="store"] .tk-form input:focus-visible { outline:2px solid #F05666; outline-offset:2px; }
.tk-go { justify-content:center; min-height:52px; margin-top:10px; border:0; font-family:inherit; font-size:15px; cursor:pointer; }
.tk-go:active, .tk-tipax .eco-btn:active, .tk-acts .eco-btn:active { transform:scale(.98); }
.tk-for { margin:0 0 14px; padding:10px 14px; border-radius:14px; background:#ffffff08; color:var(--st-ink); font-size:14.5px; }
.tk-for b { color:#fff; }
.tk-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; margin-top:14px; }
.tk-row form { margin:0; }
.tk-text { padding:6px 0; border:0; background:none; font:inherit; font-size:14px; font-weight:700; color:#ff8a96 !important; border-bottom:1px dashed #ff8a9688; cursor:pointer; }
.tk-text:hover { color:#fff !important; }
.tk-text:focus-visible { outline:2px solid #F05666; outline-offset:3px; border-radius:4px; }
.tk-small { margin:16px 0 0; color:var(--st-muted); font-size:13.5px; line-height:1.9; }
.tk-small a, .tk-note a { color:#ff8a96 !important; border-bottom:1px dashed #ff8a9688; }
body[data-page="store"] .tk-how h2 { margin:0 0 14px; font-size:18px; }
.tk-how ol { display:grid; gap:14px; margin:0; padding:0; list-style:none; counter-reset:tk; }
.tk-how li { position:relative; display:grid; gap:2px; padding-inline-start:44px; counter-increment:tk; }
.tk-how li::before { content:counter(tk, persian); position:absolute; top:0; right:0; display:grid; place-items:center; width:30px; height:30px; border-radius:10px;
  background:var(--st-grad); color:#16080c; font-size:14px; font-weight:900; }
.tk-how b { color:#fff; font-size:15px; }
.tk-how span { color:var(--st-muted); font-size:14px; line-height:1.8; }

/* one order */
.tk-order { display:grid; gap:18px; }
.tk-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 18px; }
body[data-page="store"] .tk-top h1 { margin:0; font-size:clamp(26px,3.4vw,38px); font-weight:900; line-height:1.35; }
.tk-top p { margin:2px 0 0; color:var(--st-muted); font-size:14px; }
.tk-chip { padding:6px 16px; border-radius:999px; font-size:14px; font-weight:800; background:#ffffff12; color:var(--st-ink); }
.tk-chip.go { background:#f0566626; color:#ffb3bb; }
.tk-chip.ok { background:#4ade8026; color:#7cf0ad; }
.tk-chip.wait, .tk-chip.hold { background:#fbe33522; color:#f3e9a6; }
.tk-chip.bad { background:#ff4d5e2e; color:#ffb0b8; }
.tk-chip.off { color:var(--st-muted); }
.tk-line { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; margin:0; padding:22px 10px 18px; list-style:none; border-radius:22px;
  border:1px solid var(--st-line); background:linear-gradient(180deg, var(--st-card), var(--st-card2)); }
.tk-line li { position:relative; display:grid; justify-items:center; align-content:start; gap:6px; padding:0 6px; text-align:center; }
/* the segment from the step before (on the right in this right-to-left page) to this one */
.tk-line li + li::before { content:""; position:absolute; top:17px; inset-inline-start:calc(-50% + 22px); inset-inline-end:calc(50% + 22px); height:3px; border-radius:2px;
  background:#ffffff14; }
.tk-line li.done + li::before { background:#4ade80; }
.tk-line li.done + li.now::before { background:linear-gradient(270deg, #4ade80, #F05666); }
.tk-line li.done + li.fail::before { background:linear-gradient(270deg, #4ade80, #ff4d5e); }
.tk-dot { position:relative; z-index:1; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:2px solid #ffffff26; background:var(--st-card2);
  color:var(--st-muted); font-size:14px; font-weight:800; }
.tk-dot .ic { width:18px; height:18px; }
.tk-line .done .tk-dot { border-color:#4ade80; background:#4ade80; color:#06240f; }
.tk-line .now .tk-dot { border-color:transparent; background:linear-gradient(var(--st-card2), var(--st-card2)) padding-box, var(--st-grad) border-box; color:#fff; }
.tk-line .fail .tk-dot { border-color:#ff4d5e; background:#ff4d5e; color:#fff; }
.tk-lbl { font-size:14px; font-weight:700; color:var(--st-muted); line-height:1.6; }
.tk-line .done .tk-lbl { color:var(--st-ink); }
.tk-line .now .tk-lbl, .tk-line .fail .tk-lbl { color:#fff; font-weight:900; }
.tk-at { min-height:1.6em; color:var(--st-muted); font-size:12.5px; font-variant-numeric:tabular-nums; }
.tk-line .now .tk-at { color:#ff8a96; font-weight:700; }
.tk-note { margin:0; padding:12px 16px; border-radius:16px; background:#fbe33512; border:1px solid #fbe33533; color:#f3e9a6; font-size:14px; line-height:1.9; }
.tk-tipax { display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; padding:16px 18px; border-radius:22px; border:1px solid #4ade8040; background:#4ade800d; }
.tk-tipax-ic .ic { width:24px; height:24px; padding:10px; border-radius:14px; background:#4ade801f; color:#7cf0ad; box-sizing:content-box; }
.tk-tipax-code { display:grid; gap:2px; margin-inline-end:auto; }
.tk-tipax-code span { color:var(--st-muted); font-size:13px; }
.tk-tipax-code code { color:#fff; font-size:clamp(18px,2.2vw,22px); font-weight:800; letter-spacing:.06em; font-family:inherit; }
.tk-tipax-acts, .tk-acts { display:flex; flex-wrap:wrap; gap:8px; }
.tk-tipax .eco-btn, .tk-acts .eco-btn, .tk-pay .eco-btn { gap:8px; min-height:44px; font-family:inherit; font-size:13.5px; cursor:pointer; }
.tk-tipax .eco-btn .ic, .tk-acts .eco-btn .ic { width:16px; height:16px; }
.tk-copy.ok { border-color:#4ade80; color:#7cf0ad !important; }
.tk-pay { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-radius:20px; background:#f0566614; border:1px solid #f0566640; }
.tk-pay p { margin:0; color:#ffd9de; font-size:14.5px; }
.tk-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:18px; align-items:start; }
body[data-page="store"] .tk-box h2 { display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:17px; }
.tk-box h2 .ic { width:18px; height:18px; color:#F05666; }
.tk-box p { margin:0 0 6px; color:var(--st-ink); font-size:14.5px; line-height:1.9; }
.tk-muted { color:var(--st-muted) !important; font-size:13.5px !important; }
.tk-items { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.tk-items li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--st-line); font-size:14.5px; }
.tk-items li span:first-child { color:#fff; line-height:1.7; }
.tk-qty { color:var(--st-muted); font-size:13px; }
.tk-items b { font-variant-numeric:tabular-nums; font-size:14px; }
.tk-sum { display:grid; gap:4px; margin:10px 0 0; }
.tk-sum div { display:flex; justify-content:space-between; gap:12px; color:var(--st-muted); font-size:14px; }
.tk-sum dt, .tk-sum dd { margin:0; }
.tk-sum .total { margin-top:4px; padding-top:8px; border-top:1px solid var(--st-line2); color:#fff; font-size:16px; font-weight:900; }
.tk-acts { margin-top:14px; }
.tk-order > .tk-small { margin:0; }


@media (prefers-reduced-motion: no-preference) {
  .tk-line .now .tk-dot::after { content:""; position:absolute; inset:-7px; border-radius:50%; border:2px solid #f0566666; animation:tk-ring 2.2s cubic-bezier(.2,.7,.2,1) infinite; }
  @keyframes tk-ring { from { opacity:1; transform:scale(.8); } to { opacity:0; transform:scale(1.25); } }
  .tk-card, .tk-how, .tk-line, .tk-tipax, .tk-box { animation:tk-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .tk-how, .tk-tipax { animation-delay:.06s; } .tk-box { animation-delay:.12s; } .tk-box + .tk-box { animation-delay:.18s; }
  @keyframes tk-in { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
}
@media (max-width:860px) {
  .tk, .tk-grid { grid-template-columns:minmax(0,1fr); }
  .tk-line { grid-auto-flow:row; grid-template-columns:minmax(0,1fr); gap:0; padding:18px; }
  .tk-line li { grid-template-columns:36px minmax(0,1fr) auto; justify-items:start; align-items:center; gap:4px 12px; min-height:58px; padding:0; text-align:start; }
  .tk-line li + li::before { top:-11px; inset-inline-start:16.5px; inset-inline-end:auto; width:3px; height:22px; }
  .tk-line li.done + li.now::before { background:linear-gradient(180deg, #4ade80, #F05666); }
  .tk-at { min-height:0; }
}
@media (max-width:520px) {
  .tk-card, .tk-how, .tk-box { padding:16px; border-radius:18px; }
  .tk-tipax { padding:14px; }
  .tk-tipax-acts { width:100%; } .tk-tipax-acts .eco-btn { flex:1 1 auto; justify-content:center; }
  .tk-items li { grid-template-columns:minmax(0,1fr) auto; } .tk-items li .tk-qty { grid-row:2; }
}


/* the Black Friday bundle line: its own copy of the sale (shop/blackfriday.invoice_note) */
.line-note { display:block; margin-top:2px; font-size:12px; font-weight:400; line-height:1.7; opacity:.78; }
