/**
 * Global /market — overrides on hub store card system.
 */

body.global-market-body {
  --accent: var(--hub-accent, #a78bfa);
  --accent-2: var(--hub-accent, #a78bfa);
  --text: var(--hub-text, rgba(255, 255, 255, 0.92));
  --text-muted: var(--hub-muted, rgba(255, 255, 255, 0.55));
  --radius: 14px;
  --glass-border: var(--hub-border, rgba(255, 255, 255, 0.1));
  --glass-bg-strong: color-mix(in srgb, var(--hub-surface, #14141f) 92%, transparent);
  --gm-hover-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gm-hover-dur: 0.55s;
}

html[data-mantine-color-scheme="light"] body.global-market-body {
  --glass-border: rgba(15, 23, 42, 0.1);
  --glass-bg-strong: rgba(255, 255, 255, 0.94);
}

body.global-market-body .global-market-grid.product-grid--shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.2rem;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  align-items: stretch;
}

@media (min-width: 1400px) {
  body.global-market-body .global-market-grid.product-grid--shop {
    gap: 1.3rem;
  }
}

body.global-market-body .product-card--global-market[data-gm-card][aria-hidden="true"],
body.global-market-body .product-card--global-market[data-gm-card][hidden] {
  display: none !important;
}

body.global-market-body .product-card--global-market[data-gm-card]:not(.global-market-card--visible) {
  opacity: 0;
  transform: translateY(14px);
  animation: none;
  pointer-events: none;
}

body.global-market-body .product-card--global-market[data-gm-card].global-market-card--visible {
  opacity: 1;
  transform: translateY(0);
  animation: gmCardIn 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--gm-vis, 0) * 45ms);
}

@keyframes gmCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Card shell — equal heights, hover sheet inside image only ── */
body.global-market-body .product-card--global-market.global-market-card--v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition:
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.34s ease,
    border-color 0.28s ease;
}

