.stage-two-offer-home {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.stage-two-home-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stage-two-home-heading .house-choice-heading {
  margin: 0;
}

.stage-two-home-heading:after {
  border-bottom: 3px solid #f5ce42;
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

.stage-two-offer-page {
  margin: 80px auto 150px;
  max-width: 1200px;
  width: calc(100% - 120px);
}

.stage-two-offer-root {
  width: 100%;
}

.stage-two-offer-message {
  margin: 0 0 28px;
  max-width: 44rem;
}

.stage-two-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.stage-two-grid-table {
  min-width: 980px;
  width: 100%;
}

.stage-two-grid-row {
  align-items: start;
  column-gap: 24px;
  display: grid;
  grid-template-columns:
    minmax(100px, 0.8fr)
    minmax(150px, 1.1fr)
    minmax(150px, 1.1fr)
    minmax(150px, 1.1fr)
    minmax(150px, 1.1fr)
    minmax(120px, 0.9fr);
}

.stage-two-grid-head {
  border-bottom: 2px solid #f5ce42;
}

.stage-two-grid-heading {
  font-family: SpaceGrotesk-Bold, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0 14px;
  text-align: left;
  white-space: nowrap;
}

.stage-two-grid-body .stage-two-grid-row {
  border-bottom: 2px solid #f5ce42;
}

.stage-two-grid-cell {
  min-width: 0;
  padding: 16px 0;
  vertical-align: top;
}

.stage-two-grid-cell:first-child {
  font-family: SpaceGrotesk-Bold, sans-serif;
}

.stage-two-grid-empty .stage-two-grid-cell {
  grid-column: 1 / -1;
}

.stage-two-grid-body .stage-two-grid-row.stage-two-clickable {
  transition: background-color 0.2s ease;
}

.stage-two-grid-body .stage-two-grid-row.stage-two-clickable:hover,
.stage-two-grid-body .stage-two-grid-row.stage-two-clickable:focus {
  background-color: rgba(226, 211, 0, 0.07);
  cursor: pointer;
  outline: none;
}

@media (max-width: 992px) {
  .stage-two-offer-page {
    width: calc(100% - 60px);
  }
}

@media (max-width: 769px) {
  .stage-two-home-heading {
    display: block;
    margin-bottom: 20px;
  }

  .stage-two-home-heading:after {
    content: none;
  }

  .stage-two-offer-page {
    margin: 40px auto 100px;
  }

  .stage-two-offer-message {
    margin-bottom: 20px;
  }

  .stage-two-grid-table {
    min-width: 860px;
  }
}

@media (max-width: 319px) {
  .stage-two-offer-page {
    width: calc(100% - 30px);
  }
}
