/* Food directory (Desi Jugaad): /food, /{city}/{type}, places at /{slug}. Loaded as pageCss by FoodSiteController.
   Uses the site tokens (sas.css) so it follows light/dark and the brand colours. */

.food-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.food-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.food-card.is-jugaadu { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.food-card-link { display: grid; gap: var(--s-1); padding: var(--s-4); color: inherit; text-decoration: none; min-height: 44px; height: 100%; }
.food-card-link:hover .food-card-name, .food-card-link:focus-visible .food-card-name { text-decoration: underline; }
.food-card-top { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.food-card-name { font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: var(--lh-snug); overflow-wrap: anywhere; }
.food-card-deal { font-weight: var(--fw-semibold); color: var(--accent-text, var(--accent)); }
.food-card-addr { overflow-wrap: anywhere; }

.food-badge { display: inline-block; padding: 2px var(--s-2); border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semibold); line-height: 1.6; }
.food-badge.is-jugaadu { background: var(--accent); color: var(--on-accent); }
.food-badge.is-verified { background: var(--ok-soft); color: var(--ok); }
.food-tags { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-top: var(--s-1); }
.food-tag { font-size: var(--fs-xs); padding: 1px var(--s-2); border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text-2, inherit); }

.food-filters .chip { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.food-switch .chip { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.pager .chip { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.food-facts { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr); gap: var(--s-2) var(--s-4); margin: 0; }
.food-facts dt { color: var(--text-3); }
.food-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .food-facts { grid-template-columns: 1fr; } .food-facts dd { margin-bottom: var(--s-2); } }

.food-actions .btn { min-height: 44px; }
.food-map { position: relative; height: 240px; overflow: hidden; border-radius: var(--r-xl, 20px); background: var(--surface-2); border: 1px solid var(--line); }
.food-map img { position: absolute; width: 256px; height: 256px; max-width: none; }
.food-map .venue-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

.food-cities { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.food-city { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); }
.food-city ul { list-style: none; margin: var(--s-2) 0 0; padding: 0; }
.food-city a { display: inline-block; min-height: 44px; line-height: 44px; }

.food-attribution { color: var(--text-3); }

.food-title { display: flex; align-items: center; gap: var(--s-3); }
.food-title h1 { margin: 0; }
.food-logo { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; border: 1px solid var(--line); background: var(--surface); flex: none; }
.food-photos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; }
.food-photos li { scroll-snap-align: start; }
.food-photos img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--r-lg); display: block; }
.food-deal { border: 2px solid var(--accent); border-radius: var(--r-lg); padding: var(--s-5); background: var(--accent-soft); }
.food-deal h2 { margin: 0; font-size: var(--fs-2xl); }
.food-deal .btn { min-height: 44px; }
/* "Is this your business?": the summary looks like a button; the form opens below it. */
.food-claim-more > summary { list-style: none; cursor: pointer; display: inline-flex; }
.food-claim-more > summary::-webkit-details-marker { display: none; }
.food-claim-more[open] > summary { margin-bottom: var(--s-3); }
.food-claim form { max-width: 480px; }
