/* PC order page (pc-basket.js): basket column on the right, narrower dish view, smaller photo. Built from cuchi-demos/pc-warenkorb (variant A).
   Type scale (Ha 16.11. "not too many fonts"): two families (serif headings, sans text), weights 500/600, sizes 12 / 13 / 14 / 15 / 16 / 20 px.
   Only from 78rem (1248 px) up: below that four columns don't fit and the live layout (3 columns + floating bar) stays. Phone untouched. */
.dv-cart, .dv-sadd { display: none; }
@keyframes dv-fade { from { opacity: 0; } }

@media (min-width: 78rem) {
  html.dv #o-bar { display: none !important; }   /* the column replaces the floating pill */

  /* ---------- the basket column (stageshow: 12 px insets, 8-12 px gaps, title/sub 4-6 px) ---------- */
  /* admin "nacht" glass for the floating surface (--g-glass, --g-blur, --g-edge, --g-shine from admin-glass.css) */
  html.dv .dv-cart { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border: 0; border-radius: 1.25rem;
    background: linear-gradient(180deg, rgb(255 255 255 / .11), rgb(255 255 255 / .05)); backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), 0 0 0 1px rgb(255 255 255 / .13); }
  .dv-head { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 1rem 1rem 0.75rem; border-bottom: 1px solid var(--hair); }
  .dv-head h2 { margin: 0; font: 500 1rem/1.3 var(--serif); }
  .dv-n { display: inline-block; font: 500 0.75rem/1.3 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .dv-empty { display: none; margin: auto; padding: 2rem 1.5rem; text-align: center; color: var(--ink-2); }
  .dv-cart.is-empty .dv-empty { display: block; animation: dv-fade 150ms ease-out; }
  .dv-cart.is-empty .dv-foot, .dv-cart.is-empty .dv-lines { display: none; }
  .dv-foot { animation: dv-fade 150ms ease-out; }
  .dv-empty-ic { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--hair); color: var(--hinoki); font-size: 1rem; }
  .dv-empty p { margin: 0.75rem 0 0.25rem; font: 500 1rem/1.3 var(--serif); color: var(--ink); }
  .dv-empty small { font-size: 0.8125rem; line-height: 1.4; }
  .dv-lines { list-style: none; margin: 0; padding: 0.25rem 0.5rem; overflow-y: auto; overflow-x: hidden; flex: 1 1 auto; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }
  .dv-lines li { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr) auto; grid-template-areas: "ph nm pr" "ph q q"; gap: 0.25rem 0.75rem; align-items: center; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--hair); overflow: hidden; }
  .dv-lines li:last-child { border-bottom-color: transparent; }
  .dv-lines img { grid-area: ph; align-self: start; width: 3.75rem; height: 2.5rem; border-radius: 0.375rem; object-fit: cover; }
  .dv-nm { all: unset; grid-area: nm; font: 500 0.875rem/1.3 var(--sans); color: var(--ink); cursor: pointer; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }   /* two lines, so a variant ("· Exklusiv") is never the part that gets cut */
  .dv-deal { display: flex; justify-content: space-between; margin: -0.5rem 0 0.75rem; font: 500 0.8125rem/1.3 var(--sans); color: var(--ink-2); }
  .dv-deal span:last-child { color: #6fcf8f; font-variant-numeric: tabular-nums; }   /* green like the checkout's discount line */
  .dv-deal[hidden] { display: none; }
  .dv-nm:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair); }
  .dv-nm:focus-visible { outline: 1px solid var(--ink-2); outline-offset: 2px; border-radius: 2px; }
  .dv-pr { grid-area: pr; display: inline-block; font: 600 0.875rem/1.3 var(--sans); font-variant-numeric: tabular-nums; }
  .dv-q { grid-area: q; display: inline-flex; align-items: center; gap: 0.25rem; justify-self: start; margin-left: -0.375rem; }
  .dv-q b { display: inline-block; min-width: 1.5rem; text-align: center; font: 600 0.8125rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
  .dv-q button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair); background: none; color: var(--ink); font: 500 1rem/1 var(--sans); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
  .dv-q button:hover { border-color: rgb(239 232 220 / 0.3); background: rgb(239 232 220 / 0.05); }
  .dv-q button:active { background: rgb(239 232 220 / 0.1); }
  .dv-q b.dv-x { min-width: 0; padding-left: 0.375rem; color: var(--ink-2); }
  .dv-q b.dv-x::after { content: "×"; }
  .dv-q .dv-edit { width: auto; height: 28px; padding: 0 0.75rem; border-radius: 999px; font: 500 0.75rem/1 var(--sans); color: var(--ink-2); }
  .dv-foot { flex: none; display: flex; flex-direction: column; padding: 0.75rem 1rem 0.5rem; border-top: 1px solid var(--hair); }
  .dv-foot > .dv-go { margin: 0 -0.5rem; width: auto; }   /* concentric: card radius 20 = button 12 + 8 px edge; words keep their 16 px inset */
  .dv-foot > small { order: 1; margin: -0.375rem 0 0.75rem !important; text-align: left !important; }   /* above the button, so the button is the last thing, level with the dish view's button */
  .dv-foot > .dv-go { order: 2; }
  .dv-sum { display: flex; justify-content: space-between; align-items: baseline; font: 500 0.875rem/1.3 var(--sans); color: var(--ink-2); margin-bottom: 0.75rem; }
  .dv-sum b { color: var(--ink); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }   /* weights stay 500/600 */
  .dv-go { width: 100%; min-height: 2.75rem; border: 0; border-radius: 0.75rem; background: var(--accent); color: #fff; font: 600 0.9375rem var(--sans); cursor: pointer; transition: filter 150ms, transform 150ms; }
  .dv-go:hover { filter: brightness(1.08); }
  .dv-foot small { display: block; margin-top: 0.5rem; text-align: center; font-size: 0.75rem; line-height: 1.3; color: var(--ink-2); }   /* ink-3 failed contrast (3.35:1) */

  /* smaller photo, framed less heavily, in a narrow dish view */
  html.dv .k3-stage .k3-photo:not(.is-card) { height: auto !important; aspect-ratio: 16 / 9; }   /* Ha 19.11.: always 16:9, never squashed */
  html.dv .k3-photo { outline-offset: 0.4rem; }

  /* ---------- A: four columns · nav | list | dish | basket ---------- */
  /* the list only needs name + price (the full text is in the dish view next to it): list narrow, dish view takes the rest */
  html.dv-A .k3 { grid-template-columns: 12.5rem clamp(20rem, 25vw, 28rem) minmax(20rem, 1fr) clamp(17rem, 19vw, 22rem); gap: clamp(1.25rem, 2vw, 2.5rem); }

  /* A · type: macOS-like body sizes (name 14, text 13), one weight step for hierarchy, line-height >= 1.3 */
  html.dv-A .k3-title { font-size: 1.25rem; }
  html.dv-A .k3-now { padding-bottom: 0.75rem; }
  html.dv-A .k3-now .k3-eyebrow { margin-bottom: 0.375rem; }
  html.dv-A .k3-now-title { font-size: 1.25rem; line-height: 1.3; }
  html.dv-A .k3-now-note { min-height: 0; margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.4; }
  html.dv-A .k3-listwrap > .k3-list { padding-top: 0.5rem; }
  html.dv-A .k3-row { padding: 0.75rem; gap: 0.75rem; grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  html.dv-A .k3-row-name { font-size: 0.875rem; line-height: 1.3; }
  html.dv-A .k3-row-desc { font-size: 0.8125rem; line-height: 1.4; margin-top: 0.25rem; opacity: 1; }
  html.dv-A .k3-row-price { font: 600 0.875rem/1.3 var(--sans); font-variant-numeric: tabular-nums; }   /* Ha 18.11.: prices in the basket's number font (sans 600), not the serif */
  html.dv-A .k3-sec + .k3-sec { margin-top: 0.75rem; padding-top: 0.75rem; }
  html.dv-A .k3-info h2 { font-size: 1.25rem; line-height: 1.3; }   /* Ha 16.11.: smaller (was 26 px), one title size (20) for chapter, dish and price */
  html.dv-A .k3-price { font: 600 1.25rem/1.3 var(--sans); font-variant-numeric: tabular-nums; }
  html.dv-A .k3-price s { font-size: 0.75em; }   /* struck old price on the scale (15 px), not 17.6 */
  html.dv-A .k3-desc { font-size: 0.9375rem; line-height: 1.5; margin-top: 0.5rem; }

  /* A · dish view uses its full width: no mounted-print frame around the photo, photo edge to edge with one radius */
  html.dv-A .k3-frame { padding: 0; }
  html.dv-A .k3-stage .k3-photo:not(.is-card) { padding: 0 !important; outline: 0; border-radius: 0.875rem; overflow: hidden; box-shadow: none; }
  html.dv-A .k3-stage .k3-photo:not(.is-card)::before { display: none; }
  html.dv-A .k3-stage .k3-photo img.k3-shot { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  html.dv-A .k3-info { padding: 0.75rem 0 1rem; display: flex; flex-direction: column; }
  html.dv-A .k3-info > .k3-eyebrow { margin-bottom: 0.375rem; }   /* Ha 19.11.: more compact */
  html.dv-A .k3-info > * { order: 9; }

  /* A · options first: name → "Ihre Variante" → add button → description. Shorter photo so the choice is on screen at once */
  html.dv-A .k3-info > .k3-eyebrow { order: 0; }
  html.dv-A .k3-info > .k3-info-head { order: 1; }
  html.dv-A .k3-info > .k3-desc { order: 2; }   /* Ha: the text sits right under the name, the choice comes after it */
  html.dv-A .k3-info > .k3-vlegend { order: 3; display: flex; justify-content: space-between; align-items: baseline; margin: 0.25rem 0 0.125rem; font: 600 0.9375rem/1.3 var(--sans); color: var(--ink); }   /* like the phone's "Ihre Auswahl" heading */
  html.dv-A .k3-info > .k3-variants { order: 4; }
  html.dv-A .k3-info > .k3-sadd { order: 5; margin-top: 1rem; }

  /* Ha 18.11.: the phone's choice list (wolt-plus.css) instead of a segmented control: one row per option, radio dot left, price right */
  html.dv-A .k3-variants { display: block; margin: 0; padding: 0; max-width: none; background: none; }
  html.dv-A .k3-variants li { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 1.875rem; padding: 0.125rem 0 0.125rem 2.25rem; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: none; color: var(--ink); font: 500 0.875rem/1.3 var(--sans); cursor: pointer; }
  html.dv-A .k3-variants li:last-child { border-bottom: 0; }
  html.dv-A .k3-variants li::before { content: ""; position: absolute; left: 0.375rem; top: 50%; width: 1rem; height: 1rem; margin-top: -0.5rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-2); transition: box-shadow 200ms ease, background 200ms ease; }
  html.dv-A .k3-variants li:hover::before { box-shadow: inset 0 0 0 2px var(--ink); }
  html.dv-A .k3-variants li.on::before { background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg), 0 0 0 2px var(--accent); }
  html.dv-A .k3-variants li > span:last-child { margin-left: auto; font: 500 0.875rem/1.3 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
  html.dv-A .k3-variants li > span:last-child:empty { display: none; }
  html.dv-A .k3-variants li:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; border-radius: 0.25rem; }
  html.dv-A .k3-variants.need li::before { box-shadow: inset 0 0 0 2px var(--accent); }

  /* one calm button: normal height, not a full-width red bar glued to the bottom */
  /* the add button sits on the same line as "Weiter zur Abholzeit": both 2.75rem high, both 1rem + 1px (the basket's border) above the column foot */
  html.dv-A .k3-info { padding-bottom: 0; }
  html.dv-A .k3-sadd, html.dv-A .k3-info > .k3-sadd { position: sticky; bottom: 0.5rem; align-self: stretch; max-width: none; min-height: 2.75rem; margin: auto 0 0.5rem; border-radius: 0.75rem; font-size: 0.9375rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .24); }
  html.dv-A .dv-sadd { display: block; }
  /* Ha: both red buttons a little translucent and rounder. Tinted glass, not a wash: the admin's dark-mode red #c9262d
     (white on the bright accent is 4.58:1 solid, under 4.5 once see-through over a light surface) at 90 % + blur, so nothing
     behind shows as onion skin (Stageshow); measured 6.37:1 over the page, 4.94:1 worst case over a light surface. Press squeezes to 0.965 before the result (Stageshow). */
  html.dv .k3-sadd, html.dv .dv-go { background: linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04) 40%, rgb(255 255 255 / 0) 65%, rgb(255 255 255 / 0.06)), rgb(201 38 45 / .9); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-radius: 0.75rem; transition: transform 150ms cubic-bezier(0.3, 0.75, 0.1, 1), filter 150ms ease; }
  /* the basket bar's liquid-glass add-ons (wolt-plus.css, Ha 16.11.): light along the top and bottom edge, soft inner glow, shadow; no outline */
  html.dv .dv-go { 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); }
  html.dv-A .k3-info > .k3-sadd { 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 8px 16px -6px rgb(0 0 0 / 0.4); }   /* Ha 19.11.: no shadow above the button */
  html.dv .k3-sadd:active, html.dv .dv-go:active { transform: scale(0.965); }
  html.dv-A .k3-info > .k3-desc { margin-bottom: 0.75rem; }

  /* A · plus 28 px (macOS pointer minimum); the amount sits INSIDE the plus instead of hanging over its edge.
     Hover brings the plus back, so it still reads as "add one more". */
  html.dv-A .o-add { width: 28px; height: 28px; }
  html.dv-A .o-on .k3-sec ul li > .o-cnt { top: 50%; right: 0.55rem; width: 28px; height: 28px; margin-top: -14px; padding: 0; display: grid; place-items: center; border-radius: 50%; box-shadow: none; font: 600 0.75rem/1 var(--sans); font-variant-numeric: tabular-nums; transition: opacity 150ms ease; }
  html.dv-A .o-on .k3-sec ul li:has(> .o-cnt:not([hidden])) > .o-add::before, html.dv-A .o-on .k3-sec ul li:has(> .o-cnt:not([hidden])) > .o-add::after { opacity: 0; transition: opacity 150ms ease; }
  html.dv-A .o-on .k3-sec ul li:hover > .o-cnt { opacity: 0; }
  html.dv-A .o-on .k3-sec ul li:hover > .o-add::before, html.dv-A .o-on .k3-sec ul li:hover > .o-add::after { opacity: 1 !important; }

}
@media (prefers-reduced-motion: reduce) { .dv-cart *, .dv-cart.is-empty .dv-empty, html.dv .k3-sadd { animation: none !important; transition: none !important; } html.dv .k3-sadd:active, html.dv .dv-go:active { transform: none; } }

