/* =====================================================================
   Track Order page  (/track-order)
   Uses the shop's brand colours from style.css (:root --red, --yellow ...)
   ===================================================================== */
.tk-page {
  --tk-ink: #14121f;
  --tk-ink2: #5d5a6e;
  --tk-line: #ece9f5;
  --tk-soft: #f7f5fc;
  --tk-purple: var(--purple, #4A1DC8);
  --tk-red: var(--red, #e8192c);
  --tk-yellow: var(--yellow, #FFD600);
  --tk-blue: var(--blue, #1565C0);
  --tk-green: #12a150;
  --tk-amber: #f59e0b;
  --tk-radius: 22px;
  background: #fbfaff;
}

/* ─── entrance animations ─── */
.tk-rise { opacity: 0; transform: translateY(18px); animation: tkRise .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.r1 { animation-delay: .05s } .r2 { animation-delay: .15s } .r3 { animation-delay: .25s }
.r4 { animation-delay: .35s } .r5 { animation-delay: .45s }
@keyframes tkRise { to { opacity: 1; transform: none; } }

/* ─── HERO ─── */
.tk-hero {
  position: relative; overflow: hidden;
  margin: 2.2rem 4rem 0; border-radius: 28px;
  background: linear-gradient(135deg, #3a12b8 0%, var(--tk-purple) 45%, #6b2ee6 100%);
  padding: 64px 60px 70px; color: #fff; isolation: isolate;
}
.tk-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tk-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: tkBlob 14s ease-in-out infinite; }
.tk-blob.b1 { width: 380px; height: 380px; right: -90px; top: -120px; background: radial-gradient(circle, rgba(255, 214, 0, .45), transparent 65%); }
.tk-blob.b2 { width: 300px; height: 300px; left: -80px; bottom: -140px; background: radial-gradient(circle, rgba(232, 25, 44, .45), transparent 65%); animation-delay: -5s; }
.tk-blob.b3 { width: 220px; height: 220px; right: 28%; bottom: -110px; background: radial-gradient(circle, rgba(21, 101, 192, .55), transparent 65%); animation-delay: -9s; }
@keyframes tkBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, 18px) scale(1.08); } }

.tk-float { position: absolute; font-size: 2.1rem; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); animation: tkFloat 6s ease-in-out infinite; }
.tk-float.f1 { right: 9%; top: 20%; font-size: 3.2rem; }
.tk-float.f2 { right: 24%; top: 12%; animation-delay: -1.5s; }
.tk-float.f3 { right: 15%; bottom: 16%; font-size: 2.6rem; animation-delay: -3s; }
.tk-float.f4 { right: 32%; bottom: 30%; font-size: 1.4rem; animation-delay: -4.5s; }
@keyframes tkFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

/* little footprints walking across the hero */
.tk-steps-trail { position: absolute; left: 0; right: 0; bottom: 22px; height: 20px; }
.tk-steps-trail span {
  position: absolute; width: 10px; height: 16px; border-radius: 50% 50% 45% 45%;
  background: rgba(255, 255, 255, .18); opacity: 0; animation: tkPrint 8s linear infinite;
}
.tk-steps-trail span:nth-child(odd) { top: 0; } .tk-steps-trail span:nth-child(even) { top: 9px; }
.tk-steps-trail span:nth-child(1) { left: 8%; animation-delay: 0s } .tk-steps-trail span:nth-child(2) { left: 14%; animation-delay: .5s }
.tk-steps-trail span:nth-child(3) { left: 20%; animation-delay: 1s } .tk-steps-trail span:nth-child(4) { left: 26%; animation-delay: 1.5s }
.tk-steps-trail span:nth-child(5) { left: 32%; animation-delay: 2s } .tk-steps-trail span:nth-child(6) { left: 38%; animation-delay: 2.5s }
.tk-steps-trail span:nth-child(7) { left: 44%; animation-delay: 3s } .tk-steps-trail span:nth-child(8) { left: 50%; animation-delay: 3.5s }
@keyframes tkPrint { 0% { opacity: 0; transform: rotate(90deg) scale(.6); } 6% { opacity: 1; transform: rotate(90deg) scale(1); } 45% { opacity: .9; } 60%, 100% { opacity: 0; } }

.tk-hero-inner { position: relative; max-width: 720px; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 40px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: var(--tk-yellow); font-weight: 800; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px;
}
.tk-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d399; }
.tk-live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #34d399; animation: tkPing 1.6s ease-out infinite; }
@keyframes tkPing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.tk-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 5.4rem); line-height: .95; letter-spacing: 1px; margin-bottom: 14px; }
.tk-hero h1 span { color: var(--tk-yellow); display: inline-block; animation: tkWiggle 3.5s ease-in-out 1.2s infinite; transform-origin: 50% 90%; }
@keyframes tkWiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-4deg); } 93% { transform: rotate(4deg); } 96% { transform: rotate(-2deg); } }
.tk-hero p { font-size: 1.08rem; color: rgba(255, 255, 255, .86); max-width: 560px; line-height: 1.6; margin-bottom: 26px; }
.tk-hero p b { color: #fff; }

/* search pill */
.tk-search {
  position: relative; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px;
  padding: 7px 7px 7px 52px; box-shadow: 0 18px 50px rgba(20, 6, 70, .35); max-width: 640px;
  transition: box-shadow .25s, transform .25s;
}
.tk-search:focus-within { box-shadow: 0 0 0 5px rgba(255, 214, 0, .55), 0 18px 50px rgba(20, 6, 70, .35); transform: translateY(-2px); }
.tk-search.shake { animation: tkShake .5s; }
@keyframes tkShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.tk-search-icon { position: absolute; left: 22px; color: #9a96ad; font-size: 1.05rem; }
.tk-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--tk-ink);
  font: 700 1.05rem 'Nunito', sans-serif; letter-spacing: .5px; padding: 12px 0; text-transform: uppercase;
}
.tk-search input::placeholder { text-transform: none; color: #aaa6bb; font-weight: 600; letter-spacing: 0; }
.tk-paste {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--tk-soft); color: #6d6880;
  display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s; flex: none;
}
.tk-paste:hover { background: #ece8fb; color: var(--tk-purple); }
.tk-paste:active { transform: scale(.9); }
.tk-go {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; flex: none;
  background: var(--tk-red); color: #fff; font: 900 1rem 'Nunito', sans-serif; letter-spacing: .5px;
  padding: 14px 16px 14px 26px; border-radius: 999px; box-shadow: 0 8px 20px rgba(232, 25, 44, .35);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.tk-go:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(232, 25, 44, .45); }
.tk-go:active { transform: scale(.96); }
.tk-go-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; transition: transform .25s; }
.tk-go:hover .tk-go-icon { transform: translateX(3px); }
.tk-go.loading .tk-go-icon i { animation: tkSpin .8s linear infinite; }
.tk-go.loading .tk-go-icon i::before { content: "\f110"; }
@keyframes tkSpin { to { transform: rotate(360deg); } }
.tk-go:disabled { cursor: progress; }

