.beds-hero > img {
  object-position: center 62%;
}

.beds-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: 0 0 24px;
}

.beds-filter[hidden],
.bed-card[hidden] {
  display: none;
}

.beds-filter label {
  font-weight: 600;
}

.beds-filter select {
  inline-size: min(100%, 200px);
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 8px;
  padding: 8px 12px;
}

.beds-filter p {
  margin: 0;
  color: var(--mut);
}

.beds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.bed-card {
  scroll-margin-top: 100px;
  align-self: start;
}

.bed-card__image {
  display: block;
}

.bed-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
}

.bed-card .gcc__b {
  padding: 20px 22px 24px;
}

.bed-card .bed-card__sizes {
  font-weight: 600;
  color: inherit;
}

.bed-card__details {
  margin: 4px 0;
}

.bed-card__details summary {
  cursor: pointer;
  font-weight: 600;
}

.bed-card__details table {
  margin-top: 10px;
  font-size: 0.875rem;
}

.bed-card__details th,
.bed-card__details td {
  padding: 6px 4px;
  white-space: normal;
  text-align: left;
}

.bed-card__request {
  align-self: flex-start;
  color: var(--ac);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beds-logo {
  font-weight: 600;
  color: var(--ink);
}
