.hy-rfq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-start;
  margin-top: 24px;
}

body .inner-hero .hy-rfq-hero-actions .product-range-button {
  margin: 0 !important;
}

body .inner-hero .hy-rfq-hero-actions .hy-rfq-primary {
  min-height: 48px;
  border-color: #f8f7f2 !important;
  background: #f8f7f2 !important;
  color: #063f31 !important;
}

body .inner-hero .hy-rfq-hero-actions .hy-rfq-primary:hover {
  border-color: #fff !important;
  background: #fff !important;
}

.hy-rfq-hero-actions a:focus-visible,
.hy-rfq-optional summary:focus-visible,
.hy-rfq-form button.submit-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body .hy-rfq-form.contact-form button.submit-button {
  border-color: #063f31;
  background: #063f31 !important;
  color: #fff !important;
}

body .hy-rfq-form.contact-form button.submit-button:hover:not(:disabled) {
  background: #042e24 !important;
}

body .hy-rfq-form.contact-form button.submit-button:disabled {
  background: #526e64 !important;
}

.hy-rfq-form button.submit-button:focus-visible {
  outline-color: #063f31;
}

.hy-rfq-form .hy-rfq-hint {
  display: block;
  margin-top: 5px;
  color: #365349;
  line-height: 1.45;
  font-size: 14px;
}

.hy-rfq-form .hy-rfq-optional {
  grid-column: 1 / -1;
}

.hy-rfq-optional summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 0;
  color: #063f31;
  cursor: pointer;
  font-weight: 650;
}

.hy-rfq-optional-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 8px 0 12px;
}

@media (max-width: 900px) {
  .hy-rfq-hero-actions {
    display: grid;
    justify-items: start;
    margin-top: 18px;
  }

  body .hy-rfq-form.contact-form {
    row-gap: 12px;
  }

  body .hy-rfq-form.contact-form > label {
    margin: 0;
  }

  body .hy-rfq-form.contact-form textarea {
    min-height: 96px;
  }

  .hy-rfq-form .hy-rfq-optional-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  body.hy-rfq-form-in-view .hy-mobile-contact {
    display: none;
  }
}
