/* Phase 18.9.5.28.5.8.9.50.3 — Dark Mode Final Text Contrast, Product Detail & Storefront Deep Polish */
html[data-marketak-theme="dark"]{--dm-bg:#06101d;--dm-panel:#0b1628;--dm-panel2:#111c31;--dm-panel3:#17233a;--dm-border:rgba(148,163,184,.26);--dm-text:#eef6ff;--dm-muted:#b7c7dd;--dm-faint:#8ea4bf;--dm-blue:#60a5fa;--dm-cyan:#67e8f9;--dm-purple:#8b5cf6;}
html[data-marketak-theme="dark"] body{background:#06101d!important;color:var(--dm-text)!important;}

/* Fix the remaining white/faded product details pages */
html[data-marketak-theme="dark"] .product-super-page,
html[data-marketak-theme="dark"] .product-v23{background:#06101d!important;color:var(--dm-text)!important;}
html[data-marketak-theme="dark"] .product-super-page .breadcrumb-pro,
html[data-marketak-theme="dark"] .product-super-page .product-buy-panel,
html[data-marketak-theme="dark"] .product-super-page .info-panel,
html[data-marketak-theme="dark"] .product-super-page .product-long-description,
html[data-marketak-theme="dark"] .product-super-page .product-variant-picker-v185,
html[data-marketak-theme="dark"] .product-super-page .product-options-v28,
html[data-marketak-theme="dark"] .product-super-page .add-cart-box,
html[data-marketak-theme="dark"] .product-super-page .order-card-pro,
html[data-marketak-theme="dark"] .reviews-grid-v23 .info-panel{
  background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(17,28,49,.96))!important;
  border:1px solid var(--dm-border)!important;
  color:var(--dm-text)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.32)!important;
}
html[data-marketak-theme="dark"] .product-super-page .product-buy-panel *,
html[data-marketak-theme="dark"] .product-super-page .info-panel *,
html[data-marketak-theme="dark"] .reviews-grid-v23 .info-panel *{opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .product-super-page h1,
html[data-marketak-theme="dark"] .product-super-page h2,
html[data-marketak-theme="dark"] .product-super-page h3,
html[data-marketak-theme="dark"] .product-super-page b,
html[data-marketak-theme="dark"] .product-super-page strong,
html[data-marketak-theme="dark"] .product-super-page label,
html[data-marketak-theme="dark"] .reviews-grid-v23 h2{color:#f8fbff!important;}
html[data-marketak-theme="dark"] .product-super-page p,
html[data-marketak-theme="dark"] .product-super-page small,
html[data-marketak-theme="dark"] .product-super-page .section-sub,
html[data-marketak-theme="dark"] .product-super-page .product-short,
html[data-marketak-theme="dark"] .product-super-page li,
html[data-marketak-theme="dark"] .reviews-grid-v23 p,
html[data-marketak-theme="dark"] .reviews-grid-v23 .section-sub{color:var(--dm-muted)!important;}
html[data-marketak-theme="dark"] .product-super-page .product-price-line,
html[data-marketak-theme="dark"] .product-super-page .product-stock-pro-v57,
html[data-marketak-theme="dark"] .product-super-page .product-return-policy-card-v118,
html[data-marketak-theme="dark"] .product-super-page .product-digital-policy-card-v189541,
html[data-marketak-theme="dark"] .product-super-page .product-deposit-badge-v18953,
html[data-marketak-theme="dark"] .product-super-page .store-pill-pro,
html[data-marketak-theme="dark"] .product-super-page .variant-match-card-v185,
html[data-marketak-theme="dark"] .product-super-page .variant-axis-group-v185,
html[data-marketak-theme="dark"] .product-super-page .variant-global-note-v185,
html[data-marketak-theme="dark"] .product-super-page .review-card-v23{
  background:rgba(2,6,23,.46)!important;
  border-color:rgba(148,163,184,.24)!important;
  color:#eaf6ff!important;
}
html[data-marketak-theme="dark"] .product-super-page .product-price-line b,
html[data-marketak-theme="dark"] .product-super-page .product-price-line strong,
html[data-marketak-theme="dark"] .product-super-page .current-price,
html[data-marketak-theme="dark"] .product-super-page .price{color:#7dd3fc!important;}
html[data-marketak-theme="dark"] .product-super-page .old-price,
html[data-marketak-theme="dark"] .product-super-page del{color:#94a3b8!important;}
html[data-marketak-theme="dark"] .product-super-page .gallery-stage,
html[data-marketak-theme="dark"] .product-super-page .media-stage-v23,
html[data-marketak-theme="dark"] .product-super-page .main-media-box,
html[data-marketak-theme="dark"] .product-super-page .thumb-btn{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:rgba(96,165,250,.34)!important;
}
html[data-marketak-theme="dark"] .product-super-page .product-specs-table-v28,
html[data-marketak-theme="dark"] .product-super-page .product-specs-table-v28 *{background:rgba(15,23,42,.72)!important;color:#dbeafe!important;border-color:rgba(148,163,184,.22)!important;}

/* Storefront hero/tabs/share modal remaining light panels */
html[data-marketak-theme="dark"] .storefront-pro-page,
html[data-marketak-theme="dark"] .storefront-page,
html[data-marketak-theme="dark"] .store-page{background:#06101d!important;color:#eef6ff!important;}
html[data-marketak-theme="dark"] .storefront-pro-hero,
html[data-marketak-theme="dark"] .storefront-hero,
html[data-marketak-theme="dark"] .storefront-tabs,
html[data-marketak-theme="dark"] .storefront-tabs-wrap,
html[data-marketak-theme="dark"] .storefront-section,
html[data-marketak-theme="dark"] .storefront-panel,
html[data-marketak-theme="dark"] .store-products-panel,
html[data-marketak-theme="dark"] .store-filter-card,
html[data-marketak-theme="dark"] .store-category-card,
html[data-marketak-theme="dark"] .store-share-modal,
html[data-marketak-theme="dark"] .share-center-card-v58{
  background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(17,28,49,.96))!important;
  border-color:rgba(148,163,184,.26)!important;
  color:#eef6ff!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34)!important;
}
html[data-marketak-theme="dark"] .storefront-pro-hero *,
html[data-marketak-theme="dark"] .storefront-tabs *,
html[data-marketak-theme="dark"] .storefront-section *,
html[data-marketak-theme="dark"] .share-center-card-v58 *{opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .storefront-pro-hero h1,
html[data-marketak-theme="dark"] .storefront-pro-hero h2,
html[data-marketak-theme="dark"] .storefront-pro-hero b,
html[data-marketak-theme="dark"] .storefront-section h2,
html[data-marketak-theme="dark"] .share-center-card-v58 b,
html[data-marketak-theme="dark"] .share-center-card-v58 strong{color:#f8fbff!important;}
html[data-marketak-theme="dark"] .storefront-pro-hero p,
html[data-marketak-theme="dark"] .storefront-pro-hero small,
html[data-marketak-theme="dark"] .storefront-section p,
html[data-marketak-theme="dark"] .storefront-section small,
html[data-marketak-theme="dark"] .share-center-card-v58 small,
html[data-marketak-theme="dark"] .share-center-card-v58 p{color:#b7c7dd!important;}
html[data-marketak-theme="dark"] .storefront-tabs a,
html[data-marketak-theme="dark"] .storefront-tabs button{background:#f8fafc!important;color:#0f172a!important;border-color:rgba(191,219,254,.35)!important;}
html[data-marketak-theme="dark"] .storefront-tabs a.active,
html[data-marketak-theme="dark"] .storefront-tabs button.active{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;}

/* Home sliders/rails that still appeared white with faded text */
html[data-marketak-theme="dark"] .home-product-rail-v186,
html[data-marketak-theme="dark"] .home-category-rail-v186,
html[data-marketak-theme="dark"] .product-marquee,
html[data-marketak-theme="dark"] .category-marquee-pro,
html[data-marketak-theme="dark"] .exclusive-offers-marquee-v62,
html[data-marketak-theme="dark"] .verified-store-shell-v65,
html[data-marketak-theme="dark"] .home-store-rail-v186{
  background:linear-gradient(145deg,rgba(7,17,31,.96),rgba(11,22,40,.94))!important;
  border:1px solid rgba(148,163,184,.23)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 22px 70px rgba(0,0,0,.32)!important;
}
html[data-marketak-theme="dark"] .home-product-tile-v186,
html[data-marketak-theme="dark"] .mini-product,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62,
html[data-marketak-theme="dark"] .home-category-tile-v186,
html[data-marketak-theme="dark"] .category-motion-card,
html[data-marketak-theme="dark"] .home-store-card-v186,
html[data-marketak-theme="dark"] .verified-store-pill{
  background:linear-gradient(160deg,rgba(15,23,42,.98),rgba(17,28,49,.96))!important;
  border-color:rgba(148,163,184,.26)!important;
  color:#eaf6ff!important;
}
html[data-marketak-theme="dark"] .home-product-tile-v186 *,
html[data-marketak-theme="dark"] .mini-product *,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 *,
html[data-marketak-theme="dark"] .home-category-tile-v186 *,
html[data-marketak-theme="dark"] .category-motion-card *,
html[data-marketak-theme="dark"] .home-store-card-v186 *,
html[data-marketak-theme="dark"] .verified-store-pill *{opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .home-product-tile-v186 h3,
html[data-marketak-theme="dark"] .home-product-tile-v186 h3 a,
html[data-marketak-theme="dark"] .mini-product b,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 b,
html[data-marketak-theme="dark"] .home-category-tile-v186 strong,
html[data-marketak-theme="dark"] .category-motion-card b,
html[data-marketak-theme="dark"] .home-store-card-v186 b{color:#f8fbff!important;}
html[data-marketak-theme="dark"] .home-product-tile-v186 small,
html[data-marketak-theme="dark"] .mini-product span,
html[data-marketak-theme="dark"] .exclusive-offer-card-v62 small,
html[data-marketak-theme="dark"] .home-category-tile-v186 small,
html[data-marketak-theme="dark"] .category-motion-card small,
html[data-marketak-theme="dark"] .home-store-card-v186 small{color:#b7c7dd!important;}
html[data-marketak-theme="dark"] .hp-img-v186,
html[data-marketak-theme="dark"] .offer-img-v62,
html[data-marketak-theme="dark"] .category-motion-image,
html[data-marketak-theme="dark"] .home-category-tile-v186 img,
html[data-marketak-theme="dark"] .mini-product img{background:#f8fafc!important;}

/* Products listing sidebar and dark page cards final contrast */
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card,
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card *{opacity:1!important;text-shadow:none!important;}
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card h3,
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card a,
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card b{color:#eaf6ff!important;}
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card p,
html[data-marketak-theme="dark"] .products-page-pro-v66 .product-card small{color:#a9bbd2!important;}
html[data-marketak-theme="dark"] .products-page-pro-v66 .filter-panel-v66,
html[data-marketak-theme="dark"] .products-page-pro-v66 .filter-group-v66,
html[data-marketak-theme="dark"] .products-page-pro-v66 .filter-panel-v66 *{opacity:1!important;text-shadow:none!important;}

/* Auth, legal, referral and generic light panels that still had white text on white cards */
html[data-marketak-theme="dark"] .legal-card-v123,
html[data-marketak-theme="dark"] .auth-card-pro,
html[data-marketak-theme="dark"] .referral-page .card,
html[data-marketak-theme="dark"] .referral-page .panel,
html[data-marketak-theme="dark"] .plans-v189525-page .white-card,
html[data-marketak-theme="dark"] .plans-v189525-page .step-card,
html[data-marketak-theme="dark"] .plans-v189525-page .plans-step-card,
html[data-marketak-theme="dark"] .plans-v189525-page .compare-step-card{
  background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(17,28,49,.96))!important;
  border-color:rgba(148,163,184,.26)!important;
  color:#eef6ff!important;
}
html[data-marketak-theme="dark"] .legal-card-v123 *,
html[data-marketak-theme="dark"] .auth-card-pro *,
html[data-marketak-theme="dark"] .referral-page .card *,
html[data-marketak-theme="dark"] .referral-page .panel *,
html[data-marketak-theme="dark"] .plans-v189525-page .white-card *,
html[data-marketak-theme="dark"] .plans-v189525-page .step-card *{opacity:1!important;text-shadow:none!important;}

/* Announcement and promotion bars */
html[data-marketak-theme="dark"] .announcement-bar,
html[data-marketak-theme="dark"] .ann-bar,
html[data-marketak-theme="dark"] .top-announcement,
html[data-marketak-theme="dark"] .promo-strip,
html[data-marketak-theme="dark"] .home-promo-strip{
  background:linear-gradient(90deg,rgba(15,23,42,.95),rgba(51,65,85,.88),rgba(15,23,42,.95))!important;
  border-color:rgba(148,163,184,.22)!important;
  color:#f8fafc!important;
}
html[data-marketak-theme="dark"] .announcement-bar *,
html[data-marketak-theme="dark"] .ann-bar *,
html[data-marketak-theme="dark"] .top-announcement *,
html[data-marketak-theme="dark"] .promo-strip *,
html[data-marketak-theme="dark"] .home-promo-strip *{color:#f8fafc!important;opacity:1!important;text-shadow:none!important;}

/* Keep true media, logos and product photos natural */
html[data-marketak-theme="dark"] .product-gallery-pro img,
html[data-marketak-theme="dark"] .gallery-stage img,
html[data-marketak-theme="dark"] .main-media-box img,
html[data-marketak-theme="dark"] .product-card img,
html[data-marketak-theme="dark"] .home-product-tile-v186 img,
html[data-marketak-theme="dark"] .mini-product img,
html[data-marketak-theme="dark"] .store-card img,
html[data-marketak-theme="dark"] .logo img{filter:none!important;opacity:1!important;}

@media(max-width:900px){
  html[data-marketak-theme="dark"] .product-super-grid,
  html[data-marketak-theme="dark"] .v23-layout{gap:18px!important;}
  html[data-marketak-theme="dark"] .product-super-page .product-buy-panel,
  html[data-marketak-theme="dark"] .product-super-page .info-panel{border-radius:24px!important;}
  html[data-marketak-theme="dark"] .home-product-rail-v186,
  html[data-marketak-theme="dark"] .category-marquee-pro,
  html[data-marketak-theme="dark"] .exclusive-offers-marquee-v62{overflow-x:auto!important;}
}
