/**
 * WindMade.ca — B2B product surfaces (inherits Phase 1 tokens)
 */
/* —— Badge kit —— */
.wm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--wm-b2b-font);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.28rem 0.45rem;
  border-radius: var(--wm-b2b-radius-sm);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.wm-badge--promo {
  background: var(--wm-b2b-promo);
  color: #fff;
}

.wm-badge--featured,
.wm-badge--deal {
  background: var(--wm-b2b-featured);
  color: #fff;
}

.wm-badge--deal {
  background: var(--wm-b2b-deal);
}

.wm-badge--discount {
  background: #fff1e8;
  color: var(--wm-b2b-discount);
  border: 1px solid #ffd7bf;
}

.wm-badge--capability {
  background: #e6f5f3;
  color: var(--wm-b2b-capability);
}

.wm-badge--verified {
  background: var(--wm-b2b-trust-soft);
  color: var(--wm-b2b-action);
  padding-inline: 0.4rem;
}

.wm-badge--verified i {
  font-size: 0.75rem;
}

.wm-badge--certified {
  background: #f1f3f5;
  color: #334155;
}

.wm-badge--escrow {
  background: var(--wm-b2b-ok-soft);
  color: var(--wm-b2b-ok);
}

.wm-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0.35rem;
}

/* —— CTA pair —— */
.wm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--wm-b2b-font);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wm-cta--primary {
  background: var(--wm-b2b-action);
  color: #fff !important;
}

.wm-cta--primary:hover {
  background: var(--wm-b2b-action-dark);
  color: #fff !important;
}

.wm-cta--secondary {
  background: #fff;
  color: var(--wm-b2b-ink) !important;
  border-color: #cfd5dc;
}

.wm-cta--secondary:hover {
  border-color: var(--wm-b2b-ink);
  color: var(--wm-b2b-ink) !important;
}

.wm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.wm-cta-row .wm-cta {
  flex: 1 1 auto;
  min-width: 6.5rem;
}

/* —— Styleguide strip —— */
.wm-b2b-styleguide {
  font-family: var(--wm-b2b-font);
  background: var(--wm-b2b-page);
  border: 1px solid var(--wm-b2b-line);
  border-radius: var(--wm-b2b-radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.wm-b2b-styleguide__title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wm-b2b-muted);
  margin: 0 0 0.75rem;
}

.wm-b2b-styleguide__section + .wm-b2b-styleguide__section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--wm-b2b-line);
}

.wm-b2b-styleguide__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wm-b2b-muted);
  margin-bottom: 0.5rem;
}

.wm-b2b-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wm-b2b-swatch {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--wm-b2b-line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* —— Phase 1: B2B product card —— */
.wm-b2b-card {
  font-family: var(--wm-b2b-font);
  background: var(--wm-b2b-surface);
  border: 1px solid var(--wm-b2b-line);
  border-radius: var(--wm-b2b-radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  cursor: pointer;
}

.wm-b2b-card:hover {
  border-color: #c8d0d8;
  box-shadow: 0 8px 24px rgba(15, 23, 32, 0.08);
}

.wm-b2b-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafbfc;
  border-bottom: 1px solid var(--wm-b2b-line);
  overflow: hidden;
}

.wm-b2b-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.wm-b2b-card__actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.wm-b2b-card:hover .wm-b2b-card__actions {
  opacity: 1;
  transform: none;
}

.wm-b2b-card__action {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--wm-b2b-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wm-b2b-ink);
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 32, 0.08);
}

.wm-b2b-card__action:hover {
  border-color: var(--wm-b2b-ink);
  color: var(--wm-b2b-ink);
}

.wm-b2b-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem 0.9rem;
  flex: 1;
}

.wm-b2b-card__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wm-b2b-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
}

.wm-b2b-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.wm-b2b-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--wm-b2b-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wm-b2b-card__price del {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wm-b2b-muted);
  margin-right: 0.35rem;
}

.wm-b2b-card__moq {
  font-size: 0.75rem;
  color: var(--wm-b2b-muted);
  margin: 0;
}

.wm-b2b-card__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.72rem;
  color: var(--wm-b2b-muted);
  margin-top: 0.15rem;
}

.wm-b2b-card__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.wm-b2b-card__trust-item--rating {
  color: var(--wm-b2b-ink);
  font-weight: 600;
}

.wm-b2b-card__trust-item--rating i {
  color: var(--wm-b2b-star);
  font-size: 0.7rem;
}

.wm-b2b-card__flag {
  width: 1rem;
  height: 0.75rem;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid var(--wm-b2b-line);
}

.wm-flag {
  display: inline-block;
  vertical-align: -2px;
  width: auto;
  height: auto;
  max-height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 32, 0.08);
}

.wm-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 700;
}

.wm-flag-chip__code {
  letter-spacing: 0.02em;
}

.wm-mfr-card__origin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.wm-b2b-card__value {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.15rem;
}

.wm-b2b-card__value-line {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--wm-b2b-ok);
  font-weight: 500;
}

