/* ==========================================================================
   Triptickers Authenticated /plan & All Service Modules Checkout Design System
   Strictly Scoped under .tt-plan-page, .tt-checkout-page & .tt-plan-checkout-page
   ========================================================================== */

.tt-plan-page,
.tt-checkout-page,
.tt-booking-checkout,
.tt-plan-checkout-page {
    --tt-navy-primary: #1C2C46;
    --tt-navy-hover: #132137;
    --tt-navy-secondary: #294564;
    --tt-orange-accent: #F47C20;
    --tt-orange-hover: #D96512;
    --tt-orange-soft: #FFF4EA;
    --tt-navy-soft: #EEF3F8;
    --tt-page-bg: #F6F8FB;
    --tt-white: #FFFFFF;
    --tt-heading: #172033;
    --tt-body: #475467;
    --tt-muted: #667085;
    --tt-border-light: #E4EAF1;
    --tt-border-strong: #CBD5E1;
    --tt-success: #15805D;
    --tt-success-soft: #EAF8F2;
    --tt-warning: #B56A00;
    --tt-warning-soft: #FFF7E6;
    --tt-error: #C9362B;
    --tt-error-soft: #FEF0EF;

    font-family: 'Poppins', sans-serif !important;
    background-color: var(--tt-page-bg) !important;
    color: var(--tt-body);
    width: 100%;
    overflow-x: hidden;
}

.tt-plan-page *, 
.tt-checkout-page *, 
.tt-booking-checkout *, 
.tt-plan-checkout-page * {
    box-sizing: border-box;
}

.tt-plan-page :not(i):not(.fa):not(.icofont):not([class^="icofont-"]):not([class*=" icofont-"]):not([class^="fa-"]):not([class*=" fa-"]),
.tt-checkout-page :not(i):not(.fa):not(.icofont):not([class^="icofont-"]):not([class*=" icofont-"]):not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: 'Poppins', sans-serif;
}

/* Explicit font family restore for icon fonts */
i.fa, i.fa::before, i.fa::after {
    font-family: 'FontAwesome' !important;
}
i.icofont, [class^="icofont-"], [class*=" icofont-"],
i.icofont::before, [class^="icofont-"]::before, [class*=" icofont-"]::before {
    font-family: 'IcoFont' !important;
}


/* Text Orange Utility */
.text-orange {
    color: var(--tt-orange-accent) !important;
}

/* Centered Containers */
.tt-plan-container,
.tt-checkout-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 1024px) {
    .tt-plan-container, .tt-checkout-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .tt-plan-container, .tt-checkout-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Typography Base */
.tt-plan-page h1, .tt-plan-page h2, .tt-plan-page h3, .tt-plan-page h4,
.tt-checkout-page h1, .tt-checkout-page h2, .tt-checkout-page h3, .tt-checkout-page h4,
.tt-booking-checkout h1, .tt-booking-checkout h2, .tt-booking-checkout h3, .tt-booking-checkout h4,
.tt-plan-checkout-page h1, .tt-plan-checkout-page h2, .tt-plan-checkout-page h3, .tt-plan-checkout-page h4 {
    color: var(--tt-heading);
    font-family: 'Poppins', sans-serif;
    margin: 0 0 12px;
}

.tt-plan-page p, .tt-checkout-page p, .tt-booking-checkout p, .tt-plan-checkout-page p {
    font-family: 'Poppins', sans-serif;
    color: var(--tt-body);
    margin-top: 0;
}

/* 1. Compact Pricing Hero (/plan) */
.tt-plan-hero {
    padding: 52px 0 48px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--tt-navy-soft) 100%);
    border-bottom: 1px solid var(--tt-border-light);
    text-align: center;
}

.tt-plan-breadcrumb,
.tt-checkout-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    color: var(--tt-muted);
    margin-bottom: 12px;
}

.tt-plan-hero .tt-plan-breadcrumb {
    justify-content: center;
    margin-bottom: 16px;
}

.tt-plan-breadcrumb a,
.tt-checkout-breadcrumb a {
    color: var(--tt-navy-primary);
    text-decoration: none;
    transition: color 180ms ease;
}

.tt-plan-breadcrumb a:hover,
.tt-checkout-breadcrumb a:hover {
    color: var(--tt-orange-accent);
}

