[data-wd-demo="size-guide-product-matching"] .sg-topic {
  width: 210px;
}

[data-wd-demo="size-guide-product-matching"] .sg-filter {
  width: 160px;
}

[data-wd-demo="size-guide-product-matching"] .sg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 16px;
  align-items: start;
}

[data-wd-demo="size-guide-product-matching"] .sg-article {
  background: var(--wd-surface);
  border: 1px solid var(--wd-border);
  border-radius: var(--wd-radius);
  padding: 16px 16px 14px;
}

[data-wd-demo="size-guide-product-matching"] .sg-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wd-info);
}

[data-wd-demo="size-guide-product-matching"] .sg-h {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

[data-wd-demo="size-guide-product-matching"] .sg-copy,
[data-wd-demo="size-guide-product-matching"] .sg-note,
[data-wd-demo="size-guide-product-matching"] .sg-pair,
[data-wd-demo="size-guide-product-matching"] .sg-rail-h {
  margin: 0;
}

[data-wd-demo="size-guide-product-matching"] .sg-copy {
  color: var(--wd-text);
  font-size: 13.5px;
  line-height: 1.55;
}

[data-wd-demo="size-guide-product-matching"] .sg-code {
  margin: 12px 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: #111316;
  border: 1px solid var(--wd-border);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: #d7e3f4;
}

[data-wd-demo="size-guide-product-matching"] .sg-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--wd-muted);
}

[data-wd-demo="size-guide-product-matching"] .sg-rail {
  display: grid;
  gap: 8px;
}

[data-wd-demo="size-guide-product-matching"] .sg-rail-h {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wd-muted);
}

[data-wd-demo="size-guide-product-matching"] .sg-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: var(--wd-surface);
  border: 1px solid var(--wd-border);
  border-radius: 8px;
}

[data-wd-demo="size-guide-product-matching"] .sg-swatch {
  height: 52px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-wd-demo="size-guide-product-matching"] .sg-swatch svg {
  width: 46px;
  height: 22px;
  fill: currentColor;
}

[data-wd-demo="size-guide-product-matching"] .sg-navy { background: #1e3a5f; color: #d5e4f7; }
[data-wd-demo="size-guide-product-matching"] .sg-rust { background: #6b3a2a; color: #f3d2c4; }
[data-wd-demo="size-guide-product-matching"] .sg-sand { background: #8a7352; color: #f6edd9; }
[data-wd-demo="size-guide-product-matching"] .sg-yellow { background: #c9a227; color: #2a2308; }
[data-wd-demo="size-guide-product-matching"] .sg-green { background: #1f6b45; color: #d7f5e4; }
[data-wd-demo="size-guide-product-matching"] .sg-red { background: #8d2f39; color: #fde2e4; }
[data-wd-demo="size-guide-product-matching"] .sg-brown { background: #5c4030; color: #f0e0d2; }
[data-wd-demo="size-guide-product-matching"] .sg-olive { background: #3f4f32; color: #e4efd4; }
[data-wd-demo="size-guide-product-matching"] .sg-slate { background: #3a4450; color: #e4eaf1; }

[data-wd-demo="size-guide-product-matching"] .sg-name {
  margin: 0;
  font-weight: 650;
  font-size: 14px;
}

[data-wd-demo="size-guide-product-matching"] .sg-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--wd-muted);
}

[data-wd-demo="size-guide-product-matching"] .sg-pair {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--wd-border);
  font-size: 13px;
}

[data-wd-demo="size-guide-product-matching"] .sg-pair:last-of-type {
  border-bottom: 0;
}

[data-wd-demo="size-guide-product-matching"] .sg-cold {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 8px;
  font-size: 13px;
}