body.global-market-body .product-card--global-market .product-card-link {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

/* Base layers — soften on hover while detail card renders above */
body.global-market-body .product-card--global-market .product-card__visual,
body.global-market-body .product-card--global-market .product-card__meta,
body.global-market-body .product-card--global-market .product-card__buybar {
  transition:
    filter var(--gm-hover-dur) var(--gm-hover-ease),
    opacity var(--gm-hover-dur) var(--gm-hover-ease),
    transform var(--gm-hover-dur) var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .gm-card-footer {
  transition:
    filter var(--gm-hover-dur) var(--gm-hover-ease),
    opacity var(--gm-hover-dur) var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .product-card__overlay {
  display: none !important;
}

/* Mouse-tracking glow + shine sweep */
body.global-market-body .product-card--global-market .product-card__glow {
  position: absolute;
  inset: -35%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    color-mix(in srgb, var(--accent) 26%, transparent),
    transparent 46%
  );
  transition: opacity 0.32s ease;
}

body.global-market-body .product-card--global-market .product-card__shine {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    color-mix(in srgb, #fff 22%, transparent) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

body.global-market-body .product-card--global-market .product-card__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* ── Image — landscape crop (not tall) ── */
body.global-market-body .product-card--global-market .product-card__visual {
  position: relative;
  flex: none;
  flex-shrink: 0;
  margin: 0.62rem 0.62rem 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px color-mix(in srgb, #fff 8%, transparent);
  transition:
    opacity var(--gm-hover-dur) var(--gm-hover-ease),
    transform var(--gm-hover-dur) var(--gm-hover-ease);
}

/* Overlays anchor to image height only (not stretched card body) */
body.global-market-body .product-card--global-market .gm-card-visual-stage {
  position: relative;
  display: block;
  width: 100%;
}

body.global-market-body .product-card--global-market .gm-card-pill-stack,
body.global-market-body .product-card--global-market .product-card__visual-foot,
body.global-market-body .product-card--global-market .global-market-card__verified--top {
  transition:
    opacity 0.32s var(--gm-hover-ease),
    transform 0.32s var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .product-image-wrap {
  aspect-ratio: 16 / 10 !important;
  width: 100%;
  border-radius: calc(var(--radius) + 1px);
  overflow: hidden;
}

body.global-market-body .product-card--global-market .product-image-wrap img,
body.global-market-body .product-card--global-market .product-image-placeholder--animated {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.32s ease;
}

body.global-market-body .product-card--global-market .product-image-shade {
  transition: opacity 0.32s ease;
}

/* Verified — top-right corner, clear of discount rail */
body.global-market-body .product-card--global-market .global-market-card__verified--top {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  z-index: 8;
  pointer-events: none;
}

body.global-market-body .product-card--global-market .global-market-card__verified--top .gm-card-verified-badge--pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(8, 12, 22, 0.94), rgba(15, 23, 42, 0.82));
  border: 1.5px solid color-mix(in srgb, #38bdf8 55%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 0 0 2px color-mix(in srgb, #38bdf8 20%, transparent),
    0 6px 16px rgba(0, 0, 0, 0.4);
}

body.global-market-body .product-card--global-market .global-market-card__verified--top .gm-card-verified-badge__ic {
  width: 1.05rem;
  height: 1.05rem;
}

/* Pill overlays — isolated from hub visual-rail absolute rules */
body.global-market-body .product-card--global-market .gm-card-pill-stack {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  pointer-events: none;
  box-sizing: border-box;
}

body.global-market-body .product-card--global-market .gm-card-pill-stack--left {
  top: 0.45rem;
  left: 0.45rem;
  right: auto;
  bottom: auto;
  align-items: flex-start;
  max-width: calc(50% - 0.6rem);
}

body.global-market-body .product-card--global-market .gm-card-pill-stack--right {
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  bottom: auto;
  align-items: flex-end;
  width: max-content;
  max-width: calc(100% - 0.9rem);
}

body.global-market-body .product-card--global-market .gm-card-visual-stage:has(.global-market-card__verified--top) .gm-card-pill-stack--right {
  max-width: calc(100% - 2.65rem);
}

body.global-market-body .product-card--global-market .gm-card-pill-stack .hub-badge,
body.global-market-body .product-card--global-market .gm-card-pill-stack .gm-card-pill,
body.global-market-body .product-card--global-market .gm-card-pill-stack .product-card__metric-pill {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  max-width: 100%;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0.2rem 0.46rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(4, 6, 12, 0.84);
  border: 1px solid color-mix(in srgb, var(--accent-2) 38%, rgba(255, 255, 255, 0.12));
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.34),
    inset 2px 0 0 var(--b, var(--accent-2));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
}

body.global-market-body .product-card--global-market .gm-card-pill-stack--left .product-card__ribbon.gm-card-pill {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  color: #0a0c12;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.66rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid color-mix(in srgb, #fff 24%, transparent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 42%, transparent);
}

/* Bottom status pills — on image */
body.global-market-body .product-card--global-market .product-card__visual-foot {
  position: absolute;
  inset: auto 0.45rem 0.45rem 0.45rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.28rem;
  pointer-events: none;
}

body.global-market-body .product-card--global-market .product-card__visual-foot .product-card__pill {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.global-market-body .product-card--global-market .gm-card-pill--new {
  border-color: color-mix(in srgb, #34d399 40%, rgba(255, 255, 255, 0.12)) !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34), inset 2px 0 0 #34d399 !important;
}

body.global-market-body .product-card--global-market .gm-card-pill--hot {
  border-color: color-mix(in srgb, #f97316 40%, rgba(255, 255, 255, 0.12)) !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34), inset 2px 0 0 #f97316 !important;
}

/* Frosted veil — blurs the resting card beneath the glass layer */
body.global-market-body .product-card--global-market .gm-card-hover-veil {
  position: absolute;
  inset: 0;
  z-index: 11;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: color-mix(in srgb, rgba(6, 8, 14, 0.35) 90%, transparent);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  transition:
    opacity var(--gm-hover-dur) var(--gm-hover-ease),
    backdrop-filter var(--gm-hover-dur) var(--gm-hover-ease),
    -webkit-backdrop-filter var(--gm-hover-dur) var(--gm-hover-ease);
}

/* Glass hover layer — Featured pick parity */
body.global-market-body .product-card--global-market .product-card__hover-panel {
  position: absolute;
  inset: 0.42rem;
  z-index: 14;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 0.84rem);
  padding: 0;
  border-radius: calc(var(--radius) + 5px);
  border: 1px solid color-mix(in srgb, var(--accent-2) 18%, var(--glass-border));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--text) 5%, rgba(8, 10, 18, 0.72)), rgba(6, 8, 14, 0.45));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px color-mix(in srgb, var(--accent-2) 12%, transparent) inset;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97) translateY(6px);
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    opacity var(--gm-hover-dur) var(--gm-hover-ease),
    transform var(--gm-hover-dur) var(--gm-hover-ease),
    visibility var(--gm-hover-dur) var(--gm-hover-ease),
    box-shadow var(--gm-hover-dur) var(--gm-hover-ease),
    border-color var(--gm-hover-dur) var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .gm-hover-panel__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--gm-hover-backdrop);
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(2px) saturate(1.12);
  transform: scale(1.1);
  pointer-events: none;
  transition:
    opacity var(--gm-hover-dur) var(--gm-hover-ease),
    transform var(--gm-hover-dur) var(--gm-hover-ease),
    filter var(--gm-hover-dur) var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .gm-hover-panel__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.72) 0%, rgba(6, 8, 14, 0.56) 42%, rgba(6, 8, 14, 0.44) 100%),
    linear-gradient(0deg, rgba(6, 8, 14, 0.34), transparent 48%);
  opacity: 0;
  transition: opacity var(--gm-hover-dur) var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .product-card__hover-sheet {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0.72rem 0.68rem 0.68rem;
  overflow: hidden;
}

