/*
 * Cart + stepped checkout (Activity · Contact · Payment) for every supplier.
 * resources/views/checkout/*. Colours from css/tripdo-theme.css (--td-*), with fallbacks.
 */
.tp-co {
    --co-ink: var(--td-navy, #2c4265); --co-muted: var(--td-muted, #6b788d); --co-line: var(--td-border, #e2e7ef);
    --co-soft: var(--td-surface-2, #f6f8fb); --co-sun: var(--td-sun, #ffb800); --co-ok: var(--td-green, #006837);
    --co-teal: var(--td-teal, #2c7f83); --co-coral: var(--td-coral, #f15a24); --co-radius: 16px;
    color: var(--co-ink); padding-top: 28px; padding-bottom: 80px; min-height: 55vh;
}
.tp-co *, .tp-co *::before, .tp-co *::after { box-sizing: border-box; }
.tp-co [hidden] { display: none !important; }
.tp-co svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.tp-co a { color: inherit; }
.tp-co__h1 { margin: 0 0 22px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; color: var(--co-ink); }
.tp-co-muted { color: var(--co-muted); font-size: 14px; margin: 0; }
.tp-co-right { text-align: right; }

/* Buttons */
.tp-co-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
    border: 0; border-radius: 999px; background: var(--co-sun); color: var(--td-navy-900, #1f2f4a) !important;
    font: 600 16px/1.2 inherit; font-family: inherit; text-decoration: none !important; cursor: pointer;
    transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tp-co-btn:hover { filter: brightness(.96); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 184, 0, .35); }
.tp-co-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.tp-co-btn--block { display: flex; width: 100%; }
.tp-co-btn--line { background: #fff; border: 1.5px solid var(--co-ink); color: var(--co-ink) !important; }
.tp-co-btn--line:hover { background: var(--co-soft); box-shadow: none; }
.tp-co-btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.tp-co-btn--sm svg { width: 17px; height: 17px; }
.tp-co-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; background: none; color: var(--co-ink); cursor: pointer;
}
.tp-co-icon-btn:hover { background: var(--co-soft); color: #b42318; }

/* Notes */
.tp-co-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: #e8f3f3; font-size: 15px; }
.tp-co-note svg { fill: var(--co-teal); margin-top: 1px; }
.tp-co-note--warn { background: #fff4e5; }
.tp-co-note--warn svg { fill: #b54708; }
.tp-co-note--error { background: #fdecec; color: #8a1c1c; }
.tp-co-note--error svg { fill: #b42318; }

/* Layout: content + summary on the right */
.tp-co-grid { display: grid; gap: 24px; }
@media (min-width: 992px) {
    .tp-co-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
    .tp-co-side { position: sticky; top: 96px; }
}
.tp-co-side { display: grid; gap: 16px; }
.tp-co-card { padding: 22px; border: 1px solid var(--co-line); border-radius: var(--co-radius); background: #fff; box-shadow: 0 1px 2px rgba(44, 66, 101, .05); }
.tp-co-card__title { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--co-ink); }

/* Cart item */
.tp-co-day { margin: 0 0 12px; font-size: 20px; font-weight: 600; color: var(--co-muted); }
.tp-co-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; border: 1px solid var(--co-line); border-radius: var(--co-radius); background: #fff; }
@media (min-width: 640px) { .tp-co-item { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px; } }
.tp-co-item__media { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #e9eef5; }
@media (min-width: 640px) { .tp-co-item__media { aspect-ratio: 4 / 3; } }
.tp-co-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-co-item__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.tp-co-item__title a { text-decoration: none !important; color: var(--co-ink) !important; }
.tp-co-item__title a:hover { color: var(--co-teal) !important; }
.tp-co-rating { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; }
.tp-co-rating span { color: var(--co-muted); }
.tp-co-stars { color: var(--co-ink) !important; letter-spacing: 1px; }
.tp-co-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tp-co-facts li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.tp-co-facts svg { width: 19px; height: 19px; margin-top: 1px; color: var(--co-ink); }
.tp-co-facts li.is-ok { color: var(--co-ok); font-weight: 600; }
.tp-co-facts li.is-ok svg { color: var(--co-ok); }
.tp-co-item__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; grid-column: 1 / -1; }
@media (min-width: 640px) { .tp-co-item__foot { grid-column: auto; } }
.tp-co-item__actions { display: flex; align-items: center; gap: 8px; }
.tp-co-item__actions form { margin: 0; }
.tp-co-item__price { font-size: 22px; font-weight: 700; }
.tp-co-subtotal-line { display: grid; justify-items: end; gap: 2px; margin-top: 18px; text-align: right; }
.tp-co-subtotal-line span { font-size: 18px; font-weight: 700; }
.tp-co-subtotal-line strong { font-size: 24px; }
.tp-co-subtotal-line small { color: var(--co-ok); font-size: 14px; }
@media (min-width: 992px) { .tp-co-subtotal-line { display: none; } }

.tp-co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tp-co-total span { font-size: 18px; font-weight: 700; }
.tp-co-total strong { font-size: 26px; font-weight: 700; }
.tp-co-card .tp-co-btn--cta { margin: 16px 0 6px; }
.tp-co-perks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.tp-co-perks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.4; }
.tp-co-perks svg { width: 24px; height: 24px; color: var(--co-ok); }
.tp-co-perks strong { display: block; font-weight: 600; }
.tp-co-perks span { color: var(--co-muted); font-size: 14px; }
.tp-co-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tp-co-why li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.tp-co-why svg { width: 24px; height: 24px; color: var(--co-ink); }

/* Empty cart */
.tp-co-empty { max-width: 480px; margin: 30px auto 0; text-align: center; }
.tp-co-empty__icon { display: inline-flex; width: 80px; height: 80px; align-items: center; justify-content: center; border-radius: 50%; background: #fff6dd; margin-bottom: 16px; }
.tp-co-empty__icon svg { width: 36px; height: 36px; color: #c58b00; }
.tp-co-empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.tp-co-empty p { margin: 0 0 22px; color: var(--co-muted); }
.tp-co-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (prefers-reduced-motion: reduce) { .tp-co-btn { transition: none; } }

/* ── Stepped checkout ─────────────────────────────────────────────── */
.tp-co-body { margin: 0; background: #fff; font-family: Poppins, system-ui, -apple-system, sans-serif; color: var(--td-navy, #2c4265); -webkit-font-smoothing: antialiased; }
.tp-co-body a { color: inherit; }
/* Same page width and side spacing as the rest of the website (tripdo-theme.css: --td-content-max, --td-gutter). */
.tp-co--steps { max-width: calc(var(--td-content-max, 1440px) + 2 * var(--td-gutter, 16px)); margin: 0 auto; padding: 28px var(--td-gutter, 16px) 72px; }
@media (min-width: 768px) { .tp-co--steps { padding-top: 36px; padding-bottom: 80px; } }

.tp-co-top { border-bottom: 1px solid var(--td-border, #e2e7ef); background: #fff; position: sticky; top: 0; z-index: 20; }
.tp-co-top__inner { max-width: calc(var(--td-content-max, 1440px) + 2 * var(--td-gutter, 16px)); margin: 0 auto; padding: 12px var(--td-gutter, 16px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
@media (min-width: 768px) { .tp-co-top__inner { padding-top: 14px; padding-bottom: 14px; } }
/* Same logo size as the site header (site-header.css .tp-header__logo): 36px, 44px from 992px. */
.tp-co-top__logo { display: inline-flex; align-items: center; }
.tp-co-top__logo img { display: block; height: 36px; width: auto; }
@media (min-width: 992px) { .tp-co-top__logo img { height: 44px; } }
.tp-co-top__back { font-size: 14px; font-weight: 500; text-decoration: underline; color: var(--td-muted, #6b788d) !important; white-space: nowrap; }
@media (max-width: 575px) { .tp-co-top__back { display: none; } .tp-co-top__inner { grid-template-columns: auto 1fr; } }

.tp-co-steps { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.tp-co-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; max-width: 200px; font-size: 13px; color: var(--td-muted, #6b788d); }
/* line from the previous step's dot to this one */
.tp-co-steps__item + .tp-co-steps__item::before {
    content: ''; position: absolute; top: 15px; right: calc(50% + 20px); width: calc(100% - 40px); height: 3px; border-radius: 2px;
    background: var(--td-border, #e2e7ef);
}
.tp-co-steps__item.is-done::before, .tp-co-steps__item.is-current::before { background: var(--td-navy, #2c4265) !important; }
.tp-co-steps__dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #eef1f6; color: var(--td-navy, #2c4265); font-weight: 600; font-size: 14px; }
.tp-co-steps__dot svg { width: 18px; height: 18px; fill: #fff; }
.tp-co-steps__item.is-current .tp-co-steps__dot, .tp-co-steps__item.is-done .tp-co-steps__dot { background: var(--td-navy, #2c4265); color: #fff; }
.tp-co-steps__item.is-current { color: var(--td-navy, #2c4265); font-weight: 600; }
@media (max-width: 575px) { .tp-co-steps__label { font-size: 11px; } }

.tp-co-step-title { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--td-navy, #2c4265); word-break: break-word; }
.tp-co-step-lead { margin-bottom: 20px; font-size: 15px; }
.tp-co-narrow { max-width: 560px; }

/* Forms (no Bootstrap on these pages) */
.tp-co-form { display: grid; gap: 16px; margin-top: 20px; }
.tp-co-fieldset { display: grid; gap: 14px; }
.tp-co-fieldset .mb-3 { margin: 0; }
.tp-co-form label, .tp-co-fieldset label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--td-navy, #2c4265); }
.tp-co .form-control, .tp-co .form-select {
    display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd6e2; border-radius: 12px; background: #fff;
    font: 400 16px/1.4 Poppins, system-ui, sans-serif; color: var(--td-navy, #2c4265); transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none; appearance: none;
}
.tp-co .form-select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232c4265' d='M7.4 8.6L12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 12px center / 22px; }
.tp-co .form-select[multiple] { background-image: none; min-height: 120px; }
.tp-co .form-control:focus, .tp-co .form-select:focus { outline: none; border-color: var(--td-teal, #2c7f83); box-shadow: 0 0 0 3px rgba(44, 127, 131, .18); }
.tp-co .form-control.is-invalid { border-color: #b42318; }
/* Activity supplier questions (checkout/_answer): the hint and example under each, the problem in red above it. */
.tp-co .form-select.is-invalid { border-color: #b42318; }
.tp-co-q .tp-co-error { margin: 6px 0 0; }
.tp-co-q__hint { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--td-muted, #6b788d); }
.tp-co-q__caps { text-transform: uppercase; letter-spacing: .04em; }
.tp-co-q__caps::placeholder { letter-spacing: normal; }
.tp-co-q textarea.form-control { min-height: 64px; resize: vertical; }
.tp-co .text-danger { color: #b42318; }
.tp-co .small, .tp-co .muted { font-size: 13px; color: var(--td-muted, #6b788d); }
.tp-co-error { margin: 6px 0 0; font-size: 14px; color: #b42318; }
.tp-co-hint { margin-top: 6px; }
.tp-co-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .tp-co-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .tp-co-row:has(.tp-co-col--xs) { grid-template-columns: 130px 1fr 1fr; } }
.tp-co-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 4px; }
.tp-co-actions .tp-co-btn { min-width: 220px; }
@media (max-width: 575px) { .tp-co-actions .tp-co-btn { width: 100%; } }
.tp-co-btn--outline { background: #fff; border: 2px solid var(--td-teal, #2c7f83); color: var(--td-teal, #2c7f83) !important; }
.tp-co-btn--outline:hover { background: #eef7f7; box-shadow: none; }
.tp-co-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 15px/1.4 Poppins, system-ui, sans-serif; color: var(--td-navy, #2c4265) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-co-link svg { width: 17px; height: 17px; }
.tp-co-link:hover { color: var(--td-teal, #2c7f83) !important; }

/* Floating-label email field */
.tp-co-float { position: relative; }
.tp-co-float input { display: block; width: 100%; height: 64px; padding: 26px 16px 8px; border: 1.5px solid #9aa6b8; border-radius: 12px; font: 400 17px Poppins, system-ui, sans-serif; color: var(--td-navy, #2c4265); background: #fff; }
.tp-co-float label { position: absolute; left: 17px; top: 21px; margin: 0; font-size: 16px; font-weight: 400; color: var(--td-muted, #6b788d); pointer-events: none; transition: all .15s ease; }
.tp-co-float input:focus { outline: none; border-color: var(--td-teal, #2c7f83); box-shadow: 0 0 0 3px rgba(44, 127, 131, .18); }
.tp-co-float input:focus + label, .tp-co-float input:not(:placeholder-shown) + label { top: 9px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--td-navy, #2c4265); }
.tp-co-float.is-invalid input { border-color: #b42318; }
/* Password step: show/hide eye inside the field; account row with "Change". */
.tp-co-float--password input { padding-right: 56px; }
.tp-co-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--td-muted, #6b788d); cursor: pointer; }
.tp-co-eye:hover, .tp-co-eye[aria-pressed="true"] { color: var(--td-navy, #2c4265); background: var(--td-surface-2, #f6f8fb); }
.tp-co-eye svg { width: 22px; height: 22px; fill: currentColor; }
.tp-co-account--login { margin-bottom: 16px; }
.tp-co-account--login strong { flex: 1; min-width: 0; }
.tp-co-account--login .tp-co-link { font-size: 14px; }
.tp-co-forgot { margin: 8px 0 18px; text-align: right; font-size: 14px; }
.tp-co-forgot a { color: var(--td-teal, #2c7f83) !important; font-weight: 600; }
.tp-co-center { text-align: center; font-size: 13px; }

.tp-co-or { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--td-muted, #6b788d); font-size: 14px; }
.tp-co-or::before, .tp-co-or::after { content: ''; flex: 1; height: 1px; background: var(--td-border, #e2e7ef); }
.tp-co-social { display: grid; gap: 12px; }
.tp-co-social__btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px; border: 1.5px solid #cfd6e2; border-radius: 999px; background: #fff; color: var(--td-navy, #2c4265) !important; font-weight: 600; font-size: 16px; text-decoration: none !important; transition: background-color .15s ease, border-color .15s ease; }
.tp-co-social__btn:hover { background: var(--td-surface-2, #f6f8fb); border-color: #9aa6b8; }
.tp-co-social__btn svg { width: 22px; height: 22px; }
.tp-co-legal { margin-top: 22px; font-size: 13px; color: var(--td-muted, #6b788d); text-align: center; }
.tp-co-legal a { text-decoration: underline; color: var(--td-navy, #2c4265) !important; }

.tp-co-account { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--td-surface-2, #f6f8fb); }
.tp-co-account svg { width: 24px; height: 24px; color: var(--td-teal, #2c7f83); }
.tp-co-account span { display: block; font-size: 13px; }
.tp-co-account strong { font-size: 15px; word-break: break-all; }

/* 6-digit code */
.tp-co-otp { display: flex; gap: 10px; margin: 8px 0 4px; }
.tp-co-otp__box { width: 56px; height: 64px; padding: 0; border: 1.5px solid #cfd6e2; border-radius: 12px; text-align: center; font: 600 26px Poppins, system-ui, sans-serif; color: var(--td-navy, #2c4265); background: #fff; }
.tp-co-otp__box:focus { outline: none; border-color: var(--td-teal, #2c7f83); box-shadow: 0 0 0 3px rgba(44, 127, 131, .18); }
@media (max-width: 420px) { .tp-co-otp { gap: 6px; } .tp-co-otp__box { width: 44px; height: 54px; font-size: 22px; } }
.tp-co-code-help { display: grid; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--td-muted, #6b788d); }
.tp-co-code-help form { margin: 0; }

/* Order summary */
.tp-co-summary__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.tp-co-summary__head img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; }
.tp-co-summary__title { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.tp-co-summary__facts { padding: 16px 0; border-top: 1px solid var(--td-border, #e2e7ef); }
.tp-co-summary .tp-co-link { margin: 0 0 16px; font-size: 14px; }
.tp-co-summary__perk { display: flex; gap: 10px; padding: 14px 0; border-top: 1px solid var(--td-border, #e2e7ef); font-size: 15px; }
.tp-co-summary__perk svg { color: var(--td-green, #006837); width: 22px; height: 22px; }
.tp-co-summary__fees { margin: -6px 0 12px 32px; font-size: 13px; line-height: 1.45; color: var(--td-muted, #6b788d); }
.tp-co-summary__perk strong { display: block; font-weight: 500; }
.tp-co-summary__perk span { font-size: 13px; color: var(--td-muted, #6b788d); }
/* Partner / creator code on the payment step (checkout/_partner_code). */
.tp-co-code { margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--co-line); }
.tp-co-code__add > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--td-navy, #2c4265); text-decoration: underline; text-underline-offset: 3px; }
.tp-co-code__add > summary::-webkit-details-marker { display: none; }
.tp-co-code__add > summary svg { width: 18px; height: 18px; }
.tp-co-code__form { display: flex; gap: 8px; margin-top: 10px; }
.tp-co-code__form input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--co-line); border-radius: 10px; font: 600 15px/1 inherit; font-family: inherit; letter-spacing: .04em; text-transform: uppercase; color: var(--co-ink); background: #fff; }
.tp-co-code__form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: #8a96a8; }
.tp-co-code__form input:focus { outline: 2px solid var(--td-teal, #2c7f83); outline-offset: 1px; border-color: transparent; }
.tp-co-code__form .tp-co-btn { flex: none; }
.tp-co-code__on { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px; border-radius: 12px; background: #e7f6ec; }
.tp-co-code__on > svg { width: 20px; height: 20px; color: var(--td-green, #006837); margin-top: 2px; }
.tp-co-code__on strong { display: block; font-size: 15px; color: var(--co-ink); }
.tp-co-code__on span { display: block; font-size: 13px; line-height: 1.45; color: #355; }
.tp-co-code__on .tp-co-link { font-size: 13px; }
.tp-co-code__note { margin-top: 8px; font-size: 13px; }
.tp-co-summary__total { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 4px -22px -22px; padding: 18px 22px; border-radius: 0 0 16px 16px; background: #eef1f6; }
.tp-co-summary__total > span { font-size: 19px; font-weight: 700; }
.tp-co-summary__total > div { display: grid; justify-items: end; text-align: right; gap: 2px; }
.tp-co-summary__total strong { font-size: 24px; font-weight: 700; }
.tp-co-summary__charge { font-size: 13px; font-weight: 600; color: var(--td-navy, #2c4265); }
.tp-co-summary__taxes { font-size: 13px; color: var(--td-green, #006837); }
@media (max-width: 991px) { .tp-co--steps .tp-co-grid { display: flex; flex-direction: column; } .tp-co--steps .tp-co-side { order: -1; } }

/* Payment */
.tp-co-hold { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 10px 16px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-weight: 500; font-size: 15px; }
.tp-co-hold svg { width: 19px; height: 19px; fill: #b42318; }
.tp-co-hold.is-low { animation: tp-co-pulse 1.2s ease-in-out infinite; }
@keyframes tp-co-pulse { 50% { background: #fbd5d5; } }
.tp-co-pay { display: grid; gap: 16px; }
.tp-co-pay__amount { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--td-border, #e2e7ef); }
.tp-co-pay__amount span { font-weight: 600; }
.tp-co-pay__amount strong { font-size: 24px; }
.tp-co-pay__frame { position: relative; min-height: 520px; border-radius: 12px; overflow: hidden; background: var(--td-surface-2, #f6f8fb); }
.tp-co-pay__frame iframe { display: block; width: 100%; height: 640px; border: 0; background: #fff; }
.tp-co-pay__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--td-muted, #6b788d); font-size: 15px; background: var(--td-surface-2, #f6f8fb); }
.tp-co-spinner { width: 26px; height: 26px; border: 3px solid #dfe4ec; border-top-color: var(--td-sun, #ffb800); border-radius: 50%; animation: tp-co-spin 1s linear infinite; }
@keyframes tp-co-spin { to { transform: rotate(360deg); } }
.tp-co-pay__fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 14px; }
.tp-co-pay__fallback .tp-co-link { font-size: 14px; }
.tp-co-stripe { position: relative; min-height: 210px; margin-bottom: 6px; }
.tp-co-card-input { padding: 15px 14px; border: 1.5px solid #cfd6e2; border-radius: 12px; background: #fff; margin-bottom: 14px; }
.tp-co-card-input.StripeElement--focus { border-color: var(--td-teal, #2c7f83); box-shadow: 0 0 0 3px rgba(44, 127, 131, .18); }
.tp-co-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tp-co-methods .tp-co-muted { display: inline-flex; align-items: center; gap: 6px; flex-basis: 100%; }
.tp-co-methods svg { width: 16px; height: 16px; }
.tp-co-method { padding: 4px 10px; border: 1px solid var(--td-border, #e2e7ef); border-radius: 8px; font-size: 13px; font-weight: 600; }

/* Thank you */
.tp-co-done { max-width: 620px; margin: 10px auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.tp-co-done__profile { max-width: 820px; margin: 36px auto 0; }
.tp-co-done__icon { display: inline-flex; width: 78px; height: 78px; align-items: center; justify-content: center; border-radius: 50%; background: #e7f6ec; }
.tp-co-done__icon svg { width: 40px; height: 40px; fill: var(--td-green, #006837); }
.tp-co-done .tp-co__h1 { margin: 0; }
.tp-co-done__card { width: 100%; text-align: left; }

.tp-co-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px 16px 32px; border-top: 1px solid var(--td-border, #e2e7ef); font-size: 13px; color: var(--td-muted, #6b788d); }
.tp-co-foot a { color: inherit; }

/* Phone field inside checkout: the country button matches the inputs; the WhatsApp row and the
   offers opt-in are inline rows (the form's "label { display:block }" broke them). */
.tp-co .tp-phone__btn { min-height: 50px; border: 1.5px solid #cfd6e2; border-radius: 12px; }
.tp-co .tp-phone__country { border: 1.5px solid #cfd6e2; border-radius: 12px; }
.tp-co-form .tp-co-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border: 1.5px solid #e2e7ef; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--td-navy, #2c4265); cursor: pointer; transition: border-color .15s, background .15s; }
.tp-co-form .tp-co-check:hover { border-color: #cfd6e2; }
.tp-co-form .tp-co-check:has(input:checked) { border-color: var(--td-teal, #2c7f83); background: #f2f9f9; }
.tp-co-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--td-teal, #2c7f83); cursor: pointer; }
.tp-co-check small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--td-muted, #6b788d); }
.tp-co-check svg { width: 20px; height: 20px; flex: none; }
.tp-co-form .tp-phone__wa { display: flex; align-items: center; gap: 10px; width: 100%; margin: 10px 0 0; padding: 11px 14px; border: 1.5px solid #e2e7ef; border-radius: 12px; font-size: 14px; font-weight: 500; line-height: 1.3; transition: border-color .15s, background .15s; }
.tp-co-form .tp-phone__wa:has(input:checked) { border-color: #25d366; background: #f0fbf4; }
.tp-co-form .tp-phone__wa input { width: 20px; height: 20px; }
.tp-co-form .tp-phone__wa svg { width: 20px; height: 20px; }

/* ── Who's going? (checkout/personal, App\Support\Travellers), owner 2026-11-07 ── */
.tp-co-who__choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .tp-co-who__choices { grid-template-columns: 1fr 1fr; } }
.tp-co-who .tp-co-who__choice { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0 !important; padding: 14px 16px; border: 1.5px solid #e2e7ef; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.tp-co-who .tp-co-who__choice:hover { border-color: #c5cfdd; }
.tp-co-who__choice input { position: absolute; opacity: 0; pointer-events: none; }
.tp-co-who__mark { display: block; flex: none; width: 20px; height: 20px; margin-top: 1px; border: 2px solid #b8c3d4; border-radius: 50%; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tp-co-who__choice strong { display: block; font-size: 15px; color: var(--co-ink, #1f2f4a); }
.tp-co-who__choice small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--co-muted, #6b788d); }
.tp-co-who__choice:has(input:checked) { border-color: var(--td-teal, #2c7f83); background: #f2f9f9; box-shadow: 0 0 0 3px rgba(44, 127, 131, .12); }
.tp-co-who__choice:has(input:checked) .tp-co-who__mark { border-color: var(--td-teal, #2c7f83); box-shadow: inset 0 0 0 4px #fff; background: var(--td-teal, #2c7f83); }
.tp-co-who__choice:has(input:focus-visible) { outline: 2px solid var(--td-teal, #2c7f83); outline-offset: 2px; }
.tp-co-who__other { display: grid; gap: 14px; margin-top: 4px; padding-top: 16px; border-top: 1px dashed #dfe5ee; animation: tp-co-in .2s ease; }
.tp-co-who__other[hidden] { display: none; }
.tp-co-who__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--td-navy, #2c4265); }
.tp-co-who__saved { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-co-who__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1.5px solid #e2e7ef; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--co-ink, #1f2f4a); cursor: pointer; transition: border-color .15s, background .15s; }
.tp-co-who__chip:hover { border-color: var(--td-teal, #2c7f83); }
.tp-co-who__chip.is-picked { border-color: var(--td-teal, #2c7f83); background: #f2f9f9; }
.tp-co-who__initials { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #ffb800, #f15a24); color: #fff; font-size: 11px; font-weight: 700; }
@keyframes tp-co-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* Booking pages: who booked, who goes */
.tp-mb-people { display: grid; gap: 4px; }
/* Traveller card: title + "Fill in from…" */
.tp-co-card__headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.tp-co-card__headrow .tp-co-card__title { margin: 0; }
.tp-co-fill { margin: 0 !important; }
.tp-co-fill .form-select { width: auto; min-width: 170px; height: 38px; padding-top: 0; padding-bottom: 0; font-size: 14px; font-weight: 600; color: var(--td-teal, #2c7f83); border-color: #cfe3e3; background-color: #f2f9f9; }

/* ── Price or hold changed before paying (checkout/payment), owner 2026-11-07 ── */
.tp-co-note--ok { background: #e7f6ec; color: #0b5a2a; }
.tp-co-note--ok svg { fill: #006837; }
.tp-co-note s { opacity: .7; }
.tp-co-expired > div { display: grid; gap: 6px; }
.tp-co-expired strong { font-size: 15px; color: var(--co-ink, #1f2f4a); }
.tp-co-expired span { font-size: 14px; color: #6b4a1a; }
.tp-co-expired__btn { justify-self: start; margin-top: 6px; text-decoration: none !important; }
