/* Menu additions of 2026-11-29: campaign band, events, featured row, category cards, variants, serving hours,
   allergen icons, Wi-Fi, currency switch, happy hour prices, right-to-left (Arabic). Uses the colour variables of menu.css. */

/* campaign / day menu band + happy hour */
.m-bands { display: grid; gap: 8px; margin-block: 14px 0; }
.m-band { margin: 0; padding: 12px 16px; border-radius: var(--radius); background: var(--tint); color: var(--on-tint);
  font: 500 .95rem/1.4 var(--f-sans); border-left: 4px solid var(--accent); }
.m-band b { font-weight: 800; }
.m-band-happy { background: var(--accent); color: var(--on-accent); border-left-color: var(--on-accent); }
.m-old { opacity: .6; font-weight: 400; margin-inline-end: 2px; }

/* tools in the sticky bar: Wi-Fi + currency */
.m-tools { display: flex; gap: 6px; flex: none; }
.m-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font: 700 .85rem/1.2 var(--f-sans); cursor: pointer; }
.m-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.m-fx select { border: 0; background: transparent; color: inherit; font: inherit; padding: 0; cursor: pointer; }
.m-fxnote { margin-block: 0 24px; font-size: .8rem; color: var(--muted); text-align: center; }
.m-pv[data-fx]::after { content: attr(data-fx); display: block; font-size: .78em; font-weight: 500; opacity: .75; }
@media (max-width: 560px) { .m-nav-in { flex-wrap: wrap; } .m-tools { order: 3; } }

/* section titles */
.m-sub { margin: 26px 0 12px; font: 800 1.15rem/1.2 var(--f-head); letter-spacing: -.01em; }

/* events */
.m-events-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.m-event { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.m-event img { width: 84px; height: 84px; border-radius: calc(var(--radius) * .7); object-fit: cover; flex: none; }
.m-event h3 { margin: 2px 0 4px; font: 800 1rem/1.25 var(--f-head); }
.m-event p { margin: 0; font-size: .9rem; color: var(--muted); }
.m-event .m-event-date { color: var(--accent); font: 800 .78rem/1.3 var(--f-sans); text-transform: uppercase; letter-spacing: .05em; }

/* featured: big sliding cards */
.m-feat-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 260px); gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.m-feat-row::-webkit-scrollbar { display: none; }
.m-feat { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; text-decoration: none; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 12px; position: relative; }
.m-feat-img { display: block; aspect-ratio: 4 / 3; background: var(--tint); position: relative; }
.m-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.m-feat-tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font: 800 .7rem/1.4 var(--f-sans); text-transform: uppercase; letter-spacing: .05em; }
.m-feat b { padding: 6px 12px 0; font: 800 1rem/1.25 var(--f-head); }
.m-feat-price { padding: 0 12px; font: 800 .95rem/1.3 var(--f-sans); color: var(--accent); }

/* category cards: 2 columns, photo + dark gradient + name */
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 8px; }
@media (min-width: 760px) { .m-grid { grid-template-columns: repeat(4, 1fr); } }
.m-gcard { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; background: linear-gradient(135deg, var(--c-500, var(--accent)), var(--c-800, var(--accent))); color: #fff; isolation: isolate; }
.m-gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s; }
.m-gcard.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .78)); }
.m-gcard:hover img { transform: scale(1.04); }
.m-gcard-t { display: flex; flex-direction: column; padding: 12px; }
.m-gcard-t b { font: 800 1.02rem/1.2 var(--f-head); text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
.m-gcard-t small { font: 600 .78rem/1.3 var(--f-sans); opacity: .88; }
.m-searching .m-grid, .m-searching .m-featured, .m-searching .m-events { display: none; }

/* variants + extras */
.m-vars { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.m-vars li { display: inline-flex; gap: 6px; align-items: baseline; padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--on-tint); font-size: .85rem; }
.m-vars li b { font-weight: 800; }
.m-vars li.is-extra { background: transparent; border: 1px dashed var(--line); color: var(--muted); }

/* serving hours */
.m-serve { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.m-serve svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }

/* allergens with icons */
.m-alg { line-height: 1.9; }
.m-alg-i { display: inline-flex; align-items: center; gap: 4px; margin-inline-end: 6px; padding: 0 8px 0 4px; border-radius: 99px;
  background: var(--tint); color: var(--on-tint); font-size: .8rem; line-height: 1.7; white-space: nowrap; }
.m-alg-i i { font-style: normal; }
.m-alg-i.is-may { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* Wi-Fi window */
.m-wifi .m-detail-body h3 { margin: 0 0 12px; font: 800 1.3rem/1.2 var(--f-head); }
.m-wifi-dl { margin: 0; display: grid; gap: 4px 0; }
.m-wifi-dl dt { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.m-wifi-dl dd { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 1.1rem; word-break: break-all; }
.m-copy { padding: 6px 14px; border-radius: 99px; border: 0; background: var(--accent); color: var(--on-accent); font: 700 .85rem/1.2 var(--f-sans); cursor: pointer; }
.m-copied { color: var(--accent); font-weight: 700; margin: 10px 0 0; }

/* estimated menu (profile page of an unclaimed business) uses site.css; see .est-menu there */

/* right to left (Arabic) */
[dir="rtl"] .m-top { right: auto; left: var(--gutter); }
[dir="rtl"] .m-band { border-left: 0; border-right: 4px solid var(--accent); }
[dir="rtl"] .m-feat-tag { left: auto; right: 10px; }
