/**
 * WindMade.ca — Home + RFQ B2B surfaces (inherits Phase 1 tokens)
 */
/* —— Shared buttons —— */
.wm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--wm-font);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 0.7rem 1.15rem;
  border-radius: var(--wm-radius-sm);
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wm-btn--action {
  background: var(--wm-action);
  color: #fff !important;
  border-color: var(--wm-action);
}

.wm-btn--action:hover {
  background: var(--wm-action-dark);
  border-color: var(--wm-action-dark);
  color: #fff !important;
}

.wm-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.wm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.wm-btn--block {
  width: 100%;
}

.wm-home-link {
  color: var(--wm-trust) !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  white-space: nowrap;
}

.wm-home-link:hover {
  text-decoration: underline !important;
}

/* ===================== HOME ===================== */
.wm-home {
  font-family: var(--wm-font);
  color: var(--wm-ink);
  background: var(--wm-page);
}

.wm-home-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 52vh, 520px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #0b1622;
}

.wm-home-hero__plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 22, 34, 0.92) 0%, rgba(11, 22, 34, 0.78) 42%, rgba(200, 16, 46, 0.28) 100%),
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(200, 16, 46, 0.22), transparent 55%),
    linear-gradient(160deg, #0b1622 0%, #152536 55%, #1a3350 100%);
}

.wm-home-hero__plane::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
  animation: wm-grid-drift 18s linear infinite;
}

@keyframes wm-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 32px 16px, 16px 32px; }
}

.wm-home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0 3rem;
  max-width: 760px;
  animation: wm-rise 0.65s ease-out both;
}

@keyframes wm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.wm-home-hero__title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22ch;
  color: #fff !important;
}

.wm-home-hero__brand {
  margin: 0 0 0.85rem;
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff !important;
}

.wm-home-hero__logo,
.wm-home-hero__brand .wm-brand-logo {
  display: inline-flex;
  max-width: min(280px, 72vw);
}

.wm-home-hero__logo img,
.wm-home-hero__brand .wm-brand-logo img {
  max-height: 3.25rem;
  width: auto;
}

.wm-home-hero__lead {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 46ch;
}

.wm-home-search__tabs {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 0.65rem;
}

.wm-home-search__tabs button {
  background: none;
  border: 0;
  padding: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--wm-font);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.wm-home-search__tabs button.active {
  color: #fff;
  border-bottom-color: var(--wm-action);
}

.wm-home-search__form {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--wm-radius);
  overflow: hidden;
  border: 2px solid var(--wm-trust);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.wm-home-search__form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0.95rem 1rem;
  font-family: var(--wm-font);
  font-size: 0.95rem;
  color: var(--wm-ink);
}

.wm-home-search__cad {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.85rem;
  color: var(--wm-trust) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.8rem;
  border-left: 1px solid var(--wm-line);
  border-right: 1px solid var(--wm-line);
  white-space: nowrap;
}

.wm-home-search__cad:hover {
  background: var(--wm-trust-soft);
}

.wm-home-search__go {
  border: 0;
  background: var(--wm-trust);
  color: #fff;
  font-family: var(--wm-font);
  font-weight: 700;
  padding: 0 1.35rem;
  cursor: pointer;
}

.wm-home-search__go:hover {
  background: var(--wm-action-dark);
}

.wm-home-search__cta {
  display: block;
  margin-top: 1.15rem;
}

/* How buying works — dual path chooser */
.wm-path-chooser {
  width: 100%;
  text-align: left;
}

.wm-path-chooser__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.wm-path-chooser--hub .wm-path-chooser__eyebrow {
  color: var(--wm-muted, #5b6b7c);
}

.wm-path-chooser__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wm-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #0f1b2d !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wm-path-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 17, 31, 0.22);
  border-color: rgba(200, 16, 46, 0.35);
}

.wm-path-card--accent {
  border-color: rgba(200, 16, 46, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.wm-path-card__title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.wm-path-card__lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #5b6b7c;
}

.wm-path-card__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #c8102e;
}

