/* Bukids membership page (2.0.164) ------------------------------------------
   One palette: the site's brand red only. Plans step from a pale tint to the
   full brand red as they get longer (--bk-tier, set by membership.js), so the
   colour itself reads as "more value". The B2 admin colours (green, blue,
   purple) are not used here. Neutral greys for text and lines; no shadows,
   no gradients. */

#vips [v-cloak] { display: none !important; }
#vips {
    --bk-red: var(--b2color, #fd4c4c);
    --bk-red-hover: #e8403f;
    --bk-red-soft: #fff1f1;
    --bk-ink: #1d2433;
    --bk-text: #475467;
    --bk-muted: #667085;
    --bk-faint: #98a2b3;
    --bk-line: #e6e9ef;
    --bk-bg: #fff;
    --bk-warm: #fff6f3;
    --bk-tint-1: #ffd9d9;
    --bk-tint-2: #ffb0b0;
    --bk-tint-3: #fe7f7f;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 0 72px;
    color: var(--bk-text);
    background: var(--bk-bg);
    box-sizing: border-box;
}
#vips *, #vips *::before, #vips *::after { box-sizing: border-box; }

/* B2 header spacing on this route (kept from 2.0.137). */
body.bukids-vip-page .site-header {
    margin-bottom: 0 !important;
    height: var(--bk-vip-header-height, 64px) !important;
}
@media (max-width: 1024px) { body.bukids-vip-page .site-header { height: var(--bk-vip-header-height, 91px) !important; } }
body.bukids-vip-page #content.site-content { margin-left: 0 !important; margin-right: 0 !important; }
body.bukids-vip-page #content,
body.bukids-vip-page .site-content,
body.bukids-vip-page .site-content-area,
body.bukids-vip-page .site-content-in,
body.bukids-vip-page .site-main-wrap,
body.bukids-vip-page .content-area,
body.bukids-vip-page #primary { margin-top: 0 !important; padding-top: 0 !important; }

/* ---------------------------------------------------------------------------
   Intro
   --------------------------------------------------------------------------- */
/* White intro with three flat, solid circles in the brand palette (2.0.167):
   a large pale-red disc top-left, a peach disc bottom-right, and a small
   brand-red dot. They sit behind the text and never cover it. */
#vips .bk-vip-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 52px 20px 44px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--bk-line);
}
#vips .bk-vip-intro::before,
#vips .bk-vip-intro::after,
#vips .bk-vip-intro-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
#vips .bk-vip-intro::before {
    top: -110px;
    left: max(-90px, calc(50% - 680px));
    width: 300px;
    height: 300px;
    background: #ffeded;
}
#vips .bk-vip-intro::after {
    right: max(-60px, calc(50% - 650px));
    bottom: -90px;
    width: 220px;
    height: 220px;
    background: #ffe6dc;
}
#vips .bk-vip-intro-inner { position: relative; max-width: 760px; margin: 0 auto; }
#vips .bk-vip-intro-inner::before {
    top: 6px;
    right: -70px;
    width: 22px;
    height: 22px;
    background: var(--bk-red);
}
#vips .bk-vip-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    margin: 0 0 16px;
    padding: 0 12px;
    color: var(--bk-red);
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #fbd5cf;
    border-radius: 999px;
}
#vips .bk-vip-intro h1 {
    margin: 0;
    padding: 0;
    color: var(--bk-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}
#vips .bk-vip-intro-desc {
    margin: 12px 0 0;
    color: var(--bk-text);
    font-size: 15px;
    line-height: 1.7;
}
#vips .bk-vip-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}
#vips .bk-vip-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    margin: 0;
    padding: 0 22px;
    list-style: none;
    border-left: 1px solid var(--bk-line);
}
#vips .bk-vip-stats li:first-child { border-left: 0; }
#vips .bk-vip-stats b {
    color: var(--bk-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}
#vips .bk-vip-stats li:last-child b { color: var(--bk-red); }
#vips .bk-vip-stats span { margin-top: 2px; color: var(--bk-muted); font-size: 13px; }
#vips .vip-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 34px;
    margin: 24px auto 0;
    padding: 6px 14px;
    color: var(--bk-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    background: #fff;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
}
#vips .vip-current > span,
#vips .vip-current > div { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; overflow-wrap: anywhere; }
#vips .vip-current svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------------
   Plans
   --------------------------------------------------------------------------- */