.wm-b2b-card__value-line i {
  font-size: 0.75rem;
}

.wm-b2b-card__supplier {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wm-b2b-action) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-b2b-card__supplier:hover {
  color: #0b5ed7 !important;
}

.wm-b2b-card .wm-cta-row {
  margin-top: auto;
  padding-top: 0.55rem;
}

.wm-b2b-card--compact .wm-b2b-card__title {
  font-size: 0.8125rem;
  -webkit-line-clamp: 2;
}

.wm-b2b-card--compact .wm-b2b-card__price {
  font-size: 0.95rem;
}

.wm-b2b-card--compact .wm-cta {
  padding: 0.55rem 0.7rem;
  font-size: 0.75rem;
}

.wm-b2b-card--compact .wm-b2b-card__value {
  display: none;
}

/* List view adaptation */
.product-list-view .wm-b2b-card {
  flex-direction: row;
  min-height: 11rem;
}

.product-list-view .wm-b2b-card__media {
  width: 11rem;
  flex: 0 0 11rem;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--wm-b2b-line);
}

.product-list-view .wm-b2b-card__body {
  flex: 1;
}

@media (max-width: 575.98px) {
  .wm-b2b-card__actions {
    opacity: 1;
    transform: none;
  }

  .wm-cta-row {
    flex-direction: column;
  }

  .product-list-view .wm-b2b-card {
    flex-direction: column;
  }

  .product-list-view .wm-b2b-card__media {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 1 / 1;
    border-right: 0;
    border-bottom: 1px solid var(--wm-b2b-line);
  }
}

/* Slightly denser grid for B2B cards */
#filtered-products.auto-col {
  --maxWidth: 16rem;
}

/* —— Phase 2: PDP 3-column shell —— */
.wm-pdp {
  font-family: var(--wm-b2b-font);
  color: var(--wm-b2b-ink);
  background: var(--wm-b2b-page);
  padding: 1rem 0 2.5rem;
}

.wm-pdp__grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) minmax(280px, 340px);
  grid-template-areas:
    "gallery supplier buybox"
    "main main buybox";
  gap: 1rem;
  align-items: start;
}

.wm-pdp__gallery { grid-area: gallery; }
.wm-pdp__supplier { grid-area: supplier; }
.wm-pdp__main { grid-area: main; }
.wm-pdp__buybox-wrap { grid-area: buybox; }

.wm-pdp__grid > * {
  min-width: 0;
}

.wm-pdp__panel {
  background: var(--wm-b2b-surface);
  border: 1px solid var(--wm-b2b-line);
  border-radius: var(--wm-b2b-radius);
  padding: 1rem;
}

.wm-pdp__gallery .pd-img-wrap {
  margin: 0;
  height: auto;
  max-width: 100%;
}

.wm-pdp__gallery .quickviewSlider2 {
  border-radius: var(--wm-b2b-radius) !important;
  width: 100%;
  max-width: 100%;
}

.wm-pdp__gallery .quickviewSlider2,
.product-quickview .quickviewSlider2 {
  background: #fff;
}

.wm-pdp__gallery .quickviewSlider2 .swiper-slide,
.product-quickview .quickviewSlider2 .swiper-slide {
  background: #fff;
}

.wm-pdp__gallery .quickviewSlider2 .swiper-slide .easyzoom,
.wm-pdp__gallery .quickviewSlider2 .swiper-slide .easyzoom > a,
.product-quickview .quickviewSlider2 .swiper-slide .easyzoom,
.product-quickview .quickviewSlider2 .swiper-slide .easyzoom > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wm-pdp__gallery .quickviewSlider2 .swiper-slide img:not(.svg),
.product-quickview .quickviewSlider2 .swiper-slide img:not(.svg),
.wm-pdp__gallery .quickviewSliderThumb2 .swiper-slide img,
.product-quickview .quickviewSliderThumb2 .swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.wm-variation-photo-sticky {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
}

.product-details-sticky-bottom .media {
  align-items: center;
  min-width: 0;
}

.wm-pdp__supplier {
  margin-top: 0;
  height: 100%;
}

.wm-pdp-supplier {
  border: 1px solid #d7e6fb;
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 55%);
  border-radius: var(--wm-b2b-radius);
  padding: 0.85rem;
}

.wm-pdp-supplier__head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.wm-pdp-supplier__logo {
  width: 132px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--wm-b2b-line);
  background: #fff;
  flex: 0 0 auto;
  padding: 4px;
}

.wm-pdp-supplier__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.wm-pdp-supplier__name a {
  color: var(--wm-b2b-action) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.wm-pdp-supplier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--wm-b2b-muted);
}

.wm-pdp-supplier__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.55rem;
  background: #f3f5f7;
  border-radius: 8px;
}

.wm-pdp-supplier__metric strong {
  display: block;
  font-size: 0.85rem;
  color: var(--wm-b2b-ink);
}

.wm-pdp-supplier__metric span {
  font-size: 0.65rem;
  color: var(--wm-b2b-muted);
}