.tt-plan-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--tt-orange-hover);
    background: var(--tt-orange-soft);
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(244, 124, 32, 0.22);
    margin-bottom: 16px;
}

.tt-plan-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--tt-heading);
    max-width: 760px;
    margin: 0 auto 14px;
}

.tt-plan-hero-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--tt-muted);
    max-width: 680px;
    margin: 0 auto 24px;
}

.tt-plan-hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tt-plan-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 16px;
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tt-navy-primary);
    box-shadow: 0 2px 6px rgba(28, 44, 70, 0.04);
}

.tt-plan-hero-chip i {
    color: var(--tt-orange-accent);
    font-size: 15px;
}

/* 2. Main Section & Segmented Control (/plan) */
.tt-plan-main-section {
    padding: 64px 0;
}

.tt-plan-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.tt-plan-segmented-control {
    display: inline-flex;
    height: 44px;
    padding: 4px;
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(28, 44, 70, 0.05);
}

.tt-plan-segmented-btn {
    height: 34px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--tt-body);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 180ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tt-plan-segmented-btn:focus-visible {
    outline: 2px solid var(--tt-orange-accent);
    outline-offset: 2px;
}

.tt-plan-segmented-btn.active {
    background: var(--tt-navy-primary);
    color: var(--tt-white);
    box-shadow: 0 2px 8px rgba(28, 44, 70, 0.2);
}

/* 3. Pricing Cards Flex Grid (/plan) */
.tt-plan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 64px;
}

.tt-plan-card {
    position: relative;
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(28, 44, 70, 0.07);
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 22px);
    min-width: 250px;
    max-width: 320px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.tt-plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--tt-border-strong);
    box-shadow: 0 16px 36px rgba(28, 44, 70, 0.11);
}

.tt-plan-card.is-recommended {
    border: 2px solid var(--tt-navy-primary);
    box-shadow: 0 16px 36px rgba(28, 44, 70, 0.14);
}

.tt-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tt-orange-soft);
    color: var(--tt-orange-hover);
    border: 1px solid rgba(244, 124, 32, 0.22);
    font-size: 12px;
    font-weight: 600;
    height: 28px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(244, 124, 32, 0.15);
}

.tt-plan-card-top {
    margin-bottom: 18px;
}

.tt-plan-name {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tt-heading);
    margin-bottom: 8px;
}

.tt-plan-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--tt-muted);
    margin-bottom: 18px;
}

.tt-plan-price-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 4px;
}

.tt-plan-price-amount {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--tt-heading);
    font-variant-numeric: tabular-nums;
}

.tt-plan-validity {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tt-muted);
}

.tt-plan-divider {
    height: 1px;
    background: var(--tt-border-light);
    margin: 18px 0;
}

.tt-plan-features-block {
    flex-grow: 1;
    margin-bottom: 24px;
}

.tt-plan-includes-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tt-navy-primary);
    margin-bottom: 14px;
}

.tt-plan-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.tt-plan-feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tt-success-soft);
    color: var(--tt-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

.tt-plan-feature-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--tt-body);
}

.tt-plan-modules-group {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--tt-border-light);
}

.tt-plan-modules-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tt-plan-module-tag {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--tt-navy-soft);
    color: var(--tt-navy-primary);
}

.tt-plan-cta-wrapper {
    margin-top: auto;
}

.tt-plan-btn-action {
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    background: var(--tt-navy-primary);
    color: var(--tt-white) !important;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.tt-plan-btn-action:hover {
    background: var(--tt-navy-hover);
}

.tt-plan-btn-action:focus-visible {
    outline: 3px solid var(--tt-orange-accent);
    outline-offset: 2px;
}

.tt-plan-card.is-recommended .tt-plan-btn-action {
    background: var(--tt-orange-accent);
}

.tt-plan-card.is-recommended .tt-plan-btn-action:hover {
    background: var(--tt-orange-hover);
}

.tt-plan-btn-active {
    background: var(--tt-success) !important;
    cursor: default;
}

.tt-plan-btn-renew {
    background: var(--tt-warning) !important;
}

/* 4. Section Headers */
.tt-plan-section-header {
    text-align: center;
    max-width: 680px;
    margin: 64px auto 32px;
}

.tt-plan-section-header h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--tt-heading);
    margin-bottom: 10px;
}

