:root {
    --tbf-red: #CB6E6F;
    --tbf-gold: #BC9349;
    --tbf-gold-dark: #A37F3C;
    --tbf-bg: #F8F4F0;
    --tbf-bg-selected: #FBF1F1;
    --tbf-border: #3B3B3B;
    --tbf-text: #3B3B3B;
    --tbf-label: #3B3B3B;
    --tbf-circle-bg: #FAFAFA;
    --tbf-connector: #E2B7B7;
    --tbf-prev-mobile: #A8888C;
    --tbf-btn-text: #F8F4F0
}

.tbf-wrapper {
    max-width: 1520px;
    margin: 0 auto;
    font-size: 24px;
    font-family: 'Cera Pro', 'Cera Pro Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tbf-text)
}

.tbf-header {
    text-align: center;
    padding: 30px 20px 10px
}

.tbf-heading-script {
    font-size: 56px;
    line-height: 67px;
    font-weight: 400;
    color: var(--tbf-red);
    margin: 0 0 4px
}

.tbf-heading-bold {
    font-size: 28px;
    line-height: 35px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--tbf-text)
}

.tbf-header-desc {
    font-size: 20px;
    line-height: 30px;
    color: #666;
    max-width: 760px;
    margin: 0 auto 24px
}

.tbf-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 32px
}

.tbf-info-card {
    background: var(--tbf-bg);
    border: 1px solid #E5DDD3;
    border-radius: 8px;
    padding: 18px 16px;
    font-size: 18px;
    line-height: 25px
}

.tbf-info-card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: var(--tbf-red);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.tbf-info-card p {
    margin: 0 0 8px;
    color: #555
}

.tbf-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.tbf-info-card ul li {
    color: #444;
    margin-bottom: 4px
}


/* ---------- Step indicator (Figma: 96px circle, 32px number, 20px label) ---------- */

.tbf-steps-bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 36px;
    padding: 10px 0
}

.tbf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px
}

.tbf-step-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid var(--tbf-border);
    background: var(--tbf-circle-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--tbf-text);
    transition: all .3s
}

.tbf-step.tbf-step-active .tbf-step-circle {
    background: var(--tbf-red);
    border-color: var(--tbf-red);
    color: var(--tbf-btn-text)
}

.tbf-step.tbf-step-done .tbf-step-circle {
    background: var(--tbf-circle-bg);
    border-color: var(--tbf-border);
    color: var(--tbf-text)
}

.tbf-step-label {
    font-size: 20px;
    line-height: 25px;
    color: var(--tbf-text);
    text-align: center;
    margin-top: 20px;
    max-width: 160px;
    font-weight: 400
}

.tbf-step.tbf-step-active .tbf-step-label,
.tbf-step.tbf-step-done .tbf-step-label {
    color: var(--tbf-text);
    font-weight: 400
}

.tbf-step-connector {
    flex: 1;
    border-top: 2px dashed var(--tbf-connector);
    margin-top: 47px;
    min-width: 40px;
    max-width: 200px
}


/* ---------- Panels (Figma: 1520px wide, 30px radius) ---------- */

.tbf-step-panel {
    display: none;
    background: var(--tbf-bg);
    border: none;
    border-radius: 30px;
    padding: 51px 73px;
    box-shadow: none;
    margin-bottom: 40px
}

.tbf-step-panel.tbf-step-panel-active {
    display: block
}

.tbf-panel-title {
    font-size: 48px;
    line-height: 60px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--tbf-red);
    margin: 0 0 45px;
    text-transform: uppercase
}


/* ---------- Traveller groups ---------- */

.tbf-traveller-group {
    border-bottom: 1px solid #E5DDD3;
    padding-bottom: 24px;
    margin-bottom: 24px
}

.tbf-traveller-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0
}

.tbf-traveller-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 30px
}

.tbf-remove-traveller {
    background: none;
    border: 1px solid #999;
    color: #777;
    font-size: 18px;
    line-height: 23px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px
}

.tbf-remove-traveller:hover {
    border-color: var(--tbf-red);
    color: var(--tbf-red)
}


/* ---------- Form layout & fields (Figma: 24px label, 60px input, 50px column gap) ---------- */

.tbf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 50px;
    margin-bottom: 15px
}

.tbf-form-row-full {
    grid-template-columns: 1fr
}

.tbf-field {
    display: flex;
    flex-direction: column
}

.tbf-field-btn {
    justify-content: flex-end;
    align-items: flex-start
}

.tbf-field-btn .tbf-btn-outline {
    width: auto;
    min-width: 333px;
    justify-content: center
}

.tbf-field label {
    font-size: 24px;
    line-height: 30px;
    color: var(--tbf-label);
    font-weight: 500;
    margin-bottom: 20px
}