/* Ha 18.11.: same clear glass as the basket bar and the admin tab bar. Basket column: charcoal tint + faint rim instead of the white
   haze and the light outline; the two red buttons: the red-tinted glass from wolt-plus.css (this file loads later, so it is repeated here) */
@media (min-width: 78rem) {
  /* Ha 18.11.: the admin "nacht" card glass (admin-glass.css: --g-card, --g-blur, --g-liquid), not the charcoal bar tint that read as a grey slab */
  html.dv .dv-cart { background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015)); -webkit-backdrop-filter: blur(16px) saturate(1.9); backdrop-filter: blur(16px) saturate(1.9);
    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), inset 0 0 22px rgb(255 255 255 / 0.05), 0 8px 24px rgb(0 0 0 / 0.5); }
  html.dv .k3-sadd, html.dv .dv-go { background: linear-gradient(rgb(237 28 36 / 0.8), rgb(237 28 36 / 0.8)), rgb(30 34 40 / 0.5); text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
    -webkit-backdrop-filter: blur(1.5px) saturate(1.6); backdrop-filter: blur(1.5px) saturate(1.6); }
  html.dv .dv-go { 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); }
  html.dv-A .k3-info > .k3-sadd { 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 6px 12px -6px rgb(0 0 0 / 0.2); }
}