.wm-path-chooser--hub .wm-path-card {
  background: var(--wm-page, #f5f7f9);
  border: 1px solid var(--wm-line, #d9e0e7);
  box-shadow: none;
}

.wm-path-chooser--hub .wm-path-card--accent {
  background: #fff;
  border-color: rgba(200, 16, 46, 0.35);
}

.wm-flow--chooser {
  display: grid;
  gap: 0.35rem;
  margin: 0.15rem 0 0.2rem;
  padding: 0;
  list-style: none;
}

.wm-flow--chooser .wm-flow__step {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.45rem;
  align-items: start;
}

.wm-flow--chooser .wm-flow__num {
  width: 1.15rem;
  height: 1.15rem;
  font-size: 0.68rem;
  line-height: 1.15rem;
  border-radius: 999px;
  background: #e8eef4;
  color: #1a2b3c;
  text-align: center;
  font-weight: 700;
}

.wm-flow--chooser .wm-flow__title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.wm-flow--chooser .wm-flow__body {
  display: block;
  font-size: 0.72rem;
  color: #6b7c8c;
  line-height: 1.3;
}

@media (max-width: 767.98px) {
  .wm-path-chooser__grid {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.wm-home-section {
  padding: 2.25rem 0;
}

.wm-home-section--tint {
  background: linear-gradient(180deg, #fff7f8 0%, var(--wm-page) 100%);
}

.wm-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.wm-home-head h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wm-home-head p {
  margin: 0.3rem 0 0;
  color: var(--wm-muted);
  font-size: 0.9rem;
}

/* Capability rail */
.wm-cap-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.wm-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--wm-ink) !important;
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  padding: 1rem 0.5rem 0.9rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.wm-cap:hover {
  border-color: var(--wm-trust);
  transform: translateY(-2px);
}

.wm-cap__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wm-trust-soft);
  color: var(--wm-trust);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.wm-cap strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Trending primary categories — image-led tiles */
.wm-trend-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.wm-trend-cat {
  display: flex;
  flex-direction: column;
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: calc(var(--wm-radius) + 2px);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.wm-trend-cat:hover {
  border-color: var(--wm-trust);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.08);
}

.wm-trend-cat--hot {
  border-color: color-mix(in srgb, var(--wm-trust) 28%, var(--wm-line));
}

.wm-trend-cat--hot .wm-trend-cat__body em {
  color: var(--wm-trust);
  font-weight: 700;
}

.wm-trend-cat__main {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  text-decoration: none !important;
  color: var(--wm-ink) !important;
  min-height: 0;
}

.wm-trend-cat__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2f6;
  overflow: hidden;
}

.wm-trend-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.wm-trend-cat:hover .wm-trend-cat__media img {
  transform: scale(1.04);
}

.wm-trend-cat__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wm-trust-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wm-trend-cat__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.wm-trend-cat__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.85rem 0.95rem 0.55rem;
}

.wm-trend-cat__body strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-trend-cat__body em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--wm-muted, #6b7280);
}

.wm-trend-cat__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.75rem;
  border-top: 1px solid var(--wm-line);
  font-size: 0.75rem;
  font-weight: 600;
}

.wm-trend-cat__actions a {
  text-decoration: none !important;
  color: var(--wm-ink) !important;
}

.wm-trend-cat__actions a:hover {
  color: var(--wm-trust) !important;
}

.wm-trend-cat__rfq {
  color: var(--wm-trust) !important;
}

/* RFQ band */
.wm-home-rfq-band {
  background: var(--wm-surface);
  border-block: 1px solid var(--wm-line);
  padding: 2rem 0;
}

.wm-home-rfq-band__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.wm-home-rfq-band__copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wm-home-rfq-band__copy > p {
  margin: 0 0 1rem;
  color: var(--wm-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 46ch;
}

.wm-home-rfq-band__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.wm-home-rfq-band__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.wm-home-rfq-band__steps span {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--wm-trust);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.wm-home-rfq-band__starters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.wm-home-rfq-band__starters a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  background: var(--wm-page);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius-sm);
  text-decoration: none !important;
  color: var(--wm-ink) !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wm-home-rfq-band__starters a:hover {
  border-color: var(--wm-trust);
  background: var(--wm-trust-soft);
}

