/* Houston booking widget styles (2026-11-22): VERBATIM copy of the Austin plugin's assets/css/booking.css + assets/css/pt-booking.css (tfa-bachelor-booking 1.42.0), then the Austin theme's overrides, so Houston matches tacticalfitnessaustin.com/book-private-training/ exactly. Re-copy both files if the Austin widget's look changes. */
/* TFA Bachelor Party Booking Widget */

:root {
    --tfa-primary: #c8a94e;
    --tfa-primary-dark: #b0922e;
    --tfa-bg: #0d0d0d;
    --tfa-surface: #1a1a1a;
    --tfa-surface-hover: #242424;
    --tfa-surface-active: #2a2a2a;
    --tfa-border: #333;
    --tfa-text: #f0f0f0;
    --tfa-text-muted: #999;
    --tfa-text-dim: #666;
    --tfa-success: #2ecc71;
    --tfa-danger: #e74c3c;
    --tfa-radius: 8px;
    --tfa-radius-lg: 12px;
    --tfa-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tfa-booking {
    font-family: var(--tfa-font);
    color: var(--tfa-text);
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    -webkit-font-smoothing: antialiased;
}

.tfa-booking *, .tfa-booking *::before, .tfa-booking *::after {
    box-sizing: border-box;
}

/* Step Indicator */
.tfa-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 48px 0 0;
}

.tfa-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.tfa-step.active,
.tfa-step.completed {
    opacity: 1;
}

.tfa-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tfa-surface);
    border: 2px solid var(--tfa-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.tfa-step.active .tfa-step-num {
    background: var(--tfa-primary);
    border-color: var(--tfa-primary);
    color: #000;
}

.tfa-step.completed .tfa-step-num {
    background: var(--tfa-primary-dark);
    border-color: var(--tfa-primary-dark);
    color: #000;
}

.tfa-step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tfa-text-muted);
    white-space: nowrap;
}

.tfa-step.active .tfa-step-label {
    color: var(--tfa-primary);
}

.tfa-step-line {
    flex: 1;
    height: 2px;
    background: var(--tfa-border);
    margin: 0 8px;
    margin-bottom: 22px;
    max-width: 60px;
}

/* Headings */
.tfa-heading {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: center;
}

.tfa-sub-heading {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--tfa-text-muted);
}

/* Package Cards */
.tfa-packages {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .tfa-packages {
        grid-template-columns: 1fr;
    }
}

