/* AdsSpaceHub Sprint 3-18-1
   Dark fixes for the public marketplace/explore page.
   Loaded after sprint3-11-marketplace.css to prevent white cards in dark mode. */
html[data-theme="dark"] .ash-market-layout,
html[data-theme="dark"] .container-fluid,
html[data-theme="dark"] main{
  color:#f8fafc;
}
html[data-theme="dark"] .ash-market-hero{
  background:
    radial-gradient(circle at 78% 18%,rgba(139,92,246,.32),transparent 30%),
    radial-gradient(circle at 12% 28%,rgba(37,99,235,.18),transparent 32%),
    linear-gradient(135deg,#050816 0%,#0b1020 48%,#22124d 100%)!important;
  border:1px solid rgba(148,163,184,.14)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.42)!important;
}
html[data-theme="dark"] .ash-hero-search,
html[data-theme="dark"] .ash-filter-panel,
html[data-theme="dark"] .ash-result-card,
html[data-theme="dark"] .ash-detail-panel,
html[data-theme="dark"] .ash-package-media,
html[data-theme="dark"] .ash-empty-state{
  background:linear-gradient(180deg,rgba(17,24,39,.97),rgba(11,16,32,.98))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  color:#f8fafc!important;
  box-shadow:0 18px 54px rgba(0,0,0,.35)!important;
}
html[data-theme="dark"] .ash-result-card:hover{
  box-shadow:0 26px 70px rgba(0,0,0,.48)!important;
}
html[data-theme="dark"] .ash-result-title,
html[data-theme="dark"] .ash-result-price,
html[data-theme="dark"] .ash-feature b,
html[data-theme="dark"] .ash-filter-panel h2,
html[data-theme="dark"] .ash-hero-search label,
html[data-theme="dark"] .ash-filter-panel .form-label{
  color:#f8fafc!important;
}
html[data-theme="dark"] .ash-result-meta,
html[data-theme="dark"] .ash-market-hero p,
html[data-theme="dark"] .ash-filter-panel .form-label,
html[data-theme="dark"] .ash-empty-state p,
html[data-theme="dark"] .ash-empty-state,
html[data-theme="dark"] .ash-result-card .text-muted,
html[data-theme="dark"] .ash-package-media .text-muted{
  color:#a7b0c2!important;
}
html[data-theme="dark"] .ash-result-img,
html[data-theme="dark"] .ash-result-placeholder,
html[data-theme="dark"] .ash-detail-photo{
  background:linear-gradient(135deg,#111827,#21183e)!important;
  color:#a78bfa!important;
}
html[data-theme="dark"] .ash-save-btn{
  background:#0f172a!important;
  border-color:rgba(148,163,184,.24)!important;
  color:#c4b5fd!important;
}
html[data-theme="dark"] .ash-save-btn:hover{
  background:#21183e!important;
  border-color:rgba(167,139,250,.45)!important;
}
html[data-theme="dark"] .ash-quick-tags a,
html[data-theme="dark"] .ash-chip{
  background:#0f172a!important;
  border-color:rgba(148,163,184,.20)!important;
  color:#e5e7eb!important;
}
html[data-theme="dark"] .ash-quick-tags a:hover,
html[data-theme="dark"] .ash-chip.active{
  background:#21183e!important;
  border-color:rgba(167,139,250,.42)!important;
  color:#ddd6fe!important;
}
html[data-theme="dark"] .ash-badge-pack{
  background:linear-gradient(135deg,#7c3aed,#2563eb)!important;
  color:#fff!important;
}
html[data-theme="dark"] .ash-badge-dooh{
  background:rgba(139,92,246,.18)!important;
  color:#ddd6fe!important;
  border:1px solid rgba(167,139,250,.26)!important;
}
html[data-theme="dark"] .ash-badge-ooh{
  background:rgba(59,130,246,.16)!important;
  color:#bfdbfe!important;
  border:1px solid rgba(96,165,250,.22)!important;
}
html[data-theme="dark"] .ash-market-map{
  background:#0f172a!important;
  border-color:rgba(148,163,184,.18)!important;
  box-shadow:0 18px 54px rgba(0,0,0,.36)!important;
}
html[data-theme="dark"] .leaflet-tile-pane{
  filter:brightness(.72) contrast(1.08) saturate(.75);
}
html[data-theme="dark"] .leaflet-control-zoom a,
html[data-theme="dark"] .leaflet-control-attribution,
html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip{
  background:#0f172a!important;
  color:#f8fafc!important;
  border-color:rgba(148,163,184,.18)!important;
}
html[data-theme="dark"] .ash-map-popup a{
  color:#c4b5fd!important;
}
html[data-theme="dark"] .ash-feature{
  background:#0f172a!important;
  border-color:rgba(148,163,184,.18)!important;
}
html[data-theme="dark"] .ash-rule-box{
  background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(37,99,235,.12))!important;
  border-color:rgba(167,139,250,.22)!important;
  color:#e5e7eb!important;
}
html[data-theme="dark"] .ash-compare-bar{
  background:linear-gradient(135deg,#111827,#21183e)!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.45)!important;
}