#vips .bk-vip-plans {
    width: 100%;
    max-width: var(--bk-membership-width, 1140px);
    margin: 0 auto;
    padding: 36px 20px 0;
}
#vips .bk-vip-status { padding: 24px; text-align: center; line-height: 1.8; }
#vips .bk-vip-status button { min-height: 44px; margin: 8px; }
#vips .vip-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}
#vips .vip-item { display: flex; width: auto; min-width: 0; margin: 0; padding: 0; float: none; }
#vips .vip-list-in {
    --bk-tier: var(--bk-red);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
    background: #fff;
    border: 1px solid var(--bk-line);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color .15s ease;
}
#vips .vip-list-in::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bk-tier);
}
@media (hover: hover) and (pointer: fine) {
    #vips .vip-list-in:hover { border-color: #cfd4dc; }
}
#vips .vip-list-in.is-best,
#vips .vip-list-in.is-best:hover {
    border-color: var(--bk-red);
    outline: 1px solid var(--bk-red);
    outline-offset: -2px;
}
#vips .vip-list-in:focus-within { border-color: var(--bk-ink); }
#vips .bk-plan-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    height: 24px;
    padding: 0 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    background: var(--bk-red);
    border-radius: 999px;
}

#vips .bk-plan-top { padding: 26px 22px 20px; text-align: left; background: none; border: 0; }
#vips .bk-plan-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin: 0;
    padding-right: 64px;
    color: var(--bk-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}
#vips .bk-plan-dot { flex: 0 0 auto; width: 8px; height: 8px; background: var(--bk-tier); border-radius: 50%; }
#vips .vip-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px;
    min-height: 0;
    margin: 16px 0 0;
    padding: 0;
}
#vips .vip-price-currency { color: var(--bk-ink); font-size: 20px; font-weight: 700; line-height: 1; }
#vips .vip-price-num {
    color: var(--bk-ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}
#vips .vip-list-in.is-best .vip-price-currency,
#vips .vip-list-in.is-best .vip-price-num { color: var(--bk-red); }
#vips .vip-price-day { margin-left: 6px; padding: 0; color: var(--bk-muted); font-size: 14px; }
#vips .bk-plan-daily {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-height: 24px;
    margin-top: 10px;
    color: var(--bk-muted);
    font-size: 13px;
    line-height: 1.5;
}
#vips .bk-plan-save {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    color: var(--bk-red);
    font-size: 12px;
    font-weight: 600;
    background: var(--bk-red-soft);
    border-radius: 6px;
}

#vips .vip-row {
    flex: 1 0 auto;
    width: 100%;
    margin: 0;
    padding: 16px 22px 4px;
    background: #fff;
    border-top: 1px solid var(--bk-line);
}
#vips .bk-benefit-title { margin: 0 0 6px; color: var(--bk-faint); font-size: 12px; line-height: 18px; }
#vips .vip-row ul { width: 100%; margin: 0; padding: 0; list-style: none; }
#vips .vip-row li.vip-allow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 9px 0;
    color: var(--bk-faint);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid #f1f3f6;
}
#vips .vip-row li.vip-allow:last-child { border-bottom: 0; }
#vips .vip-row li.vip-allow.allow { color: var(--bk-text); }
#vips .vip-row li.vip-allow > div:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#vips .vip-row li.vip-allow > div:last-child { flex: 0 0 18px; text-align: center; }
#vips .bk-benefit-icon { display: inline-block; width: 18px; font-family: Arial, sans-serif; font-weight: 700; line-height: inherit; }
#vips .vip-row li.vip-allow.allow .bk-benefit-icon { color: var(--bk-red); }
#vips .vip-row li.vip-allow:not(.allow) .bk-benefit-icon { color: #d0d5dd; }

#vips .bk-plan-footer { width: 100%; margin-top: auto; padding: 18px 22px 22px; background: #fff; }
#vips .vip-buy { display: block; width: 100%; margin: 0; padding: 0; }
#vips .vip-buy button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0 16px;
    color: var(--bk-red);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    background: #fff;
    border: 1px solid var(--bk-red);
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
#vips .vip-buy button:hover { color: var(--bk-red); background: var(--bk-red-soft); }
#vips .vip-buy button.is-primary { color: #fff; background: var(--bk-red); }
#vips .vip-buy button.is-primary:hover { color: #fff; background: var(--bk-red-hover); }
#vips .vip-buy button:focus-visible { outline: 2px solid var(--bk-ink); outline-offset: 2px; }
#vips .bk-plan-note { margin-top: 10px; color: var(--bk-faint); font-size: 12px; line-height: 18px; text-align: center; }

