/* Boutik Pam — tèm global pwofesyonèl. Limyè rete tèm default. */
:root {
  --bp-page: #f5f7fb;
  --bp-surface: #ffffff;
  --bp-surface-2: #f7f9fc;
  --bp-surface-3: #edf2f9;
  --bp-text: #0f1f38;
  --bp-text-soft: #52627a;
  --bp-muted: #8491a6;
  --bp-line: #dce4ef;
  --bp-shadow: 0 14px 40px rgba(15,31,56,.09);
}

html[data-bp-theme="dark"] {
  --bp-page: #07111f;
  --bp-surface: #0d1b2e;
  --bp-surface-2: #11233b;
  --bp-surface-3: #172b46;
  --bp-text: #f5f8ff;
  --bp-text-soft: #bdc9da;
  --bp-muted: #8ea0b8;
  --bp-line: #263b58;
  --bp-shadow: 0 16px 48px rgba(0,0,0,.34);
}

html, body, #page, #content, .site-content { transition: background-color .22s ease, color .22s ease; }
html[data-bp-theme="dark"], html[data-bp-theme="dark"] body { background: var(--bp-page) !important; color: var(--bp-text) !important; }

/* Bouton nan header la */
.bp-theme-toggle { padding:0; cursor:pointer; font-family:inherit; line-height:1; }
.bp-theme-toggle .bp-theme-sun { display:none; }
html[data-bp-theme="dark"] .bp-theme-toggle .bp-theme-moon { display:none; }
html[data-bp-theme="dark"] .bp-theme-toggle .bp-theme-sun { display:block; color:#ffd166; }

html[data-bp-theme="dark"] #bp-header { background:#09172a !important; border-color:#213752 !important; box-shadow:0 4px 20px rgba(0,0,0,.32) !important; }
html[data-bp-theme="dark"] .bp-icon,
html[data-bp-theme="dark"] #bp-hbg { background:#10223a !important; border-color:#29425f !important; color:#eaf1ff !important; }
html[data-bp-theme="dark"] #bp-hbg span { background:#eaf1ff !important; }
html[data-bp-theme="dark"] .bp-nl { color:#c5d2e5 !important; }
html[data-bp-theme="dark"] .bp-nl:hover,
html[data-bp-theme="dark"] .bp-nl.is-active { background:#142b49 !important; color:#82adff !important; }
html[data-bp-theme="dark"] .bp-badge { border-color:#09172a !important; }

/* Drawer, footer ak paj akèy */
html[data-bp-theme="dark"] #bp-drawer,
html[data-bp-theme="dark"] .bp-dw,
html[data-bp-theme="dark"] .bp-user-menu,
html[data-bp-theme="dark"] .bph-search-box,
html[data-bp-theme="dark"] .bph-card,
html[data-bp-theme="dark"] .bph-cat-bar,
html[data-bp-theme="dark"] .bph-empty { background:var(--bp-surface) !important; border-color:var(--bp-line) !important; color:var(--bp-text) !important; box-shadow:var(--bp-shadow) !important; }
html[data-bp-theme="dark"] #bph-main,
html[data-bp-theme="dark"] .bph-shop,
html[data-bp-theme="dark"] .bph-search-wrap { background:var(--bp-page) !important; }
html[data-bp-theme="dark"] .bph-card-body,
html[data-bp-theme="dark"] .bph-cat-inner { background:transparent !important; }
html[data-bp-theme="dark"] .bph-card-name,
html[data-bp-theme="dark"] .bph-sec-title,
html[data-bp-theme="dark"] .bph-empty h3,
html[data-bp-theme="dark"] .bp-dw-title,
html[data-bp-theme="dark"] .bp-dl-txt { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bph-sec-count,
html[data-bp-theme="dark"] .bph-empty p,
html[data-bp-theme="dark"] .bp-dw-note,
html[data-bp-theme="dark"] .bp-dw-label { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] .bp-hs-input { background:transparent !important; color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bp-hs-results { background:var(--bp-surface) !important; color:var(--bp-text) !important; border-color:var(--bp-line) !important; }
html[data-bp-theme="dark"] .bph-cat-tab:not(.bph-cat-active),
html[data-bp-theme="dark"] .bp-dl,
html[data-bp-theme="dark"] .bp-logout-btn { background:var(--bp-surface-2) !important; color:var(--bp-text-soft) !important; border-color:var(--bp-line) !important; }

/* Paj akèy premium nan: retire tout blan ki te fòse nan ansyen CSS la. */
html[data-bp-theme="dark"] body.bph-homepage { background:var(--bp-page) !important; color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bph-ff-hero { background:linear-gradient(180deg,#081321 0%,#07111f 100%) !important; border-color:var(--bp-line) !important; }
html[data-bp-theme="dark"] .bph-ff-shell { background:#0b192b !important; border-color:#263b58 !important; box-shadow:0 24px 70px rgba(0,0,0,.38) !important; }
html[data-bp-theme="dark"] .bph-ff-title,
html[data-bp-theme="dark"] .bph-pro-phone h3 { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bph-ff-title span { color:#73a5ff !important; }
html[data-bp-theme="dark"] .bph-ff-trust,
html[data-bp-theme="dark"] .bph-pro-trust,
html[data-bp-theme="dark"] .bph-ff-help-txt { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] .bph-pro-kicker { background:#102a49 !important; border-color:#284d76 !important; color:#86b6ff !important; }
html[data-bp-theme="dark"] .bph-pro-secondary { background:#11233b !important; border-color:#2b4565 !important; color:#dce8fa !important; }
html[data-bp-theme="dark"] .bph-pro-visual::before { background:linear-gradient(145deg,#10253f,#0b1b30) !important; }
html[data-bp-theme="dark"] .bph-pro-phone,
html[data-bp-theme="dark"] .bph-pro-float { background:#102139 !important; border-color:#29425f !important; color:var(--bp-text) !important; box-shadow:0 28px 64px rgba(0,0,0,.4) !important; }
html[data-bp-theme="dark"] .bph-pro-order { background:#09182a !important; color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bph-pro-quick div,
html[data-bp-theme="dark"] .bph-pro-phone-top,
html[data-bp-theme="dark"] .bph-pro-float small { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] .bph-cat-bar { background:rgba(9,23,40,.94) !important; border-color:var(--bp-line) !important; }
html[data-bp-theme="dark"] .bph-search-box { background:var(--bp-surface) !important; }
html[data-bp-theme="dark"] .bph-card-img { background:#091728 !important; }
html[data-bp-theme="dark"] #bph-footer { background:#030b16 !important; border-color:#1e334e !important; }
html[data-bp-theme="dark"] #bp-dw-x,
html[data-bp-theme="dark"] .bp-dw-top button { background:#172b46 !important; color:#dce8fa !important; }

/* WooCommerce: pwodwi, panye, checkout ak kont */
html[data-bp-theme="dark"] .woocommerce,
html[data-bp-theme="dark"] .woocommerce-page,
html[data-bp-theme="dark"] .woocommerce .product,
html[data-bp-theme="dark"] .woocommerce form.checkout,
html[data-bp-theme="dark"] .woocommerce-cart-form,
html[data-bp-theme="dark"] .cart_totals,
html[data-bp-theme="dark"] .woocommerce-MyAccount-content { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .woocommerce table.shop_table,
html[data-bp-theme="dark"] .woocommerce-checkout-review-order,
html[data-bp-theme="dark"] .woocommerce-checkout-payment,
html[data-bp-theme="dark"] .woocommerce .payment_box,
html[data-bp-theme="dark"] .woocommerce form .form-row input.input-text,
html[data-bp-theme="dark"] .woocommerce form .form-row textarea,
html[data-bp-theme="dark"] .woocommerce form .form-row select,
html[data-bp-theme="dark"] .select2-container--default .select2-selection--single { background:var(--bp-surface) !important; color:var(--bp-text) !important; border-color:var(--bp-line) !important; }
html[data-bp-theme="dark"] .woocommerce td,
html[data-bp-theme="dark"] .woocommerce th,
html[data-bp-theme="dark"] .woocommerce label,
html[data-bp-theme="dark"] .woocommerce p,
html[data-bp-theme="dark"] .woocommerce h1,
html[data-bp-theme="dark"] .woocommerce h2,
html[data-bp-theme="dark"] .woocommerce h3,
html[data-bp-theme="dark"] .woocommerce input,
html[data-bp-theme="dark"] .woocommerce textarea,
html[data-bp-theme="dark"] .woocommerce select { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .select2-dropdown,
html[data-bp-theme="dark"] .select2-search__field,
html[data-bp-theme="dark"] .select2-results__option { background:var(--bp-surface) !important; color:var(--bp-text) !important; border-color:var(--bp-line) !important; }

/* Kòd sèvis Boutik Pam ki egziste deja: kat, fòm, rezime ak modal. */
html[data-bp-theme="dark"] :is(
  .bprb,.bpps,.bpnd,.bpxb,.bpnf,.bpap,.bp-rx-box,.bp-rx-card,.bp-meru-box,
  .bpm-card,.bpm-create-body,.bpm-form-body,.bpm-preview,.bpm-ty-card,
  .bpco,.bpco-form,.bpco-summary,.bpco-item,.bpco-info,
  .bp-netflix-choice,.bp-netflix-choice__card,.bp-netflix-choice__option,.bp-netflix-order,
  .bpv-card,.bpv-player-box,.bpv-rules,.bpv-screen,
  .bp-orders-main,.bp-orders-hero,.bp-order-card,.bp-order-box,.bp-orders-login-card,
  .bp-modal,.bp-modal-body,.bp-modal-item,.bp-modal-meta-box,.bp-modal-pin-block,
  .bpval-card,.bpval-wrap
) { background:var(--bp-surface) !important; color:var(--bp-text) !important; border-color:var(--bp-line) !important; box-shadow:var(--bp-shadow) !important; }

html[data-bp-theme="dark"] :is(
  .bprb-row,.bpps-row,.bpnd-row,.bpxb-row,.bpnf-row,.bpap-row,
  .bp-rx-field,.bp-rx-stat,.bpm-field,.bpm-stat,.bpm-create-item,.bpm-ty-row,
  .bpco-line,.bpco-meta,.bpco-sum-head,.bp-netflix-choice__note,
  .bp-order-info,.bp-order-note,.bp-order-footer,.bp-modal-header,.bp-modal-total
) { background:var(--bp-surface-2) !important; color:var(--bp-text) !important; border-color:var(--bp-line) !important; }

html[data-bp-theme="dark"] :is(
  .bprb input,.bpps input,.bpnd input,.bpxb input,.bpnf input,.bpap input,
  .bp-rx-input,.bpm-input,.bpco input,.bpco select,.bpv-screen input,
  .bp-orders-search-input,.bp-modal input
) { background:#091728 !important; color:var(--bp-text) !important; border-color:#355173 !important; caret-color:#73a5ff !important; }

html[data-bp-theme="dark"] :is(
  .bprb-hint,.bpps-hint,.bpnd-hint,.bpxb-hint,.bpnf-hint,.bpap-hint,
  .bp-rx-note,.bp-rx-label,.bpm-hint,.bpm-label,.bpm-card-sub,.bpco-meta-k,
  .bp-netflix-muted,.bpv-admin-description,.bp-order-date,.bp-order-box-label,
  .bp-modal-meta-label,.bp-modal-item-qty
) { color:var(--bp-text-soft) !important; }

html[data-bp-theme="dark"] :is(
  .bprb-head,.bpps-head,.bpnd-head,.bpxb-head,.bpnf-head,.bpap-head,
  .bp-rx-title,.bpm-heading,.bpm-card-title,.bpco-name,.bpco-sec-title,
  .bp-netflix-heading,.bpv-title,.bp-order-product,.bp-modal-title,.bp-modal-item-name
) { color:var(--bp-text) !important; }

/* Modals yo kenbe yon overlay pwofon, san yo pa vin transparan. */
html[data-bp-theme="dark"] :is(.bp-modal-overlay,.bpv-screen,.map-modal-overlay) { background:rgba(1,7,17,.82) !important; }

@media (max-width: 620px) {
  .bp-theme-toggle { width:38px; height:38px; }
}

@media (prefers-reduced-motion: reduce) {
  html, body, #page, #content, .site-content { transition:none !important; }
}

/* ═══ G2BULK — katalòg, validasyon ID, manyèl ak istwa ═══ */
html[data-bp-theme="dark"] :is(.bpgb-wrap,.bpgb-rc,.bpgb-hist,.bpgb-orders-wrap) {
  color:var(--bp-text) !important;
}

html[data-bp-theme="dark"] :is(
  .bpgb-box,.bpgb-card,.bpgb-game-card,.bpgb-game-fields,.bpgb-rc-card,
  .bpgb-tile,.bpgb-rc-bar,.bpgb-hist-empty,.bpgb-hist-wrap,.bpgb-hist-table,
  .bpgb-hist-popover,.bpgb-histpop-item,.bpgb-idsheet,.bpgb-shortcode-box,
  .bpgb-ord-table,.bpgb-ord-group,.bpgb-ord-row,.bpgb-ord-cell,
  .bpgb-mn,.bpgb-mn-prod,.bpgb-mn-type,.bpgb-mn-check
) {
  background:var(--bp-surface) !important;
  color:var(--bp-text) !important;
  border-color:var(--bp-line) !important;
  box-shadow:var(--bp-shadow) !important;
}

html[data-bp-theme="dark"] :is(
  .bpgb-rc-card,.bpgb-hist-table th,.bpgb-histpop-head,
  .bpgb-mn-prod,.bpgb-mn-alert,.bpgb-mn-login-help,
  .bpgb-notice-info,.bpgb-idsheet-head,.bpgb-ord-stats,
  .bpgb-ls-bar,.bpgb-game-info
) {
  background:var(--bp-surface-2) !important;
  color:var(--bp-text-soft) !important;
  border-color:var(--bp-line) !important;
}

html[data-bp-theme="dark"] :is(
  .bpgb-rc-title,.bpgb-rc-step-head,.bpgb-rc-bar-name,
  .bpgb-tile-name,.bpgb-hist-title,.bpgb-histpop-id,
  .bpgb-idsheet-title,.bpgb-sec-title,.bpgb-game-name,
  .bpgb-mn-title,.bpgb-mn-prod-name,.bpgb-mn-lbl,
  .bpgb-mn-type-name,.bpgb-ord-cell strong
) { color:var(--bp-text) !important; }

html[data-bp-theme="dark"] :is(
  .bpgb-rc-subtitle,.bpgb-rc-lbl,.bpgb-hint,.bpgb-hist-name,
  .bpgb-histpop-pname,.bpgb-histpop-prod,.bpgb-histpop-date,
  .bpgb-idsheet-lbl,.bpgb-mn-eyebrow,.bpgb-mn-hint,
  .bpgb-mn-privacy,.bpgb-ord-noaction
) { color:var(--bp-text-soft) !important; }

html[data-bp-theme="dark"] :is(
  .bpgb-player-input,.bpgb-rc-input,.bpgb-ls-input,
  .bpgb-idsheet-input,.bpgb-mn-input,.bpgb-ord-search
) {
  background:#091728 !important;
  color:var(--bp-text) !important;
  border-color:#355173 !important;
  caret-color:#73a5ff !important;
  box-shadow:none !important;
}
html[data-bp-theme="dark"] :is(
  .bpgb-player-input,.bpgb-rc-input,.bpgb-ls-input,
  .bpgb-idsheet-input,.bpgb-mn-input,.bpgb-ord-search
)::placeholder { color:#788ba6 !important; opacity:1 !important; }
html[data-bp-theme="dark"] :is(
  .bpgb-player-input,.bpgb-rc-input,.bpgb-ls-input,
  .bpgb-idsheet-input,.bpgb-mn-input,.bpgb-ord-search
):focus { border-color:#5f91ff !important; box-shadow:0 0 0 3px rgba(95,145,255,.18) !important; }

/* Kat ki chwazi a rete klèman vizib. */
html[data-bp-theme="dark"] .bpgb-tile:hover {
  background:#142944 !important;
  border-color:#4e719c !important;
}
html[data-bp-theme="dark"] :is(.bpgb-tile.selected,.bpgb-mn-type.selected,.bpgb-mn-check.is-on) {
  background:#142f55 !important;
  border-color:#6b9cff !important;
  color:#ffffff !important;
  box-shadow:0 0 0 3px rgba(91,143,255,.18) !important;
}
html[data-bp-theme="dark"] .bpgb-mn-type.selected .bpgb-mn-type-name { color:#ffffff !important; }

/* Popup manyèl ak bottom-sheet ID. */
html[data-bp-theme="dark"] :is(.bpgb-mn-overlay,.bpgb-idsheet-overlay) {
  background:rgba(1,7,17,.84) !important;
  backdrop-filter:blur(8px);
}
html[data-bp-theme="dark"] :is(.bpgb-mn-head,.bpgb-idsheet-head) {
  border-color:var(--bp-line) !important;
}
html[data-bp-theme="dark"] :is(.bpgb-mn-close,.bpgb-idsheet-close,.bpgb-mn-eye,.bpgb-ls-clear) {
  background:#172b46 !important;
  color:#c7d5e8 !important;
  border-color:#2c4665 !important;
}
html[data-bp-theme="dark"] :is(.bpgb-mn-close,.bpgb-idsheet-close,.bpgb-mn-eye,.bpgb-ls-clear):hover {
  background:#203a5b !important;
  color:#ffffff !important;
}

/* Istwa: liy ak popover yo rete lizib sou telefòn. */
html[data-bp-theme="dark"] .bpgb-hist-table td,
html[data-bp-theme="dark"] .bpgb-histpop-item {
  border-color:var(--bp-line) !important;
  color:var(--bp-text) !important;
}
html[data-bp-theme="dark"] .bpgb-hist-table td::before { color:var(--bp-muted) !important; }
html[data-bp-theme="dark"] .bpgb-hist-table td[data-lbl="Montan"] { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] .bpgb-hist-btn {
  background:#142b49 !important;
  color:#8fb7ff !important;
  border-color:#345779 !important;
}

/* Kenbe koulè fonksyonèl yo: ble aksyon, vè siksè, wouj erè, zoranj annatant. */
html[data-bp-theme="dark"] :is(.bpgb-verify-btn,.bpgb-idsheet-verifybtn,.bpgb-idsheet-buybtn,.bpgb-rc-buy) {
  background:linear-gradient(135deg,#2874ff,#174fc8) !important;
  color:#fff !important;
  border-color:transparent !important;
}
html[data-bp-theme="dark"] :is(.bpgb-ok,.bpgb-verify-result:not(.error),.bpgb-status-completed) { color:#43d895 !important; }
html[data-bp-theme="dark"] :is(.bpgb-err,.bpgb-mn-err,.bpgb-verify-result.error,.bpgb-status-failed) { color:#ff8585 !important; }
html[data-bp-theme="dark"] .bpgb-rc-msg { background:#3a2710 !important; border-color:#f59e0b !important; color:#ffd187 !important; }

/* Fòm manyèl: enfòmasyon koneksyon ak konfimasyon yo. */
html[data-bp-theme="dark"] .bpgb-mn-login-help code {
  background:#091728 !important;
  color:#8fb7ff !important;
}
html[data-bp-theme="dark"] .bpgb-mn-check.is-bad {
  background:#3a171b !important;
  border-color:#a94a54 !important;
}
html[data-bp-theme="dark"] .bpgb-mn-alert {
  background:#35270f !important;
  border-color:#75551e !important;
  color:#f3d28b !important;
}

@media (max-width:600px) {
  html[data-bp-theme="dark"] .bpgb-hist-table tr {
    background:var(--bp-surface) !important;
    border-color:var(--bp-line) !important;
    box-shadow:0 8px 24px rgba(0,0,0,.2) !important;
  }
}

/* ═══ LOGIN / ENSKRIPSYON — My Auth Plugin ═══ */
html[data-bp-theme="dark"] {
  --map-text:#f5f8ff;
  --map-text-md:#c5d0df;
  --map-text-light:#91a1b7;
  --map-border:#2a405d;
  --map-bg:#0d1b2e;
  --map-bg-subtle:#13253d;
  --map-primary-light:#172d53;
  --map-shadow:0 24px 72px rgba(0,0,0,.48);
}
html[data-bp-theme="dark"] #map-overlay { background:rgba(1,7,17,.82) !important; }
html[data-bp-theme="dark"] :is(.map-card,.map-inline-form-wrap,.map-tabs,.map-section,.map-social-btn) {
  background:var(--map-bg) !important;
  color:var(--map-text) !important;
  border-color:var(--map-border) !important;
}
html[data-bp-theme="dark"] :is(.map-field input,.map-input-wrap) {
  background:#091728 !important;
  color:var(--map-text) !important;
  border-color:#355173 !important;
  caret-color:#73a5ff !important;
}
html[data-bp-theme="dark"] .map-field input::placeholder { color:#73849c !important; }
html[data-bp-theme="dark"] :is(.map-close,.map-tab-btn:hover,.map-btn-ghost) {
  background:#172b46 !important;
  color:#e4ecf8 !important;
}
html[data-bp-theme="dark"] .map-facebook-btn:hover { background:#112b4c !important; }

/* ═══ NATCASH — checkout, popup ak gid peman ═══ */
html[data-bp-theme="dark"] {
  --bp-nc-ink:#f5f8ff;
  --bp-nc-ink-soft:#c2cede;
  --bp-nc-muted:#91a1b7;
  --bp-nc-line:#334b69;
  --bp-nc-line-blue:#315174;
  --bp-nc-line-soft:#263d5b;
  --bp-nc-surface:#0d1b2e;
  --bp-nc-card:#11233b;
  --bp-nc-tint:#142944;
}
html[data-bp-theme="dark"] :is(.bp-ncdirect-modal,.bp-nc-guide-modal,.bp-ncdirect-box,.bp-nc-code-card,.bp-nc-guide-viewport) {
  background:var(--bp-nc-surface) !important;
  color:var(--bp-nc-ink) !important;
  border-color:var(--bp-nc-line) !important;
  box-shadow:var(--bp-shadow) !important;
}
html[data-bp-theme="dark"] :is(.bp-ncdirect-box,.bp-ncdirect-box.is-total,.bp-nc-code-item,.bp-nc-copy,.bp-nc-retry-btn) {
  background:var(--bp-nc-card) !important;
  border-color:var(--bp-nc-line) !important;
}
html[data-bp-theme="dark"] :is(.bp-ncdirect-input,.bp-nc-input-shell .bp-ncdirect-input) {
  background:#091728 !important;
  color:var(--bp-nc-ink) !important;
  border-color:#3a5879 !important;
  caret-color:#73a5ff !important;
}
html[data-bp-theme="dark"] .bp-ncdirect-input::placeholder { color:#718198 !important; }
html[data-bp-theme="dark"] :is(.bp-ncdirect-close,.bp-nc-guide-close,.bp-nc-guide-prev,.bp-nc-guide-next,.bp-nc-clear) {
  background:#172b46 !important;
  color:#d8e3f2 !important;
  border-color:#355173 !important;
}
html[data-bp-theme="dark"] .bp-ncdirect-submit { box-shadow:0 -10px 18px 14px var(--bp-nc-surface) !important; }
html[data-bp-theme="dark"] .bp-nc-guide-overlay { background:rgba(1,7,17,.86) !important; }
html[data-bp-theme="dark"] :is(.bp-nc-guide-head,.bp-nc-guide-nav,.bp-nc-guide-dots) { color:var(--bp-text) !important; }

/* ═══ BALANS / RECHAJ / TRANSFÈ — BP Wallet Bank ═══ */
html[data-bp-theme="dark"] .bpwb-wrap {
  --surf:#0d1b2e;
  --surf2:#11233b;
  --brd:#263b58;
  --brd-dk:#355173;
  --txt:#f5f8ff;
  --txt-m:#bdc9da;
  --txt-mu:#8ea0b8;
  --green-d:#123d35;
  --green-dk:#5be0ad;
  --red-d:#431e26;
  --red-dk:#ff9da5;
  --violet-d:#2a2149;
  --blue-d:#172f57;
  --sh:0 8px 28px rgba(0,0,0,.24);
  --sh-hv:0 14px 38px rgba(0,0,0,.34);
}
html[data-bp-theme="dark"] :is(.bpwb-card:not(.bpwb-hero),.bpwb-panel,.bpwb-activity-card,.bpwb-tx,.bpwb-auto-box,.bpwb-ac-drop,.bpwb-ac-item) {
  background:var(--surf) !important;
  color:var(--txt) !important;
  border-color:var(--brd) !important;
}
html[data-bp-theme="dark"] :is(.bpwb-quick-btn,.bpwb-period-pill,.bpwb-activity-period,.bpwb-money-field,.bpwb-xfer-input,.bpwb-xfer-textarea,.bpwb-ac-input) {
  background:var(--surf2) !important;
  color:var(--txt) !important;
  border-color:var(--brd) !important;
}
html[data-bp-theme="dark"] :is(.bpwb-panel-close,.bpwb-activity-toggle,.bpwb-balance-toggle) {
  background:#172b46 !important;
  color:#dce8fa !important;
  border-color:#355173 !important;
}
html[data-bp-theme="dark"] .bpwb-tx:hover { background:#142944 !important; border-color:#416184 !important; }

/* ═══ BUDDYX / BUDDYPRESS AK PAJ TÈM WORDPRESS YO ═══
   Selektè yo rete sou estrikti tèm nan pou yo pa recolore foto ni bann mak yo. */
html[data-bp-theme="dark"] :is(#page,.site,.site-content,.site-main,.content-area,.buddyx-content-wrapper,.buddypress-wrap,#buddypress) {
  background:var(--bp-page) !important;
  color:var(--bp-text) !important;
}
html[data-bp-theme="dark"] :is(
  .site-header,.buddyx-header,.site-sub-header,.widget,.widget-area .widget,
  .entry-content,.entry-summary,.comments-area,
  .buddypress-wrap .bp-wrap,.buddypress-wrap .item-body,
  .buddypress-wrap .bp-navs,.buddypress-wrap .subnav-filters,
  .buddypress-wrap .bp-feedback,.buddypress-wrap .activity-item,
  .buddypress-wrap .item-entry,.buddypress-wrap .members-list li,
  .buddypress-wrap .groups-list li,.buddypress-wrap .profile-fields,
  #buddypress .standard-form,.bp-profile-wrapper
) {
  background:var(--bp-surface) !important;
  color:var(--bp-text) !important;
  border-color:var(--bp-line) !important;
  box-shadow:none !important;
}
html[data-bp-theme="dark"] :is(
  .buddypress-wrap input[type="text"],.buddypress-wrap input[type="email"],
  .buddypress-wrap input[type="password"],.buddypress-wrap input[type="search"],
  .buddypress-wrap input[type="number"],.buddypress-wrap textarea,
  .buddypress-wrap select,#buddypress input,#buddypress textarea,#buddypress select,
  .search-field
) {
  background:#091728 !important;
  color:var(--bp-text) !important;
  border-color:#355173 !important;
  caret-color:#73a5ff !important;
}
html[data-bp-theme="dark"] :is(
  .site-title,.entry-title,.widget-title,.page-title,
  .buddypress-wrap h1,.buddypress-wrap h2,.buddypress-wrap h3,
  .buddypress-wrap .item-title,.buddypress-wrap .activity-header,
  #buddypress h1,#buddypress h2,#buddypress h3
) { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] :is(
  .entry-meta,.entry-footer,.widget p,.site-description,
  .buddypress-wrap .activity-meta,.buddypress-wrap .item-meta,
  .buddypress-wrap .activity-inner,.buddypress-wrap .bp-help-text
) { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] :is(.bp-navs li:not(.selected) a,.bp-navs li:not(.current) a) { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] :is(.bp-navs li.selected a,.bp-navs li.current a) {
  background:#142b49 !important;
  color:#8fb7ff !important;
}

/* ═══ LIS KÒMAND — korije tout tèks nwa ki te fòse ═══ */
html[data-bp-theme="dark"] :is(
  .bpk,.bpk-card,.bpk-orders,.bpk-order,.bpk-order-l,.bpk-order-r,
  .bp-orders-main,.bp-orders-list,.bp-order-card,.bp-order-box,
  .woocommerce-orders-table,.woocommerce-MyAccount-orders,
  .woocommerce-order-details,.woocommerce-customer-details
) {
  color:var(--bp-text) !important;
}
html[data-bp-theme="dark"] :is(.bpk-card,.bpk-id,.bpk-stats,.bpk-nav-i,.bpk-order,.bpk-guest) {
  background:var(--bp-surface) !important;
  border-color:var(--bp-line) !important;
  color:var(--bp-text) !important;
}
html[data-bp-theme="dark"] :is(.bpk-order:hover,.bpk-nav-i:hover) {
  background:var(--bp-surface-2) !important;
  color:var(--bp-text) !important;
}
html[data-bp-theme="dark"] :is(
  .bpk-head h1,.bpk-card h2,.bpk-id-mail,.bpk-stat-v,.bpk-nav-t,
  .bpk-order-n,.bpk-order-t,.bpk-order-t span,.bpk-order-t bdi,
  .bp-order-card h1,.bp-order-card h2,.bp-order-card h3,
  .bp-order-product,.bp-order-info strong,.bp-order-box-value
) { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] :is(
  .bpk-eyebrow,.bpk-id-since,.bpk-stat-k,.bpk-nav-s,.bpk-note,
  .bpk-order-d,.bpk-empty,.bp-order-date,.bp-order-note,
  .bp-order-box-label,.bp-orders-empty
) { color:var(--bp-text-soft) !important; }
html[data-bp-theme="dark"] :is(.bpk-out,.bpk-tab:not(.on)) {
  background:var(--bp-surface-2) !important;
  color:var(--bp-text-soft) !important;
  border-color:var(--bp-line) !important;
}
html[data-bp-theme="dark"] .bpk-tabs { border-color:var(--bp-line) !important; }
html[data-bp-theme="dark"] .bpk-stat + .bpk-stat::before { background:var(--bp-line) !important; }

/* Tablo WooCommerce la: tit kolòn, nimewo, dat, estati, total ak bouton. */
html[data-bp-theme="dark"] :is(
  .woocommerce-orders-table th,.woocommerce-orders-table td,
  .woocommerce-orders-table a,.woocommerce-orders-table span,
  .woocommerce-MyAccount-orders th,.woocommerce-MyAccount-orders td,
  .woocommerce-MyAccount-orders a,.woocommerce-MyAccount-orders span,
  .woocommerce-table--order-details th,.woocommerce-table--order-details td,
  .woocommerce-table--order-details a,.woocommerce-table--order-details span,
  .woocommerce-order-details p,.woocommerce-customer-details address
) { color:var(--bp-text) !important; }
html[data-bp-theme="dark"] :is(
  .woocommerce-orders-table tr,.woocommerce-MyAccount-orders tr,
  .woocommerce-table--order-details tr,.woocommerce-customer-details address
) {
  background:var(--bp-surface) !important;
  border-color:var(--bp-line) !important;
}
html[data-bp-theme="dark"] :is(
  .woocommerce-orders-table__cell-order-date,
  .woocommerce-orders-table__cell-order-status,
  .woocommerce-orders-table__cell-order-total,
  .woocommerce-order-overview li
) { color:var(--bp-text-soft) !important; }

/* Lis ki soti nan plugin sèvis yo: eritye koulè klè menm si yon timoun gen inline color. */
html[data-bp-theme="dark"] :is(.bp-order-card,.bp-order-box,.bp-order-info,.bp-order-footer,.bpgb-ord-row,.bpgb-ord-cell) :is(p,span,div,strong,b,small,time) {
  color:inherit !important;
}
html[data-bp-theme="dark"] :is(.bp-order-card,.bp-order-box,.bp-order-info,.bp-order-footer,.bpgb-ord-row,.bpgb-ord-cell) {
  color:var(--bp-text) !important;
}
