.ecocup-cup-project {
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #292929;
  overflow-y: auto;
  padding: 32px;

  &-title {
    color: #ffffff;
    text-align: center;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
  }

  &-search-bar {
    margin-top: 16px;
    height: 60px;
    width: 818px;
    max-width: 100%;
    flex-shrink: 0;
  }

  &-actions {
    margin-top: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 100%;

    &-button {
      width: 220px;
      height: 48px;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 300;
      white-space: normal;
    }
  }

  &--tablet,
  &--smallTablet,
  &--pos {
    padding: 28px;

    .ecocup-cup-project-actions {
      margin-top: 88px;
    }
  }

  &--phone,
  &--mobile {
    justify-content: center;
    padding: calc(24px + env(safe-area-inset-top)) 16px
      calc(16px + env(safe-area-inset-bottom));

    .ecocup-cup-project-title {
      font-size: 28px;
      line-height: 36px;
    }

    .ecocup-cup-project-search-bar {
      height: 60px;
      margin-top: 16px;
      width: 100%;
    }

    .ecocup-cup-project-actions {
      width: 100%;
      margin-top: 48px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      padding-bottom: env(safe-area-inset-bottom);
    }

    .ecocup-cup-project-actions-button {
      width: 100%;
      height: auto;
      min-height: 56px;
      padding: 8px 10px;
      font-size: 12px;
      line-height: 16px;
    }
  }
}