.tbf-required {
    color: var(--tbf-red)
}

.tbf-field input,
.tbf-field textarea {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 14px 18px;
    font-size: 22px;
    line-height: 28px;
    font-family: inherit;
    background: transparent;
    color: var(--tbf-text);
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    transition: border-color .2s, box-shadow .2s
}

.tbf-field input[type="date"] {
    cursor: pointer;
    color: var(--tbf-text)
}

.tbf-field input::placeholder,
.tbf-field textarea::placeholder {
    color: #A9A29A
}

.tbf-field input:focus,
.tbf-field textarea:focus {
    outline: none;
    border-color: var(--tbf-red);
    box-shadow: 0 0 0 3px rgba(203, 110, 111, .12)
}

.tbf-field input.tbf-invalid {
    border-color: var(--tbf-red);
    background: #fff5f5
}

.tbf-field textarea {
    resize: vertical;
    height: auto;
    min-height: 140px
}


/* ---------- Trip cards (Figma: 24px title bold, 24px deposit regular) ---------- */

.tbf-trip-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 50px;
    margin-top: 12px
}

.tbf-trip-card {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    transition: all .2s
}

.tbf-trip-card:hover {
    border-color: var(--tbf-red);
    background: var(--tbf-bg-selected)
}

.tbf-trip-card.tbf-selected {
    border-color: var(--tbf-red);
    background: var(--tbf-bg-selected)
}

.tbf-trip-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.tbf-trip-card-info {
    flex: 1;
    text-align: left;
    order: 1
}

.tbf-trip-card-info strong {
    display: block;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: var(--tbf-text);
    margin-bottom: 8px
}

.tbf-trip-card-info span {
    font-size: 24px;
    line-height: 30px;
    color: var(--tbf-text);
    font-weight: 400
}

.tbf-trip-radio-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--tbf-red);
    flex-shrink: 0;
    order: 2;
    transition: border-width .15s;
    background: transparent;
    box-sizing: border-box
}

.tbf-trip-card.tbf-selected .tbf-trip-radio-dot {
    border-width: 10px;
    background: #fff
}

.tbf-mt {
    margin-top: 36px
}


/* ---------- Room preference ---------- */

.tbf-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 50px;
    margin-top: 12px
}

.tbf-radio-card {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    font-size: 24px;
    line-height: 30px;
    color: var(--tbf-text);
    transition: all .2s
}

.tbf-radio-card:hover {
    border-color: var(--tbf-red);
    background: var(--tbf-bg-selected)
}

.tbf-radio-card.tbf-radio-card-active {
    border-color: var(--tbf-red);
    background: var(--tbf-bg-selected)
}

.tbf-radio-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    padding: 0;
    border: 2px solid var(--tbf-red);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-width .15s;
    box-sizing: border-box
}

.tbf-radio-card input[type="radio"]:checked {
    border-width: 10px;
    background: #fff;
}


/* ---------- Payment ---------- */

#tbf-payment-methods {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    border: 1px solid #000;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.tbf-pm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    cursor: pointer;
    border-bottom: 1px solid #E5DDD3;
    background: #fff;
    transition: all .15s;
    gap: 14px
}

.tbf-pm-row:last-of-type {
    border-bottom: none
}

.tbf-pm-row:hover {
    background: #FBF6F4
}

.tbf-pm-row.tbf-pm-row-active {
    background: var(--tbf-bg-selected);
    box-shadow: inset 5px 0 0 var(--tbf-red)
}

.tbf-pm-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1
}

.tbf-pm-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--tbf-red);
    flex-shrink: 0;
    position: relative;
    transition: border-width .15s;
    box-sizing: border-box;
    background: #fff
}

.tbf-pm-row.tbf-pm-row-active .tbf-pm-dot {
    border-width: 9px
}

.tbf-pm-dot::after {
    display: none
}

.tbf-pm-name {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: var(--tbf-text)
}

.tbf-pm-logos {
    display: flex;
    align-items: center;
    gap: 6px
}

.tbf-card-logo {
    font-size: 16px;
    line-height: 21px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #ddd
}

.tbf-visa {
    color: #1a1f71;
    background: #fff
}

.tbf-pm-brand-logo {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    white-space: nowrap
}

.tbf-apple-pay-logo {
    font-size: 24px;
    line-height: 30px;
    color: #000;
    font-weight: 700
}

.tbf-google-pay-logo {
    font-size: 22px;
    line-height: 28px;
    color: #5f6368
}

.tbf-paypal-logo {
    font-size: 22px;
    line-height: 28px
}

.tbf-card-fields {
    background: #fafafa;
    padding: 20px 26px 10px;
    border-bottom: 1px solid #E5DDD3
}