.tt-plan-section-header p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tt-muted);
    margin: 0;
}

/* 5. Benefits Card Grid */
.tt-plan-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 64px;
}

.tt-plan-benefit-card {
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(28, 44, 70, 0.05);
    transition: border-color 180ms ease, transform 180ms ease;
}

.tt-plan-benefit-card:hover {
    border-color: var(--tt-border-strong);
    transform: translateY(-2px);
}

.tt-plan-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--tt-navy-soft);
    color: var(--tt-navy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.tt-plan-benefit-card h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--tt-heading);
    margin-bottom: 8px;
}

.tt-plan-benefit-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--tt-muted);
    margin: 0;
}

/* 6. Process Step Cards Grid */
.tt-plan-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 64px;
}

.tt-plan-how-card {
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(28, 44, 70, 0.05);
    position: relative;
}

.tt-plan-how-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tt-orange-accent);
    color: var(--tt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.tt-plan-how-card h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--tt-heading);
    margin-bottom: 8px;
}

.tt-plan-how-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--tt-muted);
    margin: 0;
}

/* 7. FAQ Accordion */
.tt-plan-faq-wrapper {
    max-width: 800px;
    margin: 0 auto 64px;
}

.tt-plan-faq-item {
    background: var(--tt-white);
    border: 1px solid var(--tt-border-light);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
}

.tt-plan-faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tt-heading);
    text-align: left;
    cursor: pointer;
}

.tt-plan-faq-button:focus-visible {
    outline: 2px solid var(--tt-orange-accent);
}

.tt-plan-faq-answer {
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--tt-body);
}

.tt-plan-faq-answer p {
    margin: 0;
}

/* 8. Support CTA Box */
.tt-plan-support-cta {
    background: var(--tt-navy-primary);
    border-radius: 20px;
    padding: 44px 36px;
    text-align: center;
    color: var(--tt-white);
    margin-top: 64px;
    margin-bottom: 40px;
}

.tt-plan-support-cta h2 {
    color: var(--tt-white);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tt-plan-support-cta p {
    color: var(--tt-border-light);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.tt-btn-cta-orange {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 28px;
    background: var(--tt-orange-accent);
    color: var(--tt-white) !important;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(244, 124, 32, 0.3);
    transition: background 180ms ease;
}

.tt-btn-cta-orange:hover {
    background: var(--tt-orange-hover);
}

/* ==========================================================================
   UNIFIED APP-STYLE CHECKOUT DESIGN SYSTEM (Tour, Boat, Hotel, Space, Flight, Car, Event, Plan)
   Compact, Modern Mobile-App Typography & Multi-Device Fluid Scaling
   ========================================================================== */

.tt-checkout-page,
.tt-booking-checkout,
.tt-plan-checkout-page {
    padding: 24px 0 60px !important;
    min-height: 80vh !important;
    background-color: #f8fafc !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ── App Checkout Header ── */
.tt-checkout-header {
    margin-bottom: 20px !important;
}

.tt-checkout-top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.tt-checkout-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

.tt-checkout-breadcrumb a {
    color: #475569 !important;
    text-decoration: none !important;
    transition: color 150ms ease !important;
}

.tt-checkout-breadcrumb a:hover {
    color: var(--tt-orange-accent) !important;
}

.tt-checkout-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--tt-navy-primary) !important;
    text-decoration: none !important;
    padding: 4px 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: all 180ms ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

.tt-checkout-back-link:hover {
    color: var(--tt-orange-accent) !important;
    border-color: var(--tt-orange-accent) !important;
    transform: translateX(-2px) !important;
}

.tt-checkout-header h1 {
    font-size: 21px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    color: var(--tt-heading) !important;
    margin-bottom: 4px !important;
    border: none !important;
    padding: 0 !important;
    letter-spacing: -0.3px !important;
}

.tt-checkout-header p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* ── 2-Column Responsive Grid Layout ── */
.tt-checkout-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr) !important;
    gap: 20px !important;
    align-items: start !important;
}

