﻿/* Orderescu default store page (plan §A7; plan Part H, H4: the 30 themes). Every colour, font and radius on the page is one of the designer's
   theme tokens (--bg --surface --surface2 --text --muted --border --accent --badge-* --cta-* --sel-* --price --hero --reco-* --empty-* --logo-*,
   the typography and the shape tokens), set per theme by wwwroot/themes/<slug>.css on <html data-theme>. The defaults below are the coffee-shop
   values, for a page without a theme (root, errors). The older --oe-* names the component rules still use are MAPPED onto the tokens here —
   nothing derives a colour any more (the --oe-main / --oe-second / --oe-font levers are gone with Part H). Contrast is the designer's. */
:root {
  --bg: #F5F2EE; --surface: #FFFFFF; --surface2: #EDE8E1; --text: #1E1B18; --muted: #6E665E; --border: #E1D9CE; --accent: #C2410C;
  --badge-bg: #C2410C; --badge-fg: #FFFFFF; --badge-bd: #C2410C; --cta-bg: #1E1B18; --cta-fg: #F5F2EE; --cta-bd: #1E1B18; --sel-bg: #1E1B18; --sel-fg: #F5F2EE;
  --price: #1E1B18; --hero: #6B4A35; --reco-bg: rgba(255,255,255,0.8); --reco-fg: #1E1B18; --empty-bg: #EDE8E1; --empty-fg: #6E665E; --logo-bg: #1E1B18; --logo-fg: #F5F2EE;
  --font-display: 'Playfair Display', serif; --font-display-weight: 600; --font-body: 'DM Sans', sans-serif;
  --display-case: none; --display-tracking: 0; --label-case: uppercase; --label-tracking: .06em;
  --radius-card: 14px; --radius-control: 999px; --radius-cta: 999px; --radius-image: 10px; --radius-badge: 4px; --cta-height: 52px;
}
:root {
  --oe-main: var(--accent);
  --oe-main-soft: var(--surface2);
  --oe-main-softer: var(--surface2);
  --oe-main-strong: var(--accent);
  --oe-main-ink: var(--text);
  --oe-second: var(--accent);
  --oe-second-soft: var(--surface2);
  --oe-ring: color-mix(in oklab, var(--accent) 30%, transparent);
  --oe-font: var(--font-body);

  --oe-ink: var(--text);
  --oe-muted: var(--muted);
  --oe-line: var(--border);
  --oe-bg: var(--bg);
  --oe-card: var(--surface);
  --oe-danger: #e5484d;
  --oe-radius: var(--radius-card);
  --oe-radius-sm: var(--radius-image);
  --oe-shadow: 0 1px 2px rgba(17, 24, 39, .04);
  --oe-shadow-lg: 0 24px 64px -24px rgba(17, 24, 39, .3);
  --oe-max: 1200px;      /* the web content column (theme spec): one column for the bar, the strip and the content, so their left edges line up */
  --oe-gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, body.oe-body { margin: 0; background: var(--oe-bg); color: var(--oe-ink); font: 15px/1.5 var(--oe-font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.oe { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }   /* clip, not hidden: hidden would make .oe the scroll container and break the sticky header and sidebar */
.oe-main { flex: 1; min-width: 0; }

/* ---------- header (sticky, blurred; on desktop it tops the main column) ---------- */
.oe-header { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, white 86%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--oe-line); }
.oe-header-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--oe-gutter) 6px; max-width: var(--oe-max); margin: 0 auto; }
.oe-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.oe-logo, .oe-logo-mark { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.oe-logo { object-fit: cover; }
.oe-logo-mark { background: linear-gradient(135deg, var(--oe-main), var(--oe-main-strong)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; }
.oe-title { min-width: 0; }
.oe-title-sub { display: block; color: var(--oe-muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.oe-title-name { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oe-header-right { display: flex; gap: 8px; align-items: center; flex: none; }
.oe-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #15803d; background: #dcfce7; padding: 0 10px; border-radius: 999px; }
.oe-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #bbf7d0; }
button.oe-status { border: 0; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; margin: 0; }   /* the chip is a button (opens the hours sheet, 2026-09-11) — only the browser's button defaults are reset, the chip keeps its own size and weight */
.oe-hours-sheet .oe-hours-title { display: none; }   /* the sheet head already names it */
.oe-hours-sheet .oe-hours-list { font-size: 15px; }
.oe-status--closed { color: #991b1b; background: #fee2e2; }
.oe-status--closed::before { box-shadow: 0 0 0 3px #fecaca; }
.oe-table-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--oe-main-ink); background: var(--oe-main-soft); padding: 0 10px; border-radius: 999px; white-space: nowrap; }
/* the account chip: who is signed in (initial + first name or the masked contact), or "Sign in" on a delivery store; filled by the script, never by the cached HTML */
.oe-account { display: inline-flex; align-items: center; gap: 6px; max-width: 160px; height: 28px; padding: 0 10px 0 4px; border: 0; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600; color: var(--oe-main-ink); background: var(--oe-main-soft); cursor: pointer; white-space: nowrap; }
.oe-account--out { padding-left: 10px; }
/* the header chips sit on the hero, which may be the main colour itself: a white ring keeps them visible whatever is behind (reviewer, 2026-09-07) */
.oe-status, .oe-table-badge, .oe-account { height: 28px; line-height: 1; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .92); }   /* the same height and ring: the chips read as one family */
.oe-account-mark { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: var(--oe-main); flex: none; }
.oe-account-name { overflow: hidden; text-overflow: ellipsis; }
.oe-hero-overlay .oe-account { color: #fff; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.oe-hero-overlay .oe-account-mark { color: var(--oe-main-ink); background: #fff; }
.oe-account-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; }
.oe-account-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.oe-account-list .oe-account-mark { width: 28px; height: 28px; font-size: 12px; }
.oe-account-verified { margin-left: auto; font-size: 12px; color: #15803d; }
/* the language switch: two-letter pills, plain links (plan §A15.3) */

/* ---------- category tabs (every size, inside the sticky header) ---------- */
.oe-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px var(--oe-gutter) 2px; max-width: var(--oe-max); margin: 0 auto; scrollbar-width: none; }

.oe-tabs::-webkit-scrollbar { display: none; }
/* pointer devices: a thin scrollbar, and the strip fades at the edge that still has categories */
@media (hover: hover) {
  .oe-tabs { scrollbar-width: thin; scrollbar-color: var(--oe-line) transparent; padding-bottom: 6px; }
  .oe-tabs::-webkit-scrollbar { display: block; height: 4px; }
  .oe-tabs::-webkit-scrollbar-thumb { background: var(--oe-line); border-radius: 999px; }
}
.oe-tabs.is-overflow-right { mask-image: linear-gradient(to right, black calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent); }
.oe-tabs.is-overflow-left { mask-image: linear-gradient(to right, transparent, black 40px); -webkit-mask-image: linear-gradient(to right, transparent, black 40px); }
.oe-tabs.is-overflow-left.is-overflow-right { mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent); }
.oe-tab { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; background: none; color: var(--oe-muted); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.oe-tab:hover { color: var(--oe-main-ink); background: var(--oe-main-softer); }
.oe-tab.is-active { color: #fff; background: var(--oe-main); }   /* a filled pill, no underline */
.oe-cat-icon { width: 28px; height: 28px; border-radius: 999px; overflow: hidden; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--oe-bg); color: var(--oe-main-ink); }
.oe-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.oe-tab.is-active .oe-cat-icon { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- content ---------- */
.oe-content { max-width: var(--oe-max); margin: 0 auto; padding: 14px var(--oe-gutter) 120px; }
.oe-hero { position: relative; width: 100%; height: clamp(220px, 38vw, 460px); background: #1f2937; overflow: hidden; }   /* full-bleed, owns the top of the page */
.oe-hero img { width: 100%; height: 100%; object-fit: cover; }
.oe-hero--placeholder img { display: none; }
.oe-hero--placeholder { background-color: var(--oe-main); background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.7px), linear-gradient(to bottom, var(--oe-main), var(--oe-main-strong)); background-size: 28px 28px, 100% 100%; }   /* the dot grid, from the store's main colour */
.oe-hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px max(var(--oe-gutter), calc((100% - var(--oe-max)) / 2 + var(--oe-gutter)));   /* the brand lines up with the content column */ background: linear-gradient(to top, rgba(17, 24, 39, .72), rgba(17, 24, 39, .05) 55%, transparent); color: #fff; }
.oe-hero-overlay .oe-title-sub { color: rgba(255, 255, 255, .8); }
.oe-hero-overlay .oe-title-name { font-size: 24px; white-space: normal; }
.oe-hero-overlay .oe-logo-mark, .oe-hero-overlay .oe-logo { width: 48px; height: 48px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
/* the hero's chip cluster (status, account, languages) sits in the photo's top-right corner, so the brand at the bottom keeps the full width on a phone */
.oe-hero-overlay .oe-header-right { position: absolute; top: 12px; right: max(var(--oe-gutter), calc((100% - var(--oe-max)) / 2 + var(--oe-gutter))); }
.oe-hero-overlay .oe-brand { max-width: 100%; }
/* the brand row of the sticky bar exists only once the hero scrolled away (or always, when there is no hero) */
.oe-header:not(.is-stuck):not(.oe-header--static) .oe-header-top { display: none; }
.oe-tagline { margin: 4px 0 14px; color: var(--oe-muted); font-size: 14px; }
.oe-header-search { max-width: var(--oe-max); margin: 0 auto; padding: 8px var(--oe-gutter) 10px; }   /* the search stays in the sticky bar, under the categories */
.oe-search { position: relative; display: block; }
.oe-search input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 14px; border: 1px solid var(--oe-line); background: #fff; font: inherit; font-size: 15px; outline: none; transition: box-shadow .15s, border-color .15s; }
.oe-search input:focus { border-color: var(--oe-main); box-shadow: 0 0 0 4px var(--oe-ring); }
.oe-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--oe-muted); }
.oe-banner { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; margin: 0 0 14px; border-radius: 14px; background: var(--oe-second-soft); border: 1px solid color-mix(in oklab, var(--oe-second) 45%, white); }
.oe-empty { color: var(--oe-muted); text-align: center; padding: 40px 0; }

/* plan Part H (H7a): the delivery strip under the header, the "order again" row, the closed banner's schedule offer */
.oe-strip { display: flex; flex-direction: column; gap: 2px; width: 100%; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--oe-line); border-radius: var(--oe-radius); background: var(--oe-card); color: inherit; font: inherit; text-align: left; cursor: pointer; box-shadow: var(--oe-shadow); }
.oe-strip-where { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.oe-strip-where::before { content: "\1F4CD"; font-size: 13px; }
.oe-strip-meta { color: var(--oe-muted); font-size: 13px; }
.oe-reorder { margin: 0 0 14px; }
.oe-reorder-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--oe-line); border-radius: var(--oe-radius); background: var(--oe-card); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.oe-reorder-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--oe-main-soft); flex: none; }
.oe-reorder-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oe-reorder-title { font-weight: 700; }
.oe-reorder-meta { color: var(--oe-muted); font-size: 13px; }
.oe-banner-schedule { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.oe-btn--small { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

.oe-section { scroll-margin-top: 172px; }   /* stuck bar: brand row + tabs + search */
.oe-section-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 26px 0 12px; }
/* two-level menus: the category is the big heading, a section inside it a small spaced label (no parent name repeated) */
.oe-category-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 30px 0 4px; }
.oe-section-label { font-size: 13px; font-weight: 700; color: var(--oe-muted); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 10px; line-height: 1.2; }
.oe-section--in-category .oe-items { margin-top: 6px; }
.oe-items { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }

.oe-item { display: grid; grid-template-columns: 132px 1fr; background: var(--oe-card); border: 1px solid var(--oe-line); border-radius: var(--oe-radius); overflow: hidden; box-shadow: var(--oe-shadow); cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.oe-item.oe-item--noimage { grid-template-columns: 1fr; }
@media (hover: hover) { .oe-item[role="button"]:hover { transform: translateY(-2px); box-shadow: var(--oe-shadow-lg); border-color: color-mix(in oklab, var(--oe-main) 30%, var(--oe-line)); } }
.oe-item[role="button"]:active { transform: scale(.99); }
.oe-item-media { position: relative; min-height: 132px; align-self: stretch; background: #eee; }   /* fills the card's height; square at the least */
.oe-item-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* out of flow: a portrait photo must not stretch the card */
/* the tags over a photo (#63559): the discount percentage, the bonus, "unavailable" — stacked top-left, on the card and in the sheet */
.oe-media-tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.oe-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--oe-danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; padding: 3px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); white-space: nowrap; }
.oe-badge--bonus { background: #111827; color: #fff; }
.oe-badge--off { background: rgba(17, 24, 39, .72); color: #fff; }
.oe-badge-icon { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oe-item-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.oe-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.oe-item-name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.oe-chip { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--oe-main-ink); background: var(--oe-main-soft); padding: 3px 8px; border-radius: 999px; }   /* by the name on a menu without photos */
.oe-chip--off { background: #fee2e2; color: #991b1b; }
/* the 18+ tag (#63559): by the name on the card and in the sheet, and before the notice under the allergens */
.oe-age { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 5px; border: 1.5px solid currentColor; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; white-space: nowrap; }
.oe-sheet-title .oe-age { font-size: 13px; vertical-align: 4px; }
.oe-sheet-age { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; color: var(--oe-muted); font-size: 13.5px; }
.oe-sheet-age .oe-age { margin-left: 0; color: var(--oe-ink); }
/* the menu tags (#63300): the highlight badge in the card's right corner (a chip by the price in the sheet without photos), the dietary pills, the defrosted line */
.oe-highlight { flex: none; display: inline-block; vertical-align: middle; background: var(--oe-main); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.oe-sheet-price .oe-highlight { margin-left: 6px; font-size: 12px; }
.oe-item-tags, .oe-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oe-tags { margin: -4px 0 10px; }
.oe-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; padding: 3px 8px; border: 1px solid var(--oe-line); border-radius: 999px; color: var(--oe-ink); }
.oe-sheet-frozen { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; color: var(--oe-muted); font-size: 13.5px; }
.oe-frozen-icon { width: 16px; height: 16px; flex: none; }
.oe-item-desc { margin: 0; color: var(--oe-muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oe-item-foot { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.oe-price { font-size: 16px; font-weight: 800; }
.oe-price-old { color: var(--oe-muted); font-size: 13px; }
/* promotions (plan §A18): the promotion name in the sheet, the discount rows, the "free" tag of a bonus reward in the basket (#63559), the offers banner */
.oe-free-tag { display: inline-block; vertical-align: middle; margin-right: 6px; padding: 2px 7px; border-radius: 999px; background: #111827; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.oe-promo-name { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--oe-main-ink); background: var(--oe-main-soft); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.oe-sheet-price .oe-price-old { margin-left: 4px; font-weight: 500; }
.oe-discount, .oe-totals .oe-discount { color: #065f46; }
.oe-option-delta--free { color: #065f46; font-weight: 700; }
.oe-option-delta--free s { color: var(--oe-muted); font-weight: 400; margin-left: 4px; }
.oe-item--off { opacity: .55; filter: grayscale(.6); }
.oe-item.is-hidden, .oe-section.is-hidden { display: none; }

.oe-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--oe-line); color: var(--oe-muted); font-size: 13px; display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.oe-footer-block { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.oe-footer-social { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }   /* the venue's Instagram / Facebook icons and website link, next to the contact lines (2026-09-15) */
.oe-footer-social .oe-social-icon { display: inline-flex; align-items: center; color: inherit; opacity: .8; }
.oe-footer-social .oe-social-icon:hover { opacity: 1; }
.oe-footer-social .oe-social-icon svg { display: block; }
/* the weekly schedule (Pages/Shared/_Hours.cshtml): a two-column list, today in ink, a closed day in red; custom pages restyle these classes */
.oe-hours { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.oe-hours-title { color: var(--oe-ink); }
.oe-hours-list { margin: 0; display: grid; grid-template-columns: auto auto; gap: 3px 18px; }
.oe-hours-line { display: contents; }
.oe-hours-line dt { text-align: left; }
.oe-hours-line dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.oe-hours-line.is-today dt, .oe-hours-line.is-today dd { color: var(--oe-ink); font-weight: 700; }
.oe-hours-line dt small { margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oe-main); }
.oe-hours-line.is-closed dd { color: #991b1b; }
.oe-powered { display: flex; align-items: center; gap: 8px; color: var(--oe-muted); font-size: 12px; }
.oe-powered img { height: 26px; width: auto; }
.oe-powered b { color: var(--oe-ink); font-weight: 700; }

/* ---------- the cart bar (always visible where ordering is possible) ---------- */
/* bottom follows the VISUAL viewport (--oe-vv-bottom, set by the script): when a mobile browser hides its bottom toolbar on scroll the
   layout viewport that `fixed` is anchored to does not always grow with it, and the bar would float where the toolbar used to be. */
.oe-cartbar { position: fixed; left: 0; right: 0; bottom: var(--oe-vv-bottom, 0px); z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.oe-cartbar .oe-cart { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border: 0; border-radius: 16px; background: var(--oe-main); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 12px 32px -8px color-mix(in oklab, var(--oe-main) 70%, transparent); cursor: pointer; transition: transform .15s, background .15s; }
.oe-cartbar .oe-cart:hover { background: var(--oe-main-strong); }
.oe-cartbar .oe-cart:active { transform: scale(.98); }
.oe-cart-count { background: rgba(255, 255, 255, .22); padding: 2px 10px; border-radius: 999px; font-size: 14px; margin-left: 8px; }
.oe-cart-total { font-variant-numeric: tabular-nums; }

/* ---------- sheets ---------- */
.oe-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(17, 24, 39, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; }
.oe-sheet-panel { position: relative; width: 100%; max-height: 92dvh; background: #fff; color: var(--oe-ink); font: 15px/1.5 var(--oe-font); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--oe-shadow-lg); animation: oe-up .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes oe-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.oe-sheet-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--oe-bg); color: var(--oe-ink); cursor: pointer; font-size: 16px; line-height: 1; z-index: 2; display: grid; place-items: center; }
.oe-sheet-head { padding: 20px 56px 0 20px; }
.oe-sheet-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.oe-sheet-portion { font-weight: 500; color: var(--oe-muted); font-size: 16px; margin-left: 8px; }
.oe-sheet-body { overflow: auto; padding: 8px 20px 12px; flex: 1; }
.oe-sheet-price { color: var(--oe-main-ink); font-weight: 800; font-size: 20px; margin: 6px 0 10px; }
.oe-sheet-media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; margin: 6px 0 12px; }
.oe-sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.oe-sheet-desc { color: var(--oe-muted); font-size: 13.5px; line-height: 1.5; margin: 0 0 8px; white-space: pre-line; }   /* the provider sends plain text with line breaks (Ebriza strips its editor's HTML) */
/* "Product details": allergens + nutritional information, collapsed by default */
.oe-details { margin: 4px 0 8px; border: 1px solid var(--oe-line); border-radius: 12px; padding: 0 12px; font-size: 13.5px; }
.oe-details summary { cursor: pointer; padding: 10px 0; font-weight: 600; color: var(--oe-main-ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.oe-details summary::-webkit-details-marker { display: none; }
.oe-details summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.oe-details[open] summary::after { transform: rotate(-135deg); }
.oe-details-row { display: grid; gap: 2px; padding: 0 0 10px; color: var(--oe-muted); line-height: 1.45; white-space: pre-line; }
.oe-details-row b { color: var(--oe-ink); font-weight: 600; }
.oe-item-sheet .oe-sheet-title { padding-right: 40px; margin-top: 4px; }
.oe-sheet-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--oe-line); background: #fff; }

.oe-group { margin: 18px 0 6px; }
.oe-group-title { margin: 0 0 8px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.oe-group-rule { font-size: 11px; font-weight: 600; color: var(--oe-muted); background: var(--oe-bg); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.oe-group.is-invalid .oe-group-rule { color: #991b1b; background: #fee2e2; }
.oe-option { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--oe-line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; font-size: 15px; }
.oe-option:has(input:checked) { border-color: var(--oe-main); background: var(--oe-main-softer); }
.oe-option input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 50%; margin: 0; display: grid; place-items: center; transition: .15s; flex: none; background: #fff; cursor: pointer; }
.oe-option input[type="checkbox"] { border-radius: 6px; }
.oe-option input:checked { border-color: var(--oe-main); background: var(--oe-main); }
.oe-option input:checked::after { content: ""; width: 8px; height: 8px; background: #fff; border-radius: inherit; }
.oe-option input[type="checkbox"]:checked::after { width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; background: none; transform: rotate(-45deg) translateY(-1px); border-radius: 0; }
.oe-option-name { flex: 1; }
.oe-option-delta { color: var(--oe-main-ink); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.oe-option.is-off { opacity: .5; }
.oe-option:has(input:disabled) { opacity: .5; cursor: default; }
.oe-option input:disabled { cursor: default; }
.oe-option--view { cursor: default; }

.oe-stepper { display: inline-flex; align-items: center; border: 1px solid var(--oe-line); border-radius: 12px; overflow: hidden; flex: none; }
.oe-stepper button { width: 42px; height: 44px; border: 0; background: var(--oe-main-soft); color: var(--oe-main-ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.oe-stepper button:disabled { opacity: .4; cursor: default; }
.oe-stepper output { width: 44px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.oe-stepper--small button { width: 32px; height: 34px; font-size: 17px; }
.oe-stepper--small output { width: 32px; font-size: 14px; }

.oe-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.oe-field > span { font-weight: 700; font-size: 14px; }
.oe-field input, .oe-field textarea, .oe-field select { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--oe-line); border-radius: 12px; width: 100%; background: #fff; color: var(--oe-ink); outline: none; transition: box-shadow .15s, border-color .15s; }
.oe-field input:focus, .oe-field textarea:focus { border-color: var(--oe-main); box-shadow: 0 0 0 4px var(--oe-ring); }
.oe-field textarea { min-height: 64px; resize: vertical; }
.oe-field.is-invalid input, .oe-field.is-invalid textarea { border-color: var(--oe-danger); }
/* a field that asks a server as it is typed (the company code): the input sits in .oe-input so the icons centre on it — a spinner at its right while asking, green with a check once the answer is a match */
.oe-input { position: relative; display: block; }
.oe-field.is-busy .oe-input input, .oe-field.is-valid .oe-input input { padding-right: 40px; }
.oe-field.is-busy .oe-input::after { content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2.5px solid color-mix(in oklab, var(--oe-main) 25%, transparent); border-top-color: var(--oe-main); animation: oe-spin .7s linear infinite; pointer-events: none; }
.oe-field.is-valid input { border-color: #16a34a; }
.oe-field.is-valid input:focus { box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.oe-field.is-valid .oe-input::after { content: ""; position: absolute; right: 16px; top: 50%; width: 11px; height: 6px; margin-top: -5px; border: 2.5px solid #16a34a; border-top: 0; border-right: 0; transform: rotate(-45deg); pointer-events: none; }
.oe-field .oe-hint { margin: 0; font-size: 12px; }
.oe-row { display: flex; gap: 10px; }
.oe-row > * { flex: 1; }
/* the delivery address (plan §A24): Google's predictions under the street input (the classic widget appends its list to <body>, above the
   sheet's z-index 50), the newer element forced to the light scheme when a project has only that one, the map with the pin, the resolved line */
.pac-container { z-index: 1000; font-family: var(--oe-font); border-radius: 12px; box-shadow: var(--oe-shadow-lg); border: 1px solid var(--oe-line); }
.pac-item { padding: 8px 10px; font-size: 14px; cursor: pointer; }
gmp-place-autocomplete { display: block; width: 100%; color-scheme: light; background-color: #fff; color: var(--oe-ink); border: 1px solid var(--oe-line); border-radius: 12px; font: inherit; }
.oe-map { height: 220px; border: 1px solid var(--oe-line); border-radius: 12px; margin: 4px 0 6px; background: #eef1f5; }
.oe-resolved { font-size: 13px; color: var(--oe-muted); margin: 0 0 12px; }
/* the receipt on a company (plan §A25): the switch row, then the code and the registry's line */
.oe-company { margin: 4px 0 12px; }
.oe-company-toggle { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 700; font-size: 14px; cursor: pointer; }   /* the option row's checkbox, without the option row's frame */
.oe-company-toggle input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 6px; margin: 0; display: grid; place-items: center; transition: .15s; flex: none; background: #fff; cursor: pointer; }
.oe-company-toggle input:checked { border-color: var(--oe-main); background: var(--oe-main); }
.oe-company-toggle input:checked::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translateY(-1px); }
.oe-resolved-note { color: var(--oe-danger); }
/* Google / Apple buttons in the sign-in sheet, above the code fields */
.oe-ext { display: grid; gap: 8px; margin: 4px 0 6px; }
.oe-ext-hint { margin: 0 0 2px; font-size: 12px; }
.oe-ext-btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.oe-ext .oe-ext-btn--apple { background: #111; color: #fff; border-color: #111; }
.oe-ext .oe-ext-btn--apple:hover { background: #000; color: #fff; }
.oe-ext-mark { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: #4285f4; font-weight: 800; font-size: 13px; box-shadow: 0 0 0 1px var(--oe-line); }
.oe-ext-btn--apple .oe-ext-mark { display: none; }
/* plan Part H (H7b): "Cum continui?" and the guest form's "save in an account" link */
.oe-choose { display: grid; gap: 10px; }
.oe-choose .oe-hint { margin: 0 0 4px; }
/* plan Part H (H7c): the slot sheet and the pickup point */
.oe-schedule { display: grid; gap: 12px; }
.oe-schedule-days { display: flex; gap: 8px; flex-wrap: wrap; }
.oe-schedule-days .oe-choice small { display: block; font-weight: 400; font-size: 11px; }
.oe-schedule-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 48vh; overflow: auto; }
.oe-slot { padding: 10px 0; border: 1px solid var(--oe-line); border-radius: var(--radius-control, 10px); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.oe-slot.is-active { border-color: var(--oe-main); background: var(--oe-main-softer); color: var(--oe-main-ink); }
.oe-pickup-point { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--oe-line); border-radius: var(--radius-control, 10px); margin: 0 0 12px; font-size: 14px; }
.oe-pickup-point-label { color: var(--oe-muted); font-size: 12px; }
.oe-pickup-point .oe-btn--link { justify-self: start; padding: 0; }
/* plan Part H (H7d): My account, the saved addresses, the status help */
.oe-saved-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.oe-saved-chips .oe-choice { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oe-saved-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.oe-saved { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--oe-line); border-radius: var(--radius-control, 10px); }
.oe-saved.is-default { border-color: var(--oe-main); }
.oe-saved-main { display: grid; gap: 2px; font-size: 14px; }
.oe-saved-main strong { display: flex; align-items: center; gap: 8px; }
.oe-saved-line, .oe-saved-notes { color: var(--oe-muted); font-size: 13px; }
.oe-saved-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oe-saved-actions .oe-btn--link { padding: 0; }
.oe-btn--danger { color: var(--oe-danger); border-color: var(--oe-danger); }
.oe-history li.is-canceled .oe-history-row { opacity: .55; }
.oe-history li { display: grid; gap: 4px; }
.oe-history-again { justify-self: end; padding: 0 4px; }
.oe-detail-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--oe-line); font-size: 14px; }
.oe-detail-label { grid-column: 1 / -1; color: var(--oe-muted); font-size: 12px; }
.oe-detail-row .oe-btn--link { padding: 0; }
.oe-detail-danger { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--oe-line); }
.oe-order-eta { color: var(--oe-ink, inherit); font-weight: 600; }
.oe-order-help { display: grid; gap: 6px; margin: 0 0 14px 4px; font-size: 13.5px; }
.oe-order-help .oe-pickup-point { margin: 0; }
.oe-order-help .oe-btn--link { justify-self: start; padding: 0; }
.oe-save-account { margin: -4px 0 10px; }
.oe-or { display: flex; align-items: center; gap: 10px; color: var(--oe-muted); font-size: 12px; margin: 4px 0 0; }
.oe-or::before, .oe-or::after { content: ""; flex: 1; height: 1px; background: var(--oe-line); }
.oe-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.oe-choice { padding: 8px 14px; border: 1px solid var(--oe-line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--oe-muted); }
.oe-choice.is-active { border-color: var(--oe-main); background: var(--oe-main-softer); color: var(--oe-main-ink); }
.oe-choice:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.oe-btn { border: 0; border-radius: 14px; height: 48px; padding: 0 18px; font-size: 16px; font-weight: 700; cursor: pointer; background: var(--oe-main); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s, transform .15s; }
.oe-btn:hover { background: var(--oe-main-strong); }
.oe-btn:active { transform: scale(.98); }
.oe-btn:disabled { opacity: .5; cursor: default; transform: none; }
/* a button doing a request: its label hides and a ring spins in its place (works on the filled, ghost and link variants) */
.oe-btn.is-busy { position: relative; color: transparent !important; pointer-events: none; opacity: 1; }
.oe-btn.is-busy > * { visibility: hidden; }
.oe-btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: oe-spin .7s linear infinite; }
.oe-btn--ghost.is-busy::after, .oe-btn--link.is-busy::after { border-color: color-mix(in oklab, var(--oe-main) 25%, transparent); border-top-color: var(--oe-main); }
@keyframes oe-spin { to { transform: rotate(360deg); } }
.oe-btn--ghost { background: var(--oe-main-soft); color: var(--oe-main-ink); }
.oe-btn--ghost:hover { background: var(--oe-main-soft); }
.oe-btn--block { width: 100%; }
.oe-btn--split { flex: 1; justify-content: space-between; white-space: nowrap; padding: 0 14px; gap: 8px; min-width: 0; }
@media (max-width: 420px) { .oe-sheet-foot .oe-btn--split { font-size: 14px; } .oe-sheet-foot .oe-stepper button { width: 36px; } .oe-sheet-foot .oe-stepper output { width: 36px; } }
.oe-btn--link { background: transparent; color: var(--oe-main-ink); height: auto; padding: 8px; }
.oe-address-mode { padding: 0; margin: -4px 0 12px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }   /* "Adaugă adresa manual" / "Caută adresa pe hartă" under the address form */
.oe-btn--link:hover { background: transparent; }
.oe-sheet-body > .oe-btn { margin-top: 10px; }   /* stacked buttons in a sheet (send code / confirm / resend / view menu) breathe */

.oe-lines { display: flex; flex-direction: column; }
/* a basket line is a two-column grid: name | total on the first row; modifiers, the deposit (name | value, under the total), the note and the actions below */
.oe-line { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--oe-line); }
.oe-line-mods, .oe-line-note, .oe-line-actions { grid-column: 1 / -1; }
.oe-line .oe-deposit { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.oe-line .oe-deposit span:last-child { font-variant-numeric: tabular-nums; }
.oe-line-name { font-weight: 700; font-size: 15px; cursor: pointer; }
.oe-line-mods { color: var(--oe-muted); font-size: 13px; margin-top: 2px; }
/* a bottle deposit the engine attached to a line (or to the product in the sheet): name left, quantity × unit = value right */
.oe-deposit { color: var(--oe-muted); font-size: 13px; margin: 2px 0 0; }
/* the product sheet's ledger of price adjustments — deposits, discounts, the bonus — a tinted box between the price and the description,
   name left / amount right, so it never reads as part of the description (review 2026-09-06) */
.oe-adjust { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; margin: -4px 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--oe-main-soft); font-size: 13px; color: var(--oe-ink); }
.oe-adjust > div { display: contents; }
.oe-adjust span:nth-child(2n) { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; white-space: nowrap; }
.oe-adjust > div:not(.oe-discount) span { color: var(--oe-muted); }
.oe-adjust .oe-discount span { color: #065f46; }
.oe-adjust s { color: var(--oe-muted); font-weight: 400; }
/* the basket's rows keep the line grid, with the same left rule so they read as adjustments, not as the modifiers text */
.oe-line .oe-deposit { border-left: 3px solid var(--oe-line); padding-left: 8px; }
.oe-line .oe-discount { border-left-color: #a7f3d0; }
.oe-line-note { color: var(--oe-muted); font-size: 13px; font-style: italic; }
.oe-line-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.oe-line-total { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; justify-self: end; }
.oe-line-remove { border: 0; background: transparent; color: var(--oe-muted); cursor: pointer; font-size: 13px; padding: 4px 0; }
.oe-totals { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.oe-totals div { display: flex; justify-content: space-between; }
.oe-totals .oe-grand { font-size: 18px; font-weight: 800; margin-top: 4px; }
.oe-totals .oe-min-order { display: block; margin-top: 4px; color: var(--oe-danger); font-size: 13px; font-weight: 600; }
/* the client discount and the voucher named under the total (plan §A26 / §A27); the voucher field's hint turns into the reason when the number is refused */
.oe-totals .oe-applied { display: block; font-size: 13px; font-weight: 600; color: #065f46; }
.oe-voucher .oe-hint.oe-resolved-note { color: var(--oe-danger); }
.oe-error { color: var(--oe-danger); font-size: 13px; margin: 8px 0; }
/* a refusal written under the field it is about (2026-09-18), next to the field marked red */
.oe-field .oe-field-error { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--oe-danger); }
.oe-hint { color: var(--oe-muted); font-size: 13px; margin: 4px 0 12px; }
.oe-signed { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--oe-muted); margin: 6px 0; }
.oe-done { text-align: center; padding: 18px 0 8px; }
.oe-done-no { font-size: 40px; font-weight: 800; letter-spacing: 3px; color: var(--oe-main-ink); margin: 8px 0; }
.oe-done-state { color: var(--oe-muted); }
/* the check mark: the ring draws itself, then the tick, then the whole thing settles with a small bounce */
.oe-done-mark { display: block; width: 84px; height: 84px; margin: 0 auto 10px; }
.oe-done-ring { fill: none; stroke: #16a34a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; animation: oe-draw .6s ease-out forwards; }
.oe-done-tick { fill: none; stroke: #16a34a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: oe-draw .35s ease-out .5s forwards, oe-pop .3s ease-out .85s; }
.oe-done-mark--wait { display: grid; place-items: center; font-size: 44px; animation: oe-breathe 1.2s ease-in-out infinite; }
@keyframes oe-draw { to { stroke-dashoffset: 0; } }
@keyframes oe-pop { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .oe-done-ring, .oe-done-tick { animation: none; stroke-dashoffset: 0; } .oe-done-mark--wait, .oe-order-banner--pending .oe-order-banner-icon, .oe-order-track span.is-now { animation: none; } .oe-order-banner { animation: none; } }
.oe-orders { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.oe-orders li { display: flex; justify-content: space-between; padding: 8px 10px; background: var(--oe-bg); border-radius: 10px; font-size: 14px; }

.oe-toast { position: fixed; left: 50%; bottom: calc(96px + var(--oe-vv-bottom, 0px)); transform: translateX(-50%); z-index: 60; max-width: 92vw; padding: 12px 18px; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; box-shadow: var(--oe-shadow-lg); }
.oe-toast.is-error { background: var(--oe-danger); }
.oe-toast code { font-size: 12px; opacity: .85; }

/* ---------- message pages (root, 404, error) ---------- */
.oe-message { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--oe-bg); }
.oe-message-card { background: #fff; border-radius: 20px; padding: 36px 32px; max-width: 460px; width: 100%; text-align: center; box-shadow: var(--oe-shadow); }
.oe-message-card h1 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; }
.oe-message-card p { color: var(--oe-muted); margin: 8px 0; }
.oe-message-card a { color: var(--oe-main-ink); }
.oe-message-logo { height: 40px; margin: 0 auto 16px; }
.oe-message-ref code { font-size: 13px; }

/* ---------- wider screens: two-column cards, centered sheets ---------- */
@media (min-width: 860px) {
  .oe-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oe-layout-grid .oe-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .oe-layout-grid .oe-item { grid-template-columns: 1fr; }
  .oe-layout-grid .oe-item-media { aspect-ratio: 4 / 3; min-height: 0; }
  .oe-sheet { align-items: center; }
  .oe-sheet-panel { width: min(920px, 92vw); max-height: 88vh; border-radius: 24px; animation: oe-pop .22s cubic-bezier(.2, .8, .2, 1); }
  @keyframes oe-pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
  .oe-sheet-panel--small { width: min(560px, 92vw); }
  .oe-sheet-head { padding: 28px 64px 0 28px; }
  .oe-sheet-body { padding: 8px 28px 16px; }
  .oe-sheet-foot { padding: 14px 28px; }
  .oe-item-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 20px; }
}
@media (min-width: 960px) {
  :root { --oe-gutter: 32px; }
  .oe-content { padding-top: 16px; }
  .oe-section-title, .oe-category-title { font-size: 30px; }
}

/* adults only (plan Part E -1): the confirmation sheet is one paragraph and two buttons (the 18+ tag itself is .oe-age, #63559) */
.oe-age-text { margin: 0; font-size: 15px; line-height: 1.5; }

/* the open order's status banner (plan §A21): fixed at the top; the page makes room for it — the root pads by --oe-banner-h (set by the script while the
   banner shows) and the sticky headers sit below it — so the header's badge, chips and account button stay reachable; above the header (20), below the sheets (50) */
.oe { padding-top: var(--oe-banner-h, 0px); }
.oe-header { top: var(--oe-banner-h, 0px); }
.oe-order-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: #fff; color: var(--oe-ink, #111827); border-bottom: 1px solid var(--oe-line, #e5e7eb); box-shadow: 0 6px 24px rgba(0, 0, 0, .14); font: 14px/1.35 var(--oe-font); animation: oe-drop .35s ease-out; }
.oe-order-banner-in { display: flex; align-items: stretch; max-width: var(--oe-max, 1100px); margin: 0 auto; padding: 0 var(--oe-gutter, 16px); }   /* a full-width bar; its content aligned with the page, like the header's */
@keyframes oe-drop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.oe-order-banner-main { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.oe-order-banner-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: color-mix(in oklab, var(--oe-main, #1d5fbf) 14%, white); }
.oe-order-banner--bad .oe-order-banner-icon { background: #fee2e2; }
.oe-order-banner--done .oe-order-banner-icon { background: #dcfce7; }
.oe-order-banner--pending .oe-order-banner-icon { animation: oe-breathe 1.2s ease-in-out infinite; }
@keyframes oe-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.oe-order-banner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.oe-order-banner-text { font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.oe-order-banner--bad .oe-order-banner-text { color: #b91c1c; }
.oe-order-banner-meta { font-size: 12px; color: var(--oe-muted, #6b7280); font-variant-numeric: tabular-nums; }
.oe-order-track { display: flex; gap: 4px; margin-top: 4px; }
.oe-order-track span { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--oe-main, #1d5fbf) 14%, white); }
.oe-order-track span.is-done { background: var(--oe-main, #1d5fbf); }
.oe-order-track span.is-now { background: var(--oe-main, #1d5fbf); animation: oe-track 1.4s ease-in-out infinite; }
.oe-order-track span.is-bad { background: #b91c1c; }
@keyframes oe-track { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.oe-order-banner-close { border: 0; background: var(--oe-bg, #f3f4f6); color: inherit; width: 40px; margin: 8px 0; border-radius: 12px; cursor: pointer; font-size: 14px; }
/* the history sheet: what is happening now, then the timeline */
.oe-order-history-now { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; background: var(--oe-bg, #f3f4f6); }
.oe-order-where { font-size: 13.5px; color: var(--oe-muted); margin: -6px 0 14px 4px; }
.oe-order-history-now > div { flex: 1; min-width: 0; }
.oe-order-history-now strong { display: block; font-size: 16px; margin-bottom: 4px; }
.oe-order-history-now.is-bad strong { color: #b91c1c; }
.oe-order-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.oe-order-history-part-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.oe-order-history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.oe-order-history-list li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; color: var(--oe-muted, #6b7280); }
.oe-order-history-list li.is-now { color: var(--oe-ink, #111827); font-weight: 600; }
.oe-order-history-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: var(--oe-bg, #f3f4f6); }
.oe-order-history-list li.is-now .oe-order-history-icon { background: color-mix(in oklab, var(--oe-main, #1d5fbf) 14%, white); }
.oe-order-history-time { font-variant-numeric: tabular-nums; font-size: 12px; }
/* what was ordered, under a part's timeline */
.oe-order-history-items { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--oe-line, #e5e7eb); display: grid; gap: 6px; font-size: 13px; }
.oe-order-history-items li { display: grid; grid-template-columns: 36px 1fr auto; column-gap: 10px; align-items: start; }
.oe-order-history-items li > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.oe-order-history-qty { color: var(--oe-muted, #6b7280); text-align: right; font-variant-numeric: tabular-nums; }
.oe-order-history-item { font-weight: 600; }
.oe-order-history-mods { color: var(--oe-muted, #6b7280); font-size: 12px; }
.oe-order-history-sum { font-variant-numeric: tabular-nums; }
/* the table sheet: one card per open order at the table, the tracked ones marked as the eater's own */
[data-oe-table-open] { border: 0; cursor: pointer; font-family: inherit; }   /* the badge's size and weight stay — `font: inherit` would make the button bigger than the chip beside it */
.oe-table-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oe-table-order { padding: 12px 14px; border-radius: 16px; background: var(--oe-bg, #f3f4f6); }
.oe-table-order.is-mine { box-shadow: inset 0 0 0 2px var(--oe-main, #1d5fbf); }
.oe-table-order-head { display: flex; align-items: center; gap: 10px; }
.oe-table-order-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oe-table-order-who strong { font-size: 15px; }
.oe-table-mine { font-size: 11px; font-weight: 700; color: var(--oe-main-ink, #1d5fbf); background: var(--oe-main-soft, #dbeafe); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.oe-table-order-meta { font-size: 12px; color: var(--oe-muted, #6b7280); }
.oe-table-order-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.oe-table-order .oe-order-history-items { border-top-color: rgba(0, 0, 0, .08); }
.oe-table-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--oe-ink, #111827); font-weight: 800; font-size: 16px; }
/* the account menu and the order history under it */
.oe-menu { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 6px; }
.oe-menu-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--oe-bg, #f3f4f6); color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.oe-menu-item:hover { background: color-mix(in oklab, var(--oe-main, #1d5fbf) 10%, white); }
.oe-menu-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: #fff; }
.oe-menu-arrow { margin-left: auto; color: var(--oe-muted, #6b7280); font-size: 20px; line-height: 1; }
.oe-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oe-history-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--oe-bg, #f3f4f6); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.oe-history-row:disabled { cursor: default; }
.oe-history-row.is-over { opacity: .75; }
.oe-history-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oe-history-title { font-weight: 700; }
.oe-history-meta { font-size: 12px; color: var(--oe-muted, #6b7280); }
.oe-history-sum { font-weight: 700; font-variant-numeric: tabular-nums; }
/* the "Table" button: white while the table is empty, the main colour with the count once orders are on it — on every page, the custom ones included */
[data-oe-table-open]:not(.oe-table-icon).is-empty { color: var(--oe-main-ink, #1d5fbf); background: #fff; }   /* white while empty — green is the "open" chip's colour (reviewer, 2026-09-07) */
[data-oe-table-open]:not(.oe-table-icon).is-busy { color: #fff; background: var(--oe-main, #1d5fbf); }
.oe-table-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #fff; color: var(--oe-main-ink, #1d5fbf); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; vertical-align: middle; }
/* one order per table: each part with the guest who ordered it */
.oe-table-part { margin-top: 8px; }
.oe-table-part-who { font-weight: 700; font-size: 14px; margin-top: 6px; }
.oe-table-part .oe-order-history-items { margin-top: 4px; padding-top: 6px; }

/* ======================================================================================================================
   plan Part H (H4): the theme layer — the components the theme spec names, on the tokens alone. Later than every rule above, so it wins
   at equal specificity; the custom per-store pages (Pages/Store/<handle>/) bring their own css and never see this file.
   ====================================================================================================================== */
body, body.oe-body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
/* the display family: the store's name, the section and category headings, the product sheet's title; the body family everywhere else */
.oe-hero-overlay .oe-title-name, .oe-header-top .oe-title-name, .oe-section-title, .oe-category-title, .oe-sheet-title, .oe-message-card h1 { font-family: var(--font-display); font-weight: var(--font-display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); }
/* the small labels: the section labels, the recommendations title, the "online menu" line, the rule chips */
.oe-section-label, .oe-reco-title, .oe-title-sub, .oe-group-rule, .oe-footer-block > strong, .oe-hours-title { text-transform: var(--label-case); letter-spacing: var(--label-tracking); }
.oe-title-sub { font-size: 11px; font-weight: 600; }
.oe-section-label { color: var(--muted); }

/* surfaces and lines */
.oe-header { background: color-mix(in oklab, var(--surface) 88%, transparent); border-bottom-color: var(--border); }
.oe-item { background: var(--surface); border-color: var(--border); border-radius: var(--radius-card); box-shadow: var(--oe-shadow); }
@media (hover: hover) { .oe-item[role="button"]:hover { border-color: var(--accent); box-shadow: var(--oe-shadow-lg); } }
.oe-search input, .oe-field input, .oe-field textarea, .oe-field select, gmp-place-autocomplete { background: var(--surface); border-color: var(--border); color: var(--text); border-radius: var(--radius-control); }
.oe-search input:focus, .oe-field input:focus, .oe-field textarea:focus { border-color: var(--accent); }
.oe-field textarea { border-radius: var(--radius-image); }
.oe-choice, .oe-status, .oe-table-badge, .oe-account, .oe-chip, .oe-promo-name { border-radius: var(--radius-control); }
.oe-choice { background: var(--surface); border-color: var(--border); color: var(--muted); }
.oe-option, .oe-stepper, .oe-details, .oe-adjust, .oe-orders li, .oe-order-history-now, .oe-table-order, .oe-menu-item, .oe-history-row, .oe-message-card, .oe-banner, .oe-map, .pac-container { border-radius: var(--radius-image); }
.oe-option { background: var(--surface); border-color: var(--border); }
.oe-option input { border-color: var(--border); background: var(--surface); }
.oe-stepper { border-color: var(--border); }
.oe-stepper button { background: var(--surface2); color: var(--text); }
.oe-group-rule { background: var(--surface2); color: var(--muted); }
.oe-banner { background: var(--surface2); border-color: var(--border); }
.oe-tagline { color: var(--muted); }
.oe-footer { border-top-color: var(--border); color: var(--muted); }
.oe-hours-title, .oe-hours-line.is-today dt, .oe-hours-line.is-today dd, .oe-powered b { color: var(--text); }
.oe-hours-line dt small { color: var(--accent); }
.oe-cat-icon { background: var(--surface2); color: var(--text); }

/* the logo and the hero: the mark takes the logo tokens, a hero without a photo is the hero colour, flat */
.oe-logo, .oe-logo-mark { border-radius: var(--radius-image); }
.oe-logo-mark { background: var(--logo-bg); color: var(--logo-fg); font-family: var(--font-display); font-weight: var(--font-display-weight); }
.oe-hero { background: var(--hero); }
.oe-hero--placeholder { background: var(--hero); background-image: none; }
.oe-hero-overlay .oe-logo-mark, .oe-hero-overlay .oe-logo { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.oe-hero-overlay .oe-account-mark { color: var(--logo-fg); background: var(--logo-bg); }

/* the tags over a photo (#63559): the discount in the badge tokens, the bonus in ink on the surface, "unavailable" translucent dark on the greyed photo;
   the 18+ tag and the basket's "free" tag in the text tokens */
.oe-badge { background: var(--badge-bg); color: var(--badge-fg); border: 1px solid var(--badge-bd); border-radius: var(--radius-badge); box-shadow: none; }
.oe-badge--bonus { background: var(--text); color: var(--surface); border-color: var(--text); }
.oe-badge--off { background: rgba(17, 24, 39, .72); color: #fff; border-color: transparent; }
.oe-chip { background: var(--badge-bg); color: var(--badge-fg); border: 1px solid var(--badge-bd); border-radius: var(--radius-badge); }
.oe-chip--off { background: var(--surface2); color: var(--muted); border-color: var(--border); }
.oe-free-tag { background: var(--text); color: var(--surface); }
.oe-highlight { background: var(--badge-bg); color: var(--badge-fg); border: 1px solid var(--badge-bd); border-radius: var(--radius-badge); }
.oe-tag { color: var(--text); border-color: var(--border); border-radius: var(--radius-control); }
.oe-sheet-frozen { color: var(--muted); }
.oe-sheet-age { color: var(--muted); }
.oe-sheet-age .oe-age { color: var(--text); }
.oe-promo-name, .oe-table-mine { background: var(--surface2); color: var(--text); }

/* the price */
.oe-price, .oe-sheet-price, .oe-reco-price, .oe-line-total, .oe-totals .oe-grand, .oe-option-delta, .oe-done-no { color: var(--price); }
.oe-price-old { color: var(--muted); }

/* the call to action: the cart bar, every filled button */
.oe-btn, .oe-cartbar .oe-cart { background: var(--cta-bg); color: var(--cta-fg); border: 1px solid var(--cta-bd); border-radius: var(--radius-cta); height: var(--cta-height); }
.oe-btn:hover, .oe-cartbar .oe-cart:hover { background: var(--cta-bg); filter: brightness(1.08); }
.oe-cartbar .oe-cart { padding: 0 20px; font-weight: 700; }
.oe-cart-count { background: color-mix(in oklab, var(--cta-fg) 22%, transparent); }
.oe-btn.is-busy::after { border-color: color-mix(in oklab, var(--cta-fg) 35%, transparent); border-top-color: var(--cta-fg); }
.oe-btn--ghost, .oe-btn--ghost:hover { background: var(--surface2); color: var(--text); border-color: var(--border); filter: none; }
.oe-btn--link, .oe-btn--link:hover { background: transparent; color: var(--accent); border: 0; height: auto; filter: none; }
.oe-btn--ghost.is-busy::after, .oe-btn--link.is-busy::after { border-color: color-mix(in oklab, var(--accent) 25%, transparent); border-top-color: var(--accent); }
.oe-order-banner-close, .oe-sheet-close { background: var(--surface2); color: var(--text); }

/* the selected state: an underlined tab in the accent, a filled chip / option / language pill in the selection tokens */
.oe-tab { border-radius: 0; padding: 8px 10px; color: var(--muted); border-bottom: 2px solid transparent; }
.oe-tab:hover { background: transparent; color: var(--text); }
.oe-tab.is-active { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }
.oe-tab.is-active .oe-cat-icon { background: var(--surface2); color: var(--accent); }
.oe-choice.is-active { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }
.oe-option:has(input:checked) { border-color: var(--sel-bg); background: var(--surface2); }
.oe-option input:checked { border-color: var(--sel-bg); background: var(--sel-bg); }
.oe-option input:checked::after { background: var(--sel-fg); }
.oe-option input[type="checkbox"]:checked::after { border-color: var(--sel-fg); background: none; }
.oe-company-toggle input:checked { border-color: var(--sel-bg); background: var(--sel-bg); }
.oe-company-toggle input:checked::after { border-color: var(--sel-fg); }
[data-oe-table-open]:not(.oe-table-icon).is-busy { background: var(--sel-bg); color: var(--sel-fg); }
[data-oe-table-open]:not(.oe-table-icon).is-empty { background: var(--surface); color: var(--text); }
.oe-table-count { background: var(--sel-fg); color: var(--sel-bg); }
.oe-table-order.is-mine { box-shadow: inset 0 0 0 2px var(--accent); }
.oe-order-track span { background: var(--surface2); }
.oe-order-track span.is-done, .oe-order-track span.is-now { background: var(--accent); }
.oe-order-banner-icon, .oe-order-history-list li.is-now .oe-order-history-icon, .oe-menu-item:hover { background: var(--surface2); }
.oe-order-banner, .oe-order-history-now, .oe-orders li, .oe-table-order, .oe-menu-item, .oe-history-row { background: var(--surface); color: var(--text); }
.oe-order-history-now, .oe-orders li, .oe-table-order, .oe-menu-item, .oe-history-row { background: var(--surface2); }
.oe-menu-icon { background: var(--surface); }
.oe-search input:focus, .oe-field input:focus, .oe-field textarea:focus { box-shadow: 0 0 0 4px var(--oe-ring); }

/* no photo — the theme's empty tokens and the fork-and-knife glyph; a photo that fails joins them (the page adds is-empty) */
.oe-item-media, .oe-sheet-media, .oe-reco-media { background: var(--empty-bg); color: var(--empty-fg); }
.oe-media-glyph { display: none; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.oe-item-media.is-empty img, .oe-sheet-media.is-empty img, .oe-reco-media.is-empty img { display: none; }
.oe-item-media.is-empty .oe-media-glyph, .oe-sheet-media.is-empty .oe-media-glyph, .oe-reco-media.is-empty .oe-media-glyph { display: block; }
.oe-item-media { border-radius: 0; }   /* the card clips it; the sheet's and the recommendations' photos take the image radius */
.oe-sheet-media { border-radius: var(--radius-image); }

/* "Recomandările zilei" (plan Part H): a carousel of up to five cards on a phone, one row on the web; text cards on a menu without images */
.oe-reco { margin: 4px 0 18px; }
.oe-reco-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.oe-reco-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; scroll-snap-type: x mandatory; }
.oe-reco-row::-webkit-scrollbar { display: none; }
.oe-reco-card { flex: 0 0 164px; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--reco-bg); color: var(--reco-fg); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; cursor: pointer; }
.oe-reco-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.oe-reco-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.oe-reco-media img { width: 100%; height: 100%; object-fit: cover; }
.oe-reco-name { padding: 8px 10px 0; font-size: 14px; font-weight: 700; line-height: 1.25; }
.oe-reco-price { padding: 2px 10px 10px; font-size: 13px; font-weight: 700; margin-top: auto; }
.oe-reco-card--text { flex-basis: 150px; padding-top: 10px; }
.oe-reco-card--text .oe-reco-name { padding-top: 0; }

/* the product sheet's details (plan Part H): the nutrition sentence, then the allergen icons with their names */
.oe-sheet-nutrition { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.oe-sheet-allergens { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.oe-sheet-allergens b { color: var(--text); font-weight: 600; }
.oe-allergens { list-style: none; margin: 8px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.oe-allergens li { display: inline-flex; align-items: center; gap: 5px; }
.oe-allergen-icon { width: 17px; height: 17px; color: var(--text); flex: none; }

/* a menu without photos (presentation.showImages = false): compact rows, the description to two lines; hero and logo stay */
.oe-item--noimage .oe-item-body { padding: 10px 14px; gap: 4px; }
.oe-item--noimage .oe-item-desc { -webkit-line-clamp: 2; }
.oe-item--noimage .oe-item-name { font-size: 15px; }

/* an unavailable item: dimmed, never greyed into another palette (the theme owns the colours) */
.oe-item--off { opacity: 1; filter: none; color: var(--muted); }   /* a snoozed product (#63559): the photo in grey, the texts muted, the "unavailable" tag on the photo */
.oe-item--off .oe-item-media img { filter: grayscale(1); opacity: .85; }
.oe-item--off .oe-price { color: var(--muted); }

/* the sheets: the surface, the scrim from the text colour, the close on the right */
.oe-sheet { background: color-mix(in oklab, var(--text) 45%, transparent); }
.oe-sheet-panel { background: var(--surface); color: var(--text); font-family: var(--font-body); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.oe-sheet-foot { background: var(--surface); border-top-color: var(--border); }
.oe-toast { background: var(--text); color: var(--bg); border-radius: var(--radius-image); }
.oe-message { background: var(--bg); }
.oe-message-card { background: var(--surface); }
.oe-message-card a { color: var(--accent); }

/* the web: the 1200 px column, the search next to the tabs, the recommendations in one row, two product columns, the footer in three columns */
@media (min-width: 860px) {
  .oe-sheet-panel { border-radius: var(--radius-card); }
  .oe-reco-row { overflow: visible; scroll-snap-type: none; }
  .oe-reco-card { flex: 1 1 0; max-width: 240px; }
}
@media (min-width: 960px) {
  /* a full-bleed bar whose content sits in the page column: two side gutters that grow, the tabs column and the 320 px search column between them */
  .oe-header { display: grid; grid-template-columns: minmax(var(--oe-gutter), 1fr) minmax(0, calc(var(--oe-max) - 2 * var(--oe-gutter) - 344px)) 320px minmax(var(--oe-gutter), 1fr); align-items: center; }
  .oe-header-top { grid-column: 2 / 4; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .oe-tabs { grid-column: 2; max-width: none; margin: 0; padding-left: 0; padding-right: 24px; }
  .oe-header-search { grid-column: 3; max-width: none; margin: 0; padding: 6px 0 8px; }
  .oe-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; align-items: start; }
  .oe-footer-block { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 4px; }
  .oe-hours { align-items: flex-start; }
  .oe-powered--footer { grid-column: 1 / -1; justify-content: center; }
}

/* plan Part H (H5): the Table Order eater flows — the alias line, the table screen's share / paid / bill request, the order-sent details, the desktop gate */
.oe-alias { margin: -6px 0 14px; font-size: 13px; color: var(--muted); }
.oe-alias b { color: var(--text); font-weight: 700; }
.oe-alias a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.oe-table-share { display: flex; justify-content: space-between; margin-top: 8px; font-weight: 700; color: var(--price); }
.oe-paid-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--radius-badge); background: var(--badge-bg); color: var(--badge-fg); font-size: 11px; font-weight: 700; text-transform: var(--label-case); letter-spacing: var(--label-tracking); vertical-align: middle; }
.oe-table-order.is-paid { opacity: .7; }
.oe-bill-ask { width: 100%; margin-top: 14px; }
.oe-bill-form { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-image); background: var(--surface2); }
.oe-bill-form .oe-field { margin: 6px 0 10px; }
.oe-bill-request { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-image); background: var(--surface2); font-size: 14px; }
.oe-bill-request strong { display: block; margin-bottom: 2px; }
.oe-bill-request-hint { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.oe-done-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
/* the Table Order app on a wide screen (H.0 #8): the message replaces the page — the menu without the table stays a link away */
.oe-desktop-gate { display: none; }
@media (min-width: 960px) {
  .oe--gated .oe-main, .oe--gated .oe-cartbar, .oe--gated .oe-order-banner { display: none; }
  .oe--gated .oe-desktop-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 100vh; padding: 40px 24px; text-align: center; background: var(--bg); }
  .oe-desktop-gate-logo { width: 96px; height: 96px; font-size: 40px; }
  .oe-desktop-gate-title { font-family: var(--font-display); font-weight: var(--font-display-weight); font-size: 32px; max-width: 560px; }
  .oe-desktop-gate-text { margin: 0; max-width: 480px; font-size: 16px; color: var(--muted); }
}

/* ======================================================================================================================
   #63544 (Andra's design, 2026-11-20): the hero and the header. The photo holds only the language switch (top-right) and, when the store is
   closed, the overlay; the logo straddles the photo's bottom edge; a bar under the photo carries the status (plain text, opens the hours
   sheet) on the left and the table / account / cart on the right; the name, the slogan, the alias and the delivery strip are centred under it.
   The sticky header: the brand, the language switch, the table / account / cart; the search above the tabs on a phone, at the right of the
   tabs on the web; the category tabs draw the admin's icons. The modal splits photo | content on the web. Later than every rule above.
   ====================================================================================================================== */
.oe-hero { height: clamp(200px, 34vw, 420px); overflow: visible; margin-bottom: 0; }
.oe-hero img { border-radius: 0; }
.oe-hero-overlay { align-items: flex-start; justify-content: flex-end; padding: 12px var(--oe-gutter); background: linear-gradient(to bottom, rgba(17, 24, 39, .35), transparent 45%); }
.oe-hero-logo { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); z-index: 2; }
.oe-hero-logo .oe-logo, .oe-hero-logo .oe-logo-mark { width: 72px; height: 72px; border-radius: 18px; border: 3px solid var(--surface, #fff); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); font-size: 26px; }
.oe-hero--closed > img { filter: brightness(.6); }   /* #63759: the cover photo only — the logo (.oe-hero-logo) sits inside the hero too */
.oe-closed { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px var(--oe-gutter) 52px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); background: rgba(17, 24, 39, .45); }
.oe-closed-title { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; }
.oe-closed p { margin: 6px 0 0; font-size: 15px; }
.oe-closed .oe-closed-until { font-size: 14px; opacity: .92; }
.oe-closed .oe-banner-schedule { justify-content: center; }
.oe-clock { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oe-closed-title .oe-clock { width: 22px; height: 22px; }
.oe-hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: var(--oe-max); margin: 0 auto; padding: 10px var(--oe-gutter) 0; min-height: 46px; }
.oe-hero-bar-right, .oe-header-right { display: flex; align-items: center; gap: 8px; }
.oe-status, .oe-status--closed { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; background: none; box-shadow: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.oe-status::before { display: none; }
.oe-status--closed { color: var(--muted); }
.oe-status-until { display: none; }   /* a phone shows "Deschis" alone: the hour would run under the straddling logo */
@media (min-width: 600px) { .oe-status-until { display: inline; } }
.oe-cart-icon { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; padding: 0; }
.oe-cart-icon .oe-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oe-cart-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-fg); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.oe-hero-bar .oe-account { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.oe-intro-wrap { max-width: var(--oe-max); margin: 0 auto; padding: 0 var(--oe-gutter); }
.oe-intro { text-align: center; margin: 2px 0 18px; }
.oe-intro .oe-title-name { font-size: 28px; line-height: 1.15; white-space: normal; font-family: var(--font-display); font-weight: var(--font-display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); }
.oe-intro .oe-tagline { margin: 4px 0 0; }
.oe-intro .oe-alias { margin: 8px 0 0; }
.oe-intro .oe-strip { margin: 14px auto 0; max-width: 520px; text-align: left; }
.oe-header-top { padding: 8px var(--oe-gutter); }
.oe-header-top .oe-title-name { font-size: 18px; }
.oe-header-nav { display: flex; flex-direction: column; max-width: var(--oe-max); margin: 0 auto; }
.oe-header-nav .oe-header-search { order: -1; padding: 8px var(--oe-gutter) 4px; }
.oe-header-nav .oe-tabs { max-width: none; margin: 0; }
.oe-tab .oe-cat-icon { width: 22px; height: 22px; border-radius: 0; background: none; font-size: 12px; }
.oe-tab .oe-cat-icon .oe-cat-glyph { font-size: 20px; }
.oe-tab.is-active .oe-cat-icon { background: none; color: inherit; }
.oe-portion { color: var(--muted); font-size: 13px; font-weight: 500; }
.oe-powered--footer { text-decoration: none; color: var(--muted); }
.oe-powered--footer:hover b { text-decoration: underline; }
.oe-item-sheet--nomedia .oe-item-sheet-media { display: none; }
@media (min-width: 860px) {
  .oe-hero-logo .oe-logo, .oe-hero-logo .oe-logo-mark { width: 88px; height: 88px; border-radius: 22px; font-size: 32px; }
  .oe-hero-bar { min-height: 54px; }
  .oe-intro .oe-title-name { font-size: 36px; }
  .oe-header-nav { flex-direction: row; align-items: center; gap: 12px; padding-right: var(--oe-gutter); }
  .oe-header-nav .oe-tabs { flex: 1; min-width: 0; }
  .oe-header-nav .oe-header-search { order: 1; flex: 0 0 280px; padding: 6px 0; }
  .oe-item-sheet { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 32px; align-items: start; }
  .oe-item-sheet--nomedia { grid-template-columns: 1fr; }
  .oe-item-sheet-media .oe-sheet-media { aspect-ratio: 1; margin: 0; }
}
@media (min-width: 960px) {
  /* the header's old four-column grid (gutter | tabs | 320 px search | gutter) takes over: the nav wrapper dissolves into it */
  .oe-header-nav { display: contents; }
  .oe-header-nav .oe-header-search { padding: 6px 0 8px; }
  .oe-header-nav .oe-tabs { padding-right: 24px; }
}

/* ======================================================================================================================
   The language switch (plan §A15.3, Andra's design): a pill button — globe, the current code, a chevron — over the hero and in the sticky
   header; a native <details> whose content is a bottom sheet listing every language by its own name (works on the script-less pages too).
   Later than every rule above.
   ====================================================================================================================== */
.oe-lang { position: relative; flex: none; }
.oe-lang > summary { list-style: none; }
.oe-lang > summary::-webkit-details-marker { display: none; }
.oe-lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--surface2, #f3f4f6); color: var(--text, var(--oe-ink)); font: 700 16px/1 var(--oe-font); letter-spacing: .02em; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.oe-lang-btn:focus-visible { outline: 2px solid var(--accent, var(--oe-main)); outline-offset: 2px; }
.oe-lang-globe { width: 22px; height: 22px; }
.oe-lang-chevron { width: 16px; height: 16px; transition: transform .2s; }
.oe-lang[open] .oe-lang-chevron { transform: rotate(180deg); }
.oe-hero-overlay .oe-lang-btn { background: rgba(17, 24, 39, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.oe-header-top .oe-lang-btn { height: 36px; padding: 0 12px 0 10px; font-size: 14px; gap: 6px; }
.oe-header-top .oe-lang-globe { width: 18px; height: 18px; }
.oe-header-top .oe-lang-chevron { width: 14px; height: 14px; }
.oe-message-card .oe-lang { display: inline-block; margin-top: 18px; }
/* the sheet: the page's bottom sheet, centred on the web */
.oe-lang-sheet { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, var(--text, #111827) 45%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; }
.oe-lang-panel { position: relative; width: 100%; max-height: 80dvh; overflow: auto; background: var(--surface, #fff); color: var(--text, var(--oe-ink)); font: 15px/1.5 var(--font-body, var(--oe-font)); border-radius: var(--radius-card, 24px) var(--radius-card, 24px) 0 0; padding-bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: var(--oe-shadow-lg); animation: oe-up .28s cubic-bezier(.2, .8, .2, 1); }
.oe-lang-panel .oe-sheet-head { padding: 20px 20px 4px; }
.oe-lang-list { padding: 4px 16px 8px; margin: 0; }
.oe-lang-list .oe-menu-item { text-decoration: none; color: var(--text, inherit); }
.oe-lang-list .oe-menu-item.is-active { background: var(--sel-bg, var(--oe-main)); color: var(--sel-fg, #fff); }
.oe-lang-list-code { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--text, inherit); }
.oe-lang-list .is-active .oe-lang-list-code { background: color-mix(in oklab, var(--sel-fg, #fff) 22%, transparent); color: inherit; }
.oe-lang-list-name { flex: 1; }
.oe-lang-list-check { width: 20px; text-align: right; font-weight: 800; }
@media (min-width: 860px) {
  .oe-lang-sheet { align-items: center; }
  .oe-lang-panel { width: min(440px, 92vw); border-radius: var(--radius-card, 24px); animation: oe-pop .22s cubic-bezier(.2, .8, .2, 1); }
}

/* ======================================================================================================================
   #63721 (Andra's design, 2026-11-24): "Recomandările zilei" above the bar; the bar in the page's own colour, the glass only once it is stuck;
   the condensed sticky header on a phone (no search field unless a search is on); the search interaction; "Masa mea" as an icon button; a smaller
   language button (a link in the sticky header, a dropdown on the web, a bottom sheet on a phone); the read-only menu's options as prose.
   Later than every rule above.
   ====================================================================================================================== */
.oe-above-nav { max-width: var(--oe-max); margin: 0 auto; padding: 0 var(--oe-gutter); }
.oe-above-nav .oe-reco { margin: 0 0 14px; }
.oe-header-sentinel { height: 1px; margin-bottom: -1px; }
.oe-header { background: var(--bg); border-bottom-color: var(--border); -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .2s, box-shadow .2s; }
.oe-header.is-stuck { background: color-mix(in oklab, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 8px 20px -16px rgba(17, 24, 39, .35); }
.oe-category-title.is-hidden { display: none; }

/* the field: the full width of the column on a phone (a `margin: auto` in the column flex used to shrink it to its content), a pill, our own "x" */
.oe-header-search { width: 100%; }
.oe-search input { height: 46px; padding: 0 44px; border-radius: var(--radius-control); background: var(--surface); -webkit-appearance: none; appearance: none; }
.oe-search input::-webkit-search-cancel-button, .oe-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.oe-search input:focus { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.oe-search-clear { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--muted); color: var(--surface); font-size: 11px; line-height: 1; cursor: pointer; }
.oe-search-recent { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 2px; }
.oe-search-recent::-webkit-scrollbar { display: none; }
.oe-search-recent-label { flex: none; font-size: 12px; color: var(--muted); }
.oe-search-recent .oe-choice, .oe-search-empty-chips .oe-choice { flex: none; padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--text); }
/* typing: the tabs give way to the count; the cards filtered in place, the match marked; the recommendations step aside */
.oe-search-info { display: none; margin: 0; padding: 8px var(--oe-gutter) 10px; font-size: 13px; color: var(--muted); }
.oe.has-query .oe-search-info { display: block; }
.oe.has-query .oe-header .oe-tabs, .oe.has-query .oe-above-nav { display: none; }
.oe.has-query .oe-content { min-height: 100vh; }   /* a short result list must not pull the bar back down from the top */
.oe-hit { background: color-mix(in oklab, var(--accent) 20%, transparent); color: inherit; font-weight: 700; border-radius: 2px; padding: 0; }
.oe-search-empty { text-align: center; padding: 48px 16px 24px; }
.oe-search-empty-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); color: var(--muted); }
.oe-search-empty-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: var(--font-display-weight); font-size: 20px; }
.oe-search-empty-hint { margin: 0 auto; max-width: 340px; color: var(--muted); font-size: 13.5px; }
.oe-search-empty-chips { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
@media (max-width: 859px) {
  /* the condensed sticky header: the brand row and the tabs; the field only while a search is on (focused, or with text) */
  .oe-header.is-stuck .oe-header-search { display: none; }
  .oe.is-search-focus .oe-header.is-stuck .oe-header-search, .oe.has-query .oe-header.is-stuck .oe-header-search { display: block; }
  .oe.is-search-focus .oe-cartbar { display: none; }   /* the keyboard is up: the order bar returns when it closes */
}
@media (min-width: 860px) {
  .oe-search-empty-chips { display: flex; }
  .oe-header-nav .oe-search-info { flex: 1; min-width: 0; }
}
@media (min-width: 960px) {
  .oe-search-info { grid-column: 2; padding: 6px 24px 8px 0; align-self: center; }
  .oe-search-recent { flex-wrap: wrap; justify-content: flex-end; overflow: visible; }
  /* the web: the field widens while it has the focus */
  .oe.is-search-focus .oe-header { grid-template-columns: minmax(var(--oe-gutter), 1fr) minmax(0, calc(var(--oe-max) - 2 * var(--oe-gutter) - 444px)) 420px minmax(var(--oe-gutter), 1fr); }
}

/* "Masa mea" (update of 2026-11-25): an icon button built like the cart beside it — the same size, the same badge (the items on the table,
   none while it is empty), no text; a table menu opened without a table keeps the icon, muted, with nothing to open */
.oe-table-icon { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; padding: 0; }
.oe-table-icon .oe-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oe-table-icon.is-inert { cursor: default; color: var(--muted); }

/* the product sheet: the quantity on the title row, right of the name (a long name wraps under itself, never under the stepper); the
   bottom bar keeps only "Adaugă la comandă | price", at full width. The row keeps clear of the X wherever the X sits beside it. */
.oe-sheet-titlerow { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; }
.oe-sheet-titletext { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.oe-item-sheet .oe-sheet-titlerow .oe-sheet-title { padding-right: 0; margin-top: 0; }
.oe-sheet-qty { flex: none; }
.oe-sheet-qty .oe-stepper button { width: 34px; height: 36px; font-size: 18px; }
.oe-sheet-qty .oe-stepper output { width: 30px; }
.oe-item-sheet--nomedia .oe-sheet-titlerow { padding-right: 44px; }
.oe-btn--wide { width: 100%; }
@media (min-width: 860px) { .oe-sheet-titlerow { padding-right: 44px; } }

/* the language button: the size of the other buttons on the page; in the sticky header a link button (the code and the chevron, no chip) */
.oe-lang-btn { height: 32px; padding: 0 10px 0 9px; gap: 5px; font-size: 13px; }
.oe-lang-globe { width: 16px; height: 16px; }
.oe-lang-chevron { width: 13px; height: 13px; }
.oe-header-top .oe-lang-btn { height: 32px; padding: 0 4px; gap: 3px; background: transparent; font-size: 14px; }
.oe-header-top .oe-lang-globe { display: none; }
.oe-header-top .oe-lang-chevron { width: 13px; height: 13px; }
@media (hover: hover) { .oe-header-top .oe-lang-btn:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* the web: a dropdown under the button, no modal (the bottom sheet stays on a phone) */
@media (min-width: 860px) {
  .oe-lang-sheet { position: absolute; inset: auto; top: calc(100% + 6px); right: 0; z-index: 60; display: block; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .oe-lang-panel { width: 220px; max-height: 60vh; padding-bottom: 0; border: 1px solid var(--border, #e5e7eb); border-radius: var(--radius-image, 12px); box-shadow: var(--oe-shadow-lg); animation: none; }
  .oe-lang-panel .oe-sheet-head { display: none; }
  .oe-lang-list { padding: 6px; }
  .oe-lang-list .oe-menu-item { padding: 8px 10px; gap: 10px; border-radius: 8px; background: transparent; font-weight: 500; }
  .oe-lang-list .oe-menu-item:hover { background: var(--surface2, #f3f4f6); }
  .oe-lang-list .oe-menu-icon { width: 26px; height: 26px; }
  .oe-message-card .oe-lang-sheet { right: auto; left: 50%; transform: translateX(-50%); }
}

/* the read-only menu's options (QR menu): prose, nothing that looks tappable; the rule and the extra prices in grey, the closing hint */
.oe-narrative { margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.oe-narrative-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.oe-narrative-line { margin: 0 0 6px; font-size: 14.5px; line-height: 1.5; }
.oe-narrative-line b { font-weight: 700; }
.oe-narrative-muted { color: var(--muted); }
.oe-narrative-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