.wm-home-rfq-band__starters strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.wm-home-rfq-band__starters span {
  color: var(--wm-action);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Product grid */
.wm-home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.wm-home-product-grid > * {
  min-width: 0;
}

/* Verified supplier cards — max 3-up; 1–2 cards expand to fill the row */
.wm-mfg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.wm-mfg-grid:has(> :nth-child(1):last-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 34rem;
}

.wm-mfg-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wm-mfg-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
  min-height: 100%;
  padding: 1.15rem 1.25rem;
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: calc(var(--wm-radius) + 2px);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wm-mfg-card:hover {
  border-color: color-mix(in srgb, var(--wm-trust) 55%, var(--wm-line));
  box-shadow: 0 10px 28px rgba(15, 23, 32, 0.08);
  transform: translateY(-2px);
}

.wm-mfg-card__logo {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  padding: 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid var(--wm-line);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.wm-mfg-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.wm-mfg-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.wm-mfg-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.wm-mfg-card__verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--wm-trust-soft, #fde8e8);
  color: var(--wm-trust, #c41e3a);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.wm-mfg-card__verified-pill i {
  font-size: 0.85rem;
  line-height: 1;
}

.wm-mfg-card__org-type {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.wm-mfg-card__name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--wm-ink);
}

.wm-mfg-card__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.wm-mfg-card__trust .wm-verified-badges {
  gap: 0.35rem;
}

.wm-mfg-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin-top: auto;
  padding-top: 0.55rem;
}

.wm-mfg-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.wm-mfg-card__products {
  color: var(--wm-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.wm-mfg-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--wm-ink);
}

.wm-mfg-card__rating i {
  color: #f5a623;
  font-size: 0.78rem;
}

.wm-mfg-card__rating span {
  color: var(--wm-muted);
  font-weight: 500;
}

.wm-mfg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wm-trust);
  font-size: 0.9rem;
  font-weight: 800;
}

.wm-mfg-card:hover .wm-mfg-card__cta i {
  transform: translateX(2px);
}

.wm-mfg-card__cta i {
  font-size: 0.92rem;
  transition: transform 0.15s ease;
}

/* Legacy hooks for older card markup elsewhere */
.wm-mfg-card__media {
  position: relative;
  flex: 0 0 auto;
}

.wm-mfg-card__media img {
  width: 140px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--wm-line);
  background: #fff;
  padding: 4px;
}

.wm-mfg-card__verify-mark {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--wm-line);
  box-shadow: 0 1px 4px rgba(15, 23, 32, 0.12);
  display: grid;
  place-items: center;
  z-index: 1;
}

.wm-mfg-card__verify-mark img {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.wm-mfg-card__title-row h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Trust strip */
.wm-home-trust {
  background: var(--wm-surface);
  border-top: 1px solid var(--wm-line);
  padding: 1.25rem 0;
}

.wm-home-trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.wm-home-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wm-ink);
}

.wm-home-trust i {
  color: var(--wm-trust);
  font-size: 1.1rem;
}

/* ===================== RFQ PAGE ===================== */
.wm-rfq {
  font-family: var(--wm-font);
  color: var(--wm-ink);
  background: var(--wm-page);
  min-height: 70vh;
}

.wm-rfq-hero {
  background:
    linear-gradient(105deg, #0b1622 0%, #152536 55%, #1a2030 100%);
  color: #fff;
  padding: 2.25rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--wm-brand, #c8102e);
}

.wm-rfq-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.28) 0%, transparent 68%);
  pointer-events: none;
}

.wm-rfq-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.wm-rfq-hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: wm-rise 0.55s ease-out both;
}

.wm-rfq-hero__brand {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.wm-rfq-hero__chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.wm-rfq-hero__target {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.wm-rfq-hero__target strong {
  color: #fff;
}

.wm-rfq--grower .wm-rfq-hero {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(74, 222, 128, 0.22), transparent 55%),
    linear-gradient(135deg, #14532d 0%, #166534 45%, #3f6212 100%) !important;
  border-bottom-color: #4ade80;
}

.wm-rfq--grower .wm-rfq-hero::before {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.28) 0%, transparent 68%);
}