.tbf-card-fields .tbf-form-row {
    margin-bottom: 16px
}

.tbf-card-fields .tbf-field input {
    background: #fff
}

.tbf-stripe-el {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 14px 16px;
    background: #fff;
    min-height: 60px;
    box-sizing: border-box;
    transition: border-color .2s
}

.tbf-stripe-el.StripeElement--focus {
    border-color: var(--tbf-red);
    box-shadow: 0 0 0 3px rgba(203, 110, 111, .12)
}

.tbf-stripe-el.StripeElement--invalid {
    border-color: #c0392b
}

.tbf-cvc-hint {
    color: #aaa;
    font-size: 18px;
    cursor: help
}

#tbf-paypal-button-container,
#tbf-google-pay-container {
    padding: 20px 26px;
    border-bottom: 1px solid #E5DDD3;
    background: #fafafa
}

.tbf-privacy-notice {
    font-size: 18px;
    line-height: 28px;
    color: #666;
    margin: 20px 0 12px
}

.tbf-link {
    color: var(--tbf-red);
    text-decoration: none
}

.tbf-link:hover {
    text-decoration: underline
}

.tbf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 27px;
    color: #444;
    margin-bottom: 12px;
    cursor: pointer
}

.tbf-checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--tbf-red);
    flex-shrink: 0
}

.tbf-bespoke-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 18px;
    line-height: 25px;
    color: #7a6000;
    margin-bottom: 20px
}


/* ---------- Buttons & nav (Figma: 75px tall, 80px radius, 24px text #F8F4F0 / outline 60px tall, 24px text) ---------- */

.tbf-nav {
    display: flex;
    margin-top: 36px;
    gap: 16px
}

.tbf-nav-right {
    justify-content: flex-end
}

.tbf-nav-both {
    justify-content: space-between
}

.tbf-btn-primary {
    background: var(--tbf-gold);
    color: var(--tbf-btn-text);
    border: none;
    height: 75px;
    padding: 0 40px;
    border-radius: 80px;
    font-size: 24px;
    line-height: 30px;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

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

.tbf-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none
}

.tbf-btn-icon {
    display: inline-block;
    font-size: 26px;
    line-height: 26px;
    transform: rotate(0deg)
}

.tbf-btn-icon-prev {
    transform: rotate(0deg) scaleX(-1)
}

.tbf-btn-outline {
    background: transparent;
    color: var(--tbf-text);
    border: 1px solid #000;
    height: 60px;
    padding: 0 36px;
    border-radius: 80px;
    font-size: 24px;
    line-height: 30px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.tbf-btn-outline:hover {
    background: var(--tbf-text);
    color: #fff;
    border-color: var(--tbf-text)
}


/* ---------- Messages ---------- */

.tbf-error-msg {
    color: #c0392b;
    font-size: 18px;
    line-height: 25px;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff5f5;
    border-radius: 4px;
    border-left: 3px solid #c0392b
}

.tbf-success-box {
    background: #f0fff4;
    border: 1.5px solid #48bb78;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #276749;
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 30px
}

.tbf-success-box h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 35px;
    color: #276749
}

.tbf-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 18px;
    line-height: 25px;
    color: #856404
}

.tbf-loading {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 23px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999
}

.tbf-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tbf-spin .7s linear infinite;
    display: inline-block
}

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


/* ---------- Tablet / small desktop (scale down so 1520px design fits) ---------- */

@media(max-width:1100px) {
    .tbf-wrapper {
        font-size: 18px
    }
    .tbf-step {
        min-width: 90px
    }
    .tbf-step-circle {
        width: 64px;
        height: 64px;
        font-size: 24px;
        line-height: 30px
    }
    .tbf-step-connector {
        margin-top: 31px;
        min-width: 24px;
        max-width: 120px
    }
    .tbf-step-label {
        font-size: 16px;
        line-height: 20px;
        margin-top: 12px;
        max-width: 110px
    }
    .tbf-step-panel {
        padding: 36px 40px
    }
    .tbf-panel-title {
        font-size: 36px;
        line-height: 45px;
        margin-bottom: 32px
    }
    .tbf-field label {
        font-size: 19px;
        line-height: 24px;
        margin-bottom: 12px
    }
    .tbf-field input,
    .tbf-field textarea {
        height: 54px;
        font-size: 18px;
        line-height: 23px
    }
    .tbf-trip-card-info strong,
    .tbf-trip-card-info span {
        font-size: 19px;
        line-height: 24px
    }
    .tbf-trip-radio-dot {
        width: 28px;
        height: 28px
    }
    .tbf-trip-card.tbf-selected .tbf-trip-radio-dot {
        border-width: 8px
    }
    .tbf-radio-card {
        font-size: 19px;
        line-height: 24px
    }
    .tbf-radio-card input[type="radio"] {
        width: 28px;
        height: 28px
    }
    .tbf-radio-card input[type="radio"]:checked {
        border-width: 8px
    }
    .tbf-btn-primary {
        height: 60px;
        padding: 0 32px;
        font-size: 19px;
        line-height: 24px
    }
    .tbf-btn-outline {
        height: 52px;
        padding: 0 28px;
        font-size: 19px;
        line-height: 24px
    }
    .tbf-field-btn .tbf-btn-outline {
        min-width: 260px
    }
    .tbf-pm-name {
        font-size: 18px;
        line-height: 23px
    }
    .tbf-info-cards {
        grid-template-columns: 1fr
    }
}


