/**
 * Pricing page (/pricing) — scoped to .bk-pricing-page and .bk-pc-* classes.
 * All existing main.css classes (price_table, price_list, etc.) are preserved and untouched.
 * New bk-pc-* classes layer on top only when rendered inside the /pricing shell.
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ─── CSS custom properties (reuse same tokens as bk-terms-page.css) ─── */
.bk-pricing-page {
    --bk-pc-accent:      #012cae;
    --bk-pc-accent-2:    #0d47e8;
    --bk-pc-bg:          #f4f6f9;
    --bk-pc-card-bg:     #ffffff;
    --bk-pc-border:      #e2e8f0;
    --bk-pc-text:        #1e293b;
    --bk-pc-muted:       #64748b;
    --bk-pc-shadow:      0 4px 24px rgba(15, 39, 68, 0.09);
    --bk-pc-radius:      16px;

    /* tier accent colours */
    --bk-pc-std:         #4f5f84;
    --bk-pc-std-light:   #eef0f7;
    --bk-pc-prem:        #012cae;
    --bk-pc-prem-light:  #dce3ee;
    --bk-pc-ult:         #012cae;
    --bk-pc-ult-light:   #e8edff;

    /* credit callout badge (/pricing shell) — tier tokens (Standard / Premium / Ultimate) */
    --bk-pc-credit-std-bg:             #f1f5f9;
    --bk-pc-credit-std-border:         #cbd5e1;
    --bk-pc-credit-std-accent:         #334155;
    --bk-pc-credit-std-chip-bg:        #e2e8f0;

    --bk-pc-credit-prem-bg:            #eceff4;
    --bk-pc-credit-prem-border:        #cbd5e1;
    --bk-pc-credit-prem-accent:        #5b6578;
    --bk-pc-credit-prem-chip-bg:       #dfe5ed;

    --bk-pc-credit-ult-bg:             #eef2ff;
    --bk-pc-credit-ult-border:         #012cae;
    --bk-pc-credit-ult-accent:         #012cae;
    --bk-pc-credit-ult-chip-bg:        rgba(1, 44, 174, 0.1);

    /* credit callout badge — gold theme (BKQ AI ribbon on /pricing only) */
    --bk-pc-credit-gold-panel:         linear-gradient(180deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
    --bk-pc-credit-gold-border:        rgba(217, 119, 6, 0.45);
    --bk-pc-credit-gold-border-strong: #d97706;
    --bk-pc-credit-gold-chip-bg:       #fcd34d;
    --bk-pc-credit-gold-chip-border:   rgba(180, 83, 9, 0.4);
    --bk-pc-credit-gold-title:         #78350f;
    --bk-pc-credit-gold-muted:         #a16207;
    --bk-pc-credit-gold-accent:        #b45309;
    --bk-pc-credit-gold-deep:          #92400e;

    /* fixed-height plan cards (/pricing shell) — expands with .bk-pc-card--features-expanded */
    --bk-pc-card-shell-h: 600px;

    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Hero top padding (sticky bk-pub-header) ─── */
body.pricing .bk-tos-hero {
    scroll-margin-top: 6.5rem;
    padding-top: 4.25rem;
}

@media screen and (max-width: 767px) {
    body.pricing .bk-tos-hero {
        padding-top: 2.75rem;
    }
}

/* ─── Wider card container for pricing ─── */
.bk-pricing-page .bk-tos-main {
    max-width: 1280px;
}

.bk-pricing-page .bk-tos-card.bk-pricing-page__card {
    padding: 2rem clamp(1rem, 2vw, 2rem) 2.5rem;
    overflow-x: visible;
}

/* ─── Section reset inside card ─── */
.bk-pc-section {
    background: transparent !important;
    padding: 0 !important;
}

.bk-pc-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* ─── Notice / assistance block ─── */
.bk-pc-notice.assistancebg {
    position: static !important;
    background-image: none !important;
    height: auto !important;
    transform: none !important;
    background-color: #eff3ff;
    border: 1px solid #c7d4f8;
    border-radius: 12px;
    padding: 1.1rem 1.4rem !important;
    margin-bottom: 2rem;
}

.bk-pc-notice .assistance {
    position: static !important;
    transform: none !important;
}

.bk-pc-notice .assistance_cont {
    font-size: 0.9375rem !important;
    color: var(--bk-pc-text) !important;
    font-weight: 500;
    margin-bottom: 0.75rem !important;
}

.bk-pc-notice .tri_merge_btn.mb-5 {
    margin-bottom: 0.5rem !important;
}

/* ─── Card grid ─── */
.bk-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem !important;
    align-items: stretch;
    /* override Bootstrap row flex */
    flex-wrap: unset !important;
}

.bk-pc-col {
    padding: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

.bk-pricing-page .bk-pc-grid > .bk-pc-col {
    display: flex;
    flex-direction: column;
}

.bk-pricing-page .bk-pc-grid > .bk-pc-col > .price_table.bk-pc-plan {
    width: 100%;
}

/* ─── Credit report promo badge (/pricing shell — horizontal callout row below CTA) ─── */
.bk-pc-card .bk-pc-card__body > .pricing-badge.bk-pc-credit-badge {
    position: static !important;
    top: auto !important;
    right: auto !important;
    max-width: none !important;
    width: 100%;
    margin: 0.65rem 0 0rem !important;
    z-index: 2;
}

.bk-pc-card .bk-pc-credit-badge .badge-text-container {
    position: relative;
}

.bk-pc-card .bk-pc-credit-badge .badge-text-container::before {
    display: none !important;
}

/* Outer panel — golden callout (credit promo on /pricing shell) */
.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text {
    clip-path: none !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    display: block;
    color: var(--bk-pc-credit-gold-title);
    background: var(--bk-pc-credit-gold-panel) !important;
    border: 1px solid var(--bk-pc-credit-gold-border) !important;
    border-left: 3px solid var(--bk-pc-credit-gold-border-strong) !important;
    box-shadow: 0 1px 4px rgba(180, 83, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    overflow: hidden;
}

/* Single horizontal flex row: [chip] [body] */
.bk-pc-credit-badge__callout {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    line-height: 1.25;
}

/* AI chip pill — tier chip fill + border */
.bk-pc-credit-badge__chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .bk-pc-credit-badge__chip {
    background: var(--bk-pc-credit-gold-chip-bg);
    border: 1px solid var(--bk-pc-credit-gold-chip-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Body: title left, price right */
.bk-pc-credit-badge__callout-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.bk-pc-credit-badge__title {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
    min-width: 0;
}

.bk-pc-credit-badge__callout-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Span tokens — class names kept for parity with classic ribbon */
.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text span.span-bkqai,
.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text span.span-cr,
.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text span.span-aiw,
.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text span.span-price,
.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text span.span-pd {
    display: inline !important;
    margin: 0 !important;
}

.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-bkqai {
    font-size: 0.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bk-pc-accent) !important;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-bkqai {
    color: var(--bk-pc-credit-gold-deep) !important;
}

.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-cr {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--bk-pc-text) !important;
}

.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-aiw {
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    color: var(--bk-pc-muted) !important;
}

.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-price {
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    color: var(--bk-pc-accent) !important;
    letter-spacing: -0.01em;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-price {
    color: var(--bk-pc-credit-gold-accent) !important;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-cr {
    color: var(--bk-pc-credit-gold-title) !important;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-aiw {
    color: var(--bk-pc-credit-gold-muted) !important;
}

.bk-pricing-page .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-pd {
    color: var(--bk-pc-credit-gold-muted) !important;
}

.bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-pd {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    color: var(--bk-pc-muted) !important;
}

@media screen and (max-width: 700px) {
    .bk-pc-credit-badge__callout {
        gap: 0.45rem;
        padding: 0.5rem 0.6rem;
    }

    .bk-pc-card .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-price {
        font-size: 0.8125rem !important;
    }
}

/* Unified plan card shell (marker class on .price_table from pricing_plan_card) */
.bk-pricing-page .bk-pc-card.bk-pc-plan {
    isolation: isolate;
}

.bk-pricing-page .bk-pc-plan .bk-pc-card__header {
    border-radius: 0;
}

.bk-pricing-page .bk-pc-plan .bk-pc-card__cta {
    border-top: 1px solid var(--bk-pc-border);
    border-bottom: 1px solid var(--bk-pc-border);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* ─── Individual price card ─── */
.bk-pc-card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    border-radius: var(--bk-pc-radius) !important;
    background: var(--bk-pc-card-bg) !important;
    border: 1.5px solid var(--bk-pc-border) !important;
    box-shadow: var(--bk-pc-shadow) !important;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.bk-pc-card:hover {
    box-shadow: 0 12px 40px rgba(1, 44, 174, 0.13) !important;
    transform: translateY(-4px) !important;
    border-color: var(--bk-pc-accent) !important;
    background: var(--bk-pc-card-bg) !important;
}

/*
 * main.css .bk-plan-section .price_table sets height:900px, overflow:hidden,
 * justify-content:space-between, flex-wrap:wrap — that pins .bk-price-data to
 * the bottom and clips long feature lists (Standard). Reset on /pricing only.
 */
.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card,
.bk-pricing-page .bk-pc-card.price_table {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    overflow: visible !important;
}

/* Shell plan cards: equal fixed height; feature list clips until expanded */
.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card.bk-pc-plan:not(.bk-pc-card--features-expanded) {
    height: var(--bk-pc-card-shell-h) !important;
    min-height: var(--bk-pc-card-shell-h) !important;
    max-height: var(--bk-pc-card-shell-h) !important;
    overflow: hidden !important;
}

.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card.bk-pc-plan.bk-pc-card--features-expanded {
    height: auto !important;
    max-height: none !important;
    min-height: var(--bk-pc-card-shell-h) !important;
    overflow: visible !important;
}

.bk-pricing-page .bk-pc-plan .bk-pc-card__body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.bk-pricing-page .bk-pc-plan.bk-pc-card--features-expanded .bk-pc-card__body {
    overflow: visible !important;
}

.bk-pricing-page .bk-pc-plan:not(.bk-pc-card--features-expanded) .bk-pc-card__features {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: hidden !important;
}

.bk-pricing-page .bk-pc-plan.bk-pc-card--features-expanded .bk-pc-card__features {
    flex: 0 1 auto !important;
    overflow-y: visible !important;
}

/*
 * main.css: .bk-plan-section .price_table.hover_active { border: solid black } wins over
 * .bk-pc-card:hover for Premium Plus (no .bk-pc-card--featured). Premium gets blue from --featured.
 * On /pricing only, force accent border for .hover_active and :hover so Premium Plus matches.
 */
.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card.hover_active,
.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card:hover {
    border-color: var(--bk-pc-accent) !important;
    border-width: 1.5px !important;
    border-style: solid !important;
}

.bk-pricing-page #pricing_sec.bk-pc-section .price_table.bk-pc-card:hover {
    box-shadow: 0 12px 40px rgba(1, 44, 174, 0.13) !important;
    transform: translateY(-4px) !important;
}

/*
 * When a non-default plan is hovered, Premium tier cards without focus should not read as selected.
 */
.bk-pricing-page #pricing_sec.bk-pc-section.bk-pc-sec--other-plan-hover
    .price_table.bk-pc-card--premium:not(.hover_active):not(:hover) {
    border-color: var(--bk-pc-border) !important;
    box-shadow: var(--bk-pc-shadow) !important;
    transform: none !important;
    scale: 1 !important;
}

.bk-pricing-page .bk-pc-card__body {
    flex: 0 1 auto !important;
    width: 100%;
}

.bk-pricing-page .bk-pc-card__features {
    flex: 0 1 auto !important;
}

/* Featured (Premium) */
.bk-pc-card--featured {
    border-color: var(--bk-pc-accent) !important;
    box-shadow: 0 8px 36px rgba(1, 44, 174, 0.15) !important;
}

/* ─── Card header (name + price) ─── */
.bk-pc-card__header {
    text-align: center;
    padding: 1.5rem 1.25rem 1rem !important;
}

.bk-pc-card__header h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--bk-pc-text) !important;
    margin: 0 0 0.35rem !important;
    padding: 0 !important;
    background: transparent !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bk-pc-card__header h4 {
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    color: var(--bk-pc-text) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    line-height: 1.1;
}

.bk-pc-card__header h4 sup {
    font-size: 1rem !important;
    font-weight: 600 !important;
    vertical-align: super;
    bottom: auto !important;
}

/* tier accent lines under price (Standard/Premium aligned with Ultimate blue family) */
.bk-pc-card--standard .bk-pc-card__header {
    border-bottom: 3px solid var(--bk-pc-ult-light);
}
.bk-pc-card--premium .bk-pc-card__header {
    border-bottom: 3px solid var(--bk-pc-ult-light);
}
.bk-pc-card--ultimate .bk-pc-card__header {
    border-bottom: 3px solid var(--bk-pc-ult-light);
}

/* tier colour for the plan title */
.bk-pc-card--standard .bk-pc-card__header h3 { color: var(--bk-pc-prem) !important; }
.bk-pc-card--premium  .bk-pc-card__header h3 { color: var(--bk-pc-prem) !important; }
.bk-pc-card--ultimate .bk-pc-card__header h3 { color: var(--bk-pc-ult) !important; }

/* ─── Card body wrapper ─── */
.bk-pc-card__body {
    display: flex !important;
    flex-direction: column;
    flex: 1;
}

/* ─── CTA button row ─── */
.bk-pc-card__cta {
    padding: 1rem 1.25rem 0.75rem !important;
    margin: 0 !important;
}

.bk-pc-card__cta .bk-main-button {
    width: 100% !important;
    text-align: center;
    font-size: 0.875rem !important;
    padding: 0.65rem 1rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}

/* Tier CTA buttons — /pricing shell (Standard & Plus / Premium & Plus / Ultimate & Plus) */
.bk-pricing-page .bk-pc-card__cta .bk-pc-cta-btn {
    display: block !important;
    width: 100% !important;
    padding: 0.78rem 1.25rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-align: center !important;
    border-radius: 10px !important;
    border: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease !important;
    text-decoration: none !important;
    cursor: pointer;
}

/* Standard / Premium / Ultimate (+ Plus variants) — brand blue CTA (same family as login) */
.bk-pricing-page .bk-pc-card--standard .bk-pc-card__cta .bk-pc-cta-btn,
.bk-pricing-page .bk-pc-card--premium .bk-pc-card__cta .bk-pc-cta-btn,
.bk-pricing-page .bk-pc-card--ultimate .bk-pc-card__cta .bk-pc-cta-btn {
    color: #fff !important;
    background: linear-gradient(180deg, #0d47e8 0%, var(--bk-pc-accent) 100%) !important;
    box-shadow: 0 8px 24px rgba(1, 44, 174, 0.32) !important;
}

.bk-pricing-page .bk-pc-card--standard .bk-pc-card__cta .bk-pc-cta-btn:hover,
.bk-pricing-page .bk-pc-card--standard .bk-pc-card__cta .bk-pc-cta-btn:focus-visible,
.bk-pricing-page .bk-pc-card--premium .bk-pc-card__cta .bk-pc-cta-btn:hover,
.bk-pricing-page .bk-pc-card--premium .bk-pc-card__cta .bk-pc-cta-btn:focus-visible,
.bk-pricing-page .bk-pc-card--ultimate .bk-pc-card__cta .bk-pc-cta-btn:hover,
.bk-pricing-page .bk-pc-card--ultimate .bk-pc-card__cta .bk-pc-cta-btn:focus-visible {
    background: linear-gradient(180deg, #1a56f0 0%, #021f8f 100%) !important;
    box-shadow: 0 10px 28px rgba(1, 44, 174, 0.42) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.bk-pricing-page .bk-pc-card--standard .bk-pc-card__cta .bk-pc-cta-btn:active,
.bk-pricing-page .bk-pc-card--premium .bk-pc-card__cta .bk-pc-cta-btn:active,
.bk-pricing-page .bk-pc-card--ultimate .bk-pc-card__cta .bk-pc-cta-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 12px rgba(1, 44, 174, 0.28) !important;
}

.bk-pricing-page .bk-pc-card--standard.hover_active .bk-pc-card__cta .bk-pc-cta-btn,
.bk-pricing-page .bk-pc-card--premium.hover_active .bk-pc-card__cta .bk-pc-cta-btn,
.bk-pricing-page .bk-pc-card--ultimate.hover_active .bk-pc-card__cta .bk-pc-cta-btn {
    background: linear-gradient(180deg, #0d47e8 0%, var(--bk-pc-accent) 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(1, 44, 174, 0.32) !important;
}

/* ─── Feature list ─── */
.bk-pc-card__features {
    padding: 0.75rem 1.25rem 1.25rem !important;
    flex: 1;
}

.bk-pc-card__features ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
}

.bk-pc-card__features ul li {
    display: flex !important;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--bk-pc-border);
    font-size: 0.875rem !important;
    color: var(--bk-pc-text) !important;
    text-align: left !important;
}

.bk-pc-card__features ul li:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

.bk-pc-card__features ul li .fas.fa-check {
    color: var(--bk-pc-accent) !important;
    font-size: 0.75rem !important;
    margin-top: 0.2rem;
    flex-shrink: 0;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

.bk-pc-card__features ul li p {
    margin: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    color: var(--bk-pc-text) !important;
    text-align: left !important;
}

.bk-pc-card__features ul li p span {
    font-size: 0.875rem !important;
    color: var(--bk-pc-muted) !important;
}

.bk-pc-card__features ul li p .text-bold,
.bk-pc-card__features ul li p span.text-bold {
    color: var(--bk-pc-text) !important;
    font-weight: 600 !important;
}

.bk-pc-card__features ul li small {
    font-size: 0.75rem !important;
    color: var(--bk-pc-muted) !important;
    font-style: italic;
}

/* Shell: feature toggle — hidden until JS sets .bk-pc-features-toggle--show (list overflows) */
.bk-pricing-page .bk-pc-plan .bk-pc-features-toggle {
    display: none !important;
    flex-shrink: 0 !important;
    margin-top: auto !important;
    padding: 0.2rem 0.5rem 0.45rem !important;
    text-align: center !important;
    background: linear-gradient(to top, var(--bk-pc-card-bg) 55%, rgba(255, 255, 255, 0)) !important;
}

.bk-pricing-page .bk-pc-card--standard.bk-pc-plan .bk-pc-features-toggle,
.bk-pricing-page .bk-pc-card--premium.bk-pc-plan .bk-pc-features-toggle,
.bk-pricing-page .bk-pc-card--ultimate.bk-pc-plan .bk-pc-features-toggle {
    background: linear-gradient(to top, #eef2ff 0%, rgba(238, 242, 255, 0)) !important;
}

.bk-pricing-page .bk-pc-plan .bk-pc-features-toggle.bk-pc-features-toggle--show {
    display: block !important;
}

/* Expanded card: bottom strip ("Show less") — align with plan card corner radius */
.bk-pricing-page .bk-pc-plan .bk-pc-features-toggle.bk-pc-features-toggle--show.view_less_button {
    border-bottom-left-radius: var(--bk-pc-radius) !important;
    border-bottom-right-radius: var(--bk-pc-radius) !important;
    overflow: hidden;
}

/* Show more / Show less — tier pill shades */
.bk-pricing-page .bk-pc-plan .view_more_button a,
.bk-pricing-page .bk-pc-plan .view_less_button a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.28rem !important;
    padding: 0.26rem 0.55rem !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bk-pricing-page .bk-pc-card--standard.bk-pc-plan .view_more_button a,
.bk-pricing-page .bk-pc-card--standard.bk-pc-plan .view_less_button a,
.bk-pricing-page .bk-pc-card--premium.bk-pc-plan .view_more_button a,
.bk-pricing-page .bk-pc-card--premium.bk-pc-plan .view_less_button a,
.bk-pricing-page .bk-pc-card--ultimate.bk-pc-plan .view_more_button a,
.bk-pricing-page .bk-pc-card--ultimate.bk-pc-plan .view_less_button a {
    color: #fff !important;
    border: 1px solid rgba(1, 44, 174, 0.35) !important;
    background: linear-gradient(180deg, #0d47e8 0%, var(--bk-pc-accent) 100%) !important;
    box-shadow: 0 2px 8px rgba(1, 44, 174, 0.22) !important;
}

.bk-pricing-page .bk-pc-card--standard.bk-pc-plan .view_more_button a:hover,
.bk-pricing-page .bk-pc-card--standard.bk-pc-plan .view_less_button a:hover,
.bk-pricing-page .bk-pc-card--premium.bk-pc-plan .view_more_button a:hover,
.bk-pricing-page .bk-pc-card--premium.bk-pc-plan .view_less_button a:hover,
.bk-pricing-page .bk-pc-card--ultimate.bk-pc-plan .view_more_button a:hover,
.bk-pricing-page .bk-pc-card--ultimate.bk-pc-plan .view_less_button a:hover {
    border-color: #021f8f !important;
    box-shadow: 0 2px 10px rgba(1, 44, 174, 0.32) !important;
}

.bk-pricing-page .bk-pc-features-toggle__icon {
    font-size: 0.55rem !important;
    line-height: 1 !important;
    transition: transform 0.2s ease;
}

.bk-pricing-page .bk-pc-features-toggle.view_less_button .bk-pc-features-toggle__icon {
    transform: rotate(180deg);
}

/* ─── hover overrides: keep card clean on /pricing ─── */
.bk-pricing-page .bk-pc-card.hover_active,
.bk-pricing-page .bk-pc-card.hover_active p,
.bk-pricing-page .bk-pc-card.hover_active span,
.bk-pricing-page .bk-pc-card.hover_active h3,
.bk-pricing-page .bk-pc-card.hover_active h4 {
    background: var(--bk-pc-card-bg) !important;
    color: var(--bk-pc-text) !important;
}

/*
 * Blanket span fill fights badge + Show more: strip white from inner spans only.
 * Chip wrapper (.bk-pc-credit-badge__chip) keeps tier pill via higher-specificity rules below.
 */
.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge span:not(.bk-pc-credit-badge__chip) {
    background: transparent !important;
}

.bk-pricing-page .bk-pc-card.hover_active .view_more_button a span,
.bk-pricing-page .bk-pc-card.hover_active .view_less_button a span {
    background: transparent !important;
    color: inherit !important;
}

/* Re-assert golden credit badge + chip after broad .hover_active span reset */
.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .badge-text {
    background: var(--bk-pc-credit-gold-panel) !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .bk-pc-credit-badge__chip {
    background: var(--bk-pc-credit-gold-chip-bg) !important;
}

/* Span tokens inside badge on hover_active — gold palette */
.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-bkqai {
    background: transparent !important;
    color: var(--bk-pc-credit-gold-deep) !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-cr {
    color: var(--bk-pc-credit-gold-title) !important;
    background: transparent !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-aiw {
    color: var(--bk-pc-credit-gold-muted) !important;
    background: transparent !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-price {
    background: transparent !important;
    color: var(--bk-pc-credit-gold-accent) !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-credit-badge.bk-pc-credit-badge--callout .span-pd {
    color: var(--bk-pc-credit-gold-muted) !important;
    background: transparent !important;
}

.bk-pricing-page .bk-pc-card--standard.hover_active .bk-pc-card__header h3 {
    background: transparent !important;
    color: var(--bk-pc-prem) !important;
}

.bk-pricing-page .bk-pc-card--premium.hover_active .bk-pc-card__header h3 {
    background: transparent !important;
    color: var(--bk-pc-prem) !important;
}

.bk-pricing-page .bk-pc-card--ultimate.hover_active .bk-pc-card__header h3 {
    background: transparent !important;
    color: var(--bk-pc-ult) !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-card__header h4 {
    background: transparent !important;
    color: var(--bk-pc-text) !important;
}

.bk-pricing-page .bk-pc-card.hover_active .bk-pc-card__features ul li .fas.fa-check {
    color: var(--bk-pc-accent) !important;
}

/* ─── Footer CTA row (/pricing shell — extends .bk-pricing-footer-ctas from main.css) ─── */
.bk-pricing-page .bk-pricing-footer-ctas.bk-pc-footer-ctas {
    padding: 1.5rem 0 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bk-pricing-page .bk-pricing-footer-ctas.bk-pc-footer-ctas .tri_merge_btn {
    margin: 0 !important;
}

.bk-pricing-page .bk-pricing-footer-ctas.bk-pc-footer-ctas .bk-main-button {
    min-width: 220px;
    text-align: center;
}

/* ─── Responsive ─── */
@media screen and (max-width: 1100px) {
    .bk-pc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 700px) {
    .bk-pricing-page {
        --bk-pc-card-shell-h: 560px;
    }

    .bk-pc-grid {
        grid-template-columns: 1fr !important;
    }

    .bk-pricing-page .bk-tos-card.bk-pricing-page__card {
        padding: 1.25rem 1rem 1.5rem;
    }

    .bk-pricing-page .bk-pricing-footer-ctas.bk-pc-footer-ctas {
        flex-direction: column;
        align-items: center;
    }

    .bk-pricing-page .bk-pricing-footer-ctas.bk-pc-footer-ctas .bk-main-button {
        width: 100%;
    }
}
