/* A restaurant's pages shown inside watadish.com (vault P060; founder, 21 Oct 2026): WataDish's bar above them - back to
   every restaurant, the area chosen, the baskets, the account - on the plum of watadish.com itself, the restaurant's
   name and pages below it. Read only on those pages (layouts/public.twig), so site.css stays within its weight
   (MenuWeightTest). Logical properties only (CssLogicalPropertiesTest). */
.guide-bar { --guide-ink: #ffffff; --guide-soft: rgb(255 255 255 / 0.72); background: #2c1030; color: var(--guide-ink); font-size: 0.92rem; }
/* As wide as WataDish's own pages, over a restaurant's narrower column too: the same bar on every page of the list. */
.guide-bar .wrap.guide-wrap { max-inline-size: 70rem; padding-inline: 1.25rem; }
.guide-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.9rem; padding-block: 0.5rem; }
.guide-bar a { color: var(--guide-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; min-block-size: 2.25rem; border-radius: 999px; }
.guide-bar a:hover span, .guide-bar a:focus-visible span { text-decoration: underline; text-underline-offset: 0.2em; }
.guide-bar svg { inline-size: 1.1rem; block-size: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir=rtl] .guide-back svg { transform: scaleX(-1); }
.guide-logo { font-family: 'El Messiri', var(--font-heading); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin-inline-end: 0.25rem; }
.guide-logo span { color: #f4a6c8; }
.guide-back { font-weight: 600; }
.guide-place { color: var(--guide-soft) !important; max-inline-size: 16rem; min-inline-size: 0; }
.guide-place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-owners { margin-inline-start: auto; color: var(--guide-soft) !important; font-size: 0.85rem; }
.guide-account { font-weight: 600; padding-inline: 0.8rem; border: 1px solid rgb(255 255 255 / 0.35); }
/* The baskets in the bar: a bag on the plum, the number of baskets on a pink dot; the drawer below keeps its own paper. */
.guide-bar .gb-button { min-block-size: 2.25rem; padding-block: 0; padding-inline: 0.75rem; border: 1px solid rgb(255 255 255 / 0.35); background: transparent; color: var(--guide-ink); font-weight: 600; }
.guide-bar .gb-button::after { display: none; }
.guide-bar .gb[open] > .gb-button { border-color: #f4a6c8; }
.gb-count { display: inline-grid; place-items: center; min-inline-size: 1.35rem; block-size: 1.35rem; padding-inline: 0.3rem; border-radius: 999px; background: #f4a6c8; color: #2c1030; font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.guide-bar .gb-drawer { color: var(--ink, #1d1322); font-size: 1rem; }
/* WataDish's language menu, on the list's bar. */
.guide-bar .guide-lang { order: 0; }
.guide-bar .guide-lang > summary { min-block-size: 2.25rem; border-color: rgb(255 255 255 / 0.35); background: transparent; color: var(--guide-ink); }
.guide-bar :focus-visible { outline-color: #f4a6c8; }
/* The baskets drawer opens inside the bar: its quiet button keeps the drawer's own ink, not the bar's white. */
.guide-bar .gb-drawer a.btn-quiet { color: var(--ink, #1d1322); }
/* On a phone: the name, the way back and the account on the first line; the area and the baskets under them. */
@media (max-width: 40rem) {
  .guide-wrap { gap: 0 0.7rem; padding-block: 0.3rem 0.4rem; }
  .guide-logo { font-size: 1.15rem; }
  /* The account as its icon alone (its name still read out), so the baskets fit on the first line beside it. */
  .guide-bar .guide-owners, .guide-bar .gb-word { display: none; }
  .guide-account { margin-inline-start: auto; padding-inline: 0; inline-size: 2.25rem; justify-content: center; }
  .guide-account span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The second line: the area, and the baskets at its end. */
  .guide-place { order: 9; flex: 1 1 60%; max-inline-size: none; min-block-size: 1.9rem; }
  .guide-bar .gb { order: 10; }
}

/* ---- A restaurant's pages under the bar (founder, 22 Oct 2026: "rethink the whole design and layout, inspired by Just
   Eat, Deliveroo and Uber Eats - choose the best of each"). Uber Eats' store head over the menu (partials/guide_store.twig),
   a short head over its other pages (partials/guide_head.twig), and Deliveroo's three columns on a wide screen: the
   sections down the side, the menu as cards two to a row, the basket's panel (partials/guide_basket_panel.twig). On a
   phone the menu stays one column under its bar of sections, the basket's bar at its foot. Everything here is under
   .guide or a class only those pages draw: the restaurant's own site never reads this sheet. ---- */
.guide { --guide-width: 70rem; --guide-gutter: 1.25rem; --guide-plum: #2c1030; --guide-pink: #f4a6c8; --guide-blush: #fbe8f0; }
@media (max-width: 40rem) { .guide { --guide-gutter: 1rem; } }
/* WataDish's width for every part of the page that is not a form or a slip of paper. */
.guide .gs, .guide .gm, .guide main > .flashes, .guide .site-foot .wrap { max-inline-size: var(--guide-width); margin-inline: auto; padding-inline: var(--guide-gutter); }
.guide .gs { box-sizing: border-box; }
/* The restaurant's notice ("Closed for Eid until Tuesday") and the order being followed: slim bands in the column. */
.guide .banner-notice, .guide .banner-order { inline-size: min(calc(var(--guide-width) - 2 * var(--guide-gutter)), calc(100% - 2 * var(--guide-gutter))); box-sizing: border-box; margin-block: 0.9rem 0; margin-inline: auto; padding-block: 0.55rem; border: 1px solid var(--line); border-radius: 0.75rem; font-size: 0.9rem; }
.guide .banner-notice { background: var(--guide-blush); color: var(--ink); text-align: start; }
.guide .banner-notice span { max-inline-size: none; }
.guide .banner-order { background: var(--guide-plum); border-color: var(--guide-plum); justify-content: space-between; }

/* The store head: the cover as a short banner with rounded corners, the round logo over its lower edge. */
.gs { padding-block: 1.25rem 0.25rem; }
.gs-cover { aspect-ratio: 16 / 5; border-radius: 1.25rem; overflow: hidden; background: var(--guide-plum); background: linear-gradient(120deg, var(--guide-plum) 0%, #5d1a4a 55%, #a3195b 100%); }
.gs-cover img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
/* No cover photo: a lower band of WataDish's plum, so the name does not sit under a big empty colour. */
.gs-cover.is-plain { aspect-ratio: auto; block-size: 6.5rem; }
.gs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem 1rem; margin-block-start: -3rem; padding-inline-start: 1.5rem; }
.gs-logo { flex: none; inline-size: 6rem; block-size: 6rem; border-radius: 50%; object-fit: cover; background: var(--surface); border: 4px solid var(--surface); box-shadow: 0 8px 22px -10px rgb(44 16 48 / 0.45); box-sizing: border-box; }
.gs-initial { display: grid; place-items: center; background: var(--guide-blush); color: var(--brand-text); font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.guide-langs { gap: 0.1rem; flex-wrap: wrap; justify-content: flex-end; }
.guide-langs a { min-block-size: 2.25rem; padding-inline: 0.55rem; font-size: 0.85rem; }
.gs-name { margin-block: 0.7rem 0; font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1.15; overflow-wrap: anywhere; }
.gs-line { margin-block: 0.3rem 0; max-inline-size: 48rem; color: var(--muted); }
.gs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0; margin-block: 0.45rem 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.gs-meta > span:not(:first-child)::before { content: '·'; margin-inline: 0.5rem; color: var(--muted); font-weight: 400; }
.gs-score { display: inline-flex; align-items: center; gap: 0.25rem; }
.gs-score svg { inline-size: 1.05em; block-size: 1.05em; fill: #e39a00; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 0.9rem 0; margin-inline: 0; padding: 0; list-style: none; }
.gs-chips > li { display: flex; }
.gs-chip { display: inline-flex; align-items: center; gap: 0.4rem; min-block-size: 2.5rem; padding-inline: 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-sizing: border-box; }
a.gs-chip:hover { border-color: var(--ink); }
.gs-chip svg { flex: none; inline-size: 1.1rem; block-size: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs-chip svg.is-filled { fill: currentColor; stroke: none; }
.gs-chip .chev { inline-size: 0.95rem; block-size: 0.95rem; margin-inline-end: -0.25rem; }
[dir=rtl] .gs-chip .chev, [dir=rtl] .gh-chev { transform: scaleX(-1); }
.gs-chat { color: var(--ok); }
.gs-status .info-dot { margin-inline-end: 0.1rem; }
.gs-status.is-closed { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.gs-branch .branch-pick, .gs-branch .branch-here { margin-block-start: 0.6rem; }
@media (max-width: 40rem) {
  .gs { padding-block-start: 0.75rem; }
  .gs-cover { aspect-ratio: 16 / 9; border-radius: 1rem; }
  .gs-cover.is-plain { aspect-ratio: auto; block-size: 5rem; }
  .gs-top { margin-block-start: -2.4rem; padding-inline-start: 0.9rem; }
  .gs-logo { inline-size: 4.75rem; block-size: 4.75rem; border-width: 3px; }
  .gs-initial { font-size: 2rem; }
  /* The chips in one row a thumb slides along, as Uber Eats has them, rather than three rows of them. */
  .gs-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--guide-gutter)); padding-inline: var(--guide-gutter); padding-block-end: 0.2rem; scrollbar-width: none; }
  .gs-chips::-webkit-scrollbar { display: none; }
}

/* WataDish's offers here (vault P061): a magenta strip each under the chips - its few words, its title, how it comes off,
   and for a coupon not kept yet the button that keeps it on the account. */
.gs-offers { display: grid; gap: 0.5rem; margin-block: 0.9rem 0; margin-inline: 0; padding: 0; list-style: none; }
.gs-offer { --wd-magenta: #a3195b; display: flex; align-items: center; gap: 0.7rem; padding-block: 0.65rem; padding-inline: 0.85rem; border-radius: 0.9rem; background: linear-gradient(120deg, color-mix(in srgb, var(--wd-magenta) 10%, #fff), var(--guide-blush)); border: 1px solid color-mix(in srgb, var(--wd-magenta) 25%, #fff); color: var(--ink); }
.gs-offer-tag { flex: none; inline-size: 2.1rem; block-size: 2.1rem; padding: 0.45rem; border-radius: 50%; background: var(--wd-magenta); color: #fff; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.gs-offer-text { flex: 1; min-inline-size: 0; margin: 0; font-size: 0.92rem; line-height: 1.35; }
.gs-offer-text strong { color: #8c1450; font-weight: 750; }
.gs-offer-text small { display: block; color: var(--muted); font-size: 0.82rem; }
.gs-offer-code { padding-inline: 0.35rem; border: 1px dashed var(--wd-magenta); border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ink); }
.gs-offer-claim { flex: none; margin: 0; }
.gs-offer-claim button { min-block-size: 2.5rem; padding-inline: 1rem; border: 0; border-radius: 999px; background: var(--wd-magenta); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.gs-offer-claim button:hover { background: #6f0f3f; }
.gs-offer-claim button:focus-visible { outline: 3px solid var(--wd-magenta); outline-offset: 2px; }

/* The basket's and the checkout's WataDish offer (vault P061): its line in the totals with "WataDish offer" under its title,
   a word on which discount counts, and the code's field with its refusal under it. */
.wd-line dt { display: grid; }
.wd-by { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.wd-line dd { color: #8c1450; }
.wd-note { margin-block: 0.4rem 0; color: var(--muted); font-size: 0.88rem; }
.wd-note:empty, .wd-note[hidden] { display: none; }
.wd-code .error { display: block; margin-block: 0.4rem 0; color: var(--danger); font-weight: 600; }
.wd-code .error:empty { display: none; }

/* The short head of a restaurant's other pages: back to its menu, with its logo and name. */
.gh { background: var(--surface); border-block-end: 1px solid var(--line); }
.gh-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; max-inline-size: var(--guide-width); margin-inline: auto; padding-block: 0.45rem; padding-inline: var(--guide-gutter); }
.gh-back { display: inline-flex; align-items: center; gap: 0.6rem; min-block-size: 2.75rem; min-inline-size: 0; margin-inline-end: auto; color: var(--ink); text-decoration: none; }
.gh-back:hover .gh-name { text-decoration: underline; text-underline-offset: 0.2em; }
.gh-chev { flex: none; inline-size: 1.15rem; block-size: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gh-logo { flex: none; inline-size: 2.5rem; block-size: 2.5rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); box-sizing: border-box; }
.gh-logo.gs-initial { font-size: 1.15rem; }
.gh-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.gh-book { min-block-size: 2.25rem; }

/* The menu: one column on a phone, the bar of sections edge to edge. */
.gm { padding-block-end: 1rem; }
.gm .wrap { max-inline-size: none; margin-inline: 0; padding-inline: 0; }
/* Search and the sections first, right under the head, then today's specials (Deliveroo, Uber Eats): the bar is moved
   up, not redrawn, so finder.js and the page without styles keep their order. */
.gm-main { display: flex; flex-direction: column; min-inline-size: 0; }
.gm-main > .menu-top, .gm-main > .menu-bar { order: -1; }
/* A dish's rows as tall as their words: a plain 1fr last row grew with the photo's "+" (it spans every row). */
.gm .menu-list .dish { grid-template-rows: auto auto auto minmax(0, 1fr); }
.gm-cats, .gm-basket { display: none; }
.gm .menu-bar { margin-inline: calc(-1 * var(--guide-gutter)); }
.gm .menu-bar-inner { max-inline-size: none; padding-inline: var(--guide-gutter); }
.gm .finder-panel { max-inline-size: none; }
.gm .rail a[aria-current=true] { background: var(--guide-plum); color: #fff; }
.gm .category { scroll-margin-block-start: 4.5rem; }
.gm .category > header h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
/* A dish without a photo shows no stand-in letter (Uber Eats): its words take the room, the "+" at the row's end. */
.gm .menu-list .dish:has(.dish-letter) { --thumb: 2.5rem; }
.gm .menu-list .dish-letter { visibility: hidden; }
.gm .menu-list .dish:has(.dish-letter) .dish-add { align-self: end; margin: 0; }

/* A wide screen: Deliveroo's three columns inside WataDish's width. */
@media (min-width: 64rem) {
  .gm { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 17.5rem; gap: 1.5rem; align-items: start; }
  .gm-cats, .gm-basket { display: block; position: sticky; inset-block-start: 1rem; max-block-size: calc(100vh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
  .gm-cats { padding-block-start: 1.6rem; scrollbar-width: thin; }
  .gm-cats ul { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
  .gm-cats a { display: block; padding-block: 0.5rem; padding-inline: 0.85rem; border-inline-start: 3px solid transparent; border-radius: 0.6rem; color: var(--ink); font-size: 0.95rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
  .gm-cats a:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
  .gm-cats a[aria-current=true] { border-inline-start-color: var(--brand); background: var(--guide-blush); color: var(--brand-text); }
  .gm-basket { padding-block-start: 1.6rem; }
  /* The side list does what the bar of sections did: the bar keeps search, saved dishes and the filters. */
  .gm .menu-bar { margin-inline: 0; margin-block-start: 1rem; border-block-end: 0; }
  .gm .menu-bar-inner { padding-inline: 0; padding-block: 0.6rem; }
  .gm .menu-bar .rail { display: none; }
  .gm .menu-bar .finder-field { flex: 1; }
  .gm .menu-bar .finder-q, .gm .menu-bar:not(.is-searching) .finder-q { inline-size: 100%; border-color: var(--line); }
  .gm .finder-panel { border-radius: var(--radius); border-block-start: 1px solid var(--line); }
  /* Dishes as cards, two to a row while the column has room: the words at the reading side, the square photo at the
     other with its "+" on the corner, as on a phone. */
  .gm .menu-list { --thumb: 5.5rem; }
  .gm .menu-list .dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.75rem; margin-block-start: 0.9rem; border: 0; }
  .gm .menu-list .dish { column-gap: 0.75rem; padding: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
  .gm .menu-list .dish:last-child { border-block-end: 1px solid var(--line); }
  .gm .menu-list .dish:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: 0 12px 26px -20px rgb(44 16 48 / 0.45); }
  .gm .menu-list .dish:has(.dish-name a:focus-visible) { outline-offset: 2px; }
  .gm .menu-list .dish-add { margin-inline: 0; }
  .gm .menu-list .dish:has(.dish-letter) { --thumb: 2.5rem; }
  .gm .specials { padding-block-start: 1.6rem; }
  /* The panel beside the menu is the basket: no bar at the foot as well. */
  .guide .basket-bar { display: none; }
}

/* The basket's panel. */
.gp { padding: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: 0 14px 34px -26px rgb(44 16 48 / 0.55); }
.gp-title { margin-block: 0 0.6rem; font-size: 1.3rem; }
.gp-empty { display: grid; justify-items: center; gap: 0.6rem; padding-block: 1rem 0.5rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
.gp-empty svg { inline-size: 3.25rem; block-size: 3.25rem; padding: 0.7rem; border-radius: 50%; background: var(--guide-blush); fill: none; stroke: var(--brand-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.gp-empty p { margin: 0; max-inline-size: 15rem; }
.gp-lines { margin: 0; padding: 0; list-style: none; }
.gp-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.75rem; padding-block: 0.7rem; border-block-end: 1px solid var(--line); }
.gp-what { display: grid; min-inline-size: 0; }
.gp-name { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.gp-options { color: var(--muted); font-size: 0.82rem; }
.gp-problem { color: var(--danger); font-size: 0.82rem; font-weight: 600; }
.gp-price { font-weight: 600; }
.gm .gp-qty, .gp-qty { grid-column: 1 / -1; margin-block-start: 0.35rem; padding: 0; gap: 0.35rem; }
.gp-qty button:not(.link-btn) { inline-size: 2.1rem; block-size: 2.1rem; font-size: 1.05rem; }
.gp-qty .link-btn { margin-inline-start: 0; }
.gp-n { min-inline-size: 1.5rem; text-align: center; font-weight: 700; }
.gp-total { display: flex; justify-content: space-between; gap: 1rem; margin-block: 0.9rem; font-weight: 700; font-size: 1.05rem; }
.gp .btn-block { box-sizing: border-box; }
.gp-go { margin-block-end: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .gm .menu-list .dish { transition: none; }
}