.tfa-package-card {
    background: var(--tfa-surface);
    border: 2px solid var(--tfa-border);
    border-radius: var(--tfa-radius-lg);
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tfa-package-card:hover {
    border-color: var(--tfa-primary);
    background: var(--tfa-surface-hover);
    transform: translateY(-2px);
}

.tfa-package-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tfa-package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tfa-package-card:hover .tfa-package-img {
    transform: scale(1.05);
}

.tfa-package-body {
    padding: 24px 20px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tfa-package-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.tfa-package-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tfa-package-tagline {
    font-size: 14px;
    color: var(--tfa-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.tfa-package-desc {
    font-size: 13px;
    color: var(--tfa-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.tfa-package-price {
    font-size: 14px;
    color: var(--tfa-text-muted);
    margin-bottom: 16px;
}

.tfa-btn--choose {
    margin-top: auto;
    width: 100%;
}

.tfa-package-price strong {
    color: var(--tfa-text);
    font-size: 22px;
}

/* Back Button */
.tfa-back {
    background: none;
    border: none;
    color: var(--tfa-text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-bottom: 16px;
    transition: color 0.2s;
    font-family: var(--tfa-font);
}

.tfa-back:hover {
    color: var(--tfa-primary);
}

/* Selected Package Bar */
.tfa-selected-package-bar,
.tfa-summary-bar {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tfa-bar-icon {
    font-size: 24px;
}

.tfa-bar-text {
    flex: 1;
}

.tfa-bar-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.tfa-bar-text span {
    color: var(--tfa-text-muted);
    font-size: 13px;
}

/* Calendar */
.tfa-calendar-wrap {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.tfa-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tfa-cal-month {
    font-size: 18px;
    font-weight: 700;
}

.tfa-cal-nav {
    background: none;
    border: 1px solid var(--tfa-border);
    color: var(--tfa-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: var(--tfa-font);
    line-height: 1;
}

.tfa-cal-nav:hover {
    border-color: var(--tfa-primary);
    color: var(--tfa-primary);
}

.tfa-cal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tfa-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.tfa-cal-weekdays span {
    font-size: 12px;
    font-weight: 600;
    color: var(--tfa-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 0;
}

.tfa-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.tfa-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
    border: none;
    background: none;
    color: var(--tfa-text-dim);
    font-family: var(--tfa-font);
    padding: 0;
    min-width: 0;
}

.tfa-cal-day.tfa-cal-empty {
    visibility: hidden;
}

.tfa-cal-day.tfa-cal-available {
    color: var(--tfa-text);
    cursor: pointer;
    background: var(--tfa-surface-hover);
}

.tfa-cal-day.tfa-cal-available:hover {
    background: var(--tfa-primary);
    color: #000;
}

.tfa-cal-day.tfa-cal-selected {
    background: var(--tfa-primary);
    color: #000;
    font-weight: 700;
}

.tfa-cal-day.tfa-cal-today {
    border: 2px solid var(--tfa-primary);
}

/* Time Slots */
.tfa-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.tfa-slot {
    background: var(--tfa-surface);
    border: 2px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 14px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--tfa-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--tfa-text);
}

.tfa-slot:hover {
    border-color: var(--tfa-primary);
    background: var(--tfa-surface-hover);
}

.tfa-slot.selected {
    border-color: var(--tfa-primary);
    background: var(--tfa-primary);
    color: #000;
}

.tfa-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Minimum-notice note under the calendar.
   Scoped and given an explicit colour on purpose: the bare booking page template
   skips get_header(), so anything left to inherit picks up whichever theme rule
   wins (that is how the wizard headings went near-black on the dark page in
   v1.16.7). Never leave text in this widget without a pinned colour. */
.tfa-booking .tfa-cal-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: var(--tfa-text-muted);
}

.tfa-booking .tfa-cal-note strong {
    color: var(--tfa-text);
}

/* Machine gun limited-availability note (full-auto packages, step 2). Pinned colours, see above. */
.tfa-booking .tfa-mg-note {
    margin: 0 0 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: var(--tfa-text);
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-primary);
    border-radius: var(--tfa-radius);
}

.tfa-booking .tfa-mg-note strong {
    color: var(--tfa-text);
}

/* Fallback CTA */
.tfa-no-slots-fallback {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--tfa-text-muted);
    line-height: 1.6;
    margin-top: 16px;
}

.tfa-link {
    color: var(--tfa-primary);
    text-decoration: none;
    font-weight: 600;
}

.tfa-link:hover {
    text-decoration: underline;
}

/* Form */
.tfa-form {
    margin-top: 4px;
}

.tfa-form-row {
    margin-bottom: 16px;
}

.tfa-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .tfa-form-row--half {
        grid-template-columns: 1fr;
    }
}

.tfa-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--tfa-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tfa-field input,
.tfa-field textarea,
.tfa-field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    color: var(--tfa-text);
    font-size: 15px;
    font-family: var(--tfa-font);
    transition: border-color 0.2s;
}

.tfa-field input:focus,
.tfa-field textarea:focus {
    outline: none;
    border-color: var(--tfa-primary);
}

.tfa-field input::placeholder,
.tfa-field textarea::placeholder {
    color: var(--tfa-text-dim);
}

.tfa-field-hint {
    display: block;
    font-size: 12px;
    color: var(--tfa-text-dim);
    margin-top: 4px;
}

.tfa-optional {
    font-weight: 400;
    color: var(--tfa-text-dim);
    text-transform: none;
}

/* Checkout upgrade to Rapid Fire (v1.30.7). Colours pinned: bare pages have no theme. */
.tfa-upgrade[hidden] { display: none !important; }
.tfa-upgrade {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-primary);
    border-radius: var(--tfa-radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    color: var(--tfa-text);
}
.tfa-upgrade-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--tfa-primary);
    margin-bottom: 6px;
}
.tfa-upgrade p { margin: 0 0 10px; font-size: 14px; color: var(--tfa-text); }
.tfa-upgrade p.tfa-upgrade-note { color: var(--tfa-text-muted); font-size: 13px; }
.tfa-upgrade p.tfa-upgrade-done { margin: 0; }
.tfa-upgrade-undo {
    background: none;
    border: 0;
    padding: 0;
    color: var(--tfa-primary);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

/* Price Box */
.tfa-price-box {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.tfa-price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--tfa-text-muted);
}

.tfa-price-row.tfa-price-total {
    border-top: 1px solid var(--tfa-border);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tfa-text);
}

.tfa-price-row.tfa-price-due {
    font-size: 18px;
    font-weight: 700;
    color: var(--tfa-primary);
}

.tfa-price-tier {
    display: inline-block;
    background: var(--tfa-primary);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

/* Terms Box */
.tfa-terms-box {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--tfa-text-muted);
    line-height: 1.6;
}

.tfa-terms-box p {
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--tfa-text);
}

