/* Menu grid & cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto 90px; /* leave space for bottom dock */
  }
  
  @media (max-width:768px){
    .menu-grid{ grid-template-columns:1fr; padding:12px 10px; }
  }

  .menu-grid h2 {
    grid-column: 1 / -1;
    font-size: 20px;
    margin: 8px 0 4px;
    color: #1f5a41;
  }
  
  .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    display: flex; flex-direction: column;
  }
  .card figure {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--accent-light);
  }
  .card figure img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  .card .placeholder {
    color: var(--muted); font-weight: 600; font-size: 14px;
    display:flex; align-items:center; justify-content:center; height:100%;
  }
  .card .badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--accent); color: #fff;
    padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 700;
  }
  .card .content {
    padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }
  .card .title {
    font-size: 14px; font-weight: 700; margin: 0;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .qty { display: flex; align-items: center; gap: 8px; }
  .qty button {
    width: 32px; height: 32px; border-radius: 8px; border: none;
    background: var(--accent-light); font-weight: 800; font-size: 18px; cursor: pointer;
  }
  .qty .count { font-weight: 800; }
