/* Shared inquiry form: scoped so checkout, account and product controls keep their styles. */
.mibang-rfq-form {
  margin: 32px 0 0;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid #dce3eb;
  border-top: 3px solid var(--mb-red, #e30613);
  border-radius: 8px;
  background: #f8fafc;
  color: #1d3448;
}
.mibang-rfq-form > h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.mibang-rfq-form > p { margin: 0 0 24px; color: #607184; line-height: 1.6; }
.mibang-rfq-form .mibang-honeypot { display: none !important; }
.mibang-rfq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.mibang-rfq-grid > label { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; color: #1d3448; font-size: 14px; font-weight: 600; line-height: 1.5; }
.mibang-rfq-grid > .mibang-field-wide { grid-column: 1 / -1; }
.mibang-rfq-form input:not([type="hidden"]), .mibang-rfq-form select, .mibang-rfq-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #c8d3df;
  border-radius: 6px;
  background: #fff;
  color: #172330;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.mibang-rfq-form textarea { min-height: 150px; resize: vertical; }
.mibang-rfq-form input::placeholder, .mibang-rfq-form textarea::placeholder { color: #7a8795; opacity: 1; }
.mibang-rfq-form input:focus-visible, .mibang-rfq-form select:focus-visible, .mibang-rfq-form textarea:focus-visible, .mibang-rfq-form button:focus-visible { outline: 2px solid var(--mb-red, #e30613); outline-offset: 3px; }
.mibang-rfq-form > button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  margin: 26px 0 0;
  padding: 14px 30px;
  border: 0;
  border-radius: 6px;
  background: var(--mb-red, #e30613);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
.mibang-rfq-form > button[type="submit"]:hover { background: var(--mb-red-dark, #bc0010); }
@media (max-width: 640px) {
  .mibang-rfq-form { padding: 20px 16px; }
  .mibang-rfq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mibang-rfq-form > button[type="submit"] { width: 100%; }
}
