/* modules/checkout/offers.css (v3): offer bar, discounted price, badge. Loaded only while an offer is live. */
.tz-offer-bar {
    background: var(--bg-surface, #11141b);
    border-bottom: 1px solid var(--border-accent, rgba(249,115,22,.45));
    color: var(--text-primary, #f1f3f7);
    font-size: .88rem; line-height: 1.45;
}
.tz-offer-bar__inner {
    max-width: 1200px; margin: 0 auto; padding: 9px 16px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
}
.tz-offer-bar__name {
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: var(--accent, #f97316); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.tz-offer-bar__text { color: var(--text-secondary, #b3b9c6); }
.tz-offer-bar__cta { color: var(--text-accent, #fb923c); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tz-offer-bar__cta:hover { color: var(--text-primary, #fff); }
.tz-offer-bar__close {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: var(--text-muted, #7c8494); cursor: pointer;
}
.tz-offer-bar__close:hover { color: var(--text-primary, #fff); background: rgba(127,127,127,.12); }
.tz-offer-bar__close:focus-visible, .tz-offer-bar__cta:focus-visible { outline: 2px solid var(--accent, #f97316); outline-offset: 2px; }
.tz-offer-bar.is-hidden, .tz-offer-bar__close[hidden] { display: none; }

/* Prices (tz_offer_price_html) */
.tz-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.tz-price__was { color: var(--text-muted, #7c8494); font-size: .6em; font-weight: 600; text-decoration-thickness: 2px; }
.tz-price__now { text-decoration: none; }
.tz-price__per { font-size: .45em; font-weight: 500; color: var(--text-muted, #7c8494); }
.tz-offer-badge {
    display: inline-block; vertical-align: middle; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    color: #4ade80; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35);
    padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.tz-offer-note { margin: 6px 0 0; font-size: .8rem; color: var(--text-accent, #fb923c); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .tz-offer-bar__inner { justify-content: flex-start; } }

/* v5: pricing cards (modules/catalog/render.php) and FAP hero chip */
.pricing-card .price-was { align-self: center; font-size: 1.05rem; font-weight: 700; color: var(--text-muted, #7c8494); text-decoration-thickness: 2px; margin-right: 2px; }
.pricing-card .price-was[hidden] { display: none; }
.tz-offer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.tz-offer-line__text { font-size: .78rem; color: var(--text-accent, #fb923c); }
.price-was-inline { color: var(--text-muted, #7c8494); margin-right: 4px; }
.tz-offer-chip {
    display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #fff; background: var(--accent, #f97316); padding: 4px 10px; border-radius: 999px; text-decoration: none;
}
.tz-offer-chip:hover { filter: brightness(1.08); }
.tz-offer-chip:focus-visible { outline: 2px solid var(--accent, #f97316); outline-offset: 2px; }

/* v5: /checkout/ tier cards (page-templates/page-checkout.php) */
.tz-buy-tier .tz-buy-price .price-was { font-size: 1.05rem; font-weight: 700; color: var(--text-muted, #7c8494); text-decoration-thickness: 2px; margin-right: 6px; }
.tz-buy-summary .tz-price__was { font-size: .85em; font-weight: 600; color: var(--text-muted, #7c8494); margin-right: 4px; }