.wm-rfq--grower .wm-rfq-hero__lead,
.wm-rfq--grower .wm-rfq-hero__target {
  color: rgba(255, 255, 255, 0.92);
}

.wm-rfq--grower .wm-rfq-hero__chip {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.wm-rfq--mixed .wm-rfq-hero {
  background:
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(200, 16, 46, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(34, 197, 94, 0.16), transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #14532d 48%, #1e293b 100%) !important;
  border-bottom-color: #86efac;
}

.wm-rfq-audience {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--wm-b2b-line, #e6e9ed);
  box-shadow: 0 8px 22px rgba(15, 23, 32, 0.05);
}

.wm-rfq-audience__label {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.wm-rfq-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.wm-rfq-audience__card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wm-rfq-audience__card i {
  font-size: 1.15rem;
  color: #166534;
  margin-bottom: 0.2rem;
}

.wm-rfq-audience__card:nth-child(3) i {
  color: #b91c1c;
}

.wm-rfq-audience__card strong {
  font-size: 0.9rem;
  color: #0f172a;
}

.wm-rfq-audience__card span {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
}

.wm-rfq-audience__card:hover,
.wm-rfq-audience__card.is-active {
  border-color: rgba(22, 101, 52, 0.35);
  background: #f0fdf4;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12);
}

.wm-rfq-audience__card:nth-child(3):hover {
  border-color: rgba(185, 28, 28, 0.35);
  background: #fef2f2;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.14);
}

@media (max-width: 767.98px) {
  .wm-rfq-audience__grid {
    grid-template-columns: 1fr;
  }
}

.wm-rfq-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff !important;
}

.wm-rfq-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 48ch;
}

.wm-rfq-body {
  padding: 1.5rem 0 3rem;
}

.wm-rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.wm-rfq-panel {
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  padding: 1.35rem 1.4rem 1.5rem;
  animation: wm-rise 0.6s ease-out 0.05s both;
}

.wm-rfq-panel__head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--wm-line);
}

.wm-rfq-panel__head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.wm-rfq-panel__head p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.88rem;
}

.wm-rfq-guest {
  background: var(--wm-trust-soft);
  border: 1px solid color-mix(in srgb, var(--wm-action) 22%, var(--wm-line));
  border-radius: var(--wm-radius-sm);
  padding: 1rem;
  margin-bottom: 1.15rem;
}

.wm-rfq-guest p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.wm-rfq-guest__hint {
  margin: 0.75rem 0 0 !important;
  color: var(--wm-muted);
  font-size: 0.78rem !important;
}

.wm-rfq-alert {
  border-radius: var(--wm-radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.wm-rfq-alert--ok {
  background: #e8f6ee;
  color: var(--wm-ok);
  border: 1px solid #b7e0c6;
}

.wm-rfq-alert--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.wm-rfq-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.wm-rfq-form--preview {
  opacity: 0.92;
}

.wm-rfq-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  padding: 1.35rem 1rem;
  margin-bottom: 1.1rem;
  border: 1.5px dashed color-mix(in srgb, var(--wm-action) 28%, var(--wm-line));
  border-radius: var(--wm-radius);
  background: #fffafb;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wm-rfq-drop:hover {
  border-color: var(--wm-trust);
  background: var(--wm-trust-soft);
}

.wm-rfq-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.wm-rfq-drop__icon {
  font-size: 1.6rem;
  color: var(--wm-trust);
  margin-bottom: 0.25rem;
}

.wm-rfq-drop strong {
  font-size: 0.92rem;
}

.wm-rfq-drop span:last-child {
  font-size: 0.78rem;
  color: var(--wm-muted);
}

.wm-rfq-field {
  margin-bottom: 0.95rem;
}

.wm-rfq-field label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.wm-rfq-field label em {
  color: var(--wm-action);
  font-style: normal;
}

.wm-rfq-field input,
.wm-rfq-field select,
.wm-rfq-field textarea {
  width: 100%;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius-sm);
  padding: 0.7rem 0.85rem;
  font-family: var(--wm-font);
  font-size: 0.9rem;
  color: var(--wm-ink);
  background: #fff;
  outline: none;
}

