/* Two-step RFQ: full form remains usable without JavaScript. */
.inquiry-form-progressive {
  grid-template-columns: 1fr;
}

.rfq-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2px 0 8px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.rfq-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 8px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.rfq-progress li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--steel);
  font-size: 13px;
}

.rfq-progress li.is-active {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.rfq-progress li.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.rfq-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rfq-step legend {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.3;
}

.rfq-step-intro {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rfq-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.rfq-enhanced .rfq-step:not(.is-active) {
  display: none;
}

.rfq-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.rfq-step-actions-end {
  justify-content: flex-end;
}

.rfq-step-actions .button,
.rfq-step-actions input[type="submit"] {
  min-height: 46px;
}

.rfq-step .inquiry-helper {
  margin: 16px 0 0;
}

@media (max-width: 700px) {
  .rfq-progress li {
    align-items: flex-start;
    padding: 10px 4px;
    font-size: 13px;
  }

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

  .rfq-step-grid .full {
    grid-column: auto;
  }

  .rfq-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .rfq-step-actions-end {
    flex-direction: column;
  }

  .rfq-step-actions .button,
  .rfq-step-actions input[type="submit"] {
    width: 100%;
  }
}