.tfa-terms-box ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.tfa-terms-box li {
    margin-bottom: 4px;
}

.tfa-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--tfa-text);
}

.tfa-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--tfa-primary);
    flex-shrink: 0;
}

.tfa-checkbox a {
    color: var(--tfa-primary);
    text-decoration: none;
}

.tfa-checkbox a:hover {
    text-decoration: underline;
}

/* Buttons */
.tfa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: var(--tfa-radius);
    font-family: var(--tfa-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.tfa-btn--primary {
    background: var(--tfa-primary);
    color: #000;
}

.tfa-btn--primary:hover {
    background: var(--tfa-primary-dark);
    transform: translateY(-1px);
}

.tfa-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tfa-btn--full {
    width: 100%;
}

/* Payment */
.tfa-payment-summary {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.tfa-iframe-wrap {
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    overflow: hidden;
    min-height: 400px;
    position: relative;
    background: #fff;
}

#tfa-payment-iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: none;
}

/* Loading Spinner */
.tfa-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--tfa-text-muted);
    font-size: 14px;
}

.tfa-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--tfa-border);
    border-top-color: var(--tfa-primary);
    border-radius: 50%;
    animation: tfa-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes tfa-spin {
    to { transform: rotate(360deg); }
}

/* Confirmation */
.tfa-confirmation {
    text-align: center;
    padding: 40px 20px;
}

.tfa-confirm-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tfa-success);
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tfa-confirm-msg {
    color: var(--tfa-text-muted);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.tfa-confirm-details {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius);
    padding: 20px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    display: inline-block;
    min-width: 300px;
}

/* Error */
.tfa-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--tfa-danger);
    border-radius: var(--tfa-radius);
    padding: 12px 16px;
    color: var(--tfa-danger);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Transitions */
.tfa-panel {
    animation: tfa-fadeIn 0.3s ease;
}

@keyframes tfa-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Package Section Spacing */
.tfa-panel[data-panel="1"] {
    padding-bottom: 48px;
}

/* Package Badge & Featured */
.tfa-package-card {
    position: relative;
}

.tfa-package-featured {
    border-color: var(--tfa-primary);
    box-shadow: 0 0 0 1px var(--tfa-primary), 0 4px 20px rgba(200, 169, 78, 0.15);
}