.wm-pdp-supplier__actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.wm-pdp-supplier__actions .wm-cta {
  flex: 1;
  padding: 0.55rem 0.6rem;
  font-size: 0.75rem;
}

.wm-pdp__header .wm-pdp-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.wm-pdp__header .wm-pdp-reviewline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--wm-b2b-muted);
  margin-bottom: 0.75rem;
}

.wm-pdp__header .wm-pdp-reviewline button {
  border: 0;
  background: none;
  color: var(--wm-b2b-action);
  font-weight: 600;
  padding: 0;
}

.wm-pdp__buybox-wrap {
  position: sticky;
  top: 1rem;
}

.wm-pdp-buybox {
  border: 1px solid var(--wm-b2b-line);
  border-radius: var(--wm-b2b-radius);
  background: #fff;
  overflow: hidden;
}

.wm-pdp-buybox__promo {
  background: linear-gradient(90deg, var(--wm-action) 0%, var(--wm-brand-dark) 55%, var(--wm-brand-soft) 100%);
  color: #fff;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.wm-pdp-buybox__promo span {
  opacity: 0.95;
  font-weight: 600;
}

.wm-pdp-buybox__body {
  padding: 0.9rem;
}

.wm-pdp-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.wm-pdp-tier {
  border: 1px solid var(--wm-b2b-line);
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.wm-pdp-tier__price {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wm-b2b-ink);
}

.wm-pdp-tier__qty {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  color: var(--wm-b2b-muted);
  line-height: 1.2;
}

.wm-pdp-buybox .product_title,
.wm-pdp-buybox .wm-pdp-buybox-hide-title {
  display: none !important;
}

.wm-pdp-buybox .product-add-and-buy-section {
  display: none !important;
}

.wm-pdp-buybox__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.wm-pdp-buybox__ctas .wm-cta {
  width: 100%;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

.wm-pdp-buybox__note {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: var(--wm-b2b-muted);
  line-height: 1.4;
}

.wm-pdp-buybox__custom {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--wm-b2b-line);
}

.wm-pdp-buybox__custom h4 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wm-pdp-buybox__custom ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.75rem;
  color: var(--wm-b2b-muted);
}

.wm-pdp-tabs .nav--tabs {
  justify-content: flex-start !important;
  gap: 0.25rem !important;
  border-bottom: 1px solid var(--wm-b2b-line);
  padding-bottom: 0;
}

.wm-pdp-tabs .tab_link {
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0.65rem 0.85rem !important;
  margin: 0;
  color: var(--wm-b2b-muted);
  font-weight: 600;
  position: relative;
}

.wm-pdp-tabs .tab_link.active {
  color: var(--wm-b2b-ink) !important;
}

.wm-pdp-tabs .tab_link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: -1px;
  height: 2px;
  background: var(--wm-b2b-ink);
}

.wm-pdp-attr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--wm-b2b-line);
  border-radius: 8px;
  overflow: hidden;
}

.wm-pdp-attr {
  display: grid;
  grid-template-columns: 42% 58%;
  border-bottom: 1px solid var(--wm-b2b-line);
  border-right: 1px solid var(--wm-b2b-line);
  font-size: 0.8125rem;
}

.wm-pdp-attr:nth-child(2n) {
  border-right: 0;
}

.wm-pdp-attr:nth-last-child(-n+2) {
  border-bottom: 0;
}

.wm-pdp-attr dt {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #f7f8fa;
  color: var(--wm-b2b-muted);
  font-weight: 500;
}

.wm-pdp-attr dd {
  margin: 0;
  padding: 0.65rem 0.75rem;
  color: var(--wm-b2b-ink);
  font-weight: 600;
}

.wm-pdp__below {
  margin-top: 1rem;
}

@media (max-width: 1199.98px) {
  .wm-pdp__grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(260px, 300px);
  }
}

@media (max-width: 991.98px) {
  .wm-pdp__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "supplier"
      "buybox"
      "main";
  }

  .wm-pdp__buybox-wrap {
    position: static;
  }

  .wm-pdp-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wm-pdp-attr-grid {
    grid-template-columns: 1fr;
  }

  .wm-pdp-attr {
    grid-template-columns: 40% 60%;
    border-right: 0;
  }

  .wm-pdp-attr:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--wm-b2b-line);
  }

  .wm-pdp-attr:last-child {
    border-bottom: 0;
  }
}

/* —— Phase 3: buybox freight / protection / tier UX —— */
.wm-pdp-tier {
  cursor: pointer;
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wm-pdp-tier:hover {
  border-color: #ffb380;
}

.wm-pdp-tier.is-active {
  border-color: var(--wm-b2b-action);
  background: #fff7f0;
  box-shadow: inset 0 0 0 1px var(--wm-b2b-action);
}

.wm-pdp-tier-hint {
  font-size: 0.68rem;
  color: var(--wm-b2b-muted);
  margin: 0 0 0.65rem;
}

.wm-pdp-buybox__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.wm-pdp-buybox__section-head h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.wm-pdp-buybox__section-head a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-b2b-action) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.wm-pdp-buybox__freight,
.wm-pdp-buybox__protection {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--wm-b2b-line);
}

