/* ==========================================================================
   Footer + pages that use shortcodes everywhere (track order)
   ========================================================================== */
.tf-footer { margin-top: 24px; background: var(--tf-soft); border-top: 1px solid var(--tf-line); color: var(--tf-text); font-size: 14px; }
.tf-footer__grid { display: grid; gap: 8px; padding-block: 32px 16px; }
@media (min-width: 768px) { .tf-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 48px 32px; } }
.tf-footer__about { margin-bottom: 12px; }
.tf-footer__brand { display: inline-block; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-ink); margin-bottom: 10px; }
.tf-footer__brand img { width: auto; max-height: 44px; max-width: 180px; }
.tf-footer__about p { color: var(--tf-muted); max-width: 34ch; margin-bottom: 14px; }
.tf-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tf-footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--tf-ink); }
.tf-footer__contact .tf-i { color: var(--tf-green); width: 19px; height: 19px; }
.tf-footer__contact a:hover { color: var(--tf-green); }
.tf-footer__who { margin: 12px 0 0; font-size: 12.5px; color: var(--tf-mute, #64705f); }
.tf-footer__social { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tf-footer__social a { font-size: 12.5px; font-weight: 600; color: var(--tf-ink); border: 1px solid var(--tf-line, #dfe3da); border-radius: 999px; padding: 5px 12px; }
.tf-footer__social a:hover { color: var(--tf-green); border-color: var(--tf-green); }

.tf-footer__col { border-top: 1px solid var(--tf-line); }
.tf-footer__col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; color: var(--tf-ink); cursor: pointer; }
.tf-footer__col summary::-webkit-details-marker { display: none; }
.tf-footer__col summary .tf-i { width: 18px; height: 18px; color: var(--tf-green); transition: transform .2s; }
.tf-footer__col[open] summary .tf-i { transform: rotate(180deg); }
.tf-footer__menu { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 10px; }
.tf-footer__menu a { color: var(--tf-muted); }
.tf-footer__menu a:hover { color: var(--tf-green); }
@media (min-width: 768px) {
  .tf-footer__col { border-top: 0; }
  .tf-footer__col summary { pointer-events: none; padding-top: 0; }
  .tf-footer__col summary .tf-i { display: none; }
}
.tf-footer__bottom { border-top: 1px solid var(--tf-line); font-size: 13px; color: var(--tf-muted); }
.tf-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-block: 16px; }
.tf-footer__cod { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--tf-line); border-radius: 8px; background: #fff; color: var(--tf-ink); font-weight: 500; }
.tf-footer__cod .tf-i { color: var(--tf-green); width: 18px; height: 18px; }

/* Track order ------------------------------------------------------------------------- */
.tf-track { display: grid; gap: 18px; max-width: 640px; }
.tf-track__form { padding: 18px; border: 1px solid var(--tf-line); border-radius: var(--tf-r); background: #fff; }
.tf-track__form p { margin-bottom: 12px; }
.tf-track__help { font-size: 13px; color: var(--tf-muted); margin: 10px 0 0 !important; }
.tf-track__result { padding: 18px; border: 1px solid var(--tf-line); border-radius: var(--tf-r); display: grid; gap: 16px; }
.tf-track__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tf-track__head h2 { font-size: 20px; margin: 0; }
.tf-track__head small { color: var(--tf-muted); }
.tf-status { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--tf-soft); white-space: nowrap; }
.tf-status--processing, .tf-status--completed { background: var(--tf-green-tint); color: var(--tf-green); }
.tf-status--cancelled, .tf-status--failed, .tf-status--refunded { background: var(--tf-red-tint); color: var(--tf-red); }
.tf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 12px; color: var(--tf-muted); }
.tf-steps li { position: relative; display: grid; justify-items: center; gap: 6px; }
.tf-steps li::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--tf-line); z-index: 0; }
.tf-steps li:first-child::before { display: none; }
.tf-steps li.is-done::before { background: var(--tf-green); }
.tf-steps span { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--tf-line); display: grid; place-items: center; color: transparent; }
.tf-steps li.is-done { color: var(--tf-ink); font-weight: 500; }
.tf-steps li.is-done span { background: var(--tf-green); border-color: var(--tf-green); color: #fff; }
.tf-steps .tf-i { width: 16px; height: 16px; }
.tf-track__courier { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--tf-r-sm); background: var(--tf-green-tint); flex-wrap: wrap; }
.tf-track__courier > .tf-i { color: var(--tf-green); }
.tf-track__courier div { flex: 1; min-width: 160px; display: grid; font-size: 13.5px; }
.tf-track__courier code { font-weight: 600; font-family: var(--tf-font); }
.tf-track__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-track__items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.tf-track__items img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.tf-track__items small { color: var(--tf-muted); }
.tf-track__total { display: flex; justify-content: space-between; margin: 0; padding-top: 12px; border-top: 1px solid var(--tf-line); font-size: 16px; }
.tf-track__total b { color: var(--tf-ink); }