.tk-hint { margin-top: 14px; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.tk-hint i { margin-right: 6px; color: var(--tk-yellow); }
.tk-hint b { color: #fff; font-weight: 700; }

.tk-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.tk-recent-label { font-size: .78rem; font-weight: 800; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: 1px; margin-right: 2px; }
.tk-chip {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1);
  color: #fff; font: 700 .8rem 'Nunito', sans-serif; padding: 6px 8px 6px 12px; border-radius: 30px; cursor: pointer; transition: background .2s, transform .15s;
}
.tk-chip:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.tk-chip .x { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: rgba(255, 255, 255, .15); }
.tk-chip .x:hover { background: rgba(255, 255, 255, .35); }

/* ─── MAIN ─── */
.tk-main { max-width: 1180px; margin: 0 auto; padding: 46px 24px 90px; min-height: 340px; }
.tk-section-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.1rem; letter-spacing: 1px; color: var(--tk-ink); margin-bottom: 20px; }

/* how it works */
.tk-how-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tk-how-card {
  background: #fff; border: 1px solid var(--tk-line); border-radius: 20px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(16px); animation: tkRise .6s cubic-bezier(.2, .8, .2, 1) forwards; transition: transform .25s, box-shadow .25s;
}
.tk-how-card:nth-child(1) { animation-delay: .55s } .tk-how-card:nth-child(2) { animation-delay: .65s } .tk-how-card:nth-child(3) { animation-delay: .75s }
.tk-how-card:nth-child(4) { animation-delay: .85s } .tk-how-card:nth-child(5) { animation-delay: .95s }
.tk-how-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(74, 29, 200, .1); }
.tk-how-card b { font-size: 1rem; color: var(--tk-ink); }
.tk-how-card span { font-size: .88rem; color: var(--tk-ink2); line-height: 1.5; }
.tk-how-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 8px; }
.c1 { background: #fff1f2 } .c2 { background: #fff8db } .c3 { background: #eef4ff } .c4 { background: #f1ecff } .c5 { background: #e9f9ef }

/* loading skeleton */
.tk-loading { text-align: center; padding: 50px 0 30px; }
.tk-walker { position: relative; width: 240px; height: 70px; margin: 0 auto 18px; }
.tk-walker .shoe { position: absolute; left: 0; bottom: 12px; font-size: 2.4rem; animation: tkWalk 1.6s ease-in-out infinite; }
.tk-walker .road { position: absolute; left: 0; right: 0; bottom: 8px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #d9d3f3 0 16px, transparent 16px 26px); animation: tkRoad .6s linear infinite; }
@keyframes tkWalk { 0% { transform: translateX(0) rotate(0); } 25% { transform: translateX(50px) translateY(-10px) rotate(-8deg); } 50% { transform: translateX(100px) rotate(0); } 75% { transform: translateX(150px) translateY(-10px) rotate(-8deg); } 100% { transform: translateX(200px) rotate(0); } }
@keyframes tkRoad { to { background-position: -26px 0; } }
.tk-loading p { color: var(--tk-ink2); font-weight: 700; }
.tk-skel { height: 120px; border-radius: var(--tk-radius); margin-top: 18px; background: linear-gradient(90deg, #f0edf8 25%, #f8f6fd 50%, #f0edf8 75%); background-size: 200% 100%; animation: tkShimmer 1.2s infinite; }
@keyframes tkShimmer { to { background-position: -200% 0; } }

/* ─── RESULT ─── */
.tk-result > * { opacity: 0; transform: translateY(20px); animation: tkRise .65s cubic-bezier(.2, .8, .2, 1) forwards; }
.tk-result > *:nth-child(1) { animation-delay: .02s } .tk-result > *:nth-child(2) { animation-delay: .14s }
.tk-result > *:nth-child(3) { animation-delay: .26s } .tk-result > *:nth-child(4) { animation-delay: .38s }

/* status banner */
.tk-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 28px 30px; border-radius: var(--tk-radius);
  background: #fff; border: 1px solid var(--tk-line); box-shadow: 0 20px 50px rgba(30, 10, 90, .07);
}
.tk-banner::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--tone); }
.tk-banner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--tone-soft); }
.tk-banner > * { position: relative; z-index: 1; }
.tk-badge-ic { flex: none; width: 82px; height: 82px; border-radius: 26px; display: grid; place-items: center; font-size: 2.6rem; background: var(--tone-soft); box-shadow: inset 0 0 0 2px var(--tone-ring); }
.tk-badge-ic span { display: inline-block; }
.tone-pending    { --tone: var(--tk-amber); --tone-soft: #fff6e0; --tone-ring: #fde7b0; }
.tone-processing { --tone: var(--tk-blue);  --tone-soft: #eaf2ff; --tone-ring: #c9dcfb; }
.tone-shipped    { --tone: var(--tk-purple); --tone-soft: #f1ebff; --tone-ring: #dccffd; }
.tone-delivered  { --tone: var(--tk-green); --tone-soft: #e5f8ec; --tone-ring: #bfeccd; }
.tone-cancelled  { --tone: #9ca3af; --tone-soft: #f3f4f6; --tone-ring: #e5e7eb; }
.anim-pending span    { animation: tkHour 2.4s ease-in-out infinite; }
.anim-processing span { animation: tkBox 1.4s ease-in-out infinite; }
.anim-shipped span    { animation: tkRide 1.1s ease-in-out infinite; }
.anim-delivered span  { animation: tkParty 1.8s ease-in-out infinite; }
@keyframes tkHour { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes tkBox { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-12px) scale(.95, 1.05); } 55% { transform: translateY(0) scale(1.08, .92); } 70% { transform: translateY(-3px); } }
@keyframes tkRide { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(3px, -3px) rotate(-3deg); } 75% { transform: translate(-3px, 1px) rotate(2deg); } }
@keyframes tkParty { 0%, 100% { transform: scale(1) rotate(0); } 20% { transform: scale(1.2) rotate(-12deg); } 40% { transform: scale(1) rotate(8deg); } 60% { transform: scale(1.1) rotate(-4deg); } }

.tk-banner-text { flex: 1; min-width: 0; }
.tk-status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tone); background: var(--tone-soft); padding: 5px 12px; border-radius: 30px; margin-bottom: 8px; }
.tk-status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tk-banner h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: .5px; color: var(--tk-ink); line-height: 1; margin-bottom: 8px; }
.tk-banner p { color: var(--tk-ink2); font-size: 1rem; line-height: 1.55; margin: 0; }
.tk-banner-side { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tk-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; color: var(--tk-green); background: #e9f9ef; padding: 6px 12px; border-radius: 30px; }
.tk-live .tk-live-dot { width: 8px; height: 8px; background: var(--tk-green); }
.tk-live .tk-live-dot::after { border-color: var(--tk-green); }
.tk-live.off { color: #6b7280; background: #f3f4f6; }
.tk-live.off .tk-live-dot { background: #9ca3af; } .tk-live.off .tk-live-dot::after { display: none; }
.tk-updated { font-size: .82rem; color: var(--tk-ink2); }
.tk-refresh { border: 1px solid var(--tk-line); background: #fff; color: var(--tk-ink); font: 800 .8rem 'Nunito', sans-serif; border-radius: 30px; padding: 7px 14px; cursor: pointer; transition: background .2s; }
.tk-refresh:hover { background: var(--tk-soft); }
.tk-refresh.spin i { animation: tkSpin .7s linear infinite; }

/* journey road */
.tk-journey { margin-top: 22px; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: 34px 34px 26px; box-shadow: 0 20px 50px rgba(30, 10, 90, .05); }
.tk-road { position: relative; height: 150px; margin: 0 56px; }
.tk-track { position: absolute; left: 0; right: 0; top: 46px; height: 10px; border-radius: 10px; background: #efecf7; overflow: hidden; }
.tk-track::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, .9) 14px 22px); opacity: .6; }
.tk-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--tk-red), var(--tk-yellow) 40%, var(--tk-purple) 75%, var(--tk-green)); background-size: 300% 100%; transition: width 1.6s cubic-bezier(.65, 0, .35, 1); animation: tkFlow 6s linear infinite; }
@keyframes tkFlow { to { background-position: -300% 0; } }
.tk-stop { position: absolute; top: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; width: 150px; text-align: center; }
.tk-dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; background: #fff; border: 3px solid #e3dff0;
  filter: grayscale(1); opacity: .55; transition: all .5s cubic-bezier(.2, .8, .2, 1); position: relative;
}
.tk-stop.done .tk-dot { filter: none; opacity: 1; border-color: var(--tk-green); background: #effbf3; }
.tk-stop.done .tk-dot::after { content: '\2713'; position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--tk-green); color: #fff; font-size: .7rem; font-weight: 900; display: grid; place-items: center; border: 2px solid #fff; animation: tkPop .4s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: inherit; }
.tk-stop.current .tk-dot { filter: none; opacity: 1; border-color: var(--tone, var(--tk-purple)); background: #fff; transform: scale(1.18); box-shadow: 0 10px 24px rgba(74, 29, 200, .22); }
.tk-stop.current .tk-dot::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid var(--tone, var(--tk-purple)); animation: tkRing 1.8s ease-out infinite; }
@keyframes tkRing { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.tk-stop.cancel .tk-dot { filter: none; opacity: 1; border-color: #ef4444; background: #fef2f2; }
@keyframes tkPop { from { transform: scale(0); } to { transform: scale(1); } }
.tk-txt { display: flex; flex-direction: column; align-items: center; }
.tk-stop b { margin-top: 12px; font-size: .9rem; color: var(--tk-ink); line-height: 1.2; }
.tk-stop small { margin-top: 3px; font-size: .76rem; color: var(--tk-ink2); min-height: 1em; white-space: nowrap; }
.tk-stop.current b { margin-top: 18px; }
.tk-stop.upcoming b { color: #a29db5; }
.tk-stop.current b { color: var(--tone, var(--tk-purple)); }

.tk-rider { position: absolute; top: -16px; left: 0; transform: translateX(-50%); font-size: 2rem; transition: left 1.6s cubic-bezier(.65, 0, .35, 1); z-index: 2; pointer-events: none; }
.tk-rider span { display: inline-block; animation: tkBob .6s ease-in-out infinite alternate; }
.tk-rider.on-road { top: 12px; }
.tk-rider.flip span { transform: scaleX(-1); animation-name: tkBobFlip; }
@keyframes tkBob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@keyframes tkBobFlip { from { transform: scaleX(-1) translateY(0); } to { transform: scaleX(-1) translateY(-5px); } }
.tk-rider .puff { position: absolute; left: -16px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: #d9d4ea; animation: tkPuff 1s ease-out infinite; }
.tk-rider .puff:nth-child(2) { animation-delay: .35s; } .tk-rider .puff:nth-child(3) { animation-delay: .7s; }
@keyframes tkPuff { from { opacity: .9; transform: translate(0, 0) scale(.5); } to { opacity: 0; transform: translate(-22px, -6px) scale(1.4); } }

.tk-eta { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 16px 18px; border-radius: 16px; background: var(--tk-soft); }
.tk-eta-ic { font-size: 1.5rem; }
.tk-eta b { display: block; color: var(--tk-ink); font-size: .98rem; }
.tk-eta span { color: var(--tk-ink2); font-size: .9rem; }
.tk-eta.cancelled { background: #fef2f2; }

/* lower grid */
.tk-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 22px; align-items: start; }
.tk-card { background: #fff; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: 26px; box-shadow: 0 20px 50px rgba(30, 10, 90, .05); }
.tk-card + .tk-card { margin-top: 22px; }
.tk-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 900; color: var(--tk-ink); margin-bottom: 18px; }
.tk-card h3 .n { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--tk-ink2); background: var(--tk-soft); padding: 4px 10px; border-radius: 20px; }

/* timeline */
.tk-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tk-tl { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.tk-tl:last-child { padding-bottom: 0; }
.tk-tl::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #ebe8f4; }
.tk-tl:last-child::before { display: none; }
.tk-tl.done::before { background: var(--tk-green); }
.tk-tl-dot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: #f3f1f9; color: #b0abc2; border: 2px solid #ebe8f4; position: relative; z-index: 1; }
.tk-tl.done .tk-tl-dot { background: var(--tk-green); border-color: var(--tk-green); color: #fff; }
.tk-tl.current .tk-tl-dot { background: #fff; border-color: var(--tone, var(--tk-purple)); color: var(--tone, var(--tk-purple)); }
.tk-tl.current .tk-tl-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--tone, var(--tk-purple)); animation: tkPing 1.8s ease-out infinite; }
.tk-tl.cancel .tk-tl-dot { background: #ef4444; border-color: #ef4444; color: #fff; }
.tk-tl-body { flex: 1; min-width: 0; padding-top: 5px; }
.tk-tl-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tk-tl-head b { color: var(--tk-ink); font-size: .96rem; }
.tk-tl.upcoming .tk-tl-head b { color: #aaa5bd; }
.tk-tl-head time { font-size: .8rem; color: var(--tk-ink2); font-weight: 700; }
.tk-tl-body p { margin: 3px 0 0; color: var(--tk-ink2); font-size: .88rem; line-height: 1.5; }
.tk-tl.upcoming .tk-tl-body p { color: #b4afc6; }

/* items */
.tk-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; transition: background .2s, transform .2s; text-decoration: none; color: inherit; }
a.tk-item:hover { background: var(--tk-soft); transform: translateX(3px); }
.tk-item + .tk-item { margin-top: 4px; }
.tk-item img { width: 66px; height: 66px; border-radius: 14px; object-fit: cover; background: var(--tk-soft); flex: none; }
.tk-noimg { width: 66px; height: 66px; border-radius: 14px; background: linear-gradient(135deg, #fff1f2, #f1ebff); flex: none; display: grid; place-items: center; font-size: 1.8rem; }
.tk-item-info { flex: 1; min-width: 0; }
.tk-item-info b { display: block; font-size: .95rem; color: var(--tk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tk-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 800; color: var(--tk-ink2); background: var(--tk-soft); padding: 3px 9px; border-radius: 20px; }
.tk-swatch { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.tk-item-price { text-align: right; font-weight: 900; color: var(--tk-ink); font-size: .95rem; white-space: nowrap; }
.tk-item-price small { display: block; font-weight: 700; color: var(--tk-ink2); font-size: .75rem; }
.tk-totals { margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--tk-line); }
.tk-totals div { display: flex; justify-content: space-between; padding: 4px 4px; font-size: .92rem; color: var(--tk-ink2); }
.tk-totals .grand { margin-top: 6px; font-size: 1.15rem; font-weight: 900; color: var(--tk-ink); }
.tk-totals .grand span:last-child { color: var(--tk-red); }

/* details */
.tk-ref { display: flex; align-items: center; gap: 10px; background: var(--tk-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.tk-ref code { flex: 1; min-width: 0; font: 800 .9rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--tk-ink); word-break: break-all; background: none; padding: 0; }
.tk-copy { flex: none; border: 0; background: #fff; color: var(--tk-purple); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); transition: transform .15s; }
.tk-copy:active { transform: scale(.9); }
.tk-copy.ok { color: var(--tk-green); }
.tk-dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 0; }
.tk-dl dt { font-size: .85rem; color: var(--tk-ink2); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tk-dl dt i { width: 16px; color: #a7a1bf; }
.tk-dl dd { margin: 0; text-align: right; font-size: .9rem; font-weight: 800; color: var(--tk-ink); }
.tk-pay { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: .78rem; }
.tk-pay.paid { color: #0f8a43; background: #e5f8ec; }
.tk-pay.unverified { color: #b45309; background: #fff4dc; }

.tk-help { position: relative; overflow: hidden; background: linear-gradient(135deg, #07b44f, #05913f); color: #fff; border: 0; }
.tk-help h3 { color: #fff; }
.tk-help p { color: rgba(255, 255, 255, .88); font-size: .9rem; line-height: 1.55; margin-bottom: 16px; }
.tk-help::after { content: '💬'; position: absolute; right: -6px; bottom: -14px; font-size: 5.5rem; opacity: .18; transform: rotate(-12deg); }
.tk-wa-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #058a3c; font-weight: 900; text-decoration: none; padding: 11px 18px; border-radius: 30px; font-size: .9rem; transition: transform .15s, box-shadow .2s; }
.tk-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); color: #058a3c; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; justify-content: center; }
.tk-btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--tk-ink); background: transparent; color: var(--tk-ink); font: 900 .9rem 'Nunito', sans-serif; padding: 11px 20px; border-radius: 30px; cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.tk-btn-ghost:hover { background: var(--tk-ink); color: #fff; }

/* empty / error state */
.tk-empty { text-align: center; padding: 40px 20px 20px; max-width: 520px; margin: 0 auto; }
.tk-empty-art { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; background: #fff1f2; display: grid; place-items: center; font-size: 3.4rem; }
.tk-empty-art .mag { position: absolute; right: -6px; bottom: 4px; font-size: 2.2rem; animation: tkSearch 2.2s ease-in-out infinite; }
@keyframes tkSearch { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-30px, -16px) rotate(-12deg); } 50% { transform: translate(-60px, 0) rotate(0); } 75% { transform: translate(-30px, 10px) rotate(10deg); } }
.tk-empty h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: .5px; color: var(--tk-ink); }
.tk-empty p { color: var(--tk-ink2); line-height: 1.6; }
.tk-empty ul { text-align: left; display: inline-block; color: var(--tk-ink2); font-size: .92rem; line-height: 1.8; margin: 8px 0 18px; padding-left: 20px; }

/* toast */
.tk-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9999; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px;
  background: var(--tk-ink); color: #fff; padding: 14px 20px; border-radius: 16px; font-weight: 800; font-size: .95rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), opacity .3s, visibility .3s; max-width: calc(100vw - 32px); pointer-events: none;
  opacity: 0; visibility: hidden;
}
.tk-toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.tk-toast .em { font-size: 1.4rem; }

/* confetti */
.tk-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9998; overflow: hidden; }
.tk-confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; opacity: .95; animation: tkFall linear forwards; }
@keyframes tkFall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); opacity: 1; } }

/* ─── responsive ─── */
@media (max-width: 1100px) {
  .tk-how-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tk-hero { margin: 1rem 1rem 0; padding: 44px 26px 56px; border-radius: 24px; }
  .tk-float.f2, .tk-float.f4 { display: none; }
  .tk-float.f1 { right: 6%; top: 8%; font-size: 2.4rem; opacity: .7; }
  .tk-float.f3 { right: 8%; bottom: 8%; font-size: 1.9rem; opacity: .7; }
  .tk-grid { grid-template-columns: 1fr; }
  .tk-banner { flex-wrap: wrap; }
  .tk-banner-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .tk-main { padding: 30px 16px 70px; }
  .tk-search { padding-left: 44px; }
  .tk-search-icon { left: 18px; }
  .tk-search input { font-size: .86rem; letter-spacing: 0; }
  .tk-float.f3 { display: none; }
  .tk-banner::after { width: 140px; height: 140px; right: -50px; top: -50px; }
  .tk-go { padding: 12px; }
  .tk-go-text { display: none; }
  .tk-paste { width: 38px; height: 38px; }
  .tk-how-grid { grid-template-columns: 1fr 1fr; }
  .tk-how-card:last-child { grid-column: span 2; }
  .tk-banner { padding: 22px 20px; gap: 16px; }
  .tk-badge-ic { width: 64px; height: 64px; font-size: 2rem; border-radius: 20px; }

  /* road becomes vertical */
  .tk-journey { padding: 22px 18px 18px; }
  .tk-road { height: auto; margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 4px 0 4px 0; }
  .tk-track { left: 25px; right: auto; top: 30px; bottom: 30px; width: 8px; height: auto; }
  .tk-fill { width: 100% !important; height: 0; bottom: auto; transition: height 1.6s cubic-bezier(.65, 0, .35, 1); background: linear-gradient(180deg, var(--tk-red), var(--tk-yellow) 40%, var(--tk-purple) 75%, var(--tk-green)); }
  .tk-stop { position: relative; top: auto; left: auto !important; transform: none; width: auto; flex-direction: row; text-align: left; gap: 20px; align-items: center; }
  .tk-stop .tk-txt { align-items: flex-start; }
  .tk-stop b { margin-top: 0; }
  .tk-dot { width: 52px; height: 52px; flex: none; }
  .tk-stop.current .tk-dot { transform: none; }
  .tk-stop.current .tk-dot::before { inset: -6px; }
  .tk-rider { display: none; }
  .tk-item img, .tk-noimg { width: 56px; height: 56px; }
  .tk-card { padding: 20px 16px; }
}
@media (max-width: 420px) {
  .tk-how-grid { grid-template-columns: 1fr; }
  .tk-how-card:last-child { grid-column: auto; }
  .tk-hero h1 { font-size: 2.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tk-page *, .tk-page *::before, .tk-page *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* tracking switched off by the Developer */
.tk-off { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; max-width: 640px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: 18px 20px; }
.tk-off > i { font-size: 1.8rem; color: var(--tk-yellow); }
.tk-off > div { flex: 1; min-width: 220px; }
.tk-off b { display: block; font-size: 1.05rem; }
.tk-off span { font-size: .92rem; color: rgba(255, 255, 255, .82); }
.tk-off-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #058a3c; font-weight: 900; text-decoration: none; padding: 11px 18px; border-radius: 30px; }
.tk-off-btn:hover { color: #058a3c; filter: brightness(.97); }