body.global-market-body .product-card--global-market .gm-hover-panel__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.38rem;
  min-height: 0;
  overflow: hidden;
}

body.global-market-body .product-card--global-market .gm-hover-panel__body > * {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--gm-hover-ease),
    transform 0.4s var(--gm-hover-ease);
}

body.global-market-body .product-card--global-market .product-card__hover-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.global-market-body .product-card--global-market .product-card__hover-desc {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.global-market-body .product-card--global-market .product-card__hover-stats {
  gap: 0.26rem;
}

body.global-market-body .product-card--global-market .product-card__hover-stat {
  padding: 0.16rem 0.38rem;
}

body.global-market-body .product-card--global-market .product-card__hover-stat-label {
  font-size: 0.52rem;
}

body.global-market-body .product-card--global-market .product-card__hover-stat strong {
  font-size: 0.64rem;
}

body.global-market-body .product-card--global-market .product-card__hover-tag {
  font-size: 0.56rem;
  padding: 0.16rem 0.4rem;
}

body.global-market-body .product-card--global-market .product-card__hover-cta {
  margin-top: auto;
  padding: 0.48rem 0.72rem;
  font-size: 0.68rem;
  flex-shrink: 0;
}

@media (hover: hover) {
  body.global-market-body .product-card--global-market:has(.product-card-link:hover),
  body.global-market-body .product-card--global-market:has(.product-card-link:focus-visible) {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--accent-2) 42%, var(--glass-border));
    box-shadow:
      0 24px 54px color-mix(in srgb, var(--accent) 20%, transparent),
      0 12px 28px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__glow,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__glow {
    opacity: 0.85;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__shine,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__shine {
    transform: translateX(130%);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__frame,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__frame {
    opacity: 0.65;
  }

  /* Crossfade — sharp card fades as full-bleed blurred image takes over */
  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__visual,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__visual {
    filter: none;
    opacity: 0;
    transform: scale(1.01);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-card-pill-stack,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-card-pill-stack,
  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__visual-foot,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__visual-foot,
  body.global-market-body .product-card--global-market .product-card-link:hover .global-market-card__verified--top,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .global-market-card__verified--top {
    opacity: 0;
    transform: translateY(-3px);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__meta,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__meta,
  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__buybar,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__buybar {
    filter: blur(4px) saturate(0.85);
    opacity: 0.38;
    transform: scale(0.99);
  }

  body.global-market-body .product-card--global-market:has(.product-card-link:hover) .gm-card-footer,
  body.global-market-body .product-card--global-market:has(.product-card-link:focus-visible) .gm-card-footer {
    filter: blur(3.5px);
    opacity: 0.34;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-card-hover-veil,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-card-hover-veil {
    opacity: 1;
    backdrop-filter: blur(7px) saturate(1.08);
    -webkit-backdrop-filter: blur(7px) saturate(1.08);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__hover-panel,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__hover-panel {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    border-color: color-mix(in srgb, var(--accent-2) 42%, var(--glass-border));
    box-shadow:
      0 22px 48px color-mix(in srgb, var(--accent) 20%, transparent),
      0 0 0 1px color-mix(in srgb, var(--accent-2) 15%, transparent) inset;
    transition-delay: 0.04s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__hover-panel--has-backdrop .gm-hover-panel__backdrop,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__hover-panel--has-backdrop .gm-hover-panel__backdrop {
    opacity: 0.3;
    transform: scale(1.1);
    filter: blur(3px) saturate(1.16);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__scrim,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__scrim {
    opacity: 1;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > * {
    opacity: 1;
    transform: translateY(0);
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *:nth-child(1),
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > *:nth-child(1) {
    transition-delay: 0.1s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *:nth-child(2),
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > *:nth-child(2) {
    transition-delay: 0.14s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *:nth-child(3),
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > *:nth-child(3) {
    transition-delay: 0.18s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *:nth-child(4),
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > *:nth-child(4) {
    transition-delay: 0.22s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .gm-hover-panel__body > *:nth-child(5),
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .gm-hover-panel__body > *:nth-child(5) {
    transition-delay: 0.26s;
  }

  body.global-market-body .product-card--global-market .product-card-link:hover .product-card__hover-cta,
  body.global-market-body .product-card--global-market .product-card-link:focus-visible .product-card__hover-cta {
    transition-delay: 0.3s;
  }
}

@media (hover: none) {
  body.global-market-body .product-card--global-market .gm-card-hover-veil,
  body.global-market-body .product-card--global-market .product-card__hover-panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.global-market-body .product-card--global-market[data-gm-card].global-market-card--visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  body.global-market-body .product-card--global-market .product-card__visual,
  body.global-market-body .product-card--global-market .product-card__meta,
  body.global-market-body .product-card--global-market .product-card__buybar,
  body.global-market-body .product-card--global-market .gm-card-footer,
  body.global-market-body .product-card--global-market .gm-card-hover-veil,
  body.global-market-body .product-card--global-market .product-card__hover-panel,
  body.global-market-body .product-card--global-market .gm-hover-panel__backdrop,
  body.global-market-body .product-card--global-market .gm-hover-panel__scrim,
  body.global-market-body .product-card--global-market .gm-hover-panel__body > * {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ── Meta + buybar — hub spacing ── */
body.global-market-body .product-card--global-market .product-card__meta {
  padding: 0.72rem 0.85rem 0.12rem;
  gap: 0.38rem;
}

body.global-market-body .product-card--global-market .product-card__buybar {
  margin-top: auto;
  padding: 0.55rem 0.85rem 0.72rem;
}

body.global-market-body .product-card--global-market .product-card-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 65%, transparent);
  outline-offset: 3px;
  border-radius: calc(var(--radius) + 10px);
}

/* ── Seller footer — stacked, not squeezed ── */
body.global-market-body .product-card--global-market .gm-card-footer {
  flex-shrink: 0;
  display: grid;
  gap: 0.45rem;
  margin: 0 0.62rem 0.72rem;
  padding: 0.62rem 0.68rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid color-mix(in srgb, var(--glass-border) 70%, transparent);
  background: color-mix(in srgb, var(--text) 3%, rgba(6, 8, 14, 0.5));
}

body.global-market-body .product-card--global-market .gm-card-footer__seller {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

body.global-market-body .product-card--global-market .gm-card-footer__seller:hover .gm-card-footer__seller-name {
  color: var(--accent);
}

body.global-market-body .product-card--global-market .gm-card-footer__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 28%, transparent);
  overflow: hidden;
}

body.global-market-body .product-card--global-market .gm-card-footer__avatar--logo {
  background: rgba(8, 12, 22, 0.92);
  border-color: color-mix(in srgb, var(--glass-border) 80%, transparent);
}

body.global-market-body .product-card--global-market .gm-card-footer__avatar--logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.global-market-body .product-card--global-market .gm-card-footer__seller-copy {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  min-width: 0;
  flex: 1 1 auto;
}

body.global-market-body .product-card--global-market .gm-card-footer__seller-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.global-market-body .product-card--global-market .gm-card-footer__seller-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.global-market-body .product-card--global-market .gm-card-footer__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding-top: 0.1rem;
  border-top: 1px solid color-mix(in srgb, var(--glass-border) 55%, transparent);
}

body.global-market-body .product-card--global-market .gm-card-footer .global-market-card-trust {
  display: contents;
}

body.global-market-body .product-card--global-market .gm-card-footer .gm-card-stat {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 80%, transparent);
  background: color-mix(in srgb, var(--text) 4%, transparent);
  color: var(--text-muted);
  white-space: nowrap;
}

body.global-market-body .product-card--global-market .gm-card-footer .gm-card-stat--trust {
  color: color-mix(in srgb, #fbbf24 88%, var(--text));
  border-color: color-mix(in srgb, #fbbf24 32%, var(--glass-border));
  background: color-mix(in srgb, #fbbf24 10%, transparent);
}

body.global-market-body .product-card--global-market .gm-card-footer .gm-card-stat--views {
  font-variant-numeric: tabular-nums;
}

body.global-market-body .product-card--global-market .gm-card-footer .gm-card-contact--discord {
  font-size: 0.58rem;
  padding: 0.14rem 0.42rem;
  margin-left: auto;
}

body.global-market-body .global-market-board > .global-market-zero[hidden],
body.global-market-body .global-market-board > .hub-market-zero-match[hidden] {
  display: none !important;
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}

body.global-market-body .global-market-board > .global-market-zero:not([hidden]) {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem 2.5rem;
  box-sizing: border-box;
}

body.global-market-body .global-market-board > .global-market-zero:not([hidden]) .hub-market-zero-match__inner {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  text-align: center;
}

html[data-mantine-color-scheme="light"] body.global-market-body .product-card--global-market .gm-card-footer {
  background: color-mix(in srgb, var(--glass-bg-strong) 96%, #fff);
}

html[data-mantine-color-scheme="light"] body.global-market-body .product-card--global-market .gm-card-footer .gm-card-stat--trust {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}