.tt-checkout-left-col,
.tt-checkout-right-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Sleek Mobile-App Card Containers ── */
.tt-checkout-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 16px !important;
    transition: box-shadow 0.2s ease !important;
}

.tt-checkout-card:last-child {
    margin-bottom: 0 !important;
}

.tt-checkout-card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--tt-heading) !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: 0.1px !important;
}

.tt-checkout-card-title svg,
.tt-checkout-card-title i {
    color: var(--tt-orange-accent) !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
}

/* ── Customer Form Fields Grid ── */
.tt-customer-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
}

.tt-customer-field-full {
    grid-column: 1 / -1 !important;
}

.tt-customer-fields .form-group {
    margin-bottom: 0 !important;
}

/* ── App-Style Form Controls & Labels ── */
.tt-checkout-page .form-label,
.tt-booking-checkout .form-label,
.tt-plan-checkout-page .form-label,
.tt-customer-fields label,
.gateways-table label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 4px !important;
    display: block !important;
    line-height: 1.3 !important;
}

.tt-checkout-page .form-label .required,
.tt-booking-checkout .form-label .required,
.tt-customer-fields label .required {
    color: #ef4444 !important;
    font-weight: 700 !important;
}

.tt-checkout-page .form-control,
.tt-booking-checkout .form-control,
.tt-plan-checkout-page .form-control,
.tt-customer-fields input.form-control,
.tt-customer-fields select.form-control {
    min-height: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 7px 11px !important;
    font-size: 12.5px !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #0f2444 !important;
    box-shadow: none !important;
    transition: all 150ms ease !important;
    line-height: 1.4 !important;
}

.tt-checkout-page .form-control::placeholder,
.tt-booking-checkout .form-control::placeholder,
.tt-plan-checkout-page .form-control::placeholder {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.tt-checkout-page .form-control:focus,
.tt-booking-checkout .form-control:focus,
.tt-plan-checkout-page .form-control:focus {
    border-color: #F47C20 !important;
    box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.12) !important;
    outline: none !important;
    background: #ffffff !important;
}

.tt-checkout-page textarea.form-control,
.tt-booking-checkout textarea.form-control,
.tt-plan-checkout-page textarea.form-control {
    min-height: 70px !important;
    height: auto !important;
    padding: 8px 11px !important;
    resize: vertical !important;
}

/* ── Purchaser Info Summary Grid (Plan Checkout) ── */
.tt-purchaser-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.tt-purchaser-info-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 12.5px !important;
}

.tt-purchaser-info-item small {
    display: block !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.tt-purchaser-info-item span {
    font-weight: 600 !important;
    color: #0f2444 !important;
}

/* ── Payment Gateway Selection Card ── */
.tt-payment-option-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    transition: all 180ms ease !important;
}

.tt-payment-option-card:hover {
    border-color: #cbd5e1 !important;
    background: #fdfdfd !important;
}

.tt-payment-card-header {
    background: #ffffff !important;
    border: 0 !important;
    padding: 0 !important;
}

.tt-payment-label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    color: #1e293b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    gap: 8px !important;
}

.tt-payment-radio {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 4px 0 0 !important;
    accent-color: #F47C20 !important;
    cursor: pointer !important;
}

.tt-payment-logo {
    max-width: 75px !important;
    max-height: 22px !important;
    margin-right: 6px !important;
    object-fit: contain !important;
}

