/* Result */
.is-result {
  overflow-y: auto;
}

.is-result .page-shell {
  padding-block: 40px;
}

.is-result .quiz-window {
  width: min(900px, 100%);
  min-height: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.is-result .quiz-card {
  min-height: 0;
  padding: 0;
}

.result-screen {
  width: 100%;
}

.result-logo {
  width: 145px;
  height: 85px;
  margin: 0 auto 28px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.mattress-result-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(35, 36, 75, 0.18);
}

.mattress-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #efefef;
}

.mattress-photo.is-fallback {
  object-position: center;
}

.mattress-card-content {
  min-height: 128px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.mattress-card-content h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
}

.mattress-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #725ff3;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  text-decoration: none;
}

.mattress-link:hover {
  text-decoration: underline;
}

.result-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.result-action {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

.result-action-light {
  color: #202020;
  background: #fff;
}

.result-action-primary {
  color: #fff;
  background: #7d75e7;
}

.result-action-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

