/* Phone add-on on top of the order page (wolt-plus.js): search sticks with the chapter tabs, "Meistbestellt" as a row to swipe,
   the dish window in the Wolt layout (photo edge to edge, options as a radio list, the name moves into a small bar while scrolling).
   Basket, bar and checkout are untouched. Desktop: nothing changes. */

/* 1 · search sits in the sticky block above the chapter tabs */
html.w-phone .k3-pick-wrap > .k3-search { display: flex; align-items: center; gap: 0.55rem; margin: 0.55rem 0 0.15rem; height: 2.5rem; padding: 0 0.95rem; border-radius: 999px; background: var(--card, #1e1b19); border: 1px solid var(--line); }
html.w-phone .k3-pick-wrap > .k3-search svg { width: 1rem; height: 1rem; flex: none; }
html.w-phone .k3-pick-wrap > .k3-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; }

/* 2 · Meistbestellt */
html.w-phone .wp-row { display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; margin: 0.9rem -1.25rem 0.4rem; padding: 0 1.25rem 0.3rem; scrollbar-width: none; }
html.w-phone .wp-row::-webkit-scrollbar { display: none; }
html.w-phone .wp-card { position: relative; flex: none; width: 9.4rem; scroll-snap-align: start; border-radius: 0.8rem; background: var(--card, #1e1b19); overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.w-phone .wp-card .wp-ph { aspect-ratio: 4 / 3; background: #2a2623; }
html.w-phone .wp-card .wp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.w-phone .wp-card .wp-ph img.wp-seal { object-fit: contain; padding: 22%; box-sizing: border-box; }
html.w-phone .wp-card .wp-tx { padding: 0.5rem 0.7rem 0.75rem; font-size: 0.8125rem; line-height: 1.3; }
html.w-phone .wp-card .wp-tx b { display: block; color: var(--accent-text, #f04b52); font-weight: 600; font-variant-numeric: tabular-nums; }
html.w-phone .wp-card .wp-tx span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.15rem; }
html.w-phone .wp-step { position: absolute; top: 0.45rem; right: 0.45rem; z-index: 2; display: flex; align-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--accent, #e3262d); color: #fff; overflow: hidden; transition: width 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
html.w-phone .wp-step button { flex: none; width: 2rem; height: 2rem; border: 0; background: none; color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 0; }
/* like the dish list: the + keeps its size, the count sits on its corner as a small "1×" tag; taking out happens in the basket */
html.w-phone .wp-step .wp-n { position: absolute; top: -0.25rem; left: -0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--accent, #e3262d); color: #fff; font-weight: 600; font-size: 0.6875rem; line-height: 1.35; }
html.w-phone .wp-step .wp-n::after { content: "×"; }
html.w-phone .wp-step { overflow: visible; }   /* the tag sticks out over the corner */
html.w-phone .wp-step .wp-m, html.w-phone .wp-step:not(.on) .wp-n { display: none; }
/* the original rows of "Gästefavoriten" stay in the page (their + buttons do the real work) but take no room */
html.w-phone .wp-src { height: 0; overflow: hidden; margin: 0 !important; padding: 0 !important; }

/* 3 · dish window */
html.w-phone .k3-stage .k3-frame { overflow-y: auto; overscroll-behavior: contain; }   /* the whole window scrolls (photo included), like Wolt */
html.w-phone .k3-stage .k3-info { flex: none; height: auto; overflow: visible; }
html.w-phone .k3-stage .k3-photo:not(.is-card) { padding: 0 !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; aspect-ratio: 16 / 9; height: auto !important; }
html.w-phone .k3-stage .k3-photo:not(.is-card)::before { inset: 0; border-radius: 0; }
html.w-phone .k3-stage .k3-photo:not(.is-card) img.k3-shot { border-radius: 0 !important; width: 100%; height: 100%; object-fit: cover; }
html.w-phone .k3-stage .k3-zoom, html.w-phone .k3-stage .k3-photo .lux-seal { display: none !important; }
/* one font in the window, the same as the dish list (the name, price and option prices were in the serif font) */
html.w-phone .k3-stage .k3-info h2 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; line-height: 1.25; letter-spacing: 0; }
html.w-phone .k3-stage .k3-info .k3-desc { font-size: 0.8125rem; line-height: 1.5; margin-top: 0.5rem; }
html.w-phone .k3-stage .k3-info .k3-price { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }   /* white, as strong as the name */
html.w-phone .k3-stage .k3-info .k3-price small, html.w-phone .k3-stage .k3-info .k3-price span { font-size: 0.75rem; }
/* dishes without a photo show the wooden menu tag: same height as a photo */
html.w-phone .k3-stage .k3-photo.is-card { aspect-ratio: 4 / 3; height: auto !important; min-height: 0 !important; }
/* the card is shorter than the menu card (4:3: in 16:9 long names like "Vietnamesische Sommerrollen" never fit): smaller name, padding and seal on the tag, or names like "Pho Hanoi" were cut off (also in the basket box) */
html.w-phone .k3-photo.is-card .k3-tag { padding: 0.7rem 0 0.6rem; gap: 0.45rem; }
html.w-phone .k3-photo.is-card .k3-tag-name { font-size: 1.3rem; }
html.w-phone .k3-photo.is-card .k3-tag-seal { width: 1.5rem; height: 1.5rem; }
html.w-phone .k3-variants { gap: 0; margin-top: 0.3rem; }
html.w-phone .k3-variants li { position: relative; display: flex; gap: 0.8rem; min-height: 2.5rem; padding: 0.45rem 0 0.45rem 2.1rem; font-size: 0.9375rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; }
html.w-phone .k3-variants li:last-child { border-bottom: 0; }
html.w-phone .k3-variants li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -0.625rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-2); transition: box-shadow 200ms ease, background 200ms ease; }
html.w-phone .k3-variants li.on::before { background: var(--accent); box-shadow: inset 0 0 0 4px var(--bg), 0 0 0 2px var(--accent); }
html.w-phone .k3-variants li > span:last-child { margin-left: auto; color: var(--ink-2); font-family: var(--sans); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
html.w-phone .k3-variants.need li::before { box-shadow: inset 0 0 0 2px var(--accent); }
html.w-phone .wp-mini { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 3.5rem; display: flex; align-items: center; justify-content: center; padding: 0 3.6rem; background: var(--bg); border-bottom: 1px solid var(--line); border-radius: inherit; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(-0.4rem); transition: opacity 200ms ease, transform 200ms ease; pointer-events: none; }
html.w-phone .wp-mini.on { opacity: 1; transform: none; }
html.w-phone .k3-stage .k3-close { z-index: 7; }

/* 4 · "Oft zusammen bestellt" in the dish window: the same small tiles as "Passt dazu" in the basket (a row to swipe, dark circle with +) */
html.w-phone .wp-up { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
html.w-phone .wp-uph { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.6rem; }
html.w-phone .wp-ug { display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1.25rem; padding: 0 1.25rem 0.2rem; }
html.w-phone .wp-ug::-webkit-scrollbar { display: none; }
html.w-phone .wp-ut { position: relative; flex: none; width: 6.4rem; }
html.w-phone .wp-ut .wp-ph { display: block; aspect-ratio: 3 / 2; border-radius: 0.8rem; overflow: hidden; background: var(--card, #1e1b19); }
html.w-phone .wp-ut .wp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.w-phone .wp-ut .wp-tx { padding: 0.35rem 0 0; font-size: 0.75rem; line-height: 1.3; }
html.w-phone .wp-ut .wp-tx span { display: block; font-weight: 600; }
html.w-phone .wp-ut .wp-tx small { display: block; font-size: 0.75rem; color: var(--ink-2); }
html.w-phone .wp-ub { position: absolute; top: 0.35rem; right: 0.35rem; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: var(--bg-2, #1b1816); color: var(--ink); font-size: 0.85rem; line-height: 1; cursor: pointer; transition: transform 200ms ease, background 200ms ease; }
html.w-phone .wp-ub.ok { background: var(--accent, #e3262d); color: #fff; }
html.w-phone .wp-ub:active { transform: scale(0.9); }

/* 5 · basket lines: smaller name, the chosen option small underneath (white, not grey) */
html.w-phone #o-modal .o-nm { font-size: 0.875rem; line-height: 1.3; }
html.w-phone #o-modal .wp-var { display: block; margin-top: 0.1rem; font-size: 0.75rem; font-weight: 500; color: var(--ink); }

/* 6 · the frame of the tapped dish goes around the whole row, + circle included (it sat on the text part only); drawn on top, nothing moves */
html.w-phone .k3-row[aria-current="true"] { box-shadow: none !important; background: none !important; }
html.w-phone .k3-row:focus-visible { outline: none; }   /* after the dish window closes the focus returns to the row: shown by the same frame around the whole row */
html.w-phone .k3-sec li:has(> .k3-row[aria-current="true"])::after, html.w-phone .k3-sec li:has(> .k3-row:focus-visible)::after { content: ""; position: absolute; inset: 0.25rem -0.55rem; border-radius: 0.7rem; box-shadow: inset 0 0 0 1px rgb(216 198 163 / 0.4); background: rgb(216 198 163 / 0.04); pointer-events: none; }

/* 7 · no scrollbars on the phone layout (page and dish window); scrolling itself is unchanged */
html.w-phone, html.w-phone .k3-stage .k3-frame { scrollbar-width: none; }
html.w-phone::-webkit-scrollbar, html.w-phone .k3-stage .k3-frame::-webkit-scrollbar { display: none; }

/* 8 · one + / − everywhere, drawn like the basket's − / + (two bars, 12 × 2 px, exactly in the middle): the dish list's + (was 1.5 px),
   the stepper, "Passt dazu", and the new cards / upsell (were font characters). The ✓ states stay as they are. */
.o-add:not(.ok)::before { width: 12px; height: 2px; margin: -1px 0 0 -6px; }
.o-add:not(.ok)::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; }
.o-step button::before { width: 12px; height: 2px; margin: -1px 0 0 -6px; }
.o-step button[data-rq$=":1"]::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; }
.o-sug button:not(.o-added) u, html.w-phone .wp-step button, html.w-phone .wp-ub:not(.ok) { font-size: 0; }   /* (html.w-phone: as specific as the rules that size them) */
.o-sug button:not(.o-added) u::before, .o-sug button:not(.o-added) u::after, .wp-step button::before, .wp-step .wp-p::after, .wp-ub:not(.ok)::before, .wp-ub:not(.ok)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: currentColor; }
.o-sug button:not(.o-added) u::after, .wp-step .wp-p::after, .wp-ub:not(.ok)::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; }
.wp-step button { position: relative; }

/* 9 · basket and checkout windows: the heading ("Warenkorb" …) in the same font as everything below it, not the serif */
html.w-phone #o-modal h2 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

/* 10 · basket / checkout windows: the heading ("Warenkorb") and its ✕ stay on top, only the items scroll under them (phone and desktop) */
#o-modal .o-sheet .sheet-head { position: sticky; top: -4px; z-index: 3; margin: -4px -1.5rem 0; padding: 4px 1.5rem 0; background: rgb(20 18 17); }   /* opaque, and over the scroll area's 4px top padding too, so no dish shows above or through it */

/* 11 · dish photos in the list (mouse only): the same hover as the "Passt dazu" tiles, the photo lifts a little and zooms gently inside its frame
   (it used to grow to 112 % over its edge) */
@media (hover: hover) and (pointer: fine) {
  .k3-slot { transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .k3-slot:has(img:not(.k3-slot-seal)) { overflow: hidden; }
  .k3-row:hover .k3-slot:has(img:not(.k3-slot-seal)) { transform: translateY(-2px); }
  .k3-row:hover .k3-slot img:not(.k3-slot-seal) { transform: scale(1.05); box-shadow: none; }
}

/* 12 · basket / checkout window on the phone: solid, not glass (over an open dish window the glass let the dish show through) */
html.w-phone #o-modal .o-sheet { background: rgb(20 18 17); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 13 · iOS Safari zooms into any field with text under 16px when it is tapped (search 15px, voucher 13px) */
html.w-phone input, html.w-phone textarea, html.w-phone select { font-size: 16px; }
/* 14 · basket bar: narrower + flatter while scrolling down (wolt-plus.js 5). "Ansehen" fills the free space, so the full bar has no gap and the
   button narrows with the bar. Width/padding only, no scale: a scale on this fixed bar made iOS overshoot ~18px and snap back when Safari's toolbar hid (Ha 08.11.) */
html.w-phone .o-bar-btn { transition: width 500ms cubic-bezier(0.32, 0.72, 0, 1), padding 500ms cubic-bezier(0.32, 0.72, 0, 1), transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 250ms ease, background-color 250ms ease; }
html.w-phone .o-bar .o-bt { flex: 0 1 auto; } html.w-phone .o-bar .o-view { flex: 1 1 auto; text-align: center; }
html.w-phone .o-bar.o-mini .o-bar-btn { width: min(100%, 17.5rem); padding-top: 0.4rem; padding-bottom: 0.4rem; }
@media (prefers-reduced-motion: reduce) { html.w-phone .o-bar-btn { transition: none; } }

/* 6 · one font: the last serif text on the phone ("2 Stück", allergen letters, page title, language switch) uses the main font (Ha 09.11.); the name-tag artwork, kanji and logo stay serif */
html.w-phone .k3-title, html.w-phone .k3-note, html.w-phone .k3-chips li b, html.w-phone .k3-langsw button { font-family: var(--sans); font-style: normal; }

/* ===== Bestell iOS (approved 12.11.26, phone): head, offer row, search + filter button, type scale, glass basket bar ===== */
/* head: small vertical red お品書き with a thin red line, bold sans "Menu", pickup address under it */
html.w-phone .k3-head { display: flex; align-items: stretch; gap: 0.875rem; margin-bottom: 0.25rem; }
html.w-phone .k3-oshi { display: block; writing-mode: vertical-rl; font: 400 0.8125rem/1 var(--jp); letter-spacing: 0.25em; color: #e3262d; padding: 0 0.625rem 0 0; border-right: 1px solid rgb(227 38 45 / 0.6); }
html.w-phone .k3-title { font: 700 1.75rem/1.1 var(--sans); letter-spacing: -0.02em; margin: 0; }
html.w-phone .w-sub { margin: 0.25rem 0 0; font: 400 0.875rem/1.35 var(--sans); color: var(--ink-2); }
html.w-phone .k3-pickup { display: none; }
/* status pill = the hours button; the times open right under it */
html.w-phone .k3-hours.w-hours { display: block; margin: 0.5rem 0 0.125rem; }
html.w-phone .w-pill { position: relative; display: inline-flex; align-items: center; gap: 0.375rem; height: 2.125rem; padding: 0 0.75rem; border: 0; border-radius: 999px; background: rgb(52 199 89 / 0.14); color: #6ee08a; font: 600 0.875rem var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.w-phone .w-pill::before { content: ""; position: absolute; inset: -0.3rem 0; }   /* 44 px tap height */
html.w-phone .w-pill.off { background: rgb(255 69 58 / 0.14); color: #ff8a80; }
html.w-phone .w-pill i { font-style: normal; font-size: 1rem; opacity: 0.8; transition: transform 250ms ease; }
html.w-phone .w-pill[aria-expanded="true"] i { transform: rotate(90deg); }
html.w-phone .w-hours span.w-stt { font: inherit; color: inherit; white-space: nowrap; }
html.w-phone .w-rows { margin: 0.625rem 0 0.125rem; font-size: 0.875rem; }
/* offer row like the live one (no fill, no frame): yellow star, bold "20 % Rabatt", grey days + end date, › */
html.w-phone .o-pchips { display: flex; gap: 0.5rem; margin: 0.375rem 0 0; }
html.w-phone .o-pchips > .o-promo { flex: 1 1 auto; min-width: 0; width: auto; height: 2.75rem; margin: 0; padding: 0; gap: 0.5rem; font-size: 0.875rem; color: #b9b0a2; white-space: nowrap; }
html.w-phone .o-pchips > .o-promo .o-orb { display: none; }
html.w-phone .o-pchips > .o-promo > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.w-phone .o-pchips b { display: inline; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
html.w-phone .o-pchips small { font-size: 0.875rem; color: #b9b0a2; }
html.w-phone .o-pstar { display: inline; font-style: normal; font-size: 0.9375rem; color: #FFED29; filter: drop-shadow(0 0 3px rgb(255 237 41 / 0.35)); }
html.w-phone .o-pchev { display: inline; margin-left: auto; padding-left: 0.5rem; font-style: normal; font-size: 1.125rem; color: var(--ink-2); }
html.w-phone .o-pchips.many { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; margin: 0.375rem -1.25rem 0; padding: 0 1.25rem; scrollbar-width: none; }
html.w-phone .o-pchips.many::-webkit-scrollbar { display: none; }
html.w-phone .o-pchips.many > .o-promo { flex: 0 0 86%; scroll-snap-align: start; }
html.w-phone .o-pchips.many::after { content: ""; flex: 0 0 0.75rem; }
/* search field with a round filter button; the diet chips fold out under it */
html.w-phone .wp-sline { display: flex; gap: 0.5rem; align-items: center; margin: 0.5rem 0 0.125rem; }
html.w-phone .wp-sline > .k3-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.625rem; height: 2.75rem; margin: 0; padding: 0 0.875rem; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.04); box-sizing: border-box; }
html.w-phone .wp-sline > .k3-search svg { width: 1rem; height: 1rem; flex: none; }
html.w-phone .wp-sline > .k3-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; font-size: 1rem; }
html.w-phone .wp-fbtn { position: relative; flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
html.w-phone .wp-fbtn[aria-expanded="true"] { background: rgb(255 255 255 / 0.08); }
html.w-phone .wp-fbtn.on::after { content: ""; position: absolute; top: 0.45rem; right: 0.45rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
html.w-phone .k3-pick-wrap > .k3-fbtns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.375rem 0 0.25rem; }
html.w-phone .k3-pick-wrap > .k3-fbtns[hidden] { display: none; }
html.w-phone .k3-pick-wrap > .k3-fbtns button { height: 2.5rem; padding: 0 0.875rem; }
html.w-phone .k3-pick-wrap > .k3-fbtns button::after { font-size: 0.875rem; }
/* one type scale: 12 / 14 / 16 / 17 / 20 / 28; section headings bold sentence case */
html.w-phone .k3-sec-head h2 { font: 700 1.25rem/1.25 var(--sans); letter-spacing: -0.01em; text-transform: none; }
html.w-phone .k3-sec-head p { font-size: 0.875rem; }
html.w-phone .k3-row-name { font-size: 1.0625rem; }
html.w-phone .k3-row-desc { font-size: 0.875rem; }
html.w-phone .k3-row-price { font-size: 1rem; }
html.w-phone .wp-tx b, html.w-phone .wp-tx span { font-size: 1rem; }
html.w-phone .wp-step .wp-n { font-size: 0.75rem; }
/* gold star after "Gästefavoriten" */
html.w-phone .k3-sec-head .k3-star-h { display: inline; margin-left: 0.5rem; font-size: 1em; color: #FFED29; filter: drop-shadow(0 0 3px rgb(255 237 41 / 0.35)); }
/* dishes without a photo: no logo placeholder, the text uses the full width */
html.w-phone .k3-sec li .k3-row.k3-row--nophoto { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "price"; }
html.w-phone .k3-row--nophoto > .k3-slot { display: none; }
/* tap targets of 44 px: the + keeps its look, the hit area grows */
html.w-phone .o-add { width: calc(1.8rem + 16px); height: calc(1.8rem + 16px); border: 8px solid transparent; background-clip: padding-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent); translate: 8px -8px; outline-offset: -4px; }   /* same 1.8rem ring, 44+ px to tap */
html.w-phone .o-add.ok { border-color: transparent; box-shadow: inset 0 0 0 1px var(--accent); }
html.w-phone .k3-pick-wrap > .k3-fbtns button { border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
html.w-phone .k3-pick-wrap > .k3-fbtns button[aria-pressed="true"] { background: var(--hinoki); color: var(--sumi); border-color: var(--hinoki); }
html.w-phone .wp-tx small { margin-right: 0.25rem; font-size: 0.875rem; }
html.w-phone .o-add > *, html.w-phone .wp-step button > * { pointer-events: none; }
html.w-phone .o-add, html.w-phone .wp-step .wp-p { position: relative; }
/* Ha 16.11.: the list's + sat 15.6 px above the row's middle (menu-wolt's absolute top/margin offsets still applied after
   position: relative above, plus translate -8px). Let the row's flex centre it; the "1×" badge (menu-wolt) then sits on its upper-right edge as designed. */
html.w-phone .k3-sec li > .o-add, html.w-phone .k3-sec li:not(:has(.k3-slot img:not(.k3-slot-seal))) > .o-add { top: auto; bottom: auto; margin-top: 0; translate: 8px 0; align-self: center; }
html.w-phone .wp-step button { outline-offset: 6px; }
html.w-phone .o-chip, html.w-phone .k3-chips li { min-height: 2.5rem; display: inline-flex; align-items: center; font-size: 0.9375rem; }
html.w-phone #o-modal .o-tips .o-chip { justify-content: center; }
html.w-phone header.nav a { padding-block: 0.625rem; }
html.w-phone .wp-step .wp-n { top: auto; bottom: -0.4rem; left: 50%; transform: translateX(-50%); }
/* guest favourite cards: one-line names, less empty space under the text */
html.w-phone .wp-card { height: auto; align-self: start; }
html.w-phone .wp-row { align-items: start; }
html.w-phone .wp-tx { padding: 0.5rem 0.6875rem 0.5625rem; }
html.w-phone .wp-tx span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; }
html.w-phone .wp-tx b { white-space: nowrap; }
/* options in the dish sheet: a small heading over the radio rows, 44 px rows */
html.w-phone .k3-vlegend { margin: 0.875rem 0 0.25rem; font: 600 0.875rem var(--sans); color: var(--ink); }
html.w-phone .k3-variants li { min-height: 2.75rem; }
/* basket bar: clear liquid glass (Ha 13.11.: "noch stärker"): thin tint, light blur so the dishes show through, bright top edge + inner rim;
   the text gets a soft shadow so it reads over a bright photo too. Live layout and morph unchanged. */
/* Ha 16.11.: "more glassy", same size. Frosted body + specular top/bottom light (insets follow the pill at any width, mini included), still no drawn outline */
.o-bar .o-bar-btn { position: relative; background: linear-gradient(180deg, rgb(255 255 255 / 0.24), rgb(255 255 255 / 0.06) 40%, rgb(255 255 255 / 0.02) 65%, rgb(255 255 255 / 0.1)), rgb(28 25 22 / 0.18); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0;
  box-shadow: inset 0 1px 0.5px rgb(255 255 255 / 0.5), inset 0 -1px 0.5px rgb(255 255 255 / 0.16), inset 0 0 18px rgb(255 255 255 / 0.12), 0 10px 28px rgb(0 0 0 / 0.4); }
/* the blur sits on a layer inside the bar, never on the fixed bar itself: a backdrop-filter (like scale / will-change) on a fixed bottom bar makes
   iOS Safari carry it ~20 px past its place and snap back when the toolbar hides (Ha's video 13.11., frames 57-72) */
.o-bar .o-bar-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; -webkit-backdrop-filter: blur(16px) saturate(2) brightness(0.92); backdrop-filter: blur(16px) saturate(2) brightness(0.92); }
.o-bar .o-bt b, .o-bar .o-bt span { text-shadow: 0 1px 2px rgb(0 0 0 / 0.85), 0 0 12px rgb(0 0 0 / 0.6); }
html.w-phone .o-bar .o-stack img { border-color: rgb(46 42 39); transition: margin-left 500ms cubic-bezier(0.32, 0.72, 0, 1); }
.o-bar .o-bt span { color: #fff; }   /* "3 Gerichte": full white + shadow, the glass is clear now */
/* PC too (Ha 16.11.): same glass; hover brightens the glass instead of turning it solid (order.css sets a solid hover) */
@media (hover: hover) { .o-bar .o-bar-btn:hover { background-color: rgb(28 25 22 / 0.1); border: 0; } }
/* shrunk bar: the photos slide closer so "Ansehen" still fits with 3 dishes (live bug: it stuck out) */
html.w-phone .o-bar.o-mini .o-stack img:not(:first-child) { margin-left: -1.5rem; }
/* dish open while the bar is shrunk: full dish width, so "In den Warenkorb" fits (live bug) */
html.w-phone .o-bar.o-dish .o-bar-btn { width: min(100%, 22rem); padding-top: 0.65rem; padding-bottom: 0.65rem; }
@media (prefers-reduced-motion: reduce) { html.w-phone .o-bar .o-stack img { transition: none; } }
/* basket bar (phone) = the admin tab bar's clear liquid glass (Ha 18.11., reference video): cool charcoal tint, 3 px blur so the menu
   behind stays recognisable, hairline rim + lens band; shrinking/growing on scroll springs a little and sweeps a band of light across */
html.w-phone .o-bar .o-bar-btn { background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 50%), rgb(30 34 40 / 0.55);
  box-shadow: inset 0 1px 0.5px rgb(255 255 255 / 0.38), inset 0 -1px 0.5px rgb(255 255 255 / 0.1), inset 0 0 0 1px rgb(255 255 255 / 0.16), inset 0 0 8px rgb(255 255 255 / 0.09), 0 6px 18px rgb(0 0 0 / 0.22);
  transition: width 550ms cubic-bezier(0.34, 1.25, 0.55, 1), padding 550ms cubic-bezier(0.34, 1.25, 0.55, 1), transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 250ms ease; }
html.w-phone .o-bar .o-bar-btn::before { -webkit-backdrop-filter: blur(3px) saturate(1.7) brightness(0.92); backdrop-filter: blur(3px) saturate(1.7) brightness(0.92); }
html.w-phone .o-bar .o-bar-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.16) 50%, transparent 65%) 0 0 / 250% 100% no-repeat; transition: background-position 1.1s cubic-bezier(0.32, 0.72, 0, 1); }
html.w-phone .o-bar.o-mini .o-bar-btn::after { background-position: 100% 0; }
@media (prefers-reduced-motion: reduce) { html.w-phone .o-bar .o-bar-btn { transition: none; } html.w-phone .o-bar .o-bar-btn::after { display: none; } }
/* clearer, like the reference (Ha 18.11. evening): fainter rim, no white haze inside, 1.5 px blur */
html.w-phone .o-bar .o-bar-btn { background: rgb(30 34 40 / 0.55); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), inset 0 0 0 0.5px rgb(255 255 255 / 0.1), 0 6px 18px rgb(0 0 0 / 0.22); }
html.w-phone .o-bar .o-bar-btn::before { -webkit-backdrop-filter: blur(1.5px) saturate(1.6) brightness(0.92); backdrop-filter: blur(1.5px) saturate(1.6) brightness(0.92); }
/* red buttons = the bar's clear glass with a red tint (Ha 18.11.: "less red, more glassy"), phone + PC: Reservieren, Ansehen,
   In den Warenkorb, checkout buttons. Charcoal glass + bright logo red #ed1c24 at 80 % on top (Ha: bright, high contrast); white text worked out at ~6:1 even over a white photo. */
header.nav .btn:not(.btn-ghost), .k3-sadd, .o-go, #o-modal .btn:not(.btn-ghost), .o-bar .o-view {
  background: linear-gradient(rgb(237 28 36 / 0.8), rgb(237 28 36 / 0.8)), rgb(30 34 40 / 0.5); border: 0; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 0 0 0.5px rgb(255 255 255 / 0.12), 0 4px 14px rgb(0 0 0 / 0.2);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.6); backdrop-filter: blur(1.5px) saturate(1.6); }
/* shine off (Ha 18.11.: no light sweep while scrolling; the springy shrink stays). The sweep is kept in git: tag liquid-shine */
html.w-phone .o-bar .o-bar-btn::after { display: none; }
/* close ✕ on an opened dish (Ha 18.11.): 36 -> 44 px (Apple tap size), the bars' clear charcoal glass + faint rim, no tint;
   white ✕ and a soft shadow so it stays visible over a bright photo */
.k3-stage .k3-close { width: 44px; height: 44px; font-size: 18px; color: #fff; background: rgb(30 34 40 / 0.55);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.6); backdrop-filter: blur(1.5px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 0 0 0.5px rgb(255 255 255 / 0.12), 0 4px 14px rgb(0 0 0 / 0.3); }

/* Ha 19.11.: the amount sits INSIDE the plus ring (like the PC list), not as a pill hanging over its corner. A tap still adds one more */
@media (max-width: 59.99rem) {
  html.w-phone .o-cnt, html.w-phone .k3-sec li:not(:has(.k3-slot img:not(.k3-slot-seal))) .o-cnt { right: 2.9rem; top: 50%; bottom: auto; width: 1.8rem; height: 1.8rem; margin-top: -0.9rem; padding: 0; display: grid; place-items: center; border-radius: 50%; font: 600 0.75rem/1 var(--sans); font-variant-numeric: tabular-nums; box-shadow: none; pointer-events: none; }
  html.w-phone .k3-sec li:has(> .o-cnt:not([hidden])) > .o-add::before, html.w-phone .k3-sec li:has(> .o-cnt:not([hidden])) > .o-add::after { opacity: 0; }
  /* Stageshow: the plus fades out and the amount grows in from the ring (150 ms fade, 250 ms ease-out), never a one-frame swap */
  html.w-phone .k3-sec li > .o-add::before, html.w-phone .k3-sec li > .o-add::after { transition: opacity 150ms ease, rotate 250ms cubic-bezier(0.3, 0.75, 0.1, 1); }
  html.w-phone .k3-sec li:has(> .o-cnt:not([hidden])) > .o-add::before, html.w-phone .k3-sec li:has(> .o-cnt:not([hidden])) > .o-add::after { rotate: 90deg; }   /* the + turns a quarter while it fades into the amount */
  html.w-phone .k3-sec li > .o-cnt { transition: opacity 150ms ease, scale 250ms cubic-bezier(0.3, 0.75, 0.1, 1); }
  html.w-phone .k3-sec li > .o-cnt[hidden] { opacity: 0; scale: 0.6; }
  @starting-style { html.w-phone .k3-sec li > .o-cnt { opacity: 0; scale: 0.6; } }   /* it comes from display: none, so the start frame is declared here */
  html.w-phone .k3-sec li:has(> .o-add:active) > .o-cnt { scale: 0.9; transition-duration: 100ms; }   /* the amount squeezes with the tap, like the ring */
}
@media (max-width: 59.99rem) and (prefers-reduced-motion: reduce) {
  html.w-phone .k3-sec li > .o-cnt, html.w-phone .k3-sec li > .o-add::before, html.w-phone .k3-sec li > .o-add::after { transition: none; scale: none; rotate: none; }
}

/* Ha 19.11.: dish photos are 16:9 but the list cut them to squares (Bento boxes lost both ends).
   Wider thumbnail (3:2, same row height), still (the slide while scrolling was dropped, Ha 19.11.) */
@media (max-width: 59.99rem) {
  html.w-phone { --pw: calc(var(--ph) * 1.5); }
  html.w-phone .k3-row, html.w-phone .k3-sec li:has(.k3-slot img:not(.k3-slot-seal)) .k3-row { grid-template-columns: var(--pw) minmax(0, 1fr); }
  html.w-phone .k3-slot { width: var(--pw); }
}