.tfa-package-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--tfa-primary);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Package Highlights */
.tfa-package-highlights {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tfa-package-highlights li {
    font-size: 12px;
    color: var(--tfa-muted);
    background: rgba(200, 169, 78, 0.08);
    border: 1px solid rgba(200, 169, 78, 0.15);
    border-radius: 20px;
    padding: 3px 10px;
}

/* Price Note */
.tfa-price-note span {
    font-size: 12px;
    color: var(--tfa-muted);
    font-style: italic;
}

/* Payment Summary Lines */
.tfa-pay-line {
    display: block;
    font-size: 13px;
    color: var(--tfa-muted);
    margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 480px) {
    .tfa-heading {
        font-size: 20px;
    }

    .tfa-step-label {
        font-size: 10px;
    }

    .tfa-step-num {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .tfa-step-line {
        max-width: 30px;
    }

    .tfa-calendar-wrap {
        padding: 12px;
    }

    .tfa-cal-day {
        font-size: 12px;
    }

    .tfa-slots {
        grid-template-columns: 1fr 1fr;
    }

    .tfa-confirmation {
        padding: 24px 12px;
    }

    .tfa-confirm-details {
        min-width: 0;
        width: 100%;
    }
}

/* Gift card code field + secondary button (v1.23.0). Here, not in gift-card.css,
   because the field appears on every checkout, not just the gift card page. */
.tfa-gift-field input { text-transform: uppercase; letter-spacing: 0.06em; }
.tfa-btn--secondary {
    background: transparent;
    color: var(--tfa-text);
    border: 1px solid var(--tfa-border);
}
.tfa-btn--secondary:hover { border-color: var(--tfa-primary); color: var(--tfa-primary); }

/* Gift card cross-sell on the booking confirmation (v1.24.0). */
.tfa-confirm-gift { margin: 18px 0 0; font-size: 15px; color: var(--tfa-text-muted); text-align: center; }
.tfa-confirm-gift a { color: var(--tfa-primary); font-weight: 700; }
/**
 * Private Training booking widget styles.
 *
 * Loaded AFTER booking.css and inherits its tokens (--tfa-primary etc), so the
 * widget stays visually part of the site instead of a second design language.
 * Scoped under #tfa-pt-app so nothing here can leak into the bachelor wizard,
 * which is the live revenue path.
 *
 * Design brief (Ron, 2026-08-08): photo per discipline, no blurbs, the long
 * range note much larger and highlighted, and more breathing room top/bottom.
 */

#tfa-pt-app {
    /* Generous room BELOW, tight above (Ron, 2026-08-08). The widget is embedded
       under a "Book a Single Session" heading on the firearms page, so a big top
       pad left the heading marooned from the thing it introduces. */
    padding: clamp(12px, 1.6vw, 22px) 0 clamp(56px, 8vw, 112px);
    max-width: 1080px;
    margin: 0 auto;
}

/* Centre the heading/intro that INTRODUCE the widget. CSS has no previous-sibling
   combinator, so this uses :has(). The block itself is also set to centred in the
   page content, so alignment does not depend on :has() support. */
:has(+ #tfa-pt-app) { text-align: center; }

/* ── Step rail ─────────────────────────────────────────────── */
#tfa-pt-app .tfa-steps { margin-bottom: clamp(32px, 5vw, 56px); }

#tfa-pt-app .tfa-heading {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    letter-spacing: 0.02em;
    margin: 0 0 clamp(28px, 4vw, 44px);
    text-align: center;
}

/* ── Focus cards: the photo does the talking ───────────────── */
#tfa-pt-app .tfa-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2.4vw, 26px);
}

#tfa-pt-app .tfa-pt-focus-card {
    position: relative;
    padding: 0;
    border: 2px solid var(--tfa-border);
    border-radius: var(--tfa-radius-lg);
    background: var(--tfa-surface);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#tfa-pt-app .tfa-pt-focus-card:hover,
#tfa-pt-app .tfa-pt-focus-card:focus-visible {
    border-color: var(--tfa-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    outline: none;
}

#tfa-pt-app .tfa-pt-focus-card.selected {
    border-color: var(--tfa-primary);
    box-shadow: 0 0 0 3px rgba(200, 169, 78, .28);
}

#tfa-pt-app .tfa-pt-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}

#tfa-pt-app .tfa-pt-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

#tfa-pt-app .tfa-pt-focus-card:hover .tfa-pt-card-media img { transform: scale(1.06); }

/* Legibility floor for the label regardless of the photo underneath. */
#tfa-pt-app .tfa-pt-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.10) 35%, rgba(0,0,0,.82) 100%);
}

#tfa-pt-app .tfa-pt-card-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px 18px;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

#tfa-pt-app .tfa-pt-focus-card.selected .tfa-pt-card-label { color: var(--tfa-primary); }

#tfa-pt-app .tfa-pt-check {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--tfa-primary);
    color: #111;
    font-size: 17px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .18s ease, transform .18s ease;
}
#tfa-pt-app .tfa-pt-focus-card.selected .tfa-pt-check { opacity: 1; transform: scale(1); }

/* ── Long range callout: deliberately loud ─────────────────── */
#tfa-pt-app .tfa-pt-longrange {
    margin: clamp(30px, 4.5vw, 48px) 0 0;
    padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
    background: linear-gradient(180deg, rgba(200,169,78,.13), rgba(200,169,78,.06));
    border: 2px solid var(--tfa-primary);
    border-radius: var(--tfa-radius-lg);
    text-align: center;
}

