/*
 * Marketing → "Angebote" (Dashboard::PromotionsController, Paket M1): the week
 * of the dishes of the day as rows Monday to Sunday, below it the deals.
 * Fizzy register: system fonts, tokens of the dashboard, nothing from brand.css.
 */
@layer components {
  .promotion-week {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: start;
  }

  .promotion-week__day {
    display: grid;
    gap: 4px 16px;
    padding-block: 12px;
    border-block-end: 1px solid var(--color-ink-lighter);

    @media (min-width: 640px) {
      grid-template-columns: 8em minmax(0, 1fr);
    }
  }

  .promotion-week__name {
    font-weight: 700;
  }

  .promotion-week__entries {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: start;
  }

  .promotion-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: start;
  }

  .promotion-row--empty {
    align-items: center;
  }

  .promotion-row__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
  }

  .promotion-row__name {
    color: inherit;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .promotion-row__price {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .promotion-row__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}
