/* V15: center each title as one icon-and-label group, then its price and terms. */
.lunch-offer-tile,
.lunch-offer-tile:nth-child(-n + 2) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: 0;
  row-gap: 0;
  min-height: 0;
}
.lunch-offer-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}
.lunch-offer-title .lunch-offer-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.lunch-offer-label {
  min-width: 0;
  text-align: center;
  justify-self: center;
}
.lunch-offer-value,
.lunch-offer-tile:nth-child(-n + 2) .lunch-offer-value {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  text-align: center;
}
.lunch-offer-condition {
  grid-column: 1;
  grid-row: 3;
  justify-self: center;
  text-align: center;
}

@media (min-width: 601px) {
  .lunch-offer-tile { align-content: start; }
  @supports (grid-template-rows: subgrid) {
    .lunch-offer-grid {
      grid-template-rows: auto auto auto;
      row-gap: 1px;
    }
    .lunch-offer-grid > .lunch-offer-tile {
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 1px;
    }
  }
}

@media (max-width: 600px) {
  @supports (grid-template-rows: subgrid) {
    .lunch-offer-grid { row-gap: 1px; }
    .lunch-offer-grid > .lunch-offer-tile {
      grid-row: span 2;
      grid-template-rows: subgrid;
      row-gap: 1px;
    }
    .lunch-offer-grid > .lunch-offer-tile:nth-child(n + 3) {
      grid-row: span 3;
      margin-top: 5px;
    }
  }
  .lunch-offer-tile:nth-child(-n + 2) .lunch-offer-value { font-size: 18px; }
  .lunch-offer-tile:first-child .lunch-offer-value { font-size: 19px; }
  .lunch-offer-tile:nth-child(-n + 2) .lunch-offer-icon {
    width: 16px;
    height: 16px;
  }
}