.wm-rfq-field input:focus,
.wm-rfq-field select:focus,
.wm-rfq-field textarea:focus {
  border-color: var(--wm-trust);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.wm-rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
}

.wm-rfq-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wm-ink);
  cursor: pointer;
}

.wm-rfq-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.wm-rfq-more {
  margin: 0.35rem 0 1rem;
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  background: var(--wm-page, #f5f7f9);
  overflow: hidden;
}

.wm-rfq-more__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wm-muted);
  user-select: none;
}

.wm-rfq-more__summary::-webkit-details-marker {
  display: none;
}

.wm-rfq-more__summary i {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.wm-rfq-more[open] .wm-rfq-more__summary i {
  transform: rotate(180deg);
}

.wm-rfq-more__body {
  padding: 0.15rem 0.9rem 0.85rem;
  border-top: 1px solid var(--wm-line);
  background: #fff;
}

.wm-rfq-submit {
  margin-top: 0.5rem;
  padding-top: 0.35rem;
}

.wm-rfq-submit__note {
  margin: 0.75rem 0 0;
  color: var(--wm-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.wm-rfq-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: wm-rise 0.6s ease-out 0.12s both;
}

.wm-rfq-aside__card {
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  padding: 1.15rem 1.2rem;
}

.wm-rfq-aside__card h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.wm-rfq-aside__card--link p {
  margin: 0 0 0.65rem;
  color: var(--wm-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.wm-rfq-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rfqstep;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wm-rfq-steps li {
  counter-increment: rfqstep;
  position: relative;
  padding-left: 2.1rem;
}

.wm-rfq-steps li::before {
  content: counter(rfqstep);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--wm-trust-soft);
  color: var(--wm-trust);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.wm-rfq-steps strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.wm-rfq-steps span {
  display: block;
  font-size: 0.8rem;
  color: var(--wm-muted);
  line-height: 1.4;
}

.wm-rfq-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wm-rfq-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.wm-rfq-benefits i {
  color: var(--wm-trust);
  margin-top: 0.1rem;
}

/* —— Responsive —— */
@media (max-width: 1199.98px) {
  .wm-home-product-grid,
  .wm-mfg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .wm-cap-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wm-trend-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-home-rfq-band__grid {
    grid-template-columns: 1fr;
  }

  .wm-home-product-grid,
  .wm-mfg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-home-trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-rfq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .wm-home-hero__inner {
    padding: 2rem 0 2.25rem;
  }

  .wm-trend-cats {
    grid-template-columns: 1fr;
  }

  .wm-home-search__form {
    flex-wrap: wrap;
  }

  .wm-home-search__form input[type="search"] {
    flex: 1 1 100%;
    border-bottom: 1px solid var(--wm-line);
  }

  .wm-home-search__cad {
    flex: 1;
    justify-content: center;
    border-left: 0;
    padding: 0.65rem;
  }

  .wm-home-search__go {
    flex: 1;
    padding: 0.75rem;
  }

  .wm-cap-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-home-rfq-band__starters {
    grid-template-columns: 1fr;
  }

  .wm-home-product-grid,
  .wm-mfg-grid,
  .wm-rfq-grid,
  .wm-home-trust ul {
    grid-template-columns: 1fr;
  }

  .wm-home-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legacy class hooks (header links / older partials) */
.wm-sourcing {
  font-family: var(--wm-font);
  color: var(--wm-ink);
  background: var(--wm-page);
}

.wm-btn-copper {
  background: var(--wm-action);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: var(--wm-radius-sm);
  padding: 0.85rem 1.25rem;
  width: 100%;
  font-family: var(--wm-font);
  cursor: pointer;
}

.wm-btn-copper:hover {
  background: var(--wm-action-dark);
  color: #fff;
}

/* ---- Phase 13: sourcing focus ---- */
.wm-home-search__form:focus-within {
  box-shadow: 0 0 0 3px var(--wm-brand-ring, rgba(200, 16, 46, 0.18));
}

.wm-rfq-drop:focus-within,
.wm-rfq-field input:focus-visible,
.wm-rfq-field textarea:focus-visible,
.wm-rfq-field select:focus-visible {
  outline: none;
  border-color: var(--wm-action) !important;
  box-shadow: 0 0 0 3px var(--wm-brand-ring, rgba(200, 16, 46, 0.18));
}

@media (prefers-reduced-motion: reduce) {
  .wm-home-hero__plane::after,
  .wm-rfq-hero .container,
  .wm-rfq-panel {
    animation: none !important;
  }
}
/* —— Shared 3-step quote flow —— */
.wm-flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wm-flow__step {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.wm-flow__num {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--wm-action);
  color: #fff;
}

.wm-flow__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--wm-ink);
  margin-bottom: 0.12rem;
}

.wm-flow__body {
  display: block;
  font-size: 0.78rem;
  color: var(--wm-muted);
  line-height: 1.4;
  font-weight: 500;
}

.wm-flow--drawer,
.wm-flow--panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wm-flow--drawer .wm-flow__step,
.wm-flow--panel .wm-flow__step {
  position: relative;
  padding-bottom: 0.15rem;
}

.wm-flow--drawer .wm-flow__step:not(:last-child)::after,
.wm-flow--panel .wm-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 1.7rem;
  bottom: -0.55rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.35), rgba(200, 16, 46, 0.05));
}