.wm-pdp-buybox__freight-list,
.wm-pdp-buybox__protection ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wm-pdp-buybox__freight-list li,
.wm-pdp-buybox__protection li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.72rem;
  color: var(--wm-b2b-muted);
  line-height: 1.35;
}

.wm-pdp-buybox__freight-list i,
.wm-pdp-buybox__protection i {
  color: var(--wm-b2b-action);
  font-size: 0.9rem;
  margin-top: 0.05rem;
  flex: 0 0 auto;
}

.wm-pdp-buybox__modes {
  list-style: none;
  margin: 0.55rem 0 0.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.wm-pdp-buybox__modes li {
  margin: 0;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--wm-b2b-ink);
  background: color-mix(in srgb, var(--wm-b2b-trust) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--wm-b2b-trust) 28%, transparent);
}

.wm-pdp-buybox__protection h4 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.wm-pdp-buybox__protection strong {
  color: var(--wm-b2b-ink);
}

.wm-pdp-buybox__cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--wm-b2b-muted);
  font-family: var(--wm-b2b-font);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.wm-pdp-buybox__cart-link:hover {
  color: var(--wm-b2b-ink);
}

/* Soften legacy total/qty chrome inside B2B buybox */
.wm-pdp-buybox .bg-light.w-100.rounded {
  background: #f7f8fa !important;
  border: 1px solid var(--wm-b2b-line);
}

.wm-pdp-buybox .product-details-chosen-price-amount {
  color: var(--wm-b2b-ink) !important;
  font-weight: 800;
}

/* —— Phase 4: Manufacture/Supplier trust card —— */
.wm-mfg-card {
  font-family: var(--wm-b2b-font);
  border: 1px solid #d6e4f7;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 42%);
  border-radius: var(--wm-b2b-radius);
  padding: 0.9rem;
}

.wm-mfg-card--expanded {
  padding: 1.1rem 1.15rem 1.2rem;
}

.wm-mfg-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.wm-mfg-card__logo {
  width: 148px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--wm-b2b-line);
  background: #fff;
  flex: 0 0 auto;
  padding: 4px;
}

.wm-mfg-card--expanded .wm-mfg-card__logo {
  width: 168px;
  height: 72px;
}

.wm-mfg-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.wm-mfg-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.wm-mfg-card__name a {
  color: var(--wm-b2b-action) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.wm-mfg-card__verified-by {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: var(--wm-b2b-muted);
}

.wm-mfg-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--wm-b2b-muted);
}

.wm-mfg-card__meta i {
  color: var(--wm-b2b-action);
}

.wm-mfg-card__rank {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: #fff4e8;
  color: #b45309;
  font-size: 0.7rem;
  font-weight: 700;
}

.wm-mfg-card__rank i {
  color: #f59e0b;
}

.wm-mfg-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding: 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e4ebf5;
}

.wm-mfg-card--expanded .wm-mfg-card__metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wm-mfg-card__metric strong {
  display: block;
  font-size: 0.88rem;
  color: var(--wm-b2b-ink);
  letter-spacing: -0.02em;
}

.wm-mfg-card__metric span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.62rem;
  color: var(--wm-b2b-muted);
  line-height: 1.25;
}

.wm-mfg-card__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.wm-mfg-card__cap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4f91;
  font-size: 0.68rem;
  font-weight: 600;
}

.wm-mfg-card__cap i {
  color: var(--wm-b2b-action);
}

.wm-mfg-card__markets {
  margin-top: 0.75rem;
}

.wm-mfg-card__markets-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wm-b2b-ink);
  margin-bottom: 0.35rem;
}

.wm-mfg-card__markets-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef1f4;
}

