@media (min-width: 768px) {
  .qc-content .panel .formcard .submit {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
  }

  .qc-content .panel .formcard .submit .btn {
    justify-self: stretch;
    width: 100%;
  }

  .qc-content .panel .formcard .submit .consent {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .qc-content .panel .formcard .submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .qc-content .panel .formcard .submit .btn {
    width: 100%;
  }
}



/* QuoteColo form standard: external gutters around the embedded blue panel. */
.qc-content #farm-requirements {
  box-sizing: border-box;
  width: calc(100% - 160px);
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

/* Related marketplace links immediately after the live inventory widget. */
.qc-content .qc-marketplace-links {
  margin: 0;
  padding: 32px 0 0;
}

.qc-content .qc-marketplace-links .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.qc-content .qc-marketplace-links a {
  color: var(--color-text-accent);
  font-size: 18px;
  line-height: 1.5;
  text-decoration: none;
}

.qc-content .qc-marketplace-links a:hover {
  text-decoration: underline;
}

.qc-content .qc-marketplace-links span {
  color: var(--color-text-tertiary);
}

@media (min-width: 768px) and (max-width: 1279px) {
  .qc-content #farm-requirements {
    width: calc(100% - 64px);
  }
}

@media (max-width: 767px) {
  .qc-content #farm-requirements {
    width: calc(100% - 32px);
  }

  .qc-content .qc-marketplace-links {
    padding-top: 24px;
  }

  .qc-content .qc-marketplace-links .container {
    gap: 6px 12px;
  }

  .qc-content .qc-marketplace-links a {
    font-size: 16px;
  }
}