/* no visible scrollbars anywhere (Ha 18.11.: "always hide scrollbars"); scrolling still works by wheel, touch, keys */
html, body, * { scrollbar-width: none !important; -ms-overflow-style: none !important; }   /* !important: older rules set "thin" on single scroll areas */
*::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

@media (min-width: 78rem) {
  /* "Oft zusammen bestellt" (pc-basket.js, Ha 18.11.): the phone's side dishes as one row of 4 under the choice */
  html.dv-A .k3-info > .dv-up { order: 4; margin: 0.75rem 0 1rem; }
  /* Ha 19.11.: the add button always stays at the foot, level with the basket's button; side dishes always above it.
     Too tall (Bento für 2 on a laptop): the text scrolls above a solid strip behind the button, never half under it */
  html.dv-A .k3-info > .k3-sadd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.5rem; background: var(--bg); }
  .dv-up > b { display: block; margin-bottom: 0.25rem; font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
  /* Ha 19.11.: compact chips, 2 per row: small square photo, name + price, + on the right */
  .dv-ug { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.125rem 0.75rem; }
  .dv-ut { all: unset; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; grid-template-areas: "ph nm add" "ph pr add"; column-gap: 0.625rem; align-items: center; min-width: 0; padding: 0.1875rem 0.25rem; border-radius: 0.625rem; cursor: pointer; transition: background-color 150ms ease; }
  .dv-ut:hover { background: rgb(255 255 255 / 0.05); }
  .dv-uph { grid-area: ph; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; overflow: hidden; background: rgb(255 255 255 / 0.04); }
  .dv-uph img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .dv-ut > u { grid-area: add; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font: 500 1rem/1 var(--sans); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color 150ms ease; }
  .dv-ut:hover > u { background: rgb(255 255 255 / 0.08); }
  .dv-ut.ok > u { background: var(--accent); color: #fff; box-shadow: none; }
  .dv-un { grid-area: nm; align-self: end; font: 500 0.8125rem/1.3 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dv-ut small { grid-area: pr; align-self: start; font: 500 0.75rem/1.3 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .dv-ut small s { margin-right: 0.25rem; }
  .dv-ut:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 0.75rem; }

  /* no milky outlines (Ha 18.11.): the picked dish in the list keeps only its faint fill, its photo no cream ring; the basket box loses the white hairline */
  html.dv .o-on .k3-sec ul li:has(> .k3-row[aria-current="true"]) { box-shadow: none; }
  html.dv .k3-row[aria-current="true"] .k3-slot img:not(.k3-slot-seal) { box-shadow: none; }
  html.dv .dv-cart { box-shadow: inset 0 1px 0.5px rgb(255 255 255 / 0.2), inset 0 0 22px rgb(255 255 255 / 0.04), 0 8px 24px rgb(0 0 0 / 0.5);
    -webkit-backdrop-filter: none; backdrop-filter: none; }   /* no blur: Chrome left the whole box undrawn next to the blurred + of the side dishes (Ha 18.11. "where is the right box"); over the plain dark page a blur showed nothing anyway */
}

@media (min-width: 78rem) {
  /* one text font (Ha 18.11.: "not too many different"): every serif heading and price becomes the sans; only the Japanese (--jp),
     the Cuchi logo and the wooden name tag keep their own letters */
  html.dv { --serif: var(--sans); }
  html.dv .brand span, html.dv .harasho-loader-lockup span, html.dv .k3-photo.is-card, html.dv .k3-photo.is-card * { font-family: ui-serif, "New York", Georgia, serif; }
  /* いらっしゃいませ on one line: it wrapped its last letter (せ) under the rest */
  html.dv .k3-tagline span { white-space: nowrap; letter-spacing: 0.18em; }
}
