/* Marketplace-only visual override. The unique artwork URL avoids stale cached 404s. */
[data-platform-hero="marketplace"] .relative:has(> img[alt]) {
  background-image: url("/brand/heroes/marketplace-hero-v3.png") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-platform-hero="marketplace"] .relative:has(> img[alt]) > img {
  opacity: 0 !important;
}

[data-platform-hero="marketplace"] [data-testid="hero-brand-fallback"] {
  background: url("/brand/heroes/marketplace-hero-v3.png") center / cover no-repeat !important;
}

[data-platform-hero="marketplace"] [data-testid="hero-brand-fallback"] > * {
  visibility: hidden !important;
}

@media (max-width: 1023px) {
  [data-platform-hero="marketplace"][data-hero-layout="panorama"] > .absolute.inset-y-0.end-0 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 220px;
  }

  [data-platform-hero="marketplace"][data-hero-layout="panorama"] > .relative.z-10 {
    min-height: 0 !important;
    padding: 1.25rem 1.25rem 1.5rem;
  }
}