.wm-flow--band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.wm-flow--band .wm-flow__step {
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid var(--wm-line);
  background: var(--wm-page);
  min-height: 100%;
}

.wm-flow--band .wm-flow__num {
  background: var(--wm-ink);
}

.wm-rfq-aside__lead {
  margin: -0.15rem 0 0.85rem;
  color: var(--wm-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .wm-flow--band {
    grid-template-columns: 1fr;
  }
}

/* RFQ multi delivery locations */
.wm-rfq-destinations {
  margin: 0.35rem 0 1.1rem;
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: #fff;
}

.wm-rfq-destinations__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.wm-rfq-destinations__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wm-ink);
}

.wm-rfq-destinations__hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--wm-muted);
  line-height: 1.4;
  max-width: 46rem;
}

.wm-rfq-destinations__add,
.wm-rfq-destinations__add-saved {
  flex-shrink: 0;
  border: 1px solid var(--wm-ink);
  background: var(--wm-ink);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.wm-rfq-destinations__add-saved {
  background: #fff;
  color: var(--wm-ink);
}

.wm-rfq-destinations__saved {
  margin-bottom: 0.85rem;
}

.wm-rfq-destinations__saved label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.wm-rfq-destinations__saved-row {
  display: flex;
  gap: 0.5rem;
}

.wm-rfq-destinations__saved-row select {
  flex: 1;
  border: 1px solid var(--wm-line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
}

.wm-rfq-dest-card {
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem 0.35rem;
  background: var(--wm-page, #f5f7f9);
  margin-bottom: 0.75rem;
}

.wm-rfq-dest-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.wm-rfq-dest-card__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
}

.wm-rfq-dest-card__remove {
  border: 0;
  background: transparent;
  color: var(--wm-action, #c8102e);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}

.wm-rfq-dest-card__remove:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wm-rfq-dest-card__save {
  margin-top: 0.15rem;
}

.wm-rfq-field--full {
  grid-column: 1 / -1;
}

.wm-rfq-dest-display {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--wm-line);
}

.wm-rfq-dest-display h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.wm-rfq-dest-display__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.wm-rfq-dest-display__item {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--wm-line);
  border-radius: 8px;
  background: #fff;
}

.wm-rfq-dest-display__item strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
}

.wm-rfq-dest-display__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.wm-rfq-dest-display__badge,
.wm-rfq-dest-display__qty {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--wm-ink);
}

.wm-rfq-dest-display__badge {
  background: rgba(200, 16, 46, 0.1);
  color: var(--wm-action, #c8102e);
}

.wm-rfq-dest-display__sub {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--wm-muted);
}

@media (max-width: 767.98px) {
  .wm-rfq-destinations__head {
    flex-direction: column;
  }

  .wm-rfq-destinations__saved-row {
    flex-direction: column;
  }
}
