/* THE PUBLIC FOOD PAGES — on top of style.css and booking.css. */
.fd-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; margin-top:12px; }
.fd-kitchen { display:flex; flex-direction:column; border:1px solid var(--border); border-radius:16px; overflow:hidden; background:var(--surface,#fff); color:inherit; text-decoration:none; transition:transform .12s, box-shadow .12s; }
.fd-kitchen:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.08); }
.fd-kitchen img, .fd-kitchen-noimg { width:100%; height:150px; object-fit:cover; display:flex; align-items:center; justify-content:center; font-size:2rem; background:var(--bg); }
.fd-kitchen-body { padding:12px 14px; }

.fd-hero { display:flex; gap:16px; align-items:flex-start; margin:10px 0 16px; }
.fd-hero img { width:180px; height:130px; object-fit:cover; border-radius:14px; border:1px solid var(--border); flex-shrink:0; }
@media (max-width:640px) { .fd-hero { flex-direction:column; } .fd-hero img { width:100%; height:160px; } }

.fd-section { margin-top:18px; }
.fd-section-head { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.fd-section-head img { width:64px; height:48px; object-fit:cover; border-radius:10px; border:1px solid var(--border); }
.fd-section-head h2 { margin:0; font-size:1.15rem; }
.fd-meals { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:12px; }
.fd-meal { display:flex; gap:12px; border:1px solid var(--border); border-radius:14px; padding:10px; background:var(--surface,#fff); }
.fd-meal img { width:104px; height:104px; object-fit:cover; border-radius:10px; border:1px solid var(--border); flex-shrink:0; }
.fd-meal-body { flex:1; min-width:0; }
.fd-meal-top { display:flex; justify-content:space-between; gap:8px; align-items:baseline; }
.fd-price { font-weight:800; white-space:nowrap; }
.fd-qty { display:flex; align-items:center; gap:6px; margin-top:8px; flex-wrap:wrap; }
.fd-qty input[type=number] { width:56px; text-align:center; padding:6px 4px; }
.fd-step { width:34px; height:34px; border-radius:17px; border:1px solid var(--border); background:var(--bg); font-size:1.1rem; cursor:pointer; line-height:1; }
.fd-step:hover { background:var(--border); }
.fd-custom { flex-basis:100%; margin-top:4px; }

.fd-bar { position:sticky; bottom:0; display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:16px; padding:12px 16px; background:var(--surface,#fff); border:1px solid var(--border); border-radius:14px; box-shadow:0 -4px 18px rgba(0,0,0,.08); }

.fd-pay { display:flex; flex-direction:column; gap:8px; }
.fd-pay-opt { display:flex; gap:10px; align-items:flex-start; border:1px solid var(--border); border-radius:12px; padding:10px 12px; cursor:pointer; }
.fd-pay-opt input { margin-top:4px; }

.fd-steps { list-style:none; display:flex; justify-content:space-between; padding:0; margin:14px 0 6px; counter-reset:s; position:relative; }
.fd-steps::before { content:""; position:absolute; left:8%; right:8%; top:14px; height:2px; background:var(--border); z-index:0; }
.fd-steps li { flex:1; text-align:center; position:relative; z-index:1; font-size:.82rem; color:var(--muted); }
.fd-steps li::before { counter-increment:s; content:counter(s); display:block; width:28px; height:28px; line-height:28px; border-radius:14px; margin:0 auto 4px; background:var(--bg); border:2px solid var(--border); font-weight:800; }
.fd-steps li.on { color:inherit; } .fd-steps li.on::before { background:var(--teal,#0f766e); border-color:var(--teal,#0f766e); color:#fff; content:"✓"; }
.fd-steps li.now::before { content:counter(s); box-shadow:0 0 0 4px rgba(15,118,110,.18); }

/* ON A PHONE THE SHOP'S FOUR HEADER BUTTONS GO ON A ROW OF THEIR OWN.
   The booking site's three fit beside the logo; these four do not, and would
   squeeze the logo to a sliver. */
@media (max-width: 480px) {
  .fd-public .header-inner { flex-wrap: wrap; row-gap: 8px; }
  .fd-public .brand { flex: 1 0 auto; }
  .fd-public .header-nav { flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
  .fd-public .header-nav .btn { flex: 1 1 auto; text-align: center; padding: 7px 6px; }
}