.wm-mfg-card__markets-seg--0 { background: var(--wm-action); }
.wm-mfg-card__markets-seg--1 { background: #f0a202; }
.wm-mfg-card__markets-seg--2 { background: #f6d55c; }
.wm-mfg-card__markets-seg--3 { background: #cfd6dd; }

.wm-mfg-card__markets-legend {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  font-size: 0.65rem;
  color: var(--wm-b2b-muted);
}

.wm-mfg-card__dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.wm-mfg-card__dot--0 { background: var(--wm-action); }
.wm-mfg-card__dot--1 { background: #f0a202; }
.wm-mfg-card__dot--2 { background: #f6d55c; }
.wm-mfg-card__dot--3 { background: #cfd6dd; }

.wm-mfg-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e4ebf5;
}

.wm-mfg-card__stats strong {
  display: block;
  font-size: 0.95rem;
  color: var(--wm-b2b-ink);
}

.wm-mfg-card__stats span {
  font-size: 0.65rem;
  color: var(--wm-b2b-muted);
}

.wm-mfg-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.wm-mfg-card__actions .wm-cta {
  flex: 1 1 auto;
  min-width: 6.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.75rem;
}

.wm-mfg-card--compact .wm-mfg-card__markets-legend {
  gap: 0.2rem 0.55rem;
}

.wm-mfg-card--compact .wm-mfg-card__actions .wm-cta:nth-child(2) {
  display: none;
}

@media (max-width: 991.98px) {
  .wm-mfg-card--expanded .wm-mfg-card__metrics,
  .wm-mfg-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Phase 5: attributes / packaging / lead time / certificates —— */
.wm-specs {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.wm-specs__block {
  min-width: 0;
}

.wm-specs__title,
.wm-specs__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wm-b2b-ink);
  letter-spacing: -0.01em;
}

.wm-specs__toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.wm-specs__toggle i {
  font-size: 0.9rem;
  color: var(--wm-b2b-muted);
  transition: transform 0.15s ease;
}

.wm-specs__toggle[aria-expanded="false"] i {
  transform: rotate(-90deg);
}

.wm-specs__title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.wm-specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--wm-b2b-line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.8125rem;
}

.wm-specs-table th,
.wm-specs-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--wm-b2b-line);
  vertical-align: top;
}

.wm-specs-table tr:last-child th,
.wm-specs-table tr:last-child td {
  border-bottom: 0;
}

.wm-specs-table thead th {
  background: #f7f8fa;
  font-weight: 700;
  color: var(--wm-b2b-ink);
  text-align: left;
}

.wm-specs-table tbody th {
  width: 38%;
  background: #f7f8fa;
  color: var(--wm-b2b-muted);
  font-weight: 500;
  text-align: left;
}

.wm-specs-table tbody td {
  color: var(--wm-b2b-ink);
  font-weight: 600;
}

.wm-specs__note {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--wm-b2b-muted);
  line-height: 1.4;
}

.wm-specs-certs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.wm-specs-cert {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem;
  border-radius: 10px;
  background: #f3f7fb;
  border: 1px solid #e1ebf5;
}

.wm-specs-cert__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d7e4f2;
  color: var(--wm-b2b-action);
  flex: 0 0 auto;
}

.wm-specs-cert__code {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--wm-b2b-action);
  text-transform: uppercase;
}

.wm-specs-cert__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wm-b2b-ink);
}

.wm-specs-cert__blurb {
  font-size: 0.7rem;
  color: var(--wm-b2b-muted);
  line-height: 1.35;
}

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

  .wm-specs-table tbody th {
    width: 42%;
  }
}

/* —— Phase 6: reviews —— */
.wm-reviews {
  font-family: var(--wm-b2b-font);
}

.wm-reviews__subtabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--wm-b2b-line);
  margin-bottom: 1rem;
}

.wm-reviews__subtab {
  border: 0;
  background: transparent;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wm-b2b-muted);
  position: relative;
  cursor: pointer;
}

.wm-reviews__subtab.is-active {
  color: var(--wm-b2b-ink);
}

.wm-reviews__subtab.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: -1px;
  height: 2px;
  background: var(--wm-b2b-ink);
}

.wm-reviews__scorehead {
  margin-bottom: 1rem;
}

.wm-reviews__scorebig {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wm-reviews__scorebig strong {
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wm-reviews__stars {
  color: var(--wm-b2b-star);
  display: inline-flex;
  gap: 0.1rem;
}

.wm-reviews__stars--sm {
  font-size: 0.75rem;
}

.wm-reviews__subscores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--wm-b2b-muted);
}

.wm-reviews__subscores strong {
  color: var(--wm-b2b-ink);
}

.wm-reviews__based {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--wm-b2b-muted);
}

.wm-reviews__verified {
  color: var(--wm-b2b-ok);
  font-weight: 700;
}

.wm-reviews__ai {
  background: #fff6ef;
  border: 1px solid #ffd7bf;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
}

.wm-reviews__ai-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #a50d25;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}

.wm-reviews__ai ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--wm-b2b-ink);
  line-height: 1.45;
}

.wm-reviews__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.wm-reviews__chip {
  border: 1px solid var(--wm-b2b-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wm-b2b-ink);
  cursor: pointer;
}

.wm-reviews__chip.is-active,
.wm-reviews__chip:hover {
  border-color: var(--wm-b2b-ink);
  background: #f3f5f7;
}

.wm-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wm-reviews__card {
  border: 1px solid var(--wm-b2b-line);
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
}

.wm-reviews__card-head {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.wm-reviews__avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #fff0f2;
  color: var(--wm-b2b-action);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.wm-reviews__who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.wm-reviews__card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--wm-b2b-muted);
  align-items: center;
}

.wm-reviews__tag {
  background: #f3f5f7;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.wm-reviews__comment {
  font-size: 0.84rem;
  color: var(--wm-b2b-ink);
  line-height: 1.45;
}

.wm-reviews__photo-pill {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--wm-b2b-action);
}

.wm-reviews__reply {
  margin-top: 0.65rem;
  padding: 0.65rem;
  border-radius: 8px;
  background: #f3f8ff;
  font-size: 0.78rem;
}

