/* React Flow diagram inside hero */
.flow-rf-container {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.flow-rf-container .react-flow {
  background: transparent;
}

.flow-rf-container .react-flow__renderer {
  background: transparent;
}

.flow-rf-node {
  border-radius: 12px;
  border: 1px solid rgba(12, 37, 63, 0.14);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 0;
  min-width: 90px;
}

.flow-rf-handle {
  width: 8px;
  height: 8px;
  background: var(--brand, #1459d9);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.flow-rf-stack-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 8px 8px;
}

.flow-rf-node-title {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink-900, #0a1e34);
  margin-bottom: 4px;
}

.flow-rf-node-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0 4px;
}

.flow-rf-node-stack img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.flow-rf-node-sub {
  font-size: 9px;
  color: var(--ink-700, #2f4762);
  opacity: 0.9;
}

.flow-rf-product-node {
  padding: 0;
  overflow: hidden;
  min-width: 200px;
  max-width: 280px;
}

.flow-rf-node-label {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-900, #0a1e34);
  padding: 6px 8px 0;
  display: block;
  text-align: center;
}

.flow-rf-product-img-wrap {
  width: 100%;
  aspect-ratio: 1200 / 630;
  min-height: 90px;
  overflow: hidden;
  border-radius: 0 0 11px 11px;
  background: var(--bg, #edf2f7);
}

.flow-rf-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

