/* Phase 18.9.5.28.5.8.9.50.7 — Dark Mode Elite Final Audit
   Targets the exact remaining transparent/light elements reported after production screenshots:
   plans trial/feature cards, referral hero cards, header mega menu, product detail alerts/options/timers,
   vendor storefront filters/categories/product cards, home rails and exclusive offer cards. */
html[data-marketak-theme="dark"]{color-scheme:dark;--dm507-bg:#06101d;--dm507-panel:#0b1628;--dm507-panel2:#101b2f;--dm507-panel3:#15233b;--dm507-line:rgba(148,163,184,.30);--dm507-line-blue:rgba(96,165,250,.46);--dm507-text:#f8fbff;--dm507-soft:#dbeafe;--dm507-muted:#a9bdd6;--dm507-cyan:#67e8f9;--dm507-blue:#60a5fa;--dm507-violet:#8b5cf6;--dm507-gold:#fde68a;--dm507-danger:#fb7185;--dm507-success:#86efac;}
html[data-marketak-theme="dark"] body{background:#06101d!important;color:var(--dm507-text)!important;}
html[data-marketak-theme="dark"] body :where(h1,h2,h3,h4,h5,h6,b,strong,label,summary){color:#fff!important;opacity:1!important;text-shadow:0 1px 0 rgba(0,0,0,.15)!important;}
html[data-marketak-theme="dark"] body :where(p,li,small,span,td,th,em){opacity:1!important;}

/* Cross subdomain/persistent dark toggle visual: icon only, no word such as افضل/داكن/فاتح */
.marketak-theme-toggle{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;padding:0!important;font-size:0!important;overflow:hidden!important;display:inline-grid!important;place-items:center!important;line-height:1!important;}
.marketak-theme-toggle .theme-label,.marketak-theme-toggle [data-theme-label],.marketak-theme-toggle span:not([data-theme-icon]){display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;height:0!important;}
.marketak-theme-toggle [data-theme-icon]{font-size:18px!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important;}
html[data-marketak-theme="dark"] .marketak-theme-toggle{background:linear-gradient(145deg,#081225,#121f35)!important;border:1px solid rgba(148,163,184,.35)!important;color:#fff!important;box-shadow:0 14px 32px rgba(0,0,0,.35)!important;}

/* Header mega menu / dropdown: remaining white/transparent cards */
html[data-marketak-theme="dark"] .category-bar .mega-holder .mega-menu,
html[data-marketak-theme="dark"] .category-bar .mega-holder:hover .mega-menu,
html[data-marketak-theme="dark"] .mega-menu-v30,
html[data-marketak-theme="dark"] .mega-menu,
html[data-marketak-theme="dark"] .mega-grid,
html[data-marketak-theme="dark"] .mega-title,
html[data-marketak-theme="dark"] .header-dropdown,
html[data-marketak-theme="dark"] .dropdown-menu,
html[data-marketak-theme="dark"] .mini-menu,
html[data-marketak-theme="dark"] .user-menu{background:linear-gradient(145deg,rgba(8,18,37,.98),rgba(16,27,47,.98))!important;border:1px solid rgba(96,165,250,.42)!important;color:#f8fbff!important;box-shadow:0 34px 110px rgba(0,0,0,.70)!important;backdrop-filter:blur(20px)!important;}
html[data-marketak-theme="dark"] .mega-menu-v30 :where(b,strong,span,small,a,button,div),
html[data-marketak-theme="dark"] .mega-menu :where(b,strong,span,small,a,button,div),
html[data-marketak-theme="dark"] .mini-menu :where(b,strong,span,small,a,button,div),
html[data-marketak-theme="dark"] .user-menu :where(b,strong,span,small,a,button,div){color:#eef7ff!important;opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .mega-grid a,
html[data-marketak-theme="dark"] .mega-menu-v30 .mega-grid a,
html[data-marketak-theme="dark"] .mini-menu a,
html[data-marketak-theme="dark"] .mini-menu button{background:linear-gradient(145deg,#111827,#1f2937)!important;border:1px solid rgba(148,163,184,.32)!important;color:#f8fbff!important;border-radius:14px!important;}
html[data-marketak-theme="dark"] .mega-grid a:hover,
html[data-marketak-theme="dark"] .mini-menu a:hover,
html[data-marketak-theme="dark"] .mini-menu button:hover{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;}

/* Home: banner shell, rails, auto-moving exclusive cards */
html[data-marketak-theme="dark"] .hero-market,
html[data-marketak-theme="dark"] .hero-market-dynamic,
html[data-marketak-theme="dark"] .home-commerce-hero-v186,
html[data-marketak-theme="dark"] .hero-dynamic-slider{background:linear-gradient(145deg,#081225,#111c31)!important;border-color:rgba(96,165,250,.28)!important;box-shadow:0 28px 90px rgba(0,0,0,.38)!important;}
html[data-marketak-theme="dark"] .home-category-rail-v186,
html[data-marketak-theme="dark"] .home-product-rail-v186,
html[data-marketak-theme="dark"] .category-marquee-pro,
html[data-marketak-theme="dark"] .product-marquee,
html[data-marketak-theme="dark"] .exclusive-offers-marquee-v62,
html[data-marketak-theme="dark"] .verified-store-marquee,
html[data-marketak-theme="dark"] .home-strip-card,
html[data-marketak-theme="dark"] .section-rail,
html[data-marketak-theme="dark"] .home-rail{background:linear-gradient(145deg,rgba(11,22,40,.92),rgba(15,27,47,.92))!important;border:1px solid rgba(96,165,250,.24)!important;box-shadow:0 24px 80px rgba(0,0,0,.36)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .home-category-tile-v186,
html[data-marketak-theme="dark"] .category-motion-card,
html[data-marketak-theme="dark"] .mini-product,
html[data-marketak-theme="dark"] .home-product-tile-v186,
html[data-marketak-theme="dark"] .deal-card-v186,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62{background:linear-gradient(145deg,#0d182b,#121f35)!important;border:1px solid rgba(148,163,184,.30)!important;color:#f8fbff!important;box-shadow:0 18px 60px rgba(0,0,0,.38)!important;overflow:hidden!important;}
html[data-marketak-theme="dark"] .home-category-tile-v186 :where(strong,b,span,small),
html[data-marketak-theme="dark"] .category-motion-card :where(strong,b,span,small),
html[data-marketak-theme="dark"] .mini-product :where(strong,b,span,small),
html[data-marketak-theme="dark"] .home-product-tile-v186 :where(h3,a,b,span,small,del),
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 :where(h3,a,b,span,small,del,strong){color:#f8fbff!important;opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .home-product-tile-v186 .hp-body-v186,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 .offer-info-v62{background:linear-gradient(180deg,#0d182b,#111c31)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 .exclusive-timer-v62,
html[data-marketak-theme="dark"] .exclusive-timer-v62{background:linear-gradient(135deg,rgba(254,243,199,.16),rgba(251,113,133,.14))!important;border:1px solid rgba(253,230,138,.35)!important;color:#fde68a!important;}
html[data-marketak-theme="dark"] .exclusive-timer-v62 *{color:#fde68a!important;}

/* Smart popup / ad popup: never white text on white background */
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182,.smart-popup-overlay,.marketak-popup-overlay){background:rgba(2,8,23,.78)!important;backdrop-filter:blur(18px)!important;}
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182) :where(.smart-popup-card,.popup-card){background:linear-gradient(145deg,#081225,#111c31)!important;border:1px solid rgba(125,211,252,.35)!important;box-shadow:0 38px 120px rgba(0,0,0,.72)!important;color:#f8fbff!important;overflow:hidden!important;}
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182) :where(.smart-popup-body,.popup-body){background:linear-gradient(180deg,#0b1628,#101b2f)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182) :where(h1,h2,h3,b,strong){color:#fff!important;opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182) :where(p,span,small){color:#dbeafe!important;opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] :where(.marketak-smart-popup-v1895231,.marketak-smart-popup-v1895182) :where(.smart-popup-close,.popup-close){background:#f8fafc!important;color:#0f172a!important;border:1px solid #e2e8f0!important;}

/* Share modal */
html[data-marketak-theme="dark"] :where(.product-share-center-v58,.share-modal,.share-center,.store-share-modal,.share-overlay) :where(.share-center-card-v58,.share-card,.modal-card,.share-box,.share-panel){background:linear-gradient(145deg,#081225,#111c31)!important;border:1px solid rgba(96,165,250,.38)!important;color:#f8fbff!important;box-shadow:0 36px 110px rgba(0,0,0,.66)!important;}
html[data-marketak-theme="dark"] :where(.product-share-center-v58,.share-modal,.share-center,.store-share-modal,.share-overlay) :where(h1,h2,h3,b,strong,label){color:#fff!important;}
html[data-marketak-theme="dark"] :where(.product-share-center-v58,.share-modal,.share-center,.store-share-modal,.share-overlay) :where(p,span,small){color:#dbeafe!important;}
html[data-marketak-theme="dark"] :where(.product-share-center-v58,.share-modal,.share-center,.store-share-modal,.share-overlay) :where(input,textarea){background:#111827!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.36)!important;}
html[data-marketak-theme="dark"] :where(.product-share-center-v58,.share-modal,.share-center,.store-share-modal,.share-overlay) :where(a,button){border-color:rgba(148,163,184,.32)!important;}

/* Product page — exact remaining blocks: timers, variant picker, security alerts, verification chips */
html[data-marketak-theme="dark"] .product-super-page,
html[data-marketak-theme="dark"] .product-v23{background:#06101d!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.product-buy-panel,.product-gallery-pro,.inline-description-v23,.product-long-description,.info-panel,.product-details-card,.product-specs-table-v28,.reviews-card,.review-form-v23,.review-card-v23,.safe-alerts,.product-side-card){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;box-shadow:0 26px 86px rgba(0,0,0,.36)!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.product-buy-panel,.product-gallery-pro,.inline-description-v23,.product-long-description,.info-panel,.product-details-card,.product-specs-table-v28,.reviews-card,.review-form-v23,.review-card-v23,.safe-alerts,.product-side-card) :where(h1,h2,h3,h4,b,strong,label){color:#fff!important;opacity:1!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.product-buy-panel,.product-gallery-pro,.inline-description-v23,.product-long-description,.info-panel,.product-details-card,.product-specs-table-v28,.reviews-card,.review-form-v23,.review-card-v23,.safe-alerts,.product-side-card) :where(p,span,small,li,td,th){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] .product-v23 .main-media-box,
html[data-marketak-theme="dark"] .product-v23 .gallery-stage,
html[data-marketak-theme="dark"] .product-v23 .media-stage-v23{background:#f8fafc!important;border:1px solid rgba(96,165,250,.65)!important;box-shadow:0 24px 80px rgba(0,0,0,.35)!important;}
html[data-marketak-theme="dark"] .product-v23 .main-media-box img,
html[data-marketak-theme="dark"] .product-v23 .gallery-stage img,
html[data-marketak-theme="dark"] .product-v23 .media-stage-v23 img{filter:none!important;opacity:1!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.rating-line-v23,.product-price-line,.product-stock-pro-v57,.product-return-policy-card-v118,.product-digital-policy-card-v189541,.product-deposit-badge-v18953,.store-pill-pro,.add-cart-box,.order-card-pro,.product-options-v28,.option-group-v28,.variant-axis-group-v185,.variant-compatible-head-v185,.variant-compatible-grid-v185,.variant-global-note-v185){background:linear-gradient(145deg,#081225,#101b2f)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;box-shadow:none!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.rating-line-v23,.product-price-line,.product-stock-pro-v57,.product-return-policy-card-v118,.product-digital-policy-card-v189541,.product-deposit-badge-v18953,.store-pill-pro,.add-cart-box,.order-card-pro,.product-options-v28,.option-group-v28,.variant-axis-group-v185,.variant-compatible-head-v185,.variant-compatible-grid-v185,.variant-global-note-v185) :where(h1,h2,h3,b,strong,label){color:#fff!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.rating-line-v23,.product-price-line,.product-stock-pro-v57,.product-return-policy-card-v118,.product-digital-policy-card-v189541,.product-deposit-badge-v18953,.store-pill-pro,.add-cart-box,.order-card-pro,.product-options-v28,.option-group-v28,.variant-axis-group-v185,.variant-compatible-head-v185,.variant-compatible-grid-v185,.variant-global-note-v185) :where(p,span,small,em,li){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] .product-v23 .product-price-line strong,
html[data-marketak-theme="dark"] .product-v23 #variantPriceV136{color:#7dd3fc!important;text-shadow:0 0 20px rgba(56,189,248,.18)!important;}
html[data-marketak-theme="dark"] .product-v23 .product-price-line del{color:#94a3b8!important;}
html[data-marketak-theme="dark"] .product-v23 .product-offer-strip-v61,
html[data-marketak-theme="dark"] .product-v23 .offer-countdown{background:linear-gradient(135deg,rgba(180,83,9,.26),rgba(15,23,42,.92))!important;border:1px solid rgba(253,230,138,.40)!important;color:#fde68a!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;}
html[data-marketak-theme="dark"] .product-v23 .product-offer-strip-v61 *,
html[data-marketak-theme="dark"] .product-v23 .offer-countdown *{color:#fde68a!important;opacity:1!important;}
html[data-marketak-theme="dark"] .product-v23 .offer-countdown .count-row b{background:#f8fafc!important;color:#0f172a!important;border:1px solid rgba(253,230,138,.45)!important;}
html[data-marketak-theme="dark"] .product-v23 .product-variant-picker-v185{background:linear-gradient(145deg,#081225,#101b2f)!important;border:1px solid rgba(96,165,250,.34)!important;color:#f8fbff!important;box-shadow:0 20px 70px rgba(0,0,0,.34)!important;}
html[data-marketak-theme="dark"] .product-v23 .product-variant-picker-v185 :where(.variant-picker-head-v185,.variant-axis-group-v185,.variant-axis-title-v185,.variant-compatible-head-v185,.variant-compatible-grid-v185,.variant-global-note-v185){background:rgba(15,23,42,.78)!important;border:1px solid rgba(148,163,184,.24)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .product-v23 .product-variant-picker-v185 :where(button,.variant-option-v185,.variant-choice-v185,.variant-compatible-card-v185){background:linear-gradient(145deg,#111827,#1f2937)!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.28)!important;}
html[data-marketak-theme="dark"] .product-v23 .product-variant-picker-v185 :where(button.active,.selected,.is-active,.variant-selected){background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border-color:rgba(125,211,252,.65)!important;}
html[data-marketak-theme="dark"] .product-v23 .safe-alerts,
html[data-marketak-theme="dark"] .product-v23 .safe-alerts.compact{background:linear-gradient(145deg,#101b2f,#16233a)!important;border:1px solid rgba(125,211,252,.25)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .product-v23 .safe-alerts :where(h3,li){color:#eaf6ff!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.product-top-store-trust-v189386,.product-detail-verified-exact-v189385,.product-detail-verified-pill-v189386,.product-detail-verified-inside-v189387,.store-pill-verified-exact-v189385,.verified,.verified-badge,.store-verified-badge){background:linear-gradient(135deg,#e0f2fe,#bfdbfe)!important;color:#075985!important;border:1px solid rgba(59,130,246,.50)!important;opacity:1!important;filter:none!important;text-shadow:none!important;box-shadow:0 8px 22px rgba(37,99,235,.28)!important;}
html[data-marketak-theme="dark"] .product-v23 :where(.product-top-store-trust-v189386,.product-detail-verified-exact-v189385,.store-pill-verified-exact-v189385,.verified-badge) :where(b,span){color:#075985!important;opacity:1!important;}

/* Product listing and vendor storefront filters/cards: make vendor product page as clean as products page */
html[data-marketak-theme="dark"] :where(.products-page,.products-page-pro,.storefront-products-themed-v1331,.storefront-products-wide-v156,.storefront-products-panel,.store-products-filter-shell,.store-products-filter-panel,.storefront-products-filter,.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;box-shadow:0 24px 80px rgba(0,0,0,.32)!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.storefront-products-wide-v156,.storefront-products-panel,.store-products-filter-shell,.store-products-filter-panel,.storefront-products-filter,.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card) :where(h1,h2,h3,b,strong,label){color:#fff!important;opacity:1!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.storefront-products-wide-v156,.storefront-products-panel,.store-products-filter-shell,.store-products-filter-panel,.storefront-products-filter,.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card) :where(p,span,small,li){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.products-page,.products-page-pro) .product-card-pro{background:#0f1b2f!important;border:1px solid rgba(96,165,250,.45)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.products-page,.products-page-pro) .product-card-pro :where(h3,h3 a,b,strong){color:#fff!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.products-page,.products-page-pro) .product-card-pro :where(p,span,small,del){color:#cbd5e1!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.products-page,.products-page-pro) .product-card-pro .price-row{background:#f8fafc!important;color:#0f172a!important;border-color:#e2e8f0!important;}
html[data-marketak-theme="dark"] :where(.storefront-products-themed-v1331,.products-page,.products-page-pro) .product-card-pro .price-row *{color:#0f172a!important;}
html[data-marketak-theme="dark"] :where(.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card) :where(input,select,textarea){background:#0b1222!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.32)!important;}
html[data-marketak-theme="dark"] :where(.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card) :where(button,a,.filter-option,.filter-pill){background:linear-gradient(145deg,#111827,#1f2937)!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.26)!important;}
html[data-marketak-theme="dark"] :where(.storefront-filter-sidebar,.filter-sidebar-pro,.products-filter-panel,.filter-card,.sidebar-card) :where(button.active,a.active,.active,.selected){background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;}

/* Storefront hero/tabs/category cards/verified chip next to store name */
html[data-marketak-theme="dark"] :where(.storefront-pro-hero,.storefront-cover,.storefront-hero,.storefront-top-rail-v155,.storefront-top-rail-inner-v155,.storefront-welcome-strip-v155,.storefront-welcome-strip-v156,.storefront-welcome-strip-v157,.store-tab-section,.store-page-panel-pro,.storefront-trust-panel,.storefront-category-showcase-v155,.storefront-category-showcase-v156,.storefront-category-card-v155,.storefront-category-card,.storefront-category-track-v155,.storefront-category-track-v156){background:linear-gradient(145deg,#0b1628,#111c31)!important;border-color:rgba(96,165,250,.36)!important;color:#f8fbff!important;box-shadow:0 26px 90px rgba(0,0,0,.34)!important;}
html[data-marketak-theme="dark"] :where(.storefront-pro-hero,.storefront-cover,.storefront-hero,.storefront-top-rail-v155,.storefront-top-rail-inner-v155,.storefront-welcome-strip-v155,.storefront-welcome-strip-v156,.storefront-welcome-strip-v157,.store-tab-section,.store-page-panel-pro,.storefront-trust-panel,.storefront-category-showcase-v155,.storefront-category-showcase-v156,.storefront-category-card-v155,.storefront-category-card,.storefront-category-track-v155,.storefront-category-track-v156) :where(h1,h2,h3,b,strong,label){color:#fff!important;opacity:1!important;}
html[data-marketak-theme="dark"] :where(.storefront-pro-hero,.storefront-cover,.storefront-hero,.storefront-top-rail-v155,.storefront-top-rail-inner-v155,.storefront-welcome-strip-v155,.storefront-welcome-strip-v156,.storefront-welcome-strip-v157,.store-tab-section,.store-page-panel-pro,.storefront-trust-panel,.storefront-category-showcase-v155,.storefront-category-showcase-v156,.storefront-category-card-v155,.storefront-category-card,.storefront-category-track-v155,.storefront-category-track-v156) :where(p,span,small,li){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] :where(.storefront-tabs,.store-tab-nav,.storefront-tabs-bar){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.26)!important;}
html[data-marketak-theme="dark"] :where(.storefront-tabs,.store-tab-nav,.storefront-tabs-bar) :where(a,button){background:#f8fafc!important;color:#0f172a!important;border:1px solid #e2e8f0!important;}
html[data-marketak-theme="dark"] :where(.storefront-tabs,.store-tab-nav,.storefront-tabs-bar) :where(a.active,button.active,.active){background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;}
html[data-marketak-theme="dark"] :where(.storefront-pro-hero,.storefront-cover,.storefront-hero) :where(.verified,.verified-badge,.store-verified-badge,.storefront-verified-badge,.product-top-store-trust-v189386){background:linear-gradient(135deg,#e0f2fe,#bfdbfe)!important;color:#075985!important;opacity:1!important;border:1px solid rgba(59,130,246,.55)!important;box-shadow:0 10px 28px rgba(37,99,235,.28)!important;text-shadow:none!important;}

/* Plans page: transparent trial card, feature button/details, comparison and all white internal boxes */
html[data-marketak-theme="dark"] .plans-v189525-page :where(.plans-page-section,.plans-hero-v189525,.plans-hero-pro,.vendor-plan-status-card-v189525,.trial-plan-v189525,.trial-plan-wide,.pricing-card-v189525,.pricing-pro-card,.compact-plan,.compare-table-card-v189525,.plans-compare-v189525,.plan-step-card,.stores-grid .store-card){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;box-shadow:0 26px 90px rgba(0,0,0,.34)!important;}
html[data-marketak-theme="dark"] .plans-v189525-page :where(.plans-page-section,.plans-hero-v189525,.plans-hero-pro,.vendor-plan-status-card-v189525,.trial-plan-v189525,.trial-plan-wide,.pricing-card-v189525,.pricing-pro-card,.compact-plan,.compare-table-card-v189525,.plans-compare-v189525,.plan-step-card,.stores-grid .store-card) :where(h1,h2,h3,b,strong,label,summary){color:#fff!important;opacity:1!important;}
html[data-marketak-theme="dark"] .plans-v189525-page :where(.plans-page-section,.plans-hero-v189525,.plans-hero-pro,.vendor-plan-status-card-v189525,.trial-plan-v189525,.trial-plan-wide,.pricing-card-v189525,.pricing-pro-card,.compact-plan,.compare-table-card-v189525,.plans-compare-v189525,.plan-step-card,.stores-grid .store-card) :where(p,span,small,li,em){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] .plans-v189525-page :where(.trial-wide-stats>*,.plan-price-v1895251,.plan-duration-tile-v1895251,.plan-summary-strip-v1895252 span,.plan-feature-preview-v189525 li,.plan-details-pro,.plan-features-pro,.plan-features-pro li,.payment-choice-row,.plan-wallet-input,.plan-gateway-select){background:#081225!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.28)!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .plan-duration-tile-v1895251.selected{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border-color:rgba(125,211,252,.55)!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .plan-details-pro summary{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border-radius:14px!important;padding:12px 16px!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .plan-features-pro{background:linear-gradient(145deg,#081225,#101b2f)!important;color:#f8fbff!important;max-height:none!important;overflow:visible!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .compare-table-v189525 :where(th,td){background:#101b2f!important;color:#f8fbff!important;border-color:rgba(148,163,184,.28)!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .compare-table-v189525 tr:nth-child(even) :where(th,td){background:#17233a!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .btn,
html[data-marketak-theme="dark"] .plans-v189525-page button{border-color:rgba(148,163,184,.30)!important;}
html[data-marketak-theme="dark"] .plans-v189525-page .plan-submit-v1895251,
html[data-marketak-theme="dark"] .plans-v189525-page .btn.wide{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;}

/* Win-with-marketak/referral page: exact classes in app/views/referrals.php */
html[data-marketak-theme="dark"] .referral-page,
html[data-marketak-theme="dark"] .referral-page.page-section{background:#06101d!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] .referral-page :where(.referral-hero,.referral-copy,.referral-guest-card,.share-box,.referral-rules,.stat-card,.panel-card,.withdrawal-card,.withdraw-form-v25,.activity-item,.withdraw-history-v25){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;box-shadow:0 26px 90px rgba(0,0,0,.34)!important;}
html[data-marketak-theme="dark"] .referral-page :where(.referral-hero,.referral-copy,.referral-guest-card,.share-box,.referral-rules,.stat-card,.panel-card,.withdrawal-card,.withdraw-form-v25,.activity-item,.withdraw-history-v25) :where(h1,h2,h3,b,strong,label){color:#fff!important;opacity:1!important;}
html[data-marketak-theme="dark"] .referral-page :where(.referral-hero,.referral-copy,.referral-guest-card,.share-box,.referral-rules,.stat-card,.panel-card,.withdrawal-card,.withdraw-form-v25,.activity-item,.withdraw-history-v25) :where(p,span,small,li,em){color:#dbeafe!important;opacity:1!important;}
html[data-marketak-theme="dark"] .referral-page :where(input,select,textarea){background:#081225!important;color:#f8fbff!important;border:1px solid rgba(148,163,184,.34)!important;}
html[data-marketak-theme="dark"] .referral-page .referral-rules{background:linear-gradient(135deg,#4c1d95,#0e7490)!important;border-color:rgba(125,211,252,.35)!important;}

/* Last-resort repair for named problem pages only: no transparent white cards with invisible white text */
html[data-marketak-theme="dark"] body :where(.plans-v189525-page,.referral-page,.product-v23,.store-tab-section,.storefront-products-themed-v1331,.storefront-products-wide-v156) :where(.card,.panel,.box,.tile,.notice,.alert,.empty,.empty-state,.results-bar,.section-card,.white-card,.light-card,.soft-card){background:linear-gradient(145deg,#0b1628,#111c31)!important;border:1px solid rgba(148,163,184,.28)!important;color:#f8fbff!important;}
html[data-marketak-theme="dark"] body :where(.plans-v189525-page,.referral-page,.product-v23,.store-tab-section,.storefront-products-themed-v1331,.storefront-products-wide-v156) :where(.card,.panel,.box,.tile,.notice,.alert,.empty,.empty-state,.results-bar,.section-card,.white-card,.light-card,.soft-card) :where(h1,h2,h3,h4,b,strong,label){color:#fff!important;}
html[data-marketak-theme="dark"] body :where(.plans-v189525-page,.referral-page,.product-v23,.store-tab-section,.storefront-products-themed-v1331,.storefront-products-wide-v156) :where(.card,.panel,.box,.tile,.notice,.alert,.empty,.empty-state,.results-bar,.section-card,.white-card,.light-card,.soft-card) :where(p,span,small,li,em){color:#dbeafe!important;opacity:1!important;}

@media(max-width:780px){
  html[data-marketak-theme="dark"] .category-bar .mega-holder .mega-menu{width:min(94vw,440px)!important;right:50%!important;transform:translateX(50%)!important;}
  html[data-marketak-theme="dark"] .product-v23 .product-super-grid{gap:16px!important;}
  .marketak-theme-toggle{width:40px!important;height:40px!important;}
}