.wm-reviews__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--wm-b2b-muted);
}

/* —— Phase 7: Know your supplier + OEM banner —— */
.wm-know-supplier {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wm-know-supplier__intro {
  margin-bottom: 0.15rem;
}

.wm-know-supplier__heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wm-know-supplier__sub {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--wm-b2b-muted);
}

.wm-know-supplier__overview,
.wm-know-supplier__qc {
  border: 1px solid #d6e4f7;
  background: #f5f9ff;
  border-radius: var(--wm-b2b-radius);
  padding: 1rem;
}

.wm-know-supplier__overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wm-know-supplier__overview-head h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.wm-know-supplier__overview-head a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-b2b-action) !important;
  text-decoration: underline !important;
}

.wm-know-supplier__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  padding: 0.85rem;
}

.wm-know-supplier__kpis span {
  display: block;
  font-size: 0.68rem;
  color: var(--wm-b2b-muted);
  margin-bottom: 0.15rem;
}

.wm-know-supplier__kpis strong {
  display: block;
  font-size: 0.95rem;
  color: var(--wm-b2b-ink);
  letter-spacing: -0.02em;
}

.wm-know-supplier__markets {
  margin-top: 0.9rem;
}

.wm-know-supplier__markets h5 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.wm-know-supplier__qc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

.wm-know-supplier__qc-list li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--wm-b2b-ink);
}

.wm-know-supplier__qc-list i {
  color: var(--wm-b2b-action);
  margin-top: 0.1rem;
}

.wm-know-supplier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wm-know-supplier__actions .wm-cta {
  min-width: 9rem;
}

.wm-oem-banner {
  border-radius: var(--wm-b2b-radius);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.88) 0%, rgba(26, 43, 60, 0.72) 55%, rgba(228, 87, 46, 0.35) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
    #1a2b3c;
  color: #fff;
  margin-bottom: 0.25rem;
}

.wm-oem-banner__inner {
  padding: 1.35rem 1.25rem 1.2rem;
}

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

.wm-oem-banner__title {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffe08a;
}

.wm-oem-banner__blurb {
  margin: 0;
  max-width: 42rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.wm-oem-banner__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.wm-oem-banner--grower .wm-oem-banner__metrics {
  grid-template-columns: repeat(2, minmax(0, 14rem));
  max-width: 32rem;
}

.wm-oem-banner__metric {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.wm-oem-banner__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #ffe08a;
  color: #1a2b3c;
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.5rem;
  line-height: 0;
  overflow: hidden;
}

.wm-oem-banner__icon i {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  speak: never;
}

.wm-oem-banner__icon i::before {
  display: block;
  line-height: 1;
  vertical-align: middle;
}

.wm-oem-banner__metric-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}

.wm-oem-banner__metric-copy strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.wm-oem-banner__metric-copy span {
  display: block;
  font-size: 0.65rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wm-oem-desc {
  margin: 1rem 0 0.35rem;
}

.wm-oem-desc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wm-oem-desc__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.wm-oem-desc__report {
  border: 0;
  background: transparent;
  color: var(--wm-b2b-muted);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}

.wm-oem-desc__rec {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wm-b2b-ink);
}

@media (max-width: 991.98px) {
  .wm-know-supplier__kpis,
  .wm-oem-banner__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-know-supplier__qc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .wm-oem-banner__metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Phase 8: B2B footer / trust rail —— */
.wm-footer {
  font-family: var(--wm-b2b-font);
  background: #fff;
  color: var(--wm-b2b-ink);
  border-top: 1px solid var(--wm-b2b-line);
  margin-top: 2rem;
}

.wm-footer__main {
  padding: 2.25rem 0 1.5rem;
}

.wm-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.wm-footer__title {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--wm-b2b-ink);
}

.wm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wm-footer__links a {
  color: #4b5563 !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  line-height: 1.35;
}

.wm-footer__links a:hover {
  color: var(--wm-b2b-ink) !important;
  text-decoration: underline !important;
}

.wm-footer__social {
  margin-top: 1.1rem;
}

.wm-footer__social > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.wm-footer__social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wm-footer__social a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--wm-b2b-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wm-b2b-ink) !important;
  text-decoration: none !important;
}

.wm-footer__social a:hover {
  border-color: var(--wm-b2b-ink);
}

.wm-footer__trust {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wm-b2b-line);
}

.wm-footer__trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wm-b2b-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wm-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wm-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--wm-b2b-action) 18%, var(--wm-b2b-line));
  border-radius: 8px;
  background: var(--wm-b2b-trust-soft);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--wm-b2b-ink);
}

.wm-footer__badge i {
  color: var(--wm-b2b-action);
}

.wm-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.wm-footer__apps img {
  height: 2.25rem;
  width: auto;
}

.wm-footer__bottom {
  background: #f8fafc;
  border-top: 1px solid var(--wm-b2b-line);
  padding: 1rem 0 1.25rem;
}

