/* 仓储全国地图枢纽 wh-hub-* */
.wh-hub-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.wh-hub-hero {
  margin-bottom: 2rem;
}

.wh-hub-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--limin-muted, #64748b);
  margin: 0 0 0.5rem;
}

.wh-hub-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.wh-hub-hero__lede {
  color: var(--limin-muted, #475569);
  max-width: 52rem;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.wh-hub-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.wh-hub-stats div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.wh-hub-stats dt {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.wh-hub-stats dd {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.25rem 0 0;
}

.wh-hub-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wh-hub-map-section {
  margin-bottom: 2rem;
}

.wh-hub-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wh-hub-map-toolbar h2 {
  margin: 0;
  font-size: 1.25rem;
}

.wh-hub-metal-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.wh-hub-map {
  min-height: 420px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}

.wh-hub-map-hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.wh-hub-featured,
.wh-hub-steps,
.wh-hub-seller {
  margin-bottom: 2rem;
}

.wh-hub-featured h2,
.wh-hub-steps h2,
.wh-hub-seller h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.wh-hub-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.wh-hub-featured__card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}

.wh-hub-featured__title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.wh-hub-featured__meta,
.wh-hub-featured__price {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #475569;
}

.wh-hub-steps__list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: #334155;
}

.wh-hub-footer {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.wh-hub-map-wrap {
  position: relative;
}

.wh-hub-map-wrap.is-loading .wh-hub-map {
  opacity: 0.45;
  pointer-events: none;
}

.wh-hub-map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.75rem;
  pointer-events: none;
}

.wh-hub-map-empty a {
  pointer-events: auto;
}

.wh-hub-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.wh-hub-breadcrumb__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.wh-hub-featured__price {
  margin: 0.35rem 0 0;
}

.wh-hub-featured__cta {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.wh-hub-metal-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.wh-hub-metal-preset {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.wh-hub-metal-preset.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.wh-hub-metal-custom {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.wh-hub-province-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.wh-hub-province-chips__label {
  font-size: 0.8rem;
  color: #64748b;
}

.wh-hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.8rem;
  text-decoration: none;
  color: #0f172a;
}

.wh-hub-chip:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.wh-hub-chip.is-active {
  border-color: #1d4ed8;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.wh-hub-chip__n {
  background: #e2e8f0;
  border-radius: 999px;
  padding: 0 0.4rem;
  font-size: 0.75rem;
}

.wh-slot-nav {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.wh-slot-nav__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.wh-slot-nav > span:not(.wh-slot-nav__sep) {
  color: #0f172a;
}

.wh-market-filter-summary {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .wh-hub-map {
    min-height: 320px;
  }
}