#tfa-pt-app .tfa-pt-longrange-title {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--tfa-primary);
    margin-bottom: 10px;
}

#tfa-pt-app .tfa-pt-longrange-body {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.6;
    color: var(--tfa-text);
    margin: 0;
}

#tfa-pt-app .tfa-pt-longrange-body a,
#tfa-pt-app .tfa-pt-longrange-phone {
    color: var(--tfa-primary);
    font-weight: 700;
    white-space: nowrap;
}

/* ── Everything below step 1 ───────────────────────────────── */
#tfa-pt-app .tfa-selected-package-bar,
#tfa-pt-app .tfa-summary-bar {
    font-size: 1.05rem;
    padding: 16px 20px;
    margin-bottom: clamp(22px, 3vw, 32px);
    border-left: 3px solid var(--tfa-primary);
}

#tfa-pt-app .tfa-form-row { margin-bottom: 22px; }
#tfa-pt-app .tfa-terms-box { padding: clamp(20px, 3vw, 28px); }
#tfa-pt-app .tfa-terms-box ul { margin: 12px 0 18px; }
#tfa-pt-app .tfa-terms-box li { margin-bottom: 8px; line-height: 1.55; }

#tfa-pt-app .tfa-submit-btn {
    padding: 18px 24px;
    font-size: 1.12rem;
    letter-spacing: .04em;
}

@media (max-width: 640px) {
    #tfa-pt-app .tfa-packages { grid-template-columns: 1fr; }
    #tfa-pt-app .tfa-pt-card-media { aspect-ratio: 16 / 9; }
}


/* ── Mobile ────────────────────────────────────────────────────
   Checked at 375px. The card grid already collapses to one column;
   these keep type and spacing sane and guarantee no sideways scroll. */
@media (max-width: 600px) {
    #tfa-pt-app {
        padding: clamp(10px, 3vw, 18px) 0 clamp(40px, 10vw, 64px);
        overflow-x: hidden;
    }
    #tfa-pt-app .tfa-heading { font-size: 1.45rem; margin-bottom: 22px; }
    #tfa-pt-app .tfa-pt-longrange { padding: 18px 16px; margin-top: 24px; }
    #tfa-pt-app .tfa-pt-longrange-title { font-size: 1.15rem; }
    #tfa-pt-app .tfa-pt-longrange-body { font-size: 1rem; }
    /* A long phone number should never be the thing that widens the page. */
    #tfa-pt-app .tfa-pt-longrange-phone { white-space: normal; }
    #tfa-pt-app .tfa-pt-card-label { font-size: 1.1rem; padding: 12px 14px; }
    #tfa-pt-app .tfa-terms-box { padding: 16px 14px; }
    #tfa-pt-app .tfa-submit-btn { padding: 16px 18px; font-size: 1.02rem; }
}

/* ── v1.22.0: lesson length, multi-platform, gear + price boxes ── */
#tfa-pt-app .tfa-pt-lengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(32px, 5vw, 52px);
}
#tfa-pt-app .tfa-pt-length {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 18px 12px;
    border: 2px solid var(--tfa-border);
    border-radius: var(--tfa-radius-lg);
    background: var(--tfa-surface);
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease;
}
#tfa-pt-app .tfa-pt-length:hover,
#tfa-pt-app .tfa-pt-length:focus-visible { border-color: var(--tfa-primary); outline: none; }
#tfa-pt-app .tfa-pt-length.selected { border-color: var(--tfa-primary); box-shadow: 0 0 0 3px rgba(200, 169, 78, .28); }
#tfa-pt-app .tfa-pt-length.disabled { opacity: .35; cursor: not-allowed; border-color: var(--tfa-border); box-shadow: none; }
#tfa-pt-app .tfa-pt-length-hours { font-size: 1.35rem; font-weight: 700; color: var(--tfa-text); }
#tfa-pt-app .tfa-pt-length-price { font-size: 1.05rem; color: var(--tfa-primary); font-weight: 600; }
#tfa-pt-app .tfa-pt-length-note { font-size: .85rem; color: var(--tfa-text-muted); }

#tfa-pt-app .tfa-pt-heading-2 { margin-bottom: 8px; }
#tfa-pt-app .tfa-pt-hint { text-align: center; color: var(--tfa-text-muted); margin: 0 0 clamp(20px, 3vw, 30px); }
#tfa-pt-app .tfa-pt-focus-card.dimmed { opacity: .35; }
#tfa-pt-app .tfa-pt-continue { margin-top: clamp(24px, 3vw, 32px); }
#tfa-pt-app #tfa-pt-step1-error { margin-top: 16px; }