.wm-footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.wm-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.75rem;
  color: var(--wm-b2b-muted);
}

.wm-footer__contact a {
  color: var(--wm-b2b-muted) !important;
  text-decoration: none !important;
}

.wm-footer__contact a:hover {
  color: var(--wm-b2b-ink) !important;
}

.wm-footer__copy {
  font-size: 0.75rem;
  color: var(--wm-b2b-muted);
}

.wm-footer__legal {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.wm-footer__legal a {
  font-size: 0.72rem;
  color: var(--wm-b2b-muted) !important;
  text-decoration: none !important;
}

.wm-footer__legal a:hover {
  text-decoration: underline !important;
}

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

@media (max-width: 767.98px) {
  .wm-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .wm-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* —— B2B header (WindMade Canada chrome) —— */
.wm-header {
  font-family: var(--wm-b2b-font);
  background: var(--wm-b2b-surface);
}

.wm-header__top {
  background: linear-gradient(180deg, #fff7f8 0%, #fafbfc 100%);
  border-bottom: 1px solid var(--wm-b2b-line);
  font-size: 0.8125rem;
}

.wm-header__phone {
  color: var(--wm-b2b-ink) !important;
  text-decoration: none !important;
  font-weight: 500;
}

.wm-header__phone i {
  color: var(--wm-b2b-action);
}

.wm-header__tagline {
  color: var(--wm-b2b-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.wm-header__toplink {
  color: var(--wm-b2b-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.8125rem;
}

.wm-header__toplink:hover {
  color: var(--wm-b2b-action) !important;
}

.wm-header__toplink--accent {
  color: var(--wm-b2b-action) !important;
}

.wm-header__toplink--accent:hover {
  color: var(--wm-b2b-action-dark) !important;
}

.wm-header__become {
  color: var(--wm-b2b-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.wm-header__become:hover {
  color: var(--wm-b2b-action) !important;
}

.wm-header__middle {
  background: #fff;
  border-bottom-color: var(--wm-b2b-line) !important;
}

.wm-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.wm-header__brand-text {
  font-family: var(--wm-b2b-font);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--wm-b2b-ink);
  line-height: 1.1;
  white-space: nowrap;
}

.wm-header__search {
  flex: 1 1 auto;
  max-width: 720px;
}

.wm-header__search .select-wrap {
  border-color: var(--wm-b2b-action) !important;
  border-width: 2px !important;
  border-radius: var(--wm-b2b-radius-sm) 0 0 var(--wm-b2b-radius-sm);
  min-height: 44px;
  background: #fff;
}

.wm-header__search .search-bar-input {
  font-family: var(--wm-b2b-font);
  font-size: 0.9rem;
}

.wm-header__search .search-bar-input::placeholder {
  color: #9aa3ad;
}

.wm-header__search-btn {
  border-radius: 0 var(--wm-b2b-radius-sm) var(--wm-b2b-radius-sm) 0 !important;
  min-width: 52px;
  background: var(--wm-b2b-action) !important;
  border-color: var(--wm-b2b-action) !important;
}

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

.wm-header__rfq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  background: var(--wm-b2b-action);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none !important;
  border-radius: var(--wm-b2b-radius-sm);
  white-space: nowrap;
}

.wm-header__rfq-cta:hover {
  background: var(--wm-b2b-action-dark);
  color: #fff !important;
}

.wm-header__main {
  background: #fff;
  border-bottom: 1px solid var(--wm-b2b-line);
}

.wm-header__cats {
  background: var(--wm-b2b-action) !important;
  border-color: var(--wm-b2b-action) !important;
  min-height: 44px;
  padding-inline: 1rem !important;
  letter-spacing: 0.02em;
}

.wm-header__cats:hover,
.wm-header__cats:focus,
.wm-header__cats.show {
  background: var(--wm-b2b-action-dark) !important;
  border-color: var(--wm-b2b-action-dark) !important;
}

.wm-header .main-menu > li > a,
.wm-header .main-menu > li > span {
  font-family: var(--wm-b2b-font);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wm-b2b-ink) !important;
  white-space: nowrap;
}

.wm-header .main-menu {
  gap: 0.35rem 1rem;
  flex-wrap: nowrap;
}

.wm-header .main-menu > li.active > a,
.wm-header .main-menu > li > a:hover {
  color: var(--wm-b2b-action) !important;
}

.wm-header__nav-rfq {
  color: var(--wm-b2b-action) !important;
}

.wm-header__nav-rfq:hover {
  color: var(--wm-b2b-action-dark) !important;
}

.wm-header__tools .login-register .media-body {
  font-family: var(--wm-b2b-font);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--wm-b2b-ink);
}

.wm-header__tools .list-separator > li > a,
.wm-header__tools .list-separator > li button {
  color: var(--wm-b2b-ink);
}

.wm-header__tools .count {
  background: var(--wm-b2b-action) !important;
}

/* Inquiry-first: keep cart present but quieter */
.wm-header__tools #cart_items {
  opacity: 0.85;
}

@media (max-width: 1399.98px) {
  .wm-header__brand-text {
    font-size: 1rem;
  }
}

@media (max-width: 1199.98px) {
  .wm-header__brand-text {
    display: none;
  }
}

/* ---- Phase 12: header / footer responsive ---- */
@media (max-width: 991.98px) {
  .wm-header__top .d-flex {
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
  }

  .wm-header__search {
    max-width: none;
    width: 100%;
  }

  .wm-header__middle .row,
  .wm-header__middle .d-flex {
    flex-wrap: wrap;
  }

  .wm-footer__badges {
    gap: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .wm-header__top {
    font-size: 0.75rem;
  }

  .wm-header__tagline {
    display: none !important;
  }

  .wm-header__search .select-wrap,
  .wm-header__search-btn,
  .wm-header__cats {
    min-height: var(--wm-touch, 44px);
  }

  .wm-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
}
/* Modern hamburger */
.wm-menu-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  border: 1px solid var(--wm-b2b-line, #e6e9ed);
  background: #fff;
  display: grid !important;
  place-items: center;
  color: var(--wm-b2b-ink, #0f1720);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wm-menu-btn i {
  font-size: 1.35rem !important;
  line-height: 1;
}

.wm-menu-btn:hover {
  background: var(--wm-brand-soft, #fff0f2);
  border-color: rgba(200, 16, 46, 0.28);
  color: var(--wm-action, #c8102e);
}

/* —— Grower seasonal availability banner —— */
.wm-season-banner {
  position: relative;
  margin: 0 0 1.1rem;
  border-radius: var(--wm-b2b-radius, 14px);
  overflow: hidden;
  border: 1px solid rgba(22, 101, 52, 0.18);
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96) 0%, rgba(254, 252, 232, 0.92) 48%, rgba(240, 253, 244, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 32, 0.06);
}

.wm-season-banner--allyear {
  border-color: rgba(3, 105, 161, 0.2);
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(236, 253, 245, 0.94) 55%, rgba(224, 242, 254, 0.96) 100%);
}

.wm-season-banner.is-off-season {
  border-color: rgba(146, 64, 14, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.96) 0%, rgba(254, 243, 199, 0.7) 100%);
}

.wm-season-banner__glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 140%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 62%);
  pointer-events: none;
}

.wm-season-banner__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  padding: 1.05rem 1.15rem 1.1rem;
  align-items: center;
}

.wm-season-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #166534;
}