/* ---------- Mobile ---------- */

@media(max-width:600px) {
    .tbf-wrapper {
        font-size: 16px
    }
    .tbf-step-panel {
        padding: 26px 20px;
        border-radius: 24px
    }
    .tbf-panel-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 24px;
        text-align: center;
    }
    .tbf-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 0px;
    }
    .tbf-trip-cards {
        grid-template-columns: 1fr;
        gap: 14px
    }
    .tbf-radio-group {
        grid-template-columns: 1fr;
        gap: 14px
    }
    .tbf-steps-bar {
        flex-wrap: wrap;
        row-gap: 18px;
        overflow: visible;
        padding: 10px 6px
    }
    .tbf-step {
        min-width: 72px
    }
    .tbf-step-circle {
        width: 42px;
        height: 42px;
        font-size: 16px;
        line-height: 20px
    }
    .tbf-step-connector {
        margin-top: 20px;
        min-width: 18px;
        max-width: 48px
    }
    .tbf-step-label {
        font-size: 12px;
        line-height: 15px;
        margin-top: 8px;
        max-width: 90px
    }
    .tbf-field label {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 8px
    }
    .tbf-field input,
    .tbf-field textarea {
        height: 48px;
        font-size: 16px;
        line-height: 20px;
        padding: 10px 14px
    }
    .tbf-field textarea {
        height: auto;
        min-height: 110px
    }
    .tbf-trip-card {
        padding: 14px 16px
    }
    .tbf-trip-card-info strong {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 4px
    }
    .tbf-trip-card-info span {
        font-size: 15px;
        line-height: 19px
    }
    .tbf-trip-radio-dot {
        width: 24px;
        height: 24px
    }
    .tbf-trip-card.tbf-selected .tbf-trip-radio-dot {
        border-width: 7px
    }
    .tbf-radio-card {
        font-size: 16px;
        line-height: 20px;
        padding: 14px 16px
    }
    .tbf-radio-card input[type="radio"] {
        width: 24px;
        height: 24px
    }
    .tbf-radio-card input[type="radio"]:checked {
        border-width: 7px
    }
    .tbf-pm-name {
        font-size: 16px;
        line-height: 20px
    }
    .tbf-pm-dot {
        width: 22px;
        height: 22px
    }
    .tbf-pm-row.tbf-pm-row-active .tbf-pm-dot {
        border-width: 7px
    }
    .tbf-privacy-notice,
    .tbf-checkbox-label,
    .tbf-error-msg,
    .tbf-notice,
    .tbf-bespoke-notice {
        font-size: 14px;
        line-height: 21px
    }
    .tbf-field-btn {
        align-items: center;
        margin-top: 6px
    }
    .tbf-field-btn .tbf-btn-outline {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 16px;
        line-height: 20px
    }
    /* nav buttons collapse to round arrow buttons */
    .tbf-nav {
        justify-content: center;
        gap: 18px
    }
    .tbf-nav-right {
        justify-content: center
    }
    .tbf-nav .tbf-next,
    .tbf-nav .tbf-prev {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        background: var(--tbf-red)
    }
    .tbf-nav .tbf-prev {
        background: var(--tbf-prev-mobile)
    }
    .tbf-nav .tbf-next:hover,
    .tbf-nav .tbf-prev:hover {
        transform: none
    }
    .tbf-nav .tbf-next .tbf-btn-text,
    .tbf-nav .tbf-next .tbf-btn-icon,
    .tbf-nav .tbf-prev .tbf-btn-text,
    .tbf-nav .tbf-prev .tbf-btn-icon {
        display: none
    }
    .tbf-nav .tbf-next::before {
        content: "\276F";
        font-size: 17px;
        line-height: 17px;
        color: #fff
    }
    .tbf-nav .tbf-prev::before {
        content: "\276E";
        font-size: 17px;
        line-height: 17px;
        color: #fff
    }
    #tbf-pay-securely {
        height: 54px;
        padding: 0 26px;
        font-size: 16px;
        line-height: 20px
    }
}