/* =====================================================================
   Buy Domain Kenya theme - design system and page styling
   Colours (owner): black, white, red #BD0000, green #006600
   Full width layout; Inter typeface; WHMCS markup untouched underneath
   ===================================================================== */
:root {
    --bdk-black: #0a0a0a;
    --bdk-ink: #111111;
    --bdk-graphite: #1c1c1c;
    --bdk-white: #ffffff;
    --bdk-soft: #f5f5f4;
    --bdk-line: #e5e5e5;
    --bdk-muted: #5f5f5f;
    --bdk-red: #bd0000;
    --bdk-red-dark: #960000;
    --bdk-green: #006600;
    --bdk-green-soft: #e8f3e8;
    --bdk-red-soft: #fbeaea;
    --bdk-radius: 14px;
    --bdk-radius-sm: 10px;
    --bdk-gutter: clamp(16px, 4vw, 56px);
    --bdk-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* ---------- base ---------- */
body.bdk {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--bdk-ink);
    background: var(--bdk-soft);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.bdk.bdk-is-home { background: var(--bdk-white); }
body.bdk h1, body.bdk h2, body.bdk h3, body.bdk h4, body.bdk h5 { font-family: inherit; color: var(--bdk-ink); letter-spacing: -.02em; font-weight: 700; }
body.bdk a { color: var(--bdk-red); }
body.bdk a:hover { color: var(--bdk-red-dark); }
body.bdk :focus-visible { outline: 3px solid var(--bdk-red); outline-offset: 2px; }

/* full width: every container spans the page with a comfortable gutter */
body.bdk .container { max-width: 1440px; width: 100%; padding-left: var(--bdk-gutter); padding-right: var(--bdk-gutter); }

/* ---------- buttons (also restyle WHMCS buttons) ---------- */
.bdk-btn, body.bdk .btn-primary, body.bdk .btn-success, body.bdk .btn-default, body.bdk .btn-outline-primary {
    border-radius: 10px; font-weight: 600; padding: .62rem 1.15rem; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.bdk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid transparent; line-height: 1.2; text-decoration: none; }
.bdk-btn-primary, body.bdk .btn-primary { background: var(--bdk-red); border-color: var(--bdk-red); color: #fff !important; }
.bdk-btn-primary:hover, body.bdk .btn-primary:hover, body.bdk .btn-primary:focus { background: var(--bdk-red-dark); border-color: var(--bdk-red-dark); color: #fff; }
body.bdk .btn-success { background: var(--bdk-green); border-color: var(--bdk-green); color: #fff; }
body.bdk .btn-success:hover { background: #004d00; border-color: #004d00; }
.bdk-btn-ghost, body.bdk .btn-default { background: #fff; border-color: #d4d4d4; color: var(--bdk-ink) !important; }
.bdk-btn-ghost:hover, body.bdk .btn-default:hover { border-color: var(--bdk-ink); background: #fff; color: var(--bdk-ink); }
.bdk-btn-light { background: #fff; color: var(--bdk-black) !important; border-color: #fff; }
.bdk-btn-light:hover { background: #eee; }
body.bdk .btn-outline-primary { color: var(--bdk-red); border-color: var(--bdk-red); }
body.bdk .btn-outline-primary:hover { background: var(--bdk-red); color: #fff; }
body.bdk .btn-link { color: var(--bdk-red); }

/* ---------- header ---------- */
body.bdk .header { background: transparent; border: 0; box-shadow: none; }
body.bdk .header .topbar { background: var(--bdk-black); color: #ddd; }
body.bdk .header .topbar .btn { color: #ddd; }
.bdk-nav { position: sticky; top: 0; z-index: 1030; background: var(--bdk-white); border-bottom: 1px solid var(--bdk-line); transition: box-shadow .2s; }
.bdk-nav.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .07); }
.bdk-nav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.bdk-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none !important; flex-shrink: 0; }
.bdk-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--bdk-red); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.bdk-word { color: var(--bdk-black); font-weight: 800; font-size: 1.02rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.bdk-word span { display: block; font-size: .7rem; font-weight: 600; color: var(--bdk-green); letter-spacing: .22em; }
.bdk-brand-light .bdk-word { color: #fff; }
.bdk-menu { flex: 1; display: flex; justify-content: center; }
.bdk-menu > ul { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.bdk-menu > ul > li > a, .bdk-dd-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-radius: 8px; color: var(--bdk-ink) !important; font-weight: 600; font-size: .94rem; text-decoration: none !important; background: none; border: 0; cursor: pointer; }
.bdk-menu > ul > li > a:hover, .bdk-dd-btn:hover, .bdk-dd.is-open .bdk-dd-btn { background: var(--bdk-soft); }
.bdk-blog-link { position: relative; }
.bdk-dd { position: relative; }
.bdk-dd-btn .fa-chevron-down { font-size: .65rem; transition: transform .15s; }
.bdk-dd.is-open .bdk-dd-btn .fa-chevron-down { transform: rotate(180deg); }
.bdk-dd-panel { display: none; position: absolute; top: calc(100% + 10px); left: 0; width: 340px; background: #fff; border: 1px solid var(--bdk-line); border-radius: var(--bdk-radius); box-shadow: var(--bdk-shadow); padding: .5rem; z-index: 1040; }
.bdk-dd.is-open .bdk-dd-panel { display: block; }
.bdk-dd-panel > a { display: block; padding: .65rem .8rem; border-radius: 10px; color: var(--bdk-ink) !important; text-decoration: none !important; }
.bdk-dd-panel > a:hover { background: var(--bdk-soft); }
.bdk-dd-panel strong { display: block; font-size: .95rem; }
.bdk-dd-panel span { display: block; font-size: .82rem; color: var(--bdk-muted); }
.bdk-dd-tlds { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .8rem .4rem; border-top: 1px solid var(--bdk-line); margin-top: .35rem; }
.bdk-dd-tlds a { font-size: .82rem; font-weight: 700; color: var(--bdk-green) !important; background: var(--bdk-green-soft); padding: .2rem .55rem; border-radius: 999px; text-decoration: none !important; }
.bdk-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.bdk-util { color: var(--bdk-ink) !important; font-weight: 600; font-size: .92rem; padding: .5rem .6rem; text-decoration: none !important; }
.bdk-cart { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--bdk-ink) !important; border: 1px solid var(--bdk-line); }
.bdk-cart:hover { border-color: var(--bdk-ink); }
.bdk-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bdk-red); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.bdk-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--bdk-line); background: #fff; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.bdk-burger span { display: block; width: 20px; height: 2px; background: var(--bdk-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.bdk-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bdk-burger.is-open span:nth-child(2) { opacity: 0; }
.bdk-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.bdk-mobile { border-top: 1px solid var(--bdk-line); padding: .5rem var(--bdk-gutter) 1.25rem; background: #fff; }
.bdk-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.bdk-mobile li a { display: block; padding: .85rem .2rem; border-bottom: 1px solid var(--bdk-line); color: var(--bdk-ink) !important; font-weight: 600; text-decoration: none !important; }
.bdk-mobile .btn { margin-top: .5rem; min-height: 48px; }
@media (max-width: 1199.98px) {
    .bdk-menu, .bdk-util { display: none !important; }
    .bdk-burger { display: inline-flex; }
    .bdk-nav-inner { min-height: 68px; }
}

/* client area account bar (logged in): black, WHMCS menus inside */
body.bdk .bdk-clientbar { background: var(--bdk-black); padding: 0; }
body.bdk .bdk-clientbar .navbar-nav .nav-link { color: #e5e5e5 !important; font-weight: 600; padding: .85rem .9rem; }
body.bdk .bdk-clientbar .navbar-nav .nav-link:hover, body.bdk .bdk-clientbar .navbar-nav .active > .nav-link { color: #fff !important; box-shadow: inset 0 -3px 0 var(--bdk-red); }
body.bdk .bdk-clientbar .dropdown-menu { border-radius: 12px; border: 1px solid var(--bdk-line); box-shadow: var(--bdk-shadow); }
body.bdk .bdk-clientbar .dropdown-item.active, body.bdk .bdk-clientbar .dropdown-item:active { background: var(--bdk-red); }
.bdk-clientbar-toggle { color: #fff !important; font-weight: 600; padding: .8rem 0; }

/* breadcrumb and page body */
body.bdk .master-breadcrumb { background: #fff; border-bottom: 1px solid var(--bdk-line); }
body.bdk .master-breadcrumb .breadcrumb { background: transparent; margin: 0; padding: .7rem 0; font-size: .86rem; }
body.bdk .master-breadcrumb .breadcrumb a { color: var(--bdk-muted); }
body.bdk #main-body { padding: 2.5rem 0 4rem; }
body.bdk #main-body.bdk-home-body { padding: 0; }
body.bdk.bdk-is-home #main-body > div > .row { margin: 0; }
body.bdk.bdk-is-home #main-body .primary-content { padding: 0; }

/* WHMCS cards, panels, sidebars, tables, forms, alerts */
body.bdk .card, body.bdk .panel { border: 1px solid var(--bdk-line); border-radius: var(--bdk-radius); box-shadow: none; }
body.bdk .card-header { background: #fff; border-bottom: 1px solid var(--bdk-line); font-weight: 700; }
body.bdk .card-sidebar .card-header, body.bdk .sidebar .card-header { background: var(--bdk-black); color: #fff; border-radius: var(--bdk-radius) var(--bdk-radius) 0 0; }
body.bdk .card-sidebar .card-header h3, body.bdk .sidebar .card-header h3 { color: #fff; font-size: 1rem; }
body.bdk .list-group-item { border-color: var(--bdk-line); }
body.bdk .list-group-item.active { background: var(--bdk-red); border-color: var(--bdk-red); color: #fff; }
body.bdk .list-group-item-action:hover { background: var(--bdk-soft); }
body.bdk .table thead th { border-bottom: 2px solid var(--bdk-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bdk-muted); }
body.bdk .form-control, body.bdk .custom-select { border-radius: 10px; border-color: #d4d4d4; min-height: 46px; }
body.bdk .form-control:focus, body.bdk .custom-select:focus { border-color: var(--bdk-ink); box-shadow: 0 0 0 3px rgba(189, 0, 0, .15); }
body.bdk label { font-weight: 600; font-size: .9rem; }
body.bdk .alert { border-radius: 12px; }
body.bdk .alert-success { background: var(--bdk-green-soft); border-color: #b9dbb9; color: #004d00; }
body.bdk .alert-danger { background: var(--bdk-red-soft); border-color: #efc2c2; color: var(--bdk-red-dark); }
body.bdk .label-success, body.bdk .badge-success, body.bdk .status-active, body.bdk .status-paid { background-color: var(--bdk-green) !important; }
body.bdk .label-danger, body.bdk .badge-danger, body.bdk .status-unpaid, body.bdk .status-overdue { background-color: var(--bdk-red) !important; }
body.bdk .tiles .tile { border-radius: var(--bdk-radius); }
body.bdk .tiles .tile .highlight { background: var(--bdk-red) !important; }

/* ---------- homepage ---------- */
.bdk-hero { background: var(--bdk-black); color: #fff; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.bdk-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(189, 0, 0, .35), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(0, 102, 0, .25), transparent 60%); pointer-events: none; }
.bdk-hero .container { position: relative; }
.bdk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; }
.bdk-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #f0f0f0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1.4rem; }
.bdk-dot { width: 8px; height: 8px; border-radius: 50%; background: #35c135; box-shadow: 0 0 0 4px rgba(53, 193, 53, .2); }
.bdk-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 1.1rem; max-width: 15ch; }
.bdk-lead { color: #cfcfcf; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; margin: 0; }
.bdk-hero-art { position: relative; aspect-ratio: 1; max-width: 360px; justify-self: end; width: 100%; }
.bdk-hero-art i { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.bdk-hero-art i:nth-child(2) { inset: 16%; border-color: rgba(189, 0, 0, .55); border-style: dashed; animation: bdk-spin 40s linear infinite; }
.bdk-hero-art i:nth-child(3) { inset: 32%; border-color: rgba(255, 255, 255, .22); }
.bdk-hero-art b { position: absolute; inset: 44%; border-radius: 50%; background: var(--bdk-red); box-shadow: 0 0 60px rgba(189, 0, 0, .7); }
@keyframes bdk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bdk-hero-art i { animation: none !important; } }
.bdk-search-card { margin-top: clamp(2rem, 4vw, 3rem); background: #fff; color: var(--bdk-ink); border-radius: 18px; padding: clamp(1.1rem, 2.5vw, 1.75rem); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.bdk-search-label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.bdk-search-row { display: flex; gap: .6rem; }
.bdk-search-input { flex: 1; min-height: 58px !important; font-size: 1.1rem; padding: 0 1.1rem; background: var(--bdk-soft); }
.bdk-search-btn { min-width: 170px; min-height: 58px; font-size: 1.02rem; }
.bdk-search-row .bdk-btn-ghost { min-height: 58px; }
.bdk-tld-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .9rem; }
.bdk-tld-hint { font-size: .85rem; color: var(--bdk-muted); margin-right: .2rem; }
.bdk-tld { border: 1px solid #cfe3cf; background: var(--bdk-green-soft); color: var(--bdk-green); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .3rem .75rem; cursor: pointer; }
.bdk-tld:hover { background: var(--bdk-green); color: #fff; }
.bdk-tld-all { margin-left: auto; font-size: .88rem; font-weight: 600; }
.bdk-tld-prices { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .9rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--bdk-line); font-size: .9rem; color: var(--bdk-muted); }
.bdk-tld-prices strong { color: var(--bdk-ink); }
@media (max-width: 767.98px) {
    .bdk-hero-grid { grid-template-columns: 1fr; }
    .bdk-hero-art { display: none; }
    .bdk-search-row { flex-direction: column; }
    .bdk-search-btn, .bdk-search-row .bdk-btn-ghost { width: 100%; }
    .bdk-tld-all { margin-left: 0; width: 100%; }
}

.bdk-trust { background: var(--bdk-green-soft); border-bottom: 1px solid #cfe3cf; padding: 1.4rem 0; }
.bdk-trust-claim { text-align: center; font-weight: 700; color: var(--bdk-green); margin: 0 0 .8rem; font-size: 1.02rem; }
.bdk-trust-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 0; padding: 0; font-size: .92rem; color: #234023; }
.bdk-trust-list li { display: inline-flex; align-items: center; gap: .45rem; }
.bdk-trust-list i { color: var(--bdk-green); }

.bdk-section { padding: clamp(3rem, 7vw, 5.5rem) 0; background: #fff; }
.bdk-section-alt { background: var(--bdk-soft); }
.bdk-section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.bdk-section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.bdk-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--bdk-red); margin: 0 0 .5rem; }
.bdk-section h2, .bdk-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0 0 .6rem; line-height: 1.12; }
.bdk-sub { color: var(--bdk-muted); font-size: 1.05rem; margin: 0; }
.bdk-dark { background: var(--bdk-black); }
.bdk-dark h2 { color: #fff; }
.bdk-dark .bdk-sub { color: #c9c9c9; margin-bottom: 1.5rem; }
.bdk-dark .bdk-kicker { color: #ff5a5a; }

.bdk-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bdk-service { grid-column: span 2; display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border: 1px solid var(--bdk-line); border-radius: var(--bdk-radius); background: #fff; color: var(--bdk-ink) !important; text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.bdk-service:hover { border-color: var(--bdk-ink); transform: translateY(-2px); box-shadow: var(--bdk-shadow); }
.bdk-service-feature { grid-column: span 2; grid-row: span 2; background: var(--bdk-black); color: #fff !important; border-color: var(--bdk-black); }
.bdk-service-feature h3 { color: #fff; font-size: 1.7rem; }
.bdk-service-feature p { color: #cfcfcf; }
.bdk-service h3 { font-size: 1.2rem; margin: .4rem 0 0; }
.bdk-service p { color: var(--bdk-muted); margin: 0; font-size: .95rem; flex: 1; }
.bdk-service-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bdk-red-soft); color: var(--bdk-red); font-size: 1.2rem; }
.bdk-service-feature .bdk-service-ico { background: var(--bdk-red); color: #fff; }
.bdk-more { font-weight: 700; color: var(--bdk-red); font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; margin-top: .4rem; }
.bdk-service-feature .bdk-more { color: #ff6b6b; }
@media (max-width: 1199.98px) { .bdk-services { grid-template-columns: repeat(2, 1fr); } .bdk-service, .bdk-service-feature { grid-column: span 1; grid-row: auto; } .bdk-service-feature { grid-column: span 2; } }
@media (max-width: 575.98px) { .bdk-services { grid-template-columns: 1fr; } .bdk-service-feature { grid-column: span 1; } }

.bdk-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.bdk-group { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border-radius: var(--bdk-radius); background: #fff; border: 1px solid var(--bdk-line); color: var(--bdk-ink) !important; text-decoration: none !important; border-top: 3px solid var(--bdk-green); }
.bdk-group:hover { border-color: var(--bdk-ink); border-top-color: var(--bdk-red); }
.bdk-group h3 { font-size: 1.1rem; margin: 0; }
.bdk-group p { color: var(--bdk-muted); font-size: .92rem; margin: 0; flex: 1; }

.bdk-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bdk-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bdk-why-list li { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--bdk-radius); padding: 1.3rem; background: var(--bdk-graphite); }
.bdk-why-list strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .25rem; }
.bdk-why-list span { color: #bdbdbd; font-size: .92rem; }
@media (max-width: 991.98px) { .bdk-why { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .bdk-why-list { grid-template-columns: 1fr; } }

.bdk-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.bdk-logos li { display: grid; place-items: center; height: 96px; padding: 1rem; border: 1px solid var(--bdk-line); border-radius: var(--bdk-radius-sm); background: #fff; }
.bdk-logos img { max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.bdk-logos li:hover img { filter: none; opacity: 1; }

.bdk-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; min-height: 120px; }
.bdk-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bdk-line); border-radius: var(--bdk-radius); overflow: hidden; color: var(--bdk-ink) !important; text-decoration: none !important; }
.bdk-post:hover { border-color: var(--bdk-ink); }
.bdk-post img, .bdk-post-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(135deg, #1c1c1c, #3a0000); }
.bdk-post-meta { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bdk-green); padding: 1rem 1.2rem 0; }
.bdk-post h3 { font-size: 1.08rem; margin: .4rem 1.2rem .4rem; line-height: 1.35; }
.bdk-post p { font-size: .92rem; color: var(--bdk-muted); margin: 0 1.2rem 1.2rem; }
@media (max-width: 991.98px) { .bdk-posts { grid-template-columns: 1fr; } }

.bdk-cta { background: var(--bdk-red); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.bdk-cta h2 { color: #fff; }
.bdk-cta p { color: #ffe1e1; font-size: 1.08rem; margin-bottom: 1.6rem; }
.bdk-cta .bdk-btn-primary { background: var(--bdk-black); border-color: var(--bdk-black); }
.bdk-cta .bdk-btn-primary:hover { background: #222; border-color: #222; }
.bdk-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.bdk-cta-actions .bdk-btn { min-height: 52px; padding-left: 1.6rem; padding-right: 1.6rem; }

/* ---------- footer ---------- */
body.bdk .bdk-footer { background: var(--bdk-black); color: #cfcfcf; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; margin: 0; }
.bdk-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bdk-footer-brand p { color: #bdbdbd; margin: 1rem 0 0; max-width: 34ch; }
.bdk-footer-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.bdk-footer-contact a { color: #fff !important; font-weight: 600; text-decoration: none !important; }
.bdk-pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.bdk-pay span { border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: .15rem .55rem; font-size: .75rem; font-weight: 700; color: #fff; }
.bdk-pay .bdk-pay-mpesa { background: var(--bdk-green); border-color: var(--bdk-green); }
.bdk-footer nav h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1rem; }
.bdk-footer nav a { display: block; color: #cfcfcf !important; padding: .3rem 0; font-size: .94rem; text-decoration: none !important; }
.bdk-footer nav a:hover { color: #fff !important; }
.bdk-footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: .86rem; }
.bdk-footer-base .copyright { color: #a5a5a5; }
.bdk-lang { color: #e5e5e5 !important; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; font-size: .85rem; }
@media (max-width: 991.98px) { .bdk-footer-grid { grid-template-columns: repeat(2, 1fr); } .bdk-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 400px) { .bdk-footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp chat (kept from the current site) */
.bdk-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 1020; display: inline-flex; align-items: center; gap: .5rem; background: var(--bdk-green); color: #fff !important; border-radius: 999px; padding: .65rem 1rem .65rem .8rem; font-weight: 700; font-size: .92rem; text-decoration: none !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.bdk-whatsapp i { font-size: 1.35rem; }
.bdk-whatsapp:hover { background: #004d00; }
@media (max-width: 575.98px) { .bdk-whatsapp span { display: none; } .bdk-whatsapp { padding: .75rem; } }
/* keep it clear of checkout buttons */
body.bdk #order-standard_cart ~ .bdk-whatsapp, body.bdk .bdk-checkout .bdk-whatsapp { display: none; }

/* ---------- contrast fixes: headings on dark / red sections beat Twenty-One's heading colour ---------- */
body.bdk .bdk-hero h1, body.bdk .bdk-dark h2, body.bdk .bdk-cta h2, body.bdk .bdk-service-feature h3 { color: #fff; }
/* empty cart: no badge */
.bdk-cart-count:empty, .bdk-cart-count[data-count="0"] { display: none; }
/* WHMCS licence line: kept visible, styled to sit quietly on the page */
body.bdk #main-body .primary-content > p[style*="text-align:center"]:last-child { font-size: .78rem; color: var(--bdk-muted); margin: 0; padding: 1rem 0; background: var(--bdk-soft); }
body.bdk.bdk-is-home #main-body .primary-content > p[style*="text-align:center"]:last-child { background: var(--bdk-black); color: #8a8a8a; border-top: 1px solid rgba(255, 255, 255, .08); }
body.bdk.bdk-is-home #main-body .primary-content > p[style*="text-align:center"]:last-child a { color: #bdbdbd; }

body.bdk .bdk-service-feature p { color: #d0d0d0; }
/* services: 3 on the first row (domains first), 2 wider ones below */
@media (min-width: 1200px) {
    .bdk-service-feature { grid-row: auto; }
    .bdk-services > .bdk-service:nth-child(4), .bdk-services > .bdk-service:nth-child(5) { grid-column: span 3; }
}

/* leftovers from the default colours */
body.bdk .btn-warning { background: var(--bdk-black); border-color: var(--bdk-black); color: #fff; }
body.bdk .btn-warning:hover { background: #222; border-color: #222; color: #fff; }
body.bdk .badge-info, body.bdk .label-info { background: var(--bdk-green); }
body.bdk .badge-primary { background: var(--bdk-red); }
/* shop and cart pages: the chat button shrinks to an icon so it never covers an order button */
body.bdk.bdk-in-cart .bdk-whatsapp span { display: none; }
body.bdk.bdk-in-cart .bdk-whatsapp { padding: .7rem; right: 12px; bottom: 12px; }

/* the owner's logo, exactly as supplied (never recoloured) */
.bdk-logo { display: block; height: 40px; width: auto; max-width: 100%; }
@media (max-width: 575.98px) { .bdk-logo { height: 30px; } }
.bdk-brand-panel { background: #fff; padding: .7rem 1rem; border-radius: 12px; display: inline-flex; }
.bdk-brand-panel .bdk-logo { height: 34px; }

/* menu labels never wrap; the logo sits at 36px on desktop */
.bdk-menu > ul > li > a, .bdk-dd-btn, .bdk-util { white-space: nowrap; }
.bdk-menu > ul > li > a, .bdk-dd-btn { padding: .5rem .6rem; font-size: .92rem; }
.bdk-nav-inner { gap: 1rem; }
@media (min-width: 1200px) { .bdk-logo { height: 36px; } }
@media (max-width: 1359.98px) {
    .bdk-menu, .bdk-util { display: none !important; }
    .bdk-burger { display: inline-flex; }
}

/* owner request: the WHMCS "Powered by" line stays hidden, as on the previous theme */
body.bdk #main-body .primary-content > p[style*="text-align:center"]:last-child { display: none; }

/* ---------- licensed + payment methods ---------- */
.bdk-assure { background: #fff; padding: clamp(2rem, 4vw, 3rem) 0 0; }
.bdk-assure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bdk-assure-card { display: flex; gap: 1.4rem; align-items: center; border: 1px solid #e5e5e5; border-radius: 16px; padding: 1.4rem 1.6rem; background: #fff; }
.bdk-assure-card h2 { font-size: 1.15rem !important; margin: 0 0 .35rem !important; }
.bdk-assure-card p { margin: 0 0 .5rem; color: #4a4a4a; font-size: .94rem; }
.bdk-cak { width: 170px; height: auto; flex-shrink: 0; }
.bdk-paymarks { display: grid; grid-template-columns: repeat(2, auto); gap: .5rem .7rem; align-items: center; justify-items: center; flex-shrink: 0; }
.bdk-mpesa { grid-column: 1 / -1; display: inline-flex; align-items: center; background: #00a650; color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; padding: .3rem .8rem; border-radius: 8px; line-height: 1.2; white-space: nowrap; }
.bdk-mpesa b { background: #fff; color: #00a650; border-radius: 4px; padding: 0 .28rem; margin-right: .2rem; }
.bdk-visa { color: #1a1f71; font-size: 2.4rem; }
.bdk-mc { color: #eb001b; font-size: 2.4rem; }
.bdk-pp { color: #003087; font-size: 2.4rem; }
@media (max-width: 991.98px) { .bdk-assure-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .bdk-assure-card { flex-direction: column; align-items: flex-start; } .bdk-cak { width: 150px; } }
/* footer marks on black */
.bdk-footer .bdk-pay { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.bdk-footer .bdk-pay .bdk-mpesa { font-size: .85rem; padding: .2rem .55rem; }
.bdk-footer .bdk-pay i { font-size: 2rem; background: #fff; border-radius: 6px; padding: 0 .2rem; line-height: 1.15; }
.bdk-cak-chip { display: inline-flex; align-items: center; gap: .7rem; background: #fff; border-radius: 10px; padding: .5rem .8rem; margin-top: 1rem; }
.bdk-cak-chip img { width: 120px; height: auto; }
.bdk-cak-chip span { color: #222; font-size: .78rem; font-weight: 600; max-width: 22ch; line-height: 1.3; }

/* keep the floating chat button clear of the footer language button */
@media (min-width: 576px) { .bdk-footer-base { padding-right: 170px; } }
/* badges keep readable text (the sitewide red link colour must not apply to them) */
body.bdk a.badge { color: #fff; }

/* ---------- footer: accepted payments, bottom right, one matching set ---------- */
.bdk-footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.bdk-paybar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-left: auto; }
.bdk-paylabel { color: #a5a5a5; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-right: .25rem; }
.bdk-paycard { display: inline-grid; place-items: center; width: 56px; height: 36px; border-radius: 6px; background: #fff; overflow: hidden; line-height: 1; }
.bdk-paycard i { font-size: 2.6rem; line-height: 36px; margin: 0; padding: 0; background: none !important; }
.bdk-paycard-mpesa { width: auto; padding: 0 .65rem; background: #00a650; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
@media (max-width: 575.98px) { .bdk-paybar { margin-left: 0; } }

/* footer bottom row: copyright + language on the left, accepted payments at the far right */
.bdk-footer-base > .copyright, .bdk-footer-base > p { order: 1; }
.bdk-footer-base > ul { order: 2; margin-right: auto; }
.bdk-paybar { order: 3; }
.bdk-paycard:not(.bdk-paycard-mpesa) { width: 47px; height: 30px; background: #fff; }
.bdk-paycard i { font-size: 2.55rem; line-height: 30px; display: block; margin: 0 -1px; }
.bdk-paycard-mpesa { height: 30px; }
@media (max-width: 575.98px) { .bdk-paybar { flex-wrap: nowrap; gap: .35rem; } .bdk-paylabel { display: none; } }

/* ---------- footer: "We accept" under the Support column (owner request) ---------- */
.bdk-paybar { display: none; }
.bdk-accept { margin-top: 1.2rem; }
.bdk-accept h3 { color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .6rem; font-weight: 700; }
.bdk-accept-grid { display: grid; grid-template-columns: repeat(2, 64px); gap: .5rem; }
.bdk-accept-logo { display: block; width: 64px; height: 40px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.bdk-accept-logo svg { display: block; width: 64px; height: 40px; }

/* ---------- footer bottom row: copyright, WhatsApp icon and language button on one centred line (owner request) ---------- */
.bdk-footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.5rem; padding-right: 0 !important; text-align: center; }
.bdk-footer-base > p, .bdk-footer-base > .copyright { margin: 0 !important; line-height: 36px; }
.bdk-footer-base > ul { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 !important; padding: 0; }
.bdk-footer-base > ul > li { margin: 0 !important; display: flex; align-items: center; }
.bdk-footer-base .btn-icon, .bdk-footer-base .bdk-lang { height: 36px; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.bdk-footer-base .btn-icon { width: 36px; padding: 0; border-radius: 50%; background: #25d366; color: #fff !important; font-size: 1.1rem; }
.bdk-footer-base .bdk-lang { gap: .4rem; padding: 0 .9rem; border-radius: 999px; }
@media (min-width: 768px) { .bdk-footer-base { padding-bottom: .5rem; } }
@media (max-width: 767.98px) { .bdk-footer-base { flex-direction: column; padding-bottom: 4.5rem; } }
.bdk-footer .bdk-accept h3, body.bdk .bdk-accept h3 { color: #fff !important; opacity: .85; }
body.bdk .bdk-footer .bdk-footer-base a.btn-icon { background: #25d366 !important; color: #fff !important; border: 0 !important; width: 36px; height: 36px; border-radius: 50% !important; }
body.bdk .bdk-footer .bdk-footer-base a.btn-icon:hover { background: #1da851 !important; }

/* ---------- knowledgebase hero ---------- */
.bdk-kb-hero { background: linear-gradient(135deg, #111 0%, #2a0000 60%, #003300 100%); color: #fff; border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.bdk-kb-hero h1 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; margin: .3rem 0 .6rem; }
.bdk-kb-hero p { color: #ddd; margin: 0; max-width: 70ch; }
.bdk-kb-hero a { color: #fff !important; text-decoration: underline; font-weight: 600; }
.bdk-kb-eyebrow { display: inline-block; background: #BD0000; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
