/* Direction-aware by construction: logical properties (inline-start/end)
   instead of left/right, so the offer cards read correctly in RTL locales
   without shipping a separate -rtl stylesheet that would drift. */
/** Tiger Funnels — thank-you confirmation. Scoped, theme-agnostic. */
.tgfun-ty { max-width: 680px; margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
.tgfun-ty__heading { margin: 0 0 18px; }
.tgfun-ty__meta {
    list-style: none; margin: 0 0 22px; padding: 0;
    /* minmax(0,…) so a long value can never force a track wider than the screen. */
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px;
}
.tgfun-ty__meta li {
    border: 1px solid rgba(128,128,128,.25); border-radius: 8px; padding: 10px 12px;
}
.tgfun-ty__meta span { display: block; font-size: .8rem; opacity: .7; margin-bottom: 2px; }
.tgfun-ty__meta strong {
    font-size: 15px;
    /* NOT nowrap here: this cell also holds the order date and the payment
       method ("Wednesday, August 19, 2026", "PayPal Express Checkout"), and an
       unbreakable value forces its 1fr track open and scrolls the whole page
       sideways on a phone. The price keeps its own nowrap on the next rule,
       which is the only value that actually needed it. */
    overflow-wrap: anywhere;
}
.tgfun-ty__meta strong .woocommerce-Price-amount,
.tgfun-ty__meta strong bdi { white-space: nowrap; }

/* table-layout:fixed + wrapping: a long product name, coupon code or shipping
   label would otherwise set a min-content width above 100% and scroll the page. */
.tgfun-ty__items { width: 100%; border-collapse: collapse; margin-bottom: 22px; table-layout: fixed; }
.tgfun-ty__items th, .tgfun-ty__items td { overflow-wrap: anywhere; }
.tgfun-ty__downloads a { overflow-wrap: anywhere; }
.tgfun-ty__items th, .tgfun-ty__items td {
    text-align: start; padding: 9px 6px; border-bottom: 1px solid rgba(128,128,128,.25);
}
.tgfun-ty__items td:last-child, .tgfun-ty__items th:last-child { text-align: end; }
.tgfun-ty__items tfoot th { font-weight: 600; }
.tgfun-ty__qty { opacity: .65; }
.tgfun-ty__tag {
    display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px;
    font-size: .75rem; background: #FFF8E1; color: #7a4b00; border: 1px solid #f0c36d;
}
.tgfun-ty__items tr.is-offer td:first-child { font-weight: 500; }
.tgfun-ty__downloads, .tgfun-ty__address { margin-bottom: 18px; }
.tgfun-ty__downloads h3, .tgfun-ty__address h3 { margin: 0 0 6px; font-size: 15px; }
.tgfun-ty--empty { opacity: .8; }
@media (max-width: 480px) {
    .tgfun-ty__meta { grid-template-columns: 1fr 1fr; }
    .tgfun-ty__items th, .tgfun-ty__items td { padding: 8px 4px; }
}
/* Below ~400px two columns leave ~147px a cell, which is not enough for a date. */
@media (max-width: 400px) { .tgfun-ty__meta { grid-template-columns: 1fr; } }