.wm-season-banner--allyear .wm-season-banner__eyebrow {
  color: #075985;
}

.wm-season-banner__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: #14532d;
  letter-spacing: -0.02em;
}

.wm-season-banner--allyear .wm-season-banner__title {
  color: #0c4a6e;
}

.wm-season-banner__blurb {
  margin: 0.4rem 0 0.65rem;
  max-width: 38rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #3f6212;
}

.wm-season-banner--allyear .wm-season-banner__blurb {
  color: #0f172a;
}

.wm-season-banner__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #166534;
  color: #fff;
}

.wm-season-banner__status--muted {
  background: #92400e;
}

.wm-season-banner__seasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.wm-season-chip {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  row-gap: 0.12rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(21, 128, 61, 0.18);
  background: rgba(255, 255, 255, 0.78);
  min-height: 3.2rem;
}

.wm-season-chip i {
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  font-size: 1.1rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: block;
  color: #15803d;
}

.wm-season-chip i::before {
  display: block;
  line-height: 1;
}

.wm-season-chip__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #14532d;
}

.wm-season-chip__tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #4d7c0f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wm-season-chip.is-inactive {
  opacity: 0.48;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.45);
}

.wm-season-chip.is-inactive i,
.wm-season-chip.is-inactive .wm-season-chip__label,
.wm-season-chip.is-inactive .wm-season-chip__tag {
  color: #64748b;
}

.wm-season-chip.is-current.is-active {
  border-color: rgba(22, 101, 52, 0.45);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

.wm-season-banner--allyear .wm-season-chip {
  border-color: rgba(3, 105, 161, 0.18);
}

.wm-season-banner--allyear .wm-season-chip i,
.wm-season-banner--allyear .wm-season-chip__label {
  color: #0c4a6e;
}

.wm-season-banner--allyear .wm-season-chip__tag {
  color: #0369a1;
}

.wm-mfg-card--grower .wm-mfg-card__org-type {
  font-weight: 700;
  color: #166534;
}

.wm-oem-banner--grower {
  background:
    linear-gradient(120deg, #14532d 0%, #166534 42%, #3f6212 100%);
}

@media (max-width: 900px) {
  .wm-season-banner__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wm-season-banner__seasons {
    grid-template-columns: 1fr 1fr;
  }

  .wm-season-banner__body {
    padding: 0.9rem 0.85rem 1rem;
  }
}

.wm-badge--season {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.22);
}
.wm-badge--season-allyear {
  background: #f0f9ff;
  color: #075985;
  border-color: rgba(3, 105, 161, 0.22);
}