.tt-payment-card-body {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 12px 14px !important;
    color: #475569 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* ── Terms & Conditions Checkbox ── */
.tt-terms-box {
    margin-top: 6px !important;
    margin-bottom: 14px !important;
}

.tt-terms-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: #475569 !important;
    cursor: pointer !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.tt-terms-checkbox-label input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    accent-color: #F47C20 !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.tt-terms-checkbox-label a {
    color: #F47C20 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

/* ── Submit / Confirm Button ── */
.tt-checkout-submit-btn {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 8px 20px !important;
    background: linear-gradient(135deg, #F47C20 0%, #ff5722 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(244, 124, 32, 0.35) !important;
    transition: all 180ms ease !important;
    text-transform: uppercase !important;
}

.tt-checkout-submit-btn:hover {
    background: linear-gradient(135deg, #e0660e 0%, #ea4310 100%) !important;
    box-shadow: 0 6px 18px rgba(244, 124, 32, 0.45) !important;
    transform: translateY(-1px) !important;
}

.tt-checkout-submit-btn:active {
    transform: translateY(0) !important;
}

.tt-checkout-submit-btn:focus-visible {
    outline: 2px solid #0f2444 !important;
    outline-offset: 2px !important;
}

/* ── Right Column: Sticky Summary Card ── */
.tt-checkout-summary-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 85px !important;
}

.tt-checkout-summary-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.tt-selected-plan-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #D96512 !important;
    background: #FFF4EA !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    margin-bottom: 8px !important;
    border: 1px solid rgba(217, 101, 18, 0.18) !important;
}

.tt-selected-plan-badge svg,
.tt-selected-plan-badge i {
    width: 12px !important;
    height: 12px !important;
    font-size: 12px !important;
}

.tt-summary-plan-name {
    font-size: 15.5px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    color: #0f2444 !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.2px !important;
}

.tt-summary-service-title,
.booking-review .service-name,
.booking-review .service-name a,
.booking-review-content .service-info h3,
.booking-review-content .service-info h4 {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f2444 !important;
    margin-bottom: 4px !important;
}

.booking-review .service-name a:hover {
    color: #F47C20 !important;
    text-decoration: none !important;
}

/* ── App-Style Media Thumbnail Frame (No oversized images!) ── */
.tt-summary-media {
    width: 100% !important;
    height: 135px !important;
    max-height: 135px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f1f5f9 !important;
    margin-bottom: 10px !important;
}

.tt-summary-thumb,
.booking-review-content .service-info img.img-responsive,
.booking-review-content .service-info img {
    width: 100% !important;
    height: 135px !important;
    max-height: 135px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px !important;
    margin-top: 0 !important;
}

/* ── Review List & Breakdown Rows ── */
.booking-review-content {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.booking-review-content .review-section {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.booking-review-content .review-section:first-child {
    padding-top: 4px !important;
}

.booking-review-content .review-section:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.booking-review-content .review-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.booking-review-content .review-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    color: #334155 !important;
}

.booking-review-content .review-list li .label,
.booking-review-content .review-list li span.label {
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
}

.booking-review-content .review-list li .val,
.booking-review-content .review-list li span.val {
    color: #0f2444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ── Final Total Row ── */
.booking-review-content .review-list li.final-total,
.tt-price-breakdown-row.total-row {
    border-top: 1.5px solid #e2e8f0 !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    display: block !important;
}

.booking-review-content .review-list li.final-total .label,
.tt-price-breakdown-row.total-row .total-label {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #0f2444 !important;
}

.booking-review-content .review-list li.final-total .val,
.tt-price-breakdown-row.total-row .total-amount {
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #F47C20 !important;
    font-variant-numeric: tabular-nums !important;
}

/* ── Coupon Box inside Checkout Summary ── */
.booking-review-content .review-section .form-section-group,
.booking-review-content .review-section form {
    margin-bottom: 6px !important;
}

.booking-review-content input[name="coupon_code"] {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 11.5px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.booking-review-content .btn-apply-coupon {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 14px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
}

/* ── Encrypted Security Note ── */
.tt-security-note {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f1f5f9 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    margin-top: 12px !important;
}

.tt-security-note svg,
.tt-security-note i {
    color: #10b981 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

/* ── Legacy Normal Checkout Overrides ── */
.booking-review-title,
.bravo-booking-page .form-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f2444 !important;
    margin-bottom: 12px !important;
    border: none !important;
    padding-bottom: 0 !important;
}

/* ==========================================================================
   DEVICE-SPECIFIC RESPONSIVE DESIGN & TYPOGRAPHY SCALING
   ========================================================================== */

/* ── Large Desktops (>= 1200px) ── */
@media (min-width: 1200px) {
    .tt-checkout-container {
        max-width: 1120px !important;
    }
}

/* ── Tablets & Small Laptops (992px - 1199px) ── */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .tt-checkout-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr) !important;
        gap: 16px !important;
    }
    .tt-checkout-card {
        padding: 16px 18px !important;
    }
}

/* ── Tablets & Mobile Handhelds (<= 991px) ── */
@media (max-width: 991.98px) {
    .tt-checkout-page,
    .tt-booking-checkout,
    .tt-plan-checkout-page {
        padding: 18px 0 48px !important;
    }

    .tt-checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* In Mobile/Tablet, show summary above or sticky below per user flow */
    .tt-checkout-summary-sticky {
        position: static !important;
    }

    .tt-checkout-card {
        padding: 16px 18px !important;
        border-radius: 12px !important;
    }

    .tt-checkout-header h1 {
        font-size: 18.5px !important;
    }

    .tt-checkout-header p {
        font-size: 12px !important;
    }
}

/* ── Standard Mobile Phones (<= 767px) ── */
@media (max-width: 767.98px) {
    .tt-checkout-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .tt-checkout-header {
        margin-bottom: 14px !important;
    }

    .tt-checkout-top-bar {
        margin-bottom: 6px !important;
    }

    .tt-checkout-header h1 {
        font-size: 17.5px !important;
    }

    .tt-checkout-card {
        padding: 14px 15px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .tt-checkout-card-title {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }

    .tt-customer-fields {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .tt-purchaser-info-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .tt-checkout-page .form-control,
    .tt-booking-checkout .form-control,
    .tt-plan-checkout-page .form-control {
        min-height: 37px !important;
        height: 37px !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
    }

    .tt-summary-media,
    .tt-summary-thumb {
        height: 120px !important;
        max-height: 120px !important;
    }

    .tt-checkout-submit-btn {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 13px !important;
        border-radius: 9px !important;
    }

    .booking-review-content .review-list li.final-total .val,
    .tt-price-breakdown-row.total-row .total-amount {
        font-size: 19px !important;
    }
}

/* ── Small Mobile Screens (<= 480px) ── */
@media (max-width: 480px) {
    .tt-checkout-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .tt-checkout-header h1 {
        font-size: 16.5px !important;
    }

    .tt-checkout-card {
        padding: 12px 14px !important;
        border-radius: 10px !important;
    }

    .tt-summary-plan-name {
        font-size: 14px !important;
    }

    .tt-payment-label {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* ── Modal Fix: Prevent Stacking Context Trapping & Backdrop Covering ── */
body.modal-open {
    overflow: hidden !important;
}

/* handled by global-modal-system.css */

/* handled by global-modal-system.css */

.tt-checkout-page .modal,
.tt-booking-checkout .modal {
    z-index: 1055 !important;
}

.tt-checkout-page .modal-backdrop,
.tt-booking-checkout .modal-backdrop {
    z-index: 1045 !important;
}

/* ── Date Breakdown Modal Premium Design ── */
.tt-date-breakdown-modal {
    z-index: 1060 !important;
}

.tt-date-breakdown-modal .modal-dialog {
    max-width: 460px !important;
    margin: 1.75rem auto !important;
}

.tt-date-breakdown-modal .modal-content {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22) !important;
    background: #ffffff !important;
}

.tt-date-breakdown-modal .modal-header {
    background: linear-gradient(135deg, #0f2444 0%, #1e3a5f 100%) !important;
    padding: 12px 18px !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.tt-date-breakdown-modal .modal-header .modal-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.tt-modal-icon-badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(244, 124, 32, 0.2) !important;
    color: #F47C20 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
}

.tt-date-breakdown-modal .modal-header .close-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: background 150ms ease !important;
    padding: 0 !important;
    line-height: 26px !important;
}

.tt-date-breakdown-modal .modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.tt-date-breakdown-modal .modal-body {
    padding: 16px 18px !important;
    background: #f8fafc !important;
}

.tt-modal-service-strip {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 11.5px !important;
}

.tt-strip-service-title {
    font-weight: 700 !important;
    color: #0f2444 !important;
}

.tt-date-breakdown-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.tt-date-breakdown-table thead th {
    background: #f1f5f9 !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.tt-date-breakdown-table tbody td {
    padding: 10px 12px !important;
    font-size: 12px !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    background: #ffffff !important;
}

.tt-date-breakdown-table tbody tr:last-child td {
    border-bottom: none !important;
}

.tt-date-breakdown-table tbody tr:nth-of-type(even) td {
    background: #fafbfc !important;
}

.tt-date-total-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 10px !important;
}

