.triggerDesktop {
  display: none;
}

.pickerContainerMobile {
  --header-height: 72px;
  --sticky-button-height: 140px;
  background-color: var(--Main-Grey-White);
  border-radius: var(--Corner-radius-Large) var(--Corner-radius-Large) 0 0;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 20px;
  transition: top 300ms ease;
  z-index: 100;
}
.contentWrapper {
  display: grid;
  grid-template-areas:
    "header"
    "content";
  grid-template-rows: var(--header-height) calc(100dvh - var(--header-height));
}

.pickerContainerDesktop {
  display: none;
}

.roomContainer {
  display: grid;
  gap: var(--Spacing-x2);
}
.roomDetailsContainer {
  display: grid;
  gap: var(--Spacing-x2);
  padding-bottom: var(--Spacing-x1);
}
.roomHeading {
  margin-bottom: var(--Spacing-x1);
}
.btn {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  width: 100%;
  text-align: left;
}

.footer {
  display: grid;
  gap: var(--Spacing-x1);
  grid-template-columns: auto;
}

@media screen and (max-width: 1366px) {
  .contentContainer {
    grid-area: content;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  .header {
    display: grid;
    grid-area: header;
    padding: var(--Spacing-x3) var(--Spacing-x2);
  }

  .close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-self: flex-end;
    padding: 0;
  }

  .roomContainer {
    padding: 0 var(--Spacing-x2);
  }
  .roomContainer:last-of-type {
    padding-bottom: calc(var(--sticky-button-height) + 20px);
  }

  .footer {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 7.5%,
      #ffffff 82.5%
    );
    padding: var(--Spacing-x2) var(--Spacing-x2) var(--Spacing-x7);
    position: sticky;
    bottom: 0;
    width: 100%;
  }

  .footer .hideOnMobile {
    display: none;
  }

  .addRoomMobileContainer {
    display: grid;
    width: 150px;
    margin: 0 auto;
    padding-bottom: calc(var(--sticky-button-height) + 20px);
  }
}

@media screen and (min-width: 1367px) {
  .pickerContainerMobile {
    display: none;
  }
  .contentWrapper {
    grid-template-rows: auto;
  }

  .contentContainer {
    overflow-y: visible;
  }

  .triggerMobile {
    display: none;
  }

  .triggerDesktop {
    display: block;
  }

  .pickerContainerDesktop {
    --header-height: 72px;
    --sticky-button-height: 140px;

    background-color: var(--Main-Grey-White);
    display: grid;
    border-radius: var(--Corner-radius-Large);
    box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.1);
    max-width: calc(100vw - 20px);
    padding: var(--Spacing-x2) var(--Spacing-x3);
    width: 360px;
  }

  .pickerContainerDesktop:focus-visible {
    outline: none;
  }

  .header {
    display: none;
  }

  .footer {
    grid-template-columns: auto auto;
    padding-top: var(--Spacing-x2);
  }

  .footer .hideOnDesktop,
  .addRoomMobileContainer {
    display: none;
  }
}
