/* ═══════════════════════════════════════════════════════════════
   Marketplace Logos — up to five linked marketplace badges
   ═══════════════════════════════════════════════════════════════ */

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos {
  width: 100%;
  padding: var(--marketplace-logos-pad-y, 40px) 0;
  color: var(--color-text-primary);
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* The flex wrapper centres the title even if a storefront heading rule
   overrides text-align on the h2 itself. */
.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-header {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-title {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (min-width: 768px) {
  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-header { margin-bottom: 36px; }
}

/* Centred row that wraps: 5 logos → 3 + 2 on phones, one row from tablets up. */
.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-item {
  flex: 0 0 calc((100% - 2 * 10px) / 3);
  max-width: 200px;
}

@media (min-width: 768px) {
  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-list { gap: var(--space-sm); }

  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-item {
    flex: 0 0 calc((100% - 4 * var(--space-sm)) / 5);
  }
}

/* ─── Cards ───────────────────────────────────────────────── */

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--marketplace-logos-height, 36px) * 0.8 + 32px);
  padding: 0 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 200ms ease;
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card--link:hover { border-color: var(--color-text-muted); }

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card--link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card--empty { background: var(--color-surface-alt); border-color: transparent; }

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-img {
  display: block;
  max-width: 100%;
  height: calc(var(--marketplace-logos-height, 36px) * 0.8);
  width: auto;
  object-fit: contain;
  transition: filter 200ms ease, opacity 200ms ease;
}

@media (min-width: 768px) {
  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card { height: calc(var(--marketplace-logos-height, 36px) + 40px); }
  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-img { height: var(--marketplace-logos-height, 36px); }
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos--grayscale .marketplace-logos-img {
  filter: grayscale(1);
  opacity: 0.6;
}

.cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos--grayscale .marketplace-logos-card:hover .marketplace-logos-img, .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos--grayscale .marketplace-logos-card:focus-visible .marketplace-logos-img {
  filter: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-card, .cc_pD1lGtPUQa_Jx3eC0dErY .marketplace-logos-img { transition: none; }
}
