.mealz-products-picker {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 16px;

  .mealz-products-picker__overlay {
    display: flex;
    justify-content: center;
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;

    .mealz-products-picker__overlay-text {
      position: absolute;
      width: 320px;
      box-sizing: border-box;
      padding: 24px;
      margin-top: 24px;
      background: var(--mealz-ds-color-neutral-white, #FFF);;
      border: 1px solid var(--mealz-ds-color-neutral-200, #D9DDE1);
      box-shadow: 0px 8px 16px rgba(15, 25, 31, 0.12);
      border-radius: 16px;
    }
  }

  > *:not(:last-child) {
    margin-bottom: 16px;
  }

  .mealz-products-picker__loader {
    margin: 0 auto;
    width: 40px;
    height: 40px;
    background-position-x: 20px;
    background-size: 20px 20px;
  }

  .mealz-products-picker__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .mealz-products-picker__header-text {
      font-size: 16px;
      line-height: 150%;
      color: var(--mealz-ds-color-neutral-black, #0f191f);
      display: flex;

      mealz-unavailable-badge {
        margin-left: 8px;
      }
    }

    @media (min-width: 1024px) {
      .mealz-products-picker__header-text {
        font-size: 20px;
        line-height: 120%;
      }
    }
  }

  .mealz-products-picker__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    margin-left: -8px;
    margin-right: -8px;

    > * {
      margin: 8px;
    }

    @media (max-width: 640px) {
      margin: -4px;

      > * {
        margin: 4px;
      }
    }
  }

  .mealz-products-picker__secondary-list {
    display: flex;
    flex-direction: column;

    > *:not(:last-child) {
      margin-bottom: 12px;
    }
  }

  .mealz-products-picker__more {
    display: flex;
    justify-content: center;

    .mealz-products-picker__more-anchor {
      text-decoration: inherit;
    }

    .mealz-products-picker__close-modal-button {
      display: none;
    }
  }
}