/* Reassurance row */
#vips .bk-vip-assure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
#vips .bk-vip-assure li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--bk-text);
    font-size: 14px;
    list-style: none;
}
#vips .bk-vip-assure svg { flex: 0 0 auto; color: var(--bk-red); }

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */
#vips .vip-footer { width: 100%; max-width: 880px; margin: 64px auto 0; padding: 0; }
#vips .bk-faq-heading { margin-bottom: 18px; text-align: center; }
#vips .bk-faq-heading h2 { margin: 0; padding: 0; color: var(--bk-ink); font-size: 24px; font-weight: 700; line-height: 1.4; }
#vips .bk-faq-heading p { margin: 4px 0 0; color: var(--bk-muted); font-size: 14px; line-height: 1.6; }
#vips .vip-faq {
    width: 100%;
    margin: 0;
    padding: 0 22px;
    background: #fff;
    border: 1px solid var(--bk-line);
    border-radius: 12px;
}
#vips .vip-faq-list { width: 100%; margin: 0; padding: 0; font-size: 15px; background: none; border-bottom: 1px solid var(--bk-line); cursor: pointer; }
#vips .vip-faq-list:last-child { border-bottom: 0; }
#vips .vip-faq-list::after { content: none; }
#vips .vip-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 0;
    color: var(--bk-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
}
#vips .vip-faq-list summary::-webkit-details-marker { display: none; }
#vips .vip-faq-list summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 1.5px solid var(--bk-muted);
    border-bottom: 1.5px solid var(--bk-muted);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
}
#vips .vip-faq-list[open] summary::after { transform: translateY(2px) rotate(-135deg); }
#vips .vip-faq-list summary:focus-visible { outline: 2px solid var(--bk-ink); outline-offset: 2px; }
#vips .vip-faq-list p { margin: 0; padding: 0 0 18px; color: var(--bk-text); font-size: 14px; line-height: 1.8; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1120px) {
    #vips .vip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    #vips { padding-bottom: 44px; }
    #vips .bk-vip-intro { padding: 34px 16px 30px; }
    #vips .bk-vip-intro::before { top: -90px; left: -110px; width: 200px; height: 200px; }
    #vips .bk-vip-intro::after { right: -70px; bottom: -80px; width: 150px; height: 150px; }
    #vips .bk-vip-intro-inner::before { top: -14px; right: 6px; width: 14px; height: 14px; }
    #vips .bk-vip-badge { height: 26px; margin-bottom: 12px; font-size: 12px; }
    #vips .bk-vip-intro h1 { font-size: 24px; }
    #vips .bk-vip-intro-desc { margin-top: 8px; font-size: 14px; }
    #vips .bk-vip-stats { margin-top: 20px; }
    #vips .bk-vip-stats li { min-width: 0; padding: 0 14px; }
    #vips .bk-vip-stats b { font-size: 20px; }
    #vips .bk-vip-stats span { font-size: 12px; }
    #vips .vip-current { margin-top: 18px; font-size: 12px; }
    #vips .bk-vip-plans { padding: 20px 12px 0; }
    #vips .vip-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    /* The best-value plan leads on phones. */
    #vips .vip-item.is-best { order: -1; }
    /* Compact card head: name and price on one line. */
    #vips .bk-plan-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "name price" "daily daily";
        align-items: center;
        column-gap: 12px;
        padding: 20px 16px 14px;
    }
    #vips .bk-plan-name { grid-area: name; padding-right: 0; font-size: 16px; }
    #vips .vip-price { grid-area: price; margin: 0; justify-content: flex-end; }
    #vips .vip-price-num { font-size: 32px; }
    #vips .vip-price-currency { font-size: 16px; }
    #vips .vip-price-day { font-size: 13px; }
    #vips .bk-plan-daily { grid-area: daily; margin-top: 8px; }
    #vips .bk-plan-ribbon { position: static; align-self: flex-start; margin: 18px 16px 0; }
    #vips .vip-list-in.is-best .bk-plan-top { padding-top: 10px; }
    #vips .vip-row { padding: 12px 16px 2px; }
    #vips .vip-row li.vip-allow { padding: 8px 0; font-size: 14px; }
    #vips .bk-plan-footer { padding: 14px 16px 16px; }
    #vips .bk-vip-assure { flex-direction: column; align-items: flex-start; gap: 8px; margin: 22px 4px 0; }
    #vips .vip-footer { margin-top: 44px; padding: 0 4px; }
    #vips .bk-faq-heading h2 { font-size: 21px; }
    #vips .vip-faq { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    #vips .vip-list-in, #vips .vip-buy button, #vips .vip-faq-list summary::after { transition: none; }
}

/* 2.0.189: small tablets (600–768px) show plans two by two instead of one
   full-width card per row; phones keep the single column. */
@media (min-width: 600px) and (max-width: 768px) {
    #vips .vip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #vips .vip-item.is-best { order: 0; }
}
