#products {
  --tile-line: rgb(73 49 71 / 15%);
  --photo-height: clamp(116px, 10.8vw, 147px);
}

.food-section + .food-section {
  margin-block-start: clamp(38px, 5vw, 68px);
}

.food-section h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 15px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.food-section h3::after {
  content: "";
  flex: 1;
  border-block-start: 1px solid var(--tile-line);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.1vw, 30px) clamp(12px, 1.3vw, 20px);
}

.food-item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: var(--photo-height) 1fr;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  padding: 0 clamp(12px, 1.15vw, 18px) 13px;
  border-radius: 23px;
  text-align: start;
}

.food-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(var(--photo-height) * .46) 0 0;
  border: 1px solid var(--tile-line);
  border-radius: inherit;
  background: rgb(255 253 248 / 14%);
  box-shadow: 0 8px 18px rgb(55 34 47 / 2%);
}

.food-item .food-image {
  width: 100%;
  height: var(--photo-height);
  place-items: end center;
}

.food-item .food-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 5px 3px rgb(53 35 28 / 11%));
}

.food-name {
  margin: 12px 0 2px;
  min-height: 1.3em;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  text-align: start;
}

@media (hover: hover) {
  .food-item:hover::before {
    border-color: rgb(73 49 71 / 30%);
  }
}

@media (max-width: 980px) {
  .food-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .food-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  #products { --photo-height: clamp(102px, 29vw, 143px); }
  .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 11px; }
  .food-item { padding: 0 11px 11px; border-radius: 19px; }
  .food-name { margin: 9px 0 5px; font-size: 16px; }
}
