/* Marketplace board: hero, filter bar, and order cards.
   Loaded after styles.css so it can lean on the existing tokens (--surface, --accent…). */

.vb-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.6rem 1.75rem;
  color: #f3f7f6;
  background:
    radial-gradient(120% 140% at 8% 0%, #1d5c56 0%, transparent 55%),
    radial-gradient(120% 120% at 92% 10%, #274b6b 0%, transparent 60%),
    linear-gradient(135deg, #0d2b28 0%, #10222c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vb-hero::after {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(11, 107, 99, 0.55), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.vb-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.vb-hero p {
  margin: 0;
  color: rgba(243, 247, 246, 0.72);
  font-size: 0.92rem;
  max-width: 46ch;
}

.vb-hero-stats {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.vb-hero-stat b {
  display: block;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.vb-hero-stat span {
  font-size: 0.75rem;
  color: rgba(243, 247, 246, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vb-filters {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(180px, 2fr) repeat(auto-fit, minmax(130px, 1fr));
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.vb-filters .field > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vb-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}

.vb-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.vb-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 10px 26px -18px rgba(9, 30, 28, 0.55);
}

.vb-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vb-badge {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.vb-badge.photo {
  background: linear-gradient(135deg, #7a5c2e, #4a3418);
}

.vb-card-title {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  min-width: 0;
}

.vb-card-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.vb-price {
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.vb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.vb-tag {
  font-size: 0.72rem;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.vb-tag.kind {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
}

.vb-card-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.vb-card-foot .hint {
  font-size: 0.75rem;
}