#tfa-pt-app .tfa-pt-gear,
#tfa-pt-app .tfa-pt-price {
    background: var(--tfa-surface);
    border: 1px solid var(--tfa-border);
    border-radius: var(--tfa-radius-lg);
    padding: clamp(16px, 2.4vw, 22px);
    margin-bottom: 22px;
}
#tfa-pt-app .tfa-pt-price:empty { display: none; }
#tfa-pt-app .tfa-pt-gear-title { font-weight: 700; margin-bottom: 10px; color: var(--tfa-text); }
#tfa-pt-app .tfa-pt-gear-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--tfa-border);
}
#tfa-pt-app .tfa-pt-gear-row small { color: var(--tfa-text-muted); }
#tfa-pt-app .tfa-pt-gear-sub { border-top: 0; padding: 4px 0 4px 18px; font-size: .95rem; color: var(--tfa-text-muted); }
#tfa-pt-app .tfa-pt-gear select { width: auto; min-width: 72px; }
#tfa-pt-app .tfa-pt-price-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
#tfa-pt-app .tfa-pt-price-total { color: var(--tfa-primary); }
#tfa-pt-app .tfa-pt-price-split { border-top: 1px solid var(--tfa-border); margin: 10px 0 6px; }
#tfa-pt-app .tfa-pt-gear-error { color: var(--tfa-danger); margin: 8px 0 0; }

@media (max-width: 600px) {
    #tfa-pt-app .tfa-pt-lengths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    #tfa-pt-app .tfa-pt-length { padding: 14px 6px; }
    #tfa-pt-app .tfa-pt-length-hours { font-size: 1.1rem; }
}
#tfa-pt-app .tfa-pt-error { color: var(--tfa-danger); font-weight: 600; margin: 10px 0; }

/* ── Austin theme overrides (read live from tacticalfitnessaustin.com 2026-11-22) ── */
:root:root { --tfa-primary: #dfa234; --tfa-primary-dark: #c98f26; --tfa-bg: #0e0e0c; --tfa-surface: #171713; --tfa-surface-hover: #1f1e19; --tfa-surface-active: #2e2d27; --tfa-border: #6e6c63; --tfa-text: #f5f5f0; --tfa-text-muted: #b8b6ad; --tfa-text-dim: #8a8a85; --tfa-muted: #b8b6ad; --tfa-success: #4cc38a; --tfa-danger: #ff6b5e; --tfa-radius: 4px; --tfa-radius-lg: 10px; --tfa-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.tfa-booking .tfa-field input, .tfa-booking .tfa-field textarea, .tfa-booking .tfa-field select { font-size: 16px; background: #1f1e19; border-color: #6e6c63; }
.tfa-booking .tfa-field input:focus, .tfa-booking .tfa-field textarea:focus, .tfa-booking .tfa-field select:focus { border-color: #dfa234; box-shadow: 0 0 0 3px rgba(223,162,52,.45); }
.tfa-booking .tfa-btn--primary, .tfa-booking .tfa-btn--primary:hover { color: #0e0e0c; }
.tfa-booking h2.tfa-heading, .tfa-booking h3.tfa-sub-heading { font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: .02em; line-height: 1.2; color: #f5f5f0; text-transform: none; }
.tfa-booking .tfa-btn { font-family: var(--tfa-font); }
.tfa-booking .tfa-pt-longrange-body a { color: var(--tfa-primary); }
/* Houston page chrome: the widget sits in a .formband; let it use the full Austin width. */
.formband .hx-book, .hx-book { max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; color: var(--tfa-text); }
.hx-book .tfa-steps { padding-top: 8px; }
/* Houston page globals that Austin does not have: diamond bullets, gold h2, 17px paragraphs. */
.tfa-booking ul { list-style: disc; padding-left: 20px; font-size: 15px; }
.tfa-booking ul li { padding-left: 0; }
.tfa-booking ul li::before { content: none; }
.tfa-booking p { font-size: inherit; }
/* Austin gets side gutters from its theme container; Houston pages do not. */
.hx-book { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
