.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x3);
}

.title {
  color: var(--Scandic-Brand-Burgundy);
  padding: 0 var(--Spacing-x2);
}

.container {
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x5);
}

.roomsContainer {
  display: grid;
  gap: var(--Spacing-x3);
  grid-template-columns: 1fr;
  width: 100%;
}

.roomWrapper {
  min-width: 0;
  width: 100%;
}

.roomWrapper > * {
  width: 100%;
}

.totalContainer {
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x1);
  padding: 0 var(--Spacing-x2);
}

.total {
  display: flex;
  justify-content: flex-end;
  gap: var(--Spacing-x1);
}

@media (min-width: 768px) {
  .roomsContainer {
    grid-template-columns: repeat(2, 1fr);
  }

  .roomsContainer:has(> *:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }

  .title {
    padding: 0;
  }

  .totalContainer {
    padding: 0;
  }
}
