/* ============================================================================
   order/css/order.css -- THE CUSTOMER'S ORDERING PAGE (ORVO Online, phase P1).

   A white-label, LIGHT page in the company's own colours. It is the sibling of the gift voucher buy
   page and wears that page's parts; it is NOT the dark my. design system.

   PART 1 is COPIED VERBATIM from vouchers.lemonco.com/pages/index.php (the line of each block is
   named) through the approved mockup Documentation/mockups/2026-09-29_orvo_online/customer.html.
   Change one there, change it here. The branding tokens (--accent, --hero-bg, --page-bg, --card-bg,
   --btn-text, --footer-bg, --footer-text, --radius, --font, --accent-glow) are written into :root
   by order/shell.php from the company's saved look.
   PART 2 is the approved mockups' own layout (P1-P10 of the first round, S1-S10 of the item sheet
   round), as drawn. No new colour: a brand token, a grey the voucher page already uses, or its
   error red #dc2626.
   PART 3 is what a working page needs that a drawn one does not: the loader, a disabled button, a
   field in error, the order-placing state, the wide screen.

   O3 (30 Sep 2026, his list off lemon.order.orvopos.com): THE LOYALTY PAGE IS THE STANDARD NOW for the
   header, the page behind the cards, the cards, the section titles and the big button -- each copied from
   loyalty.lemonco.com/pages/index.php and named where it lands ("O3 <- loyalty .form-card" and so on). The
   category row is the cards' column wide, has no background until it is stuck at the top (then the page's
   own colour), and fades at both ends when it scrolls sideways (the shared edge fade,
   shared/js/orvo-edge-fade.js); a menu row's price is level with its name; the item sheet's name bar lies
   OVER the sheet instead of pushing it down, which is what made the sheet jump 46px on an iPhone as it was
   scrolled back up to the picture.

   HOUSE RULES KEPT: no pill shapes (every box takes --radius), one-word buttons, 24-hour times,
   nothing focused when a step or the sheet opens, no emojis.
   (c) 2026 ORVO Software -- orvopos.com
   ============================================================================ */

/* custpages-1123 B4B: the Customise card's rows (orvoPageLookVars), each read with the design's own value as its fallback;
   the Text colour is --text in the Light inks and --text-on-dark in the Dark ones, each only where it reads (orvoPageTextOn) */
/* ==== PART 1 -- the voucher page's parts ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { touch-action: pan-x pan-y; scroll-behavior: smooth; overflow-x: hidden; }
/* O3 <- loyalty body + body::before: the page, a breath of the company's colour moving across it */
body {
    font-family: var(--font);
    color: #1a1a2e;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background: var(--page-bg);
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 4%, var(--page-bg)) 0%, var(--page-bg) 30%,
                color-mix(in srgb, var(--hero-bg) 3%, var(--page-bg)) 60%, var(--page-bg) 100%);
    background-size: 400% 400%;
    animation: bgShift 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}
@keyframes bgShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
/* O3 <- loyalty .hero, ::before, ::after: the company's accent into its hero colour and nothing else. His
   words: "the background of the header is kind of orange" -- the voucher page's header ran its last third
   into the accent darkened by a fifth (#FF7800 -> a burnt #CC6000 for Lemon); the loyalty page's does not. */
.hero {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--hero-bg) 100%);
    background-size: 200% 200%;
    animation: heroGradient 8s ease infinite;
    padding: 52px 24px 80px;
    text-align: center;
    color: var(--btn-text);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}
@keyframes heroGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='white' fill-opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -80px;
    right: -60px;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.hero-logo { max-width: 160px; margin-bottom: 16px; position: relative; }
.hero h1 { font-family: var(--font); font-size: calc(22px * var(--ts, 1)); margin-bottom: 8px; letter-spacing: -0.3px; font-weight: 700; }
.hero p { font-size: calc(14px * var(--ts, 1)); opacity: 0.8; line-height: 1.5; max-width: 380px; margin: 0 auto; }
/* :152 -- the segmented tabs */
.card-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.card-tab {
    flex: 1; padding: 10px 8px; border: none; border-radius: var(--radius);
    background: var(--page-bg); color: #888; font-family: var(--font);
    font-size: calc(13px * var(--ts, 1)); font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.card-tab.active { background: var(--accent); color: var(--btn-text); }
/* :261 */
.main-content { max-width: 800px; margin: -40px auto 0; padding: 0 16px 40px; position: relative; z-index: 2; }
/* :273 -- the step circles */
.step-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 24px; padding: 0 10px; }
.step-circle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: calc(14px * var(--ts, 1)); font-weight: 700; color: rgba(255,255,255,0.6);
    flex-shrink: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 1;
}
.step-circle.active {
    border-color: var(--accent); background: var(--accent); color: var(--btn-text);
    box-shadow: 0 0 20px var(--accent-glow), 0 2px 12px rgba(0,0,0,0.15); transform: scale(1.1);
}
.step-circle.completed { border-color: var(--accent); background: var(--accent); color: var(--btn-text); }
.step-connector { flex: 1; height: 3px; background: rgba(0,0,0,0.08); border-radius: 2px; position: relative; overflow: hidden; max-width: 100px; }
.step-connector-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--accent); border-radius: 2px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.step-connector.filled .step-connector-fill { width: 100%; }
/* O3 <- loyalty .form-card: the card */
.glass-card {
    background: rgba(255,255,255,0.72);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.6);
}
/* O3 <- loyalty .section-title: a heading is the page's ink, not the accent */
.section-title { font-size: calc(16px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; margin-bottom: 14px; }
/* :522 -- the radio cards */
.delivery-radio-group { display: flex; flex-direction: column; gap: 8px; }
.delivery-radio {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius);
    cursor: pointer; transition: border-color 0.2s, background 0.2s; background: rgba(255,255,255,0.6);
}
.delivery-radio:hover { border-color: rgba(0,0,0,0.12); }
.delivery-radio.selected { border-color: var(--accent); background: var(--card-bg); box-shadow: 0 0 0 4px var(--accent-glow); }
.delivery-radio input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.delivery-radio-text { font-size: calc(14px * var(--ts, 1)); font-weight: 500; color: #333; }
.delivery-radio-desc { font-size: calc(12px * var(--ts, 1)); color: #888; margin-top: 2px; }
/* :684 -- the form group (:694 input AND textarea, :713) */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: calc(12px * var(--ts, 1)); font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius);
    font-family: var(--font); font-size: calc(16px * var(--ts, 1)); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: rgba(255,255,255,0.6); -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #bbb; }
.form-group textarea { resize: vertical; min-height: 80px; }
/* :704 -- the focused field */
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); background: var(--card-bg); }
/* :957 + :964 -- the voucher page's own error words and border */
.field-error { color: #dc2626; font-size: calc(12px * var(--ts, 1)); margin-top: 4px; display: none; }
.field-error.visible { display: block; }
.form-group input.invalid { border-color: #dc2626; }
/* :716 -- the summary card */
.summary-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--hero-bg) 100%);
    border-radius: var(--radius); padding: 24px 20px; color: var(--btn-text); position: relative; overflow: hidden;
}
.summary-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.summary-card::after { content: ''; position: absolute; bottom: -30px; left: -20px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.summary-card-content { position: relative; z-index: 1; }
.summary-label { font-size: calc(11px * var(--ts, 1)); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-bottom: 4px; }
.summary-amount { font-size: calc(36px * var(--ts, 1)); font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.summary-divider { height: 1px; background: rgba(255,255,255,0.2); margin: 12px 0; }
/* :761 */
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: calc(13px * var(--ts, 1)); }
.summary-row-label { opacity: 0.75; }
.summary-row-value { font-weight: 600; }
/* :816 -- Pay; O3 <- loyalty .submit-btn: its glow, and its lift under a pointer */
.btn-pay {
    width: 100%; padding: 18px; border: none; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--hero-bg));
    color: var(--btn-text); font-family: var(--font); font-size: calc(17px * var(--ts, 1)); font-weight: 700;
    cursor: pointer; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 56px; position: relative; overflow: hidden;
}
@media (hover: hover) {
    .btn-pay:not(:disabled):hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 20px color-mix(in srgb, var(--accent) 20%, transparent); }
}
.btn-pay:not(:disabled):active { transform: translateY(0) scale(0.99); }
.btn-pay svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-pay:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
/* :863 -- Back */
.btn-back {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 14px;
    border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius); background: rgba(255,255,255,0.6);
    color: #666; font-family: var(--font); font-size: calc(15px * var(--ts, 1)); font-weight: 600; cursor: pointer;
    text-align: center; margin-top: 10px; transition: border-color 0.2s, background 0.2s; min-height: 48px;
}
.btn-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* vouchers.lemonco.com/includes/footer-css.php -- the footer, whole */
.site-footer { text-align: center; padding: 24px 20px 40px; background: var(--footer-bg); color: var(--footer-text); width: 100vw; margin-left: calc(-50vw + 50%); box-sizing: border-box; }
.footer-links { margin-bottom: 16px; }
.footer-links a { color: var(--footer-text); opacity: 0.6; font-size: calc(12px * var(--ts, 1)); text-decoration: none; margin: 0 12px; transition: opacity 0.2s; }
.footer-orvo { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-orvo-logo { width: 60px; filter: brightness(0) invert(1) opacity(0.3); margin-bottom: 4px; }
.footer-orvo p { font-size: calc(11px * var(--ts, 1)); opacity: 0.4; margin: 0; }

/* ==== PART 2 -- the approved layout (first round P1-P10) ==== */
/* P1 the slim hero */
.hero.is-slim { padding: 22px 20px 58px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
.hero.is-slim .hero-logo { max-width: 150px; margin-bottom: 6px; display: block; margin-left: auto; margin-right: auto; }
.hero.is-slim p { font-size: calc(13px * var(--ts, 1)); }
.hero.is-slim .step-progress { margin: 14px 0 0; }
.hero.is-slim .step-circle { width: 30px; height: 30px; font-size: calc(13px * var(--ts, 1)); }
.main-content.is-slim { margin-top: -30px; }
/* P2 the shop line */
.glass-card.ol-where { padding: 16px 16px 14px; }
.ol-where .card-tabs { margin-bottom: 12px; }
.ol-where-line { display: flex; align-items: center; gap: 8px; font-size: calc(13.5px * var(--ts, 1)); color: #333; line-height: 1.45; }
.ol-where-line + .ol-where-line { margin-top: 6px; }
.ol-where-line svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ol-where-line b { font-weight: 700; color: #1a1a2e; }
.ol-where-line .ol-dim { color: #888; }
.ol-where-line.is-shut svg { stroke: #999; }
/* P3 the category row. O3, his words: "it looks like it's cut off on both sides ... we don't put any
   background at all ... go across or fade on both sides"; the organiser's finishing points (1 Oct): the bar is
   the width of the CONTENT COLUMN, its edges on the cards' edges, faded at both ends, and once it is stuck at
   the top its background is the PAGE's colour so nothing shows between the chips. Two parts:
   .ol-cats-bar  what sticks at the top: exactly the cards' column, left and right. At rest it has no fill at
                 all (a fill there would cut across the shadow of the card above it). While it is STUCK
                 (is-stuck, set by barStuck() in order.js as the page scrolls) it takes the page's own colour,
                 the column's width and no wider, so a card going under it never shows between the chips.
                 No border, no shadow, no glass: the loyalty page has none.
   .ol-cats      the chips' row inside it, the same width. Where it scrolls sideways it FADES at whichever
                 end has chips hidden past it -- at both ends once it is scrolled -- the shared edge fade
                 (data-edge-fade). The fade is a mask on this row, which is why the fill lives on the bar
                 around it: a fill on the row would fade out with the chips and show the cards through both
                 ends. The row is positioned so a chip's offsetLeft is measured from it (setCat() in order.js). */
.ol-cats-bar { position: sticky; top: 0; z-index: 5; margin: 0 0 16px; }
.ol-cats-bar.is-stuck { background: var(--page-bg); }
.ol-cats { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0;
           scrollbar-width: none; overscroll-behavior-x: contain; }
.ol-cats::-webkit-scrollbar { display: none; }
.ol-cats .card-tab { flex: none; padding: 10px 14px; background: var(--card-bg); box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.06); }
.ol-cats .card-tab.active { background: var(--accent); box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 30%, transparent); }
/* P4 the menu row */
.glass-card.ol-menu { padding: 18px 16px 6px; }
.ol-menu .section-title { margin-bottom: 6px; }
/* O3 (the organiser, 1 Oct): the price is level with the NAME, not with the middle of the row. The name, the
   line under it and the price are the row's own cells (order.js), and the name has a track of its own: the
   price shares that track, so the two centre on each other whether or not a line runs under the name. The
   flexible tracks above and below centre the name and its lines against the picture, as before. "from" sits
   just above the figure, out of the way, so it is the figure that lines up with the name. */
.ol-item { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: 1fr auto auto auto 1fr; align-items: center; column-gap: 12px; row-gap: 0; padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.06); cursor: pointer; }
.ol-item > .ol-pic { grid-column: 1; grid-row: 1 / -1; }
.ol-item > .ol-name { grid-column: 2; grid-row: 2; }
.ol-item > .ol-desc, .ol-item > .ol-sold { grid-column: 2; grid-row: 3; }
.ol-item > .ol-when { grid-column: 2; grid-row: 4; }
.ol-item > .ol-price { grid-column: 3; grid-row: 2; position: relative; }
.ol-pic { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.ol-pic img { max-width: 64px; max-height: 64px; object-fit: contain; }
.ol-name { font-size: calc(15px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.ol-desc { font-size: calc(12.5px * var(--ts, 1)); color: #888; line-height: 1.4; margin-top: 2px; }
.ol-price { font-size: calc(15px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ol-price small { display: block; font-size: calc(11px * var(--ts, 1)); font-weight: 500; color: #999; text-align: right; }
.ol-item > .ol-price small { position: absolute; right: 0; bottom: 100%; line-height: 12px; }
.ol-inq { color: var(--accent); font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }
.ol-item.is-off { cursor: default; }
.ol-item.is-off .ol-pic { opacity: .55; }
/* P5 the basket bar */
.ol-bar { position: sticky; bottom: 0; z-index: 6; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); margin: 0 -16px; background: linear-gradient(to top, var(--page-bg) 70%, transparent); }
.ol-bar .btn-pay, .btn-pay.is-split { justify-content: space-between; padding: 0 20px; }
.ol-bar .ol-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: rgba(255,255,255,0.22); font-size: calc(14px * var(--ts, 1)); margin-right: 10px; }
.btn-pay .ol-amt { font-variant-numeric: tabular-nums; }
/* P6 the item sheet */
.ol-sheet-ov { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; justify-content: center; }
/* O3: 94svh after 94vh -- the SMALL viewport, the one with the browser's bars showing, which never
   changes as they come and go, so the sheet is never resized under a scrolling finger */
.ol-sheet { width: 100%; max-width: 560px; max-height: 94vh; max-height: 94svh; background: var(--card-bg); border-radius: 16px 16px 0 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.ol-grab { width: 38px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.15); margin: 8px auto 0; flex: none; }
.ol-x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.05); color: #666; display: flex; align-items: center; justify-content: center; }
.ol-x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
/* O3: the sheet's own scroll stays the sheet's -- it does not run on into the page when it reaches the top
   or the bottom (the rubber band stays inside the sheet) */
.ol-sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 4px 18px 8px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ol-alg { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: calc(12px * var(--ts, 1)); color: #666; }
.ol-alg span { display: inline-flex; align-items: center; gap: 4px; }
.ol-alg svg { color: #888; }
.ol-q { padding: 12px 0 4px; border-top: 1px solid rgba(0,0,0,0.06); }
.ol-q-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.ol-q-hd .section-title { margin: 0; font-size: calc(14px * var(--ts, 1)); }
.ol-q-hd span { font-size: calc(11.5px * var(--ts, 1)); color: #999; }
.ol-q .delivery-radio { padding: 10px 12px; }
.ol-q .delivery-radio-text { font-size: calc(13.5px * var(--ts, 1)); }
.ol-q .delivery-radio input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.ol-q .ol-plus { margin-left: auto; font-size: calc(13px * var(--ts, 1)); color: #666; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ol-sheet-foot { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(0,0,0,0.06); background: var(--card-bg); }
/* P7 two short answers side by side */
.ol-opts { display: grid; gap: 8px; }
.ol-opts.is-2 { grid-template-columns: 1fr 1fr; }
.ol-opts .delivery-radio { gap: 8px; min-width: 0; }
.ol-opts .delivery-radio-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* P8 the quantity */
.ol-qty { display: flex; align-items: center; border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius); background: rgba(255,255,255,0.6); height: 56px; }
.ol-qty button { width: 44px; height: 100%; border: 0; background: transparent; color: #666; display: flex; align-items: center; justify-content: center; }
.ol-qty button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.ol-qty b { min-width: 22px; text-align: center; font-size: calc(17px * var(--ts, 1)); color: #1a1a2e; font-variant-numeric: tabular-nums; }
/* P9 the time slots */
.ol-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.ol-slots .delivery-radio { justify-content: center; padding: 11px 4px; }
.ol-slots .delivery-radio-text { font-variant-numeric: tabular-nums; font-weight: 600; }
.ol-slots .delivery-radio.is-full { cursor: default; background: transparent; border-style: dashed; }
.ol-slots .delivery-radio.is-full .delivery-radio-text { color: #bbb; font-weight: 500; }
/* S2 (1 Oct 2026): a choice, an extra or a swap made with something that has none left today -- the full slot's own quiet
   look, "Sold out" where its price stood; its input is disabled, so it can never be ticked */
.ol-q .delivery-radio.is-out { cursor: default; background: transparent; border-style: dashed; }
.ol-q .delivery-radio.is-out .delivery-radio-text { color: #bbb; font-weight: 500; }
.ol-q .delivery-radio.is-out .ol-plus { color: #999; font-weight: 600; }
.ol-when-sub { font-size: calc(12px * var(--ts, 1)); color: #888; margin: 14px 0 0; }
/* OT1 (2 Oct 2026): the basket's own times are being asked for -- the card is dimmed IN PLACE until they land, and
   nothing in it takes a tap; its size does not change */
.ol-times { transition: opacity .15s ease; }
.ol-times.is-wait { opacity: .55; }
.ol-times.is-wait .delivery-radio { pointer-events: none; }
/* P9 the basket lines */
.ol-line { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; padding: 11px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.glass-card .section-title + .ol-line { border-top: 0; padding-top: 0; }
.ol-line .q { font-size: calc(14px * var(--ts, 1)); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.ol-line .n { font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: #1a1a2e; }
.ol-line .s { display: block; font-size: calc(12.5px * var(--ts, 1)); color: #888; font-weight: 400; margin-top: 2px; line-height: 1.4; }
.ol-line .e { font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: #1a1a2e; font-variant-numeric: tabular-nums; }
.ol-line.is-levy .n, .ol-line.is-levy .e { font-weight: 500; color: #666; font-size: calc(13px * var(--ts, 1)); }
.ol-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 0; margin-top: 2px; border-top: 1px solid rgba(0,0,0,0.12); }
.ol-tot span { font-size: calc(12.5px * var(--ts, 1)); color: #888; }
.ol-tot b { font-size: calc(20px * var(--ts, 1)); color: #1a1a2e; font-variant-numeric: tabular-nums; }
/* P9 the status */
.ol-num { text-align: center; padding: 4px 0 2px; }
.ol-num .summary-label { color: #888; opacity: 1; }
.ol-num b { display: block; font-size: calc(56px * var(--ts, 1)); font-weight: 800; letter-spacing: 1px; color: #1a1a2e; font-variant-numeric: tabular-nums; line-height: 1.05; }
.ol-num p { font-size: calc(14px * var(--ts, 1)); color: #333; margin-top: 6px; }
/* O4: the order's four steps -- each 38px circle centred over its quarter (12.5% less half a circle), the
   quarter its name and time sit in below; never wider than 440px, so a desk screen does not stretch it */
.ol-status { max-width: 440px; margin: 18px auto 4px; }
.ol-status .step-progress { margin: 0; padding: 0 calc(12.5% - 19px); }
.ol-status .step-circle { border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.03); color: #bbb; }
.ol-status .step-circle.completed, .ol-status .step-circle.active { border-color: var(--accent); background: var(--accent); color: var(--btn-text); }
.ol-status .step-circle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ol-steplabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; text-align: center; font-size: calc(12.5px * var(--ts, 1)); color: #999; }
.ol-steplabs b { display: block; color: #1a1a2e; font-weight: 700; }
.ol-steplabs span.is-now b { color: var(--accent); }
/* C6 the hours */
.ol-hours { width: 100%; border-collapse: collapse; font-size: calc(13.5px * var(--ts, 1)); }
.ol-hours td { padding: 7px 0; border-top: 1px solid rgba(0,0,0,0.06); color: #333; }
.ol-hours td + td { text-align: right; font-variant-numeric: tabular-nums; }
.ol-hours tr.is-today td { font-weight: 700; color: #1a1a2e; }
.ol-hours tr:first-child td { border-top: 0; }

/* ==== PART 2 -- the item sheet round (S1-S10) ==== */
/* S1 the picture band */
.ols-band { margin: 0 -18px 12px; height: 150px; display: flex; align-items: center; justify-content: center;
            background: color-mix(in srgb, var(--accent) 9%, var(--card-bg)); }
.ols-band img { max-height: 124px; max-width: 70%; object-fit: contain; }
/* PH1 (1 Oct): THE OWNER'S OWN PHOTO, AND NO PICTURES (Design > Online > Pictures; order.js picOf). A photo is
   square and FILLS its box -- the row's 64px square, and the sheet's band edge to edge, as tall as it is wide up
   to 340px -- where ORVO's drawing sits inside it. With no pictures the row has no first column at all: the name
   and its lines start at the card's edge and the price keeps the name's own track (O3), so the two still centre
   on each other. */
.ol-pic.is-photo img { width: 64px; height: 64px; max-width: none; max-height: none; object-fit: cover; border-radius: min(var(--radius), 12px); }
.ol-item.is-nopic { grid-template-columns: 1fr auto; }
.ol-item.is-nopic > .ol-name, .ol-item.is-nopic > .ol-desc, .ol-item.is-nopic > .ol-sold, .ol-item.is-nopic > .ol-when { grid-column: 1; }
.ol-item.is-nopic > .ol-price { grid-column: 2; }
.ols-band.is-photo { width: calc(100% + 36px); height: auto; aspect-ratio: 1 / 1; max-height: 340px; overflow: hidden; }   /* the width said outright: an auto width gives way to max-height through the ratio (measured 340 of 390) */
.ols-band.is-photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.ol-sheet.has-photo .ol-x { background: rgba(255,255,255,0.92); color: #333; box-shadow: 0 1px 4px rgba(0,0,0,0.18); }   /* the X stays readable over a photo */
/* S2 the sheet head */
.ols-hd { padding: 0 0 12px; }
.ols-hd .ol-name { font-size: calc(20px * var(--ts, 1)); letter-spacing: -0.3px; }
.ols-hd .ol-desc { font-size: calc(13.5px * var(--ts, 1)); margin-top: 3px; }
.ols-hd .ols-from { font-size: calc(14px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; margin-top: 6px; font-variant-numeric: tabular-nums; }
/* S3 the group marker */
.ol-q-hd .ols-mk { display: inline-flex; align-items: center; gap: 4px; font-size: calc(11.5px * var(--ts, 1)); color: #999; font-weight: 500; white-space: nowrap; }
.ol-q-hd .ols-mk.is-req { color: var(--accent); font-weight: 700; }
.ol-q-hd .ols-mk.is-done svg { width: 13px; height: 13px; stroke: var(--accent); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* BANNERSTEADY (15 Oct 2026, his "red highlight poor.. flash or sexier please"): a group left unanswered is no longer red -- no red title, no red
   line under every row. It is the shop's own accent (the page's Add button's): "Required" in it, the words in normal weight, a quiet accent
   outline round the group, and ONE short pulse when Add is pressed (PART 8). */
.ol-q-hd .ols-mk.is-err { color: var(--accent); font-weight: 700; }
.ol-q.is-err .field-error { margin: -4px 0 8px; font-size: calc(12.5px * var(--ts, 1)); font-weight: 400; color: var(--accent); }
/* S4 the folded group */
.ols-fold { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-family: var(--font); text-align: left;
            border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius); background: rgba(255,255,255,0.6); cursor: pointer; }
.ols-fold + .ols-fold { margin-top: 8px; }
.ols-fold-t { flex: 1 1 auto; min-width: 0; }
.ols-fold-t b { display: block; font-size: calc(14px * var(--ts, 1)); font-weight: 700; color: var(--accent); }
.ols-fold-t span { display: block; font-size: calc(12.5px * var(--ts, 1)); color: #888; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ols-fold-t span.is-picked { color: #333; font-weight: 600; }
.ols-fold > em { font-style: normal; font-size: calc(11.5px * var(--ts, 1)); color: #999; flex: none; }
.ols-fold > svg { width: 18px; height: 18px; stroke: #999; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ols-folds { padding: 12px 0 6px; border-top: 1px solid rgba(0,0,0,0.06); }
/* S7 kitchen notes */
.ols-notes .form-group { margin-bottom: 4px; }
.ols-notes textarea { min-height: 64px; font-size: calc(15px * var(--ts, 1)); }
.ols-notes-foot { display: flex; justify-content: space-between; gap: 10px; font-size: calc(11.5px * var(--ts, 1)); color: #999; padding: 0 2px 6px; }
/* S8 the menu's "not now" states */
.ol-when { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: calc(12.5px * var(--ts, 1)); font-weight: 600; color: var(--accent); }
.ol-when svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ol-sold { display: block; margin-top: 3px; font-size: calc(12.5px * var(--ts, 1)); font-weight: 600; color: #999; }
.ol-item.is-sold .ol-name { color: #999; }   /* sold out or over for today; a row that is only off because the SHOP is shut keeps its ink (frame C6) */
.ol-menu-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ol-menu-hd .section-title { margin: 0; }
.ol-menu-hd span { font-size: calc(12.5px * var(--ts, 1)); font-weight: 600; color: #999; white-space: nowrap; }
.ol-menu.is-closed .ol-menu-hd .section-title { color: #999; }
.ol-menu.is-closed .ol-item { cursor: default; }
.ol-menu.is-closed .ol-pic, .ol-menu.is-closed .ol-item > span:not(.ol-pic) { opacity: .5; }
.ol-cats .card-tab.is-closed { color: #bbb; }
/* S9 the quantity's limit */
.ol-qty button.is-max { opacity: .35; }
/* L1 the shop's most items in one order: the page's small grey line, across the foot under the + and Add */
.ol-sheet-foot .ol-when-sub { grid-column: 1 / -1; margin: -4px 0 0; text-align: center; }
/* BRANDFIX C (25 Nov 2026, his "By the Add button"): the item as picked's allergen line, across the foot just over the + and
   Add (order.js sheetFoot), so it is in view whenever Add is. The .ol-alg line as it was; one line where it fits, the second
   only on a narrow phone. The + and Add keep their row whatever the line says. */
.ol-sheet-foot .ol-alg { grid-column: 1 / -1; margin: 0 0 -4px; }
/* S10 the name stays on. O3: it LIES OVER the top of the sheet and fades in; it no longer comes into the
   flow. In the flow it pushed the scrolling part down 46px the moment the sheet passed 120px and pulled it
   back up 46px on the way back -- measured, a 46px jump both ways (tests/Unit/OnlineOrderPolishO3Test.php),
   the "trying to fix itself" he felt on the iPhone scrolling back up to the picture. The X does not move:
   the bar is 56px, the X's middle is at 28. */
.ols-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 56px; display: flex; align-items: center; padding: 0 60px 0 18px;
    background: var(--card-bg); border-bottom: 1px solid rgba(0,0,0,0.06); font-size: calc(16px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; letter-spacing: -0.2px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility 0s linear .18s; }
.ol-sheet.is-scrolled .ols-top { opacity: 1; visibility: visible; transition: opacity .18s ease; }

/* ==== PART 3 -- what a working page needs ==== */
button { font-family: var(--font); -webkit-tap-highlight-color: transparent; }
.ol-x, .ol-qty button, .footer-links button { cursor: pointer; }
.ol-menu-hd + .ol-item { border-top: 0; }
.ol-item > .ol-name, .ol-item > .ol-desc, .ol-item > .ol-when, .ol-item > .ol-sold { min-width: 0; }
.ol-name, .ol-desc { overflow-wrap: anywhere; }
.ol-menu { scroll-margin-top: 64px; }
.ol-line.is-tap { cursor: pointer; }
.ol-line .s.is-bad { color: #dc2626; font-weight: 600; }
/* the footer's Allergens is a button that reads as the link beside it */
.footer-links button { background: none; border: 0; color: var(--footer-text); opacity: 0.6; font-size: calc(12px * var(--ts, 1)); margin: 0 12px; padding: 0; }
.footer-links a, .footer-links button { display: inline-block; line-height: 2; }
/* the page's own words when something is refused: the voucher page's error red, its own text size */
.ol-error { display: none; color: #dc2626; font-size: calc(13.5px * var(--ts, 1)); font-weight: 600; line-height: 1.45; margin: 0 2px 14px; }
.ol-error.visible { display: block; }
.ol-say { font-size: calc(13.5px * var(--ts, 1)); color: #333; line-height: 1.5; }
/* a way of paying that is not open for this order */
.delivery-radio.is-off { cursor: default; opacity: .6; }
/* three quiet dots while the menu, or the order's number, is on its way */
.ol-dots { display: flex; justify-content: center; gap: 6px; padding: 28px 0; }
.ol-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .3; animation: ol-dot 1.2s infinite ease-in-out; }
.ol-dots i:nth-child(2) { animation-delay: .15s; }
.ol-dots i:nth-child(3) { animation-delay: .3s; }
.ol-num .ol-dots { padding: 18px 0 10px; }
@keyframes ol-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ol-dots i { animation: none; opacity: .6; } html { scroll-behavior: auto; } .hero, body::before { animation: none; } }
.ol-noscript { max-width: 420px; margin: 80px auto; padding: 0 20px; text-align: center; font-size: calc(15px * var(--ts, 1)); color: #333; }
.ol-num b.is-words { font-size: calc(30px * var(--ts, 1)); letter-spacing: -0.3px; padding: 8px 0 2px; }
/* PAY NOW (the P2 face, 1 Oct 2026). The card fields open under their choice in the choice's own white,
   edge and corners (.delivery-radio); inside them Stripe draws the fields in this page's own label, input,
   font and corners (order.js cardLook()). The card's words are the page's own error line. */
.ol-card { background: var(--card-bg); border: 2px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: 16px 14px 4px; }
.ol-card .ol-dots { padding: 18px 0 22px; }
.ol-card .ol-error { margin: 10px 2px 10px; }
/* the line under Pay while a payment goes through ("Your bank may ask you to confirm it is you.") */
.ol-pay-note { text-align: center; margin-top: 10px; }
.btn-back:disabled { opacity: 0.5; cursor: not-allowed; }
/* TEST MODE, said plainly: a strip in the page's own ink (the heading colour) -- never a colour of its own */
.ol-test { display: flex; align-items: baseline; gap: 10px; background: #1a1a2e; color: #fff; border-radius: var(--radius);
    padding: 10px 14px; margin: 0 0 14px; font-size: calc(13px * var(--ts, 1)); line-height: 1.45; }
.ol-test b { font-weight: 800; letter-spacing: 1px; flex: none; }
.main-content > .ol-test { margin-bottom: 20px; }
/* THE READING SHEET (O3): the privacy policy and the allergens, one box -- the item sheet's -- and one set
   of words, the loyalty page's notice card (loyalty.lemonco.com/includes/notice-page.php .card) */
.ol-sheet-title { font-size: calc(20px * var(--ts, 1)); font-weight: 700; letter-spacing: -0.3px; color: #1a1a2e; padding: 14px 40px 10px 0; }
.ol-note { padding-bottom: 24px; }
.ol-note h2 { font-size: calc(16px * var(--ts, 1)); font-weight: 700; color: #1a1a2e; margin: 28px 0 10px; padding-bottom: 6px;
              border-bottom: 2px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.ol-note .ol-sheet-title + h2, .ol-note .ol-sheet-title + p { margin-top: 4px; }
.ol-note p { margin: 0 0 10px; color: #555; font-size: calc(13.5px * var(--ts, 1)); line-height: 1.7; }
.ol-note strong { color: #333; }
.ol-note ul { margin: 0 0 12px 20px; color: #555; font-size: calc(13.5px * var(--ts, 1)); line-height: 1.7; }
.ol-note li { margin-bottom: 4px; }
/* the allergens list (the footer's Allergens) */
.ol-alist-row { padding: 9px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.ol-alist h2 + .ol-alist-row { border-top: 0; }
.ol-alist-row .ol-name { font-size: calc(14px * var(--ts, 1)); }
/* a wide screen: the sheet is a box in the middle, the same width and the same parts */
@media (min-width: 720px) {
    /* O6 (Stephen, 2 Oct, off the live page: "i dont want the container narrower.. just the content inside
       a tad.. so back to how it was and add a slight gap left and right and on mobile leave as was"): the
       column keeps its own width (the base rule's 800px; O5's narrower column of 1 Oct is gone), and the
       menu card's side padding is 40px here (16px on a phone), so the heading, the rows and their lines
       stand in together and a price sits a little nearer its name. A phone never reaches this rule. */
    .glass-card.ol-menu { padding-left: 40px; padding-right: 40px; }
    .ol-sheet-ov { align-items: center; }
    .ol-sheet { border-radius: 16px; max-height: 88vh; max-height: 88svh; }
    .ol-grab { visibility: hidden; }
    .hero.is-slim { padding-top: 30px; }
    .ol-bar { background: none; }
}
/* ── PROPOSED (job 21, 12 Oct 2026): a customer changes or cancels their own order -- the block of the approved mockup
   Documentation/mockups/2026-09-30_online_customer_change/index.html, layout only, no new colour ── */
/* 1. THE CHANGE ROW under the order's steps: one quiet line, then the page's own Back button twice, one size */
.ol-change { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.06); text-align: center; }
.ol-change .ol-when-sub { margin: 0 0 10px; }
.ol-change .ol-say { margin: 0 0 12px; }
.ol-change .btn-back { margin-top: 0; }
.ol-change .ol-dots { padding: 4px 0 2px; }
a.btn-back { text-decoration: none; box-sizing: border-box; }
/* 2. TWO BUTTONS SIDE BY SIDE (the change row, the change basket's foot, the cancel sheet): one size */
.ol-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ol-pair .btn-back { margin-top: 0; }
.btn-pay + .ol-pair { margin-top: 10px; }
/* 3. THE ONE RED PRESS ON THE PAGE: Cancel on the cancel sheet -- the voucher page's own error red on the Back button's shape */
.btn-back.is-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
/* 4. A SHEET THAT ASKS ONE QUESTION: the item sheet's foot holds two buttons of one size */
.ol-sheet-foot.is-pair { grid-template-columns: 1fr 1fr; }
.ol-sheet-foot.is-pair .btn-back { margin-top: 0; }
/* 5. PAID ONLINE (Q1 = A): the difference's card fields under one line, and the money-back line between the cards */
.glass-card .ol-say + .ol-card { margin-top: 12px; }
.ol-money-back { margin: 0 6px 14px; text-align: center; }
.btn-pay + .ol-pay-note + .ol-pair { margin-top: 10px; }

/* ==== PART 4 -- ORDERUX (13 Oct 2026, his "yes build it" on Documentation/mockups/order-redesign-2026-10-13.html) ====
   THE MENU AS PHOTO CARDS, the way the delivery apps lay a menu out, in the company's own colours and fonts.
   Three things live here and nowhere else:
   1. THE PAGE'S INKS AS TOKENS. Every grey PARTS 1-3 name outright is said again below as a token whose LIGHT
      value is that same grey, so a light page draws exactly as before; Dark (and Follow the phone at night)
      swaps the token values only. The owner picks Light, Dark or Follow the phone on Design > Online
      (online_config.design_json, shell.php puts it on <html> as data-theme). The page's own paper and card
      colours follow the theme in Dark; the company's accent, header and footer colours never change.
      Text ON the accent is --accent-ink, written by shell.php only where the accent is light enough to need
      near-black (includes/online-design-lib.php onlineDesignInk); otherwise the owner's own button text.
   2. THE NEW MENU: the banner (the owner's photo, or the header colours), the chips, the category bar, the
      sections of photo cards, the basket panel beside them on a wide screen and the basket bar on a phone.
   3. THE SHEETS AS THE MOCKUP DRAWS THEM: the big photo, the round X, the answers as rows.
   House rules kept: no pill shapes (a box takes --radius; only the round + and X are circles), every target
   44px at least, nothing wider than the screen at 390px. ==== */
:root {
    --ink: var(--text, #1a1a2e); --ink-2: #333; --ink-3: #666; --ink-4: #555;
    --mute: #888; --mute-2: #999; --faint: #bbb;
    --hair: rgba(0,0,0,0.06); --hair-2: rgba(0,0,0,0.12); --hair-3: rgba(0,0,0,0.15);
    --glass: rgba(255,255,255,0.6); --glass-edge: rgba(255,255,255,0.6);
    --overlay: rgba(0,0,0,0.45); --soft: rgba(0,0,0,0.05); --strip: #1a1a2e;
    --surface-2: #f0f2f5; --line: #e3e6eb; --ok: #1f8a4c; --photo-filter: none;
    --shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.06);
    --accent-text: color-mix(in srgb, var(--accent) 78%, #000);
}
html[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #0e1013; --card-bg: #181b20;
    --ink: var(--text-on-dark, #f2f3f5); --ink-2: #d9dce1; --ink-3: #b4bac3; --ink-4: #c2c7cf;
    --mute: #9aa2ae; --mute-2: #8b93a0; --faint: #5f6672;
    --hair: rgba(255,255,255,0.08); --hair-2: rgba(255,255,255,0.14); --hair-3: rgba(255,255,255,0.2);
    --glass: #1f2328; --glass-edge: #2b3038;
    --overlay: rgba(0,0,0,0.66); --soft: rgba(255,255,255,0.08); --strip: #2b3038;
    --surface-2: #22262c; --line: #2b3038; --ok: #4cc27f; --photo-filter: brightness(.93);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.35);
    --accent-text: color-mix(in srgb, var(--accent) 62%, #fff);
}
@media (prefers-color-scheme: dark) {
    html[data-theme="auto"] {
        color-scheme: dark;
        --page-bg: #0e1013; --card-bg: #181b20;
        --ink: var(--text-on-dark, #f2f3f5); --ink-2: #d9dce1; --ink-3: #b4bac3; --ink-4: #c2c7cf;
        --mute: #9aa2ae; --mute-2: #8b93a0; --faint: #5f6672;
        --hair: rgba(255,255,255,0.08); --hair-2: rgba(255,255,255,0.14); --hair-3: rgba(255,255,255,0.2);
        --glass: #1f2328; --glass-edge: #2b3038;
        --overlay: rgba(0,0,0,0.66); --soft: rgba(255,255,255,0.08); --strip: #2b3038;
        --surface-2: #22262c; --line: #2b3038; --ok: #4cc27f; --photo-filter: brightness(.93);
        --shadow: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.35);
        --accent-text: color-mix(in srgb, var(--accent) 62%, #fff);
    }
}

/* 1. PARTS 1-3's colours as the tokens (light = the same greys as before) */
body { color: var(--ink); }
body::before { content: none; animation: none; }   /* the moving wash under the cards: the photo cards are the page now */
.card-tab { color: var(--mute); }
.section-title { color: var(--ink); }
.delivery-radio { border-color: var(--hair); background: var(--glass); }
.delivery-radio:hover { border-color: var(--hair-2); }
.delivery-radio-text { color: var(--ink-2); }
.delivery-radio-desc { color: var(--mute); }
.form-group label { color: var(--ink-3); }
.form-group input, .form-group textarea { border-color: var(--hair); background: var(--glass); color: var(--ink); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--faint); }
.btn-back { border-color: var(--hair); background: var(--glass); color: var(--ink-3); }
.step-connector { background: var(--hair-2); }
.ol-name, .ol-price, .ol-qty b, .ols-hd .ols-from, .ol-line .n, .ol-line .e, .ol-tot b, .ol-num b, .ol-steplabs b,
.ol-hours tr.is-today td, .ol-sheet-title, .ol-note h2 { color: var(--ink); }
.ol-desc, .ol-when-sub, .ol-line .s, .ol-tot span, .ol-num .summary-label, .ols-fold-t span { color: var(--mute); }
.ol-price small, .ol-q-hd span, .ol-q-hd .ols-mk, .ols-fold > em, .ols-notes-foot, .ol-sold, .ol-item.is-sold .ol-name,
.ol-menu-hd span, .ol-steplabs { color: var(--mute-2); }
.ol-alg, .ol-q .ol-plus, .ol-qty button, .ol-line.is-levy .n, .ol-line.is-levy .e { color: var(--ink-3); }
.ol-alg svg { color: var(--mute); }
.ol-say, .ol-noscript, .ol-num p, .ol-hours td, .ols-fold-t span.is-picked, .ol-note strong { color: var(--ink-2); }
.ol-note p, .ol-note ul { color: var(--ink-4); }
.ol-slots .delivery-radio.is-full .delivery-radio-text, .ol-q .delivery-radio.is-out .delivery-radio-text, .ol-cats .card-tab.is-closed { color: var(--faint); }
.ol-q .delivery-radio.is-out .ol-plus { color: var(--mute-2); }
.ols-fold > svg { stroke: var(--mute-2); }
.ol-q, .ol-sheet-foot, .ol-line, .ol-hours td, .ol-alist-row, .ol-change, .ols-folds { border-top-color: var(--hair); }
.ol-tot { border-top-color: var(--hair-2); }
.ol-qty, .ols-fold, .ol-card { border-color: var(--hair); }
.ol-qty, .ols-fold { background: var(--glass); }
.ol-status .step-circle { border-color: var(--hair-2); background: var(--soft); color: var(--faint); }
.ol-sheet-ov { background: var(--overlay); }
.ol-grab { background: var(--hair-3); }
.ols-top { border-bottom-color: var(--hair); color: var(--ink); }
.ol-test { background: var(--strip); }

/* 2. THE BANNER: the owner's photo with a shade under the words, else the page's own header colours */
.ol-banner { position: relative; overflow: hidden; color: var(--btn-text); background: linear-gradient(135deg, var(--accent) 0%, var(--hero-bg) 100%);
    --glass-bg: rgba(255,255,255,.32); --glass-edge: rgba(255,255,255,.24); }   /* LOGOGLASS4: the chips' tint and edge, said once (tint .18 -> .32); the logo box wore these same two until brandfix-1125. loyvou-1122 (22 Nov 2026): nothing on the page is frosted any more; each design's chips and logo box are order/css/designs.css's */
.ol-banner.has-photo { min-height: 232px; display: flex; align-items: flex-end; color: #fff; background: var(--surface-2); }
.ol-bn-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: var(--photo-filter); }
.ol-banner.has-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: var(--hb-shade, linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.78) 100%)); }
.ol-bn-in { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 24px 22px;
    display: flex; flex-direction: column; align-items: var(--lp-items, flex-start); text-align: var(--lp-text, start); gap: 8px; }
.ol-bn-name { font-size: calc(32px * var(--ts, 1)); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ol-banner.has-photo .ol-bn-name { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.ol-bn-logo { display: inline-flex; }
.ol-bn-logo img { display: block; max-width: calc(180px * var(--logo-k, 1)); max-height: calc(64px * var(--logo-k, 1)); object-fit: contain; }
/* brandfix-1125 (25 Nov 2026, his "why the white bg on logo?? i hate it"): no plate behind the logo on the banner photo any more,
   here or in designs.css; the logo sits flush, or on the white box when the owner's Logo box row is White (designs.css) */
.ol-bn-sub { font-size: calc(14px * var(--ts, 1)); opacity: .92; }
.ol-bn-tag { font-size: calc(13px * var(--ts, 1)); opacity: .8; margin-top: -4px; }
.ol-bn-name, .ol-bn-sub, .ol-bn-tag { background: var(--hb-bg, transparent); padding: var(--hb-pad, 0); border-radius: var(--hb-r, 0); display: var(--hb-disp, block); }
.ol-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ol-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 12px; border-radius: min(var(--radius), 10px);
    font-size: calc(13.5px * var(--ts, 1)); font-weight: 500; line-height: 1.3; background: var(--glass-bg); border: 1px solid var(--glass-edge); max-width: 100%; }
.ol-chip > span { min-width: 0; overflow-wrap: anywhere; }
.ol-chip b { font-weight: 700; }
.ol-chip .ol-dim { opacity: .8; }
.ol-chip svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ol-chip-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #5be38e; box-shadow: 0 0 0 3px rgba(91,227,142,.25); }
.ol-chip.is-shut .ol-chip-dot { background: rgba(255,255,255,.55); box-shadow: none; }

/* the page's column: the menu, and from 1024px the basket beside it */
.ol-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ol-main { min-width: 0; padding: 16px 0 48px; }
.ol-aside { display: none; }
.ol-main > .glass-card { margin-top: 4px; }
.ol-main > .btn-back { margin-top: 20px; }
.ol-shops { margin: 0 0 8px; max-width: 520px; }
.ol-shops .card-tab { min-height: 44px; }

/* the category bar (PART 2's .ol-cats-bar sticks it; here it runs the column's full width) */
.ol-main > .ol-cats-bar { margin-left: -24px; margin-right: -24px; padding: 0 24px; }
.ol-cats-bar.is-stuck { box-shadow: 0 1px 0 var(--line); }
.ol-cats .card-tab { min-height: 44px; padding: 0 16px; font-size: calc(15px * var(--ts, 1)); background: transparent; box-shadow: none; color: var(--mute); white-space: nowrap; }
.ol-cats .card-tab.active { background: var(--accent); color: var(--accent-ink, var(--btn-text)); box-shadow: none; }
@media (hover: hover) { .ol-cats .card-tab:not(.active):hover { background: var(--surface-2); color: var(--ink); } }

/* a section and its cards */
section.ol-menu { padding-top: 22px; scroll-margin-top: 72px; }
section.ol-menu .ol-menu-hd { margin-bottom: 14px; }
.ol-sec { font-size: calc(22px * var(--ts, 1)); font-weight: 700; letter-spacing: -0.005em; color: var(--ink); }
.ol-sec small { margin-left: 6px; font-size: calc(13px * var(--ts, 1)); font-weight: 500; letter-spacing: 0; color: var(--mute); }
.ol-menu.is-closed .ol-sec { color: var(--mute-2); }
.ol-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ol-grid > .ol-item { position: relative; display: flex; align-items: stretch; gap: 14px; min-height: 136px; padding: 14px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--shadow); text-align: left; }
.ol-grid > .ol-item.is-off { cursor: default; }
@media (hover: hover) { .ol-grid > .ol-item:not(.is-off):hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); } }
.ol-grid > .ol-item:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); outline-offset: 2px; }
.ol-grid .ol-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ol-grid .ol-name { font-size: calc(17px * var(--ts, 1)); font-weight: 600; line-height: 1.25; }
.ol-grid .ol-desc { font-size: calc(14px * var(--ts, 1)); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ol-grid .ol-sold, .ol-grid .ol-when { margin-top: 0; font-size: calc(13.5px * var(--ts, 1)); }
.ol-grid .ol-price { margin-top: auto; padding-top: 6px; font-size: calc(16px * var(--ts, 1)); font-weight: 600; white-space: nowrap; }
.ol-grid .ol-price small { display: inline; position: static; font-size: calc(13px * var(--ts, 1)); font-weight: 400; margin-right: 4px; }
/* NUTONLINE (13 Oct 2026): the energy for one portion, quiet, under the price; and the item sheet's table, the hours
   table's own rows (.ol-hours), its "of which" rows set in */
.ol-grid .ol-kcal { margin-top: -3px; font-size: calc(13px * var(--ts, 1)); line-height: 1.3; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ols-nut .ol-hours td { padding: 6px 0; }
.ols-nut .ol-hours tr.is-sub td:first-child { padding-left: 14px; }
.ols-nut .ol-when-sub { margin: 6px 0 8px; }
.ol-grid .ol-pic { position: relative; flex: none; width: 112px; height: 112px; }
.ol-grid .ol-pic img, .ol-grid .ol-pic.is-photo img { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 12px; filter: var(--photo-filter); }
.ol-grid .ol-pic.is-photo img { background: #fff; }
.ol-grid .ol-pic img { object-fit: contain; }
.ol-grid .ol-pic.is-photo img { object-fit: cover; }
.ol-grid > .ol-item.is-off .ol-pic { opacity: .55; }
.ol-add { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: color-mix(in srgb, var(--accent) 78%, #000); box-shadow: 0 2px 8px rgba(0,0,0,.3); font-weight: 700; font-size: calc(16px * var(--ts, 1));
    font-variant-numeric: tabular-nums; pointer-events: none; }
.ol-add svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.ol-add.has { background: var(--accent); color: var(--accent-ink, var(--btn-text)); }
.ol-grid > .ol-item.is-nopic { min-height: 96px; }
.ol-grid > .ol-item.is-nopic .ol-body { padding-right: 52px; }
.ol-grid > .ol-item.is-nopic .ol-add { box-shadow: none; background: var(--surface-2); color: var(--accent-text); }
.ol-grid > .ol-item.is-nopic .ol-add.has { background: var(--accent); color: var(--accent-ink, var(--btn-text)); }
@media (hover: hover) { .ol-grid > .ol-item:not(.is-off):hover .ol-add { background: var(--accent); color: var(--accent-ink, var(--btn-text)); } }
/* brandfix-1125 (25 Nov 2026, his "allow the [size] of pic on order.. so make smaller etc"): THE MENU'S PICTURE SIZE, the Online
   tab's Picture size row, written on <html data-pic-size>. Large (no attribute, the default) is the card above, as it always
   was. Medium and Small are the same card, the words on the left and the square picture on the right with the round + on its
   corner, the picture smaller and the card no taller than its words: Medium 88px, Small 72px at every width, the + a little
   smaller on Small so it never covers the picture. Names, prices, the energy line and the + stay whole, and the whole card
   is still the one press. designs.css draws Photo's own Medium and Small (its row card, in place of its tiles). */
html[data-pic-size="medium"] .ol-grid > .ol-item { min-height: 116px; }
html[data-pic-size="medium"] .ol-grid .ol-pic { width: 88px; height: 88px; }
html[data-pic-size="small"] .ol-grid > .ol-item { min-height: 100px; }
html[data-pic-size="small"] .ol-grid .ol-pic { width: 72px; height: 72px; }
html[data-pic-size="small"] .ol-grid .ol-add { width: 36px; height: 36px; font-size: calc(14px * var(--ts, 1)); }
html[data-pic-size="small"] .ol-grid .ol-add svg { width: 18px; height: 18px; }

/* the basket, beside the menu (wide) and in its sheet (phone): one body */
.ol-panel { background: var(--card-bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.ol-panel-hd { padding: 18px 20px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ol-panel-hd h2 { font-size: calc(20px * var(--ts, 1)); font-weight: 700; color: var(--ink); }
.ol-panel-hd span { font-size: calc(13.5px * var(--ts, 1)); color: var(--mute); }
.ol-panel-body { padding: 0 20px 16px; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.ol-panel-foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.ol-meta { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: calc(14px * var(--ts, 1)); color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.ol-meta div { display: flex; align-items: center; gap: 8px; }
.ol-meta svg { width: 16px; height: 16px; flex: none; stroke: var(--mute); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ol-meta b { font-weight: 600; color: var(--ink); }
.ol-plines .ol-line:first-child { border-top: 0; }
.ol-vat { font-size: calc(12.5px * var(--ts, 1)); color: var(--mute); margin-top: 4px; }
.ol-panel .ol-tot span, .ol-sheet.is-basket .ol-tot span { font-size: calc(17px * var(--ts, 1)); font-weight: 700; color: var(--ink); }
.ol-panel .ol-tot b, .ol-sheet.is-basket .ol-tot b { font-size: calc(22px * var(--ts, 1)); color: var(--ink); }
.ol-empty { padding: 28px 8px 34px; text-align: center; color: var(--mute); font-size: calc(14px * var(--ts, 1)); }
.ol-empty svg { display: block; width: 34px; height: 34px; margin: 0 auto 8px; stroke: var(--mute); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ol-empty b { display: block; color: var(--ink); font-size: calc(17px * var(--ts, 1)); font-weight: 600; margin-bottom: 4px; }

/* a phone's basket bar, fixed at the foot of the screen, and the room it needs at the page's end */
.ol-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, var(--page-bg) 38%); }
.ol-bar .btn-pay { max-width: 560px; margin: 0 auto; min-height: 56px; box-shadow: 0 6px 20px rgba(0,0,0,.28); font-size: calc(16px * var(--ts, 1)); }
.ol-bar-room { height: 96px; }
.btn-pay.is-split { color: var(--btn-text); }

/* 3. THE SHEETS: the big photo, the round X, the name under it, the answers as rows */
.ol-sheet { border-radius: 22px 22px 0 0; color: var(--ink); }
.ol-sheet .ol-x { top: 12px; right: 12px; width: 44px; height: 44px; background: var(--card-bg); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.ol-sheet.has-pic .ol-grab { display: none; }
.ol-sheet.has-pic .ol-sheet-body { padding-top: 0; }
.ol-sheet .ols-band { margin: 0 -18px 16px; height: 300px; }
.ol-sheet .ols-band:not(.is-photo) img { max-height: 260px; }
.ol-sheet .ols-band.is-photo { width: calc(100% + 36px); height: 300px; aspect-ratio: auto; max-height: none; }
.ol-sheet .ols-band.is-photo { background: var(--surface-2); }
.ol-sheet .ols-band.is-photo img { filter: var(--photo-filter); }
.ol-sheet:not(.has-pic) .ols-hd { padding-top: 10px; padding-right: 52px; }
.ol-sheet .ols-hd .ol-name { font-size: calc(24px * var(--ts, 1)); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.ol-sheet .ols-hd .ol-desc { font-size: calc(15px * var(--ts, 1)); margin-top: 6px; }
.ol-sheet .ols-hd .ols-from { font-size: calc(18px * var(--ts, 1)); margin-top: 10px; }
.ol-sheet .ol-q .delivery-radio { min-height: 52px; border-width: 0 0 1px; border-radius: 0; background: transparent; padding: 6px 2px; }
.ol-sheet .ol-q .delivery-radio.selected { box-shadow: none; background: transparent; border-color: var(--hair-2); }
.ol-sheet .ol-q .delivery-radio input[type="radio"], .ol-sheet .ol-q .delivery-radio input[type="checkbox"] { width: 22px; height: 22px; }
.ol-sheet .ol-q .delivery-radio-text { font-size: calc(16px * var(--ts, 1)); }
.ol-sheet .ol-q .ol-opts { gap: 0; }
.ol-sheet .ol-q .ol-opts.is-2 { column-gap: 16px; }
.ol-sheet .ol-q .delivery-radio.is-out { border-style: dashed; border-width: 0 0 1px; }
.ol-sheet.is-basket .ols-hd { padding: 14px 52px 12px 0; }
.ol-sheet-foot.is-one { grid-template-columns: 1fr; }
@media (max-width: 699px) {
    .ol-sheet .ols-band, .ol-sheet .ols-band.is-photo { height: 236px; }
    .ol-sheet .ols-band:not(.is-photo) img { max-height: 200px; }
}

/* the layouts by width */
@media (max-width: 699px) {
    .ol-banner.has-photo { min-height: 212px; }
    .ol-bn-in { padding: 22px 16px 16px; gap: 6px; }
    .ol-banner.has-photo .ol-bn-in { padding-top: 50px; padding-bottom: 30px; }   /* LOGOUP (15 Oct 2026, his "on mobile can we move logo up a tad"): the words start 14px higher (64 -> 50) and the foot takes the 14px (16 -> 30), so the header's height does not change */
    .ol-bn-logo img { max-width: calc(150px * var(--logo-k, 1)); max-height: calc(44px * var(--logo-k, 1)); }
    .ol-bn-name { font-size: calc(26px * var(--ts, 1)); }
    .ol-bn-sub { font-size: calc(13px * var(--ts, 1)); }
    .ol-chip { min-height: 28px; padding: 3px 10px; font-size: calc(12.5px * var(--ts, 1)); gap: 6px; }
    .ol-wrap { padding: 0 16px; }
    .ol-main > .ol-cats-bar { margin-left: -16px; margin-right: -16px; padding: 0 16px; }
    .ol-sec { font-size: calc(20px * var(--ts, 1)); }
}
@media (max-width: 420px) { .ol-grid .ol-pic { width: 104px; height: 104px; } }
@media (min-width: 700px) { .ol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .ol-sheet { border-radius: 22px; } }
@media (min-width: 1024px) {
    .ol-wrap { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
    .ol-aside { display: block; position: sticky; top: 16px; margin-top: 20px; }
    .ol-bar, .ol-bar-room { display: none; }
}
.ol-sheet .ols-top { height: 68px; padding-right: 68px; }

/* ==== PART 5 -- ORDERUX2 (13 Oct 2026, his "why payment page old style.. logo moves.. needs consistency") ====
   ONE LOOK ON EVERY STEP. The basket and its pick-up time, the details and the pay, checking a payment, the order's own page
   and changing it wear the menu's banner (order.js bannerHtml(true): the same logo, in the same place and size), the menu's
   cards, buttons and footer, in the same Light, Dark or the phone's look. The old header (the dotted wave and its circles)
   is not drawn any more (PARTS 1-2 keep its rules: they are the voucher page's, copied). Where the customer is in the order
   is the step line at the top of the column (.ol-steps). Three things more: the banner's words are laid from the TOP, so the
   logo never moves whatever is under it; ORVO's own banner (.is-orvo) keeps its food, on the right, in view on a phone; and
   the item sheet's table of figures is a pack's white label in light AND dark (his "the white card like always"). ==== */
:root { --field-bg: #ffffff; }
html[data-theme="dark"] { --field-bg: #1f2328; }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] { --field-bg: #1f2328; } }

/* 1. THE BANNER: the words from the top, one height on every step; ORVO's own photo shaded from the left on a wide screen */
.ol-banner.has-photo { align-items: flex-start; }
.ol-banner.is-orvo .ol-bn-photo { object-position: 50% 50%; }
@media (max-width: 699px) { .ol-banner.is-orvo .ol-bn-photo { object-position: 74% 50%; } }
@media (min-width: 700px) {
    .ol-banner.has-photo { min-height: 260px; }
    .ol-banner.is-orvo::after { background: var(--hb-shade, linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 32%, rgba(0,0,0,.06) 62%, rgba(0,0,0,0) 100%),
                                            linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%)); }
}

/* 2. A STEP'S COLUMN, and the panel beside it on a wide screen (the menu's own basket panel, in the same place) */
.ol-wrap.is-step .ol-main { padding-top: 20px; }
.ol-wrap.is-step .ol-main > .btn-pay { margin-top: 4px; }
.ol-step-title { margin: 2px 0 14px; }
@media (min-width: 1024px) {
    .ol-wrap.is-solo { grid-template-columns: minmax(0, 720px); }
    .ol-narrow-only { display: none; }
    .ol-wrap.is-step .ol-aside .glass-card { margin: 0; }
}

/* 3. THE STEP LINE: three short bars and their names -- done and here in the brand colour, the one here in the ink */
.ol-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; }
.ol-steps i { display: block; height: 4px; border-radius: 2px; background: var(--hair-2); }
.ol-steps .is-done i, .ol-steps .is-here i { background: var(--accent); }
.ol-steps span { display: block; margin-top: 7px; font-size: calc(13px * var(--ts, 1)); line-height: 1.3; color: var(--mute); }
.ol-steps .is-done span { color: var(--ink-3); }
.ol-steps .is-here span { color: var(--ink); font-weight: 700; }

/* 4. THE CARDS: the menu card's paper, edge, corner and shadow (PART 4's .ol-grid > .ol-item); no glass */
.glass-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 20px 18px; margin-bottom: 14px; }
.section-title { font-size: calc(18px * var(--ts, 1)); font-weight: 700; letter-spacing: -0.005em; }
.ol-thanks { font-size: calc(20px * var(--ts, 1)); text-align: center; margin-bottom: 6px; }
.ol-num-soon { font-size: calc(12.5px * var(--ts, 1)); color: var(--mute); }

/* 5. THE CHOICES AND THE FIELDS: the page's own field paper under a hairline edge; picked = the brand colour's edge */
.delivery-radio { border: 1px solid var(--line); background: var(--field-bg); min-height: 52px; }
.delivery-radio:hover { border-color: var(--hair-3); }
.delivery-radio.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--field-bg)); box-shadow: inset 0 0 0 1px var(--accent); }
.ol-slots .delivery-radio { min-height: 46px; }
.ol-slots .delivery-radio.selected .delivery-radio-text { color: var(--ink); }
.form-group label { font-size: calc(13px * var(--ts, 1)); text-transform: none; letter-spacing: 0; }
.form-group input, .form-group textarea { border: 1px solid var(--line); background: var(--field-bg); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); background: var(--field-bg); }
.ol-card { background: var(--field-bg); border: 1px solid var(--line); }

/* 6. THE TOTAL BEFORE ORDER: a card like the others (it was a block of the brand colour), the amount in the ink */
.summary-card.ol-sum { background: var(--card-bg); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; padding: 18px; }
.summary-card.ol-sum::before, .summary-card.ol-sum::after { content: none; }
.summary-card.ol-sum .summary-label { color: var(--mute); opacity: 1; }
.summary-card.ol-sum .summary-amount { font-size: calc(30px * var(--ts, 1)); color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-card.ol-sum .summary-divider { background: var(--line); }
.summary-card.ol-sum .summary-row-label { color: var(--mute); opacity: 1; }
.summary-card.ol-sum .summary-row-value { color: var(--ink); }

/* 7. THE QUIET BUTTON (Menu, Back, Add, Call, Change, Cancel): the card's paper and edge */
.btn-back { border: 1px solid var(--line); background: var(--card-bg); color: var(--ink-2); }
@media (hover: hover) { .btn-back:not(:disabled):hover { border-color: var(--hair-3); color: var(--ink); } }
.btn-back.is-danger { border-color: #dc2626; }

/* 8. THE PACK LABEL ON THE ITEM SHEET (his "the white card like always"): since NUTLABEL (15 Oct 2026, his "the exact same
   across the boards") the label is the shared one (the shared label sheet, loaded by shell.php), its look
   taken from the copy that lived here value for value. Only the sheet's own spacing above it stays here. */
.ols-nut { padding-top: 16px; }

/* 9. THE HEADER, DESIGNPAGE (13 Oct 2026), his four words on it.
   (a) "on desktop it can be bigger, but needs to size so a square logo is not too big" and then "Can we have the logo bigger": the logo
       is boxed by a height AND a width -- a wide wordmark grows by its width, a square one stops at the height. From 1024px 360 x 100
       (Lemon's 180 x 51 -> 351 x 100; a square 64 -> 100); on a phone a touch more, 170 x 50 (was 150 x 44). 700-1023 keep 180 x 64.
   (b) "reduce fade": the dark fade at the foot of the photo is gone -- an even light shade, .32 at the foot where it was .78 -- so the
       photo shows; the middle keeps enough (.26) for the one line of plain words under the logo, which also gets the name's soft
       shadow; the chips' words sit on their own glass.
   (c) "status and collect-from stacked": the chips are one per line on every width, as they fall on a phone -- open, collect from,
       ready from, in that order (the order bannerHtml() already writes them in).
   The tint round the logo and the chips is LOGOGLASS4's, unchanged (its frosting is gone since loyvou-1122). */
@media (min-width: 1024px) { .ol-bn-logo img { max-width: calc(240px * var(--logo-k, 1)); max-height: calc(66px * var(--logo-k, 1)); } }
@media (max-width: 699px) { .ol-bn-logo img { max-width: calc(170px * var(--logo-k, 1)); max-height: calc(50px * var(--logo-k, 1)); } }
.ol-banner.has-photo::after { background: var(--hb-shade, linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.26) 45%, rgba(0,0,0,.32) 100%)); }
@media (min-width: 700px) {
    .ol-banner.is-orvo::after { background: var(--hb-shade, linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.18) 32%, rgba(0,0,0,0) 62%),
                                            linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.14) 100%)); }
}
.ol-banner.has-photo .ol-bn-sub { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.ol-chips { flex-direction: column; align-items: flex-start; }

/* ==== PART 6 -- ORDERUX3 (14 Oct 2026, Stephen on his iPhone: "make it a bit simpler. Just what I don't want, and then what I want
   extra. So minus and add" and "I'd like the page fully loaded before it shows ... Make it all seamless") ====
   Three things: the item sheet's changes as Remove and Add (order.js changesBlock); the page held unseen until it can show whole,
   with the room of what is still on its way kept; and a sheet that slides up once and down once. Every look below wears a part
   that is already on the page: the quiet button in its pair (.btn-back in .ol-pair), the answer rows (.delivery-radio), the
   round + of the menu card, the count box of the basket bar, the field paper. No pill shapes; every target 44px at least. ==== */

/* 1. THE PAGE SHOWS WHOLE: held unseen until the menu, the banner's pictures and the font are in (order.js HOLD_MS, 1.5 s at
   most), then one fade. The page's own colour is under it the whole time (body), so nothing flashes white or black. */
#app { transition: opacity .24s ease-out; }
#app.is-hold { opacity: 0; transition: none; }
/* the room kept while the menu is on its way: three quiet chips on the banner, the category bar's height */
.ol-chips.is-wait .ol-chip { width: 170px; opacity: .6; }
.ol-chips.is-wait .ol-chip:nth-child(2) { width: 230px; }
.ol-chips.is-wait .ol-chip:nth-child(3) { width: 150px; }
.ol-cats-bar.is-wait .ol-cats { height: 64px; }

/* 2. THE CHANGES: a quiet line under the choices, "Any changes?", Remove and Add side by side, what is picked in one line, and
   the one that is open below them */
.ols-chg { margin-top: 10px; padding: 18px 0 6px; border-top: 1px solid var(--hair-2); }
.ols-chg .ol-pair.is-one { grid-template-columns: 1fr; }
.ols-chg .ols-chg-btn { min-height: 56px; font-size: calc(16px * var(--ts, 1)); gap: 8px; color: var(--ink-2); }
.ols-chg .ols-chg-btn svg { width: 18px; height: 18px; stroke-width: 2.4; }
.ols-chg .ols-chg-btn.is-on { border-color: var(--accent); color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, var(--card-bg)); box-shadow: inset 0 0 0 1px var(--accent); }
.ols-chg-n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 8px;
    background: var(--accent); color: var(--accent-ink, var(--btn-text)); font-size: calc(13px * var(--ts, 1)); font-weight: 700; font-variant-numeric: tabular-nums; }
.ols-chg-sum { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 2px; border: 0; background: none; cursor: pointer;
    font-family: var(--font); font-size: calc(14.5px * var(--ts, 1)); line-height: 1.45; text-align: left; color: var(--ink-2); }
.ols-chg-sum b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ols-chg .ols-chg-panel { border-top: 0; padding: 4px 0 0; }
.ols-chg-panel .delivery-radio-group { gap: 0; }
.ols-chg [hidden] { display: none !important; }
.ols-xhd { padding: 14px 2px 2px; font-size: calc(13px * var(--ts, 1)); font-weight: 700; color: var(--mute); }
.ols-xgroup:first-child .ols-xhd, .ols-find + .ols-xgroup .ols-xhd { padding-top: 6px; }
.ol-sheet .ols-chg .ols-xrow { cursor: default; gap: 8px; padding-right: 0; }
.ols-xrow .delivery-radio-text { flex: 1 1 auto; min-width: 0; }
.ols-xrow .ol-plus { margin-left: 0; }
.ols-xrow.selected .delivery-radio-text { font-weight: 700; color: var(--ink); }
.ols-step { display: inline-flex; align-items: center; gap: 4px; flex: none; }
/* the menu card's own round + (a card with no picture: .ol-item.is-nopic .ol-add), quiet until the extra is on, then the brand colour */
.ols-step button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--accent-text);
    display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ols-step button[data-act="xless"] { color: var(--ink-3); }
.ols-xrow.selected .ols-step button[data-act="xmore"] { background: var(--accent); color: var(--accent-ink, var(--btn-text)); }
.ols-step button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.ols-step button.is-max { opacity: .35; }
.ols-step b { min-width: 22px; text-align: center; font-size: calc(16px * var(--ts, 1)); color: var(--ink); font-variant-numeric: tabular-nums; }
.ols-find { margin: 6px 0 2px; }
.ols-find input { font-size: calc(16px * var(--ts, 1)); }
.ols-none { padding: 14px 2px; font-size: calc(14px * var(--ts, 1)); color: var(--mute); }

/* 3. A SHEET SLIDES UP ONCE and back down when it closes (order.js sheetIn / sheetOut); on a wide screen, where the sheet is a
   box in the middle, it rises a little and fades in. A phone set to reduce motion gets neither. */
@keyframes ol-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ol-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ol-sheet-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ol-sheet-ov.is-in { animation: ol-fade-in .22s ease-out both; }
.ol-sheet-ov.is-in > .ol-sheet { animation: ol-sheet-up .3s cubic-bezier(.2, .8, .2, 1) both; }
.ol-sheet-ov.is-out { animation: ol-fade-in .2s ease-in reverse both; pointer-events: none; }
.ol-sheet-ov.is-out > .ol-sheet { animation: ol-sheet-up .2s ease-in reverse both; }
@media (min-width: 720px) {
    .ol-sheet-ov.is-in > .ol-sheet { animation-name: ol-sheet-rise; animation-duration: .24s; }
    .ol-sheet-ov.is-out > .ol-sheet { animation-name: ol-sheet-rise; }
}
@media (prefers-reduced-motion: reduce) {
    #app { transition: none; }
    .ol-sheet-ov.is-in, .ol-sheet-ov.is-out, .ol-sheet-ov.is-in > .ol-sheet, .ol-sheet-ov.is-out > .ol-sheet { animation: none; }
}

/* ==== PART 7 -- BANNERSCALE (14 Oct 2026, his "the strawberries are too big.. did we not fix earlier?") ====
   A phone showed a third of ORVO's wide banner, so its food came out two and a half times too big. ORVO's banner now carries a
   phone's piece of the same picture, cut round the food (order.js bannerHtml: a <picture> whose <source> is for 699 px and
   under, the same width as every phone rule here). It is cut a little wider than the header, so the header's own height still
   decides; the food sits a little right of the middle, clear of the logo's side. A wider screen shows ORVO's new strip (4.5 to 1,
   the food whole in it). The header's height is unchanged. ==== */
@media (max-width: 699px) { .ol-banner.is-orvo.has-phone .ol-bn-photo { object-position: 56% 50%; } }
/* a tablet's header (768 x 262, 2.9 to 1) shows two thirds of the 4.5-to-1 strip: kept on the food, seven tenths across */
@media (min-width: 700px) { .ol-banner.is-orvo.has-phone .ol-bn-photo { object-position: 72% 50%; } }

/* ==== PART 8 -- BANNERSTEADY (15 Oct 2026, three things he saw on lemon.order.orvopos.com) ====
   (a) "when the shop opens the pic gets pushed down a tad": Open carries three chips (Open, Collect from, Ready from), Closed two, so the
       header was 40px (a phone: 36px) taller open than closed and its picture, which fills the header (cover), was cut again at the new
       height. The chip row now always keeps the room of three, so the header is the same height in every state and the picture never
       moves. A header is still allowed to grow for words that really wrap (a long closing note); BANNERSCALE's crop values are untouched.
   (b) "pic too cut off" (the item sheet): the sheet's picture was a 560 x 300 strip cut from a SQUARE Studio photo. It now takes the
       photo's own shape: a rounded square in the middle, as big as 340px, a little smaller on a short window (40% of its height) so the
       price, allergens and first choice stay in view, and on a phone as wide as the sheet's text. Nothing is cropped.
   (c) "red highlight poor.. flash or sexier please": Add pressed with a required choice open gives the group two soft pulses in the
       shop's accent (order.js adds .is-flash for just that press and takes it off when it ends), then it rests on the quiet outline above.
       The pulse is .orvo-hl's house timing (1.2s ease-in-out), twice; reduced motion gets the outline and no pulse. ==== */
.ol-chips { min-height: 112px; }                                  /* 3 chips x 32 + 2 gaps x 8 */
@media (max-width: 699px) { .ol-chips { min-height: 100px; } }    /* 3 chips x 28 + 2 gaps x 8 */
.ol-sheet .ols-band.is-photo { width: min(340px, calc(100% - 36px)); width: min(clamp(240px, 40svh, 340px), calc(100% - 36px));
    height: auto; aspect-ratio: 1 / 1; max-height: none; margin: 14px auto 16px; border-radius: min(var(--radius), 18px); }
.ol-sheet .ols-band.is-photo img { object-fit: contain; }
.ol-q.is-err { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 34%, transparent); border-radius: min(var(--radius), 14px); border-top-color: transparent;
    padding-left: 10px; padding-right: 10px; margin-left: -10px; margin-right: -10px; }
@keyframes ol-attn {
    0%, 100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 34%, transparent), 0 0 0 transparent; }
    45%      { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 38%, transparent); }
}
.ol-q.is-err.is-flash { animation: ol-attn 1.2s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .ol-q.is-err.is-flash { animation: none; } }

/* ==== PART 9 -- ONLINEMATCH (15 Oct 2026, Stephen on lemon.order.orvopos.com: "the transitions on this page when navigating is
   poor ... when you add or subtract, the line gets added in and the page moves down" and "we need to help the customer as we have
   the matches") ====
   1. Remove and Add open and shut as one area easing to its new height while what is in it fades in (order.js chgSet); the
      timing is the sheet's own (.22s, the slide-up's curve). What was tapped stays where it was (renderSheet's anchor).
   2. The till's match, over the + and Add: the Remove and Add keys' own accent tint, the till's 3px accent edge, the page's
      quiet pair of keys; it grows in the first time it is said, and folds away on Keep.
   3. Switch: the sheet's words fade across to the recommended item in place.
   A phone set to reduce motion gets none of the movement: each thing is simply where it ends up. ==== */
.ols-chg-area { display: flow-root; }            /* its height is its whole content, margins included, morphing or not */
.ols-chg-area.is-morph { overflow: hidden; transition: height .22s cubic-bezier(.2, .8, .2, 1); }
.ols-chg-area.is-morph > * { animation: ol-fade-in .22s ease-out both; }
.ol-sheet-foot .ols-match { grid-column: 1 / -1; display: grid; grid-template-rows: 1fr; }
.ols-match-in { min-height: 0; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, var(--card-bg));
    box-shadow: inset 3px 0 0 var(--accent); }
.ols-match .ol-say { margin: 11px 14px 10px 16px; font-size: calc(14.5px * var(--ts, 1)); line-height: 1.45; color: var(--ink-2); }
.ols-match .ol-say b { color: var(--ink); font-weight: 700; }
.ols-match .ol-pair { margin: 0 12px 12px 16px; }
.ols-match .ol-pair .btn-back { margin-top: 0; min-height: 44px; }
@keyframes ol-match-grow { from { grid-template-rows: 0fr; opacity: 0; } to { grid-template-rows: 1fr; opacity: 1; } }
.ols-match.is-new { animation: ol-match-grow .24s cubic-bezier(.2, .8, .2, 1) both; }
.ols-match.is-gone { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .18s ease-in, opacity .18s ease-in; pointer-events: none; }
.ol-sheet.is-switch .ol-sheet-body, .ol-sheet.is-switch .ol-sheet-foot { animation: ol-fade-in .22s ease-out both; }
@media (prefers-reduced-motion: reduce) {
    .ols-chg-area.is-morph, .ols-match.is-gone { transition: none; }
    .ols-chg-area.is-morph > *, .ols-match.is-new, .ol-sheet.is-switch .ol-sheet-body, .ol-sheet.is-switch .ol-sheet-foot { animation: none; }
}

/* ==== PART 10 -- SHEETLAND (16 Oct 2026, Stephen: "On the online ordering, the picture needs to be landscape, not square ... it
   doesn't look right") ====
   An item's photo with its landscape piece (16 to 10, cut round the dish from the square photo on the server: the whole plate as the
   photo shows it, the photo's own backdrop either side) runs the full width of the sheet under its own rounded top corners, as the
   sheet's picture did before PART 8: 560 x 350 on a computer, 390 x 244 on a phone. Measured at 1280 x 800: the price, the allergens
   and the first choice's first answer still show without scrolling. PART 8's rounded square stays for a photo with no piece yet;
   a drawing and the menu's thumbnails are untouched. ==== */
.ol-sheet .ols-band.is-photo.is-wide { width: calc(100% + 36px); aspect-ratio: 16 / 10; height: auto; margin: 0 -18px 16px; border-radius: 0; }
.ol-sheet .ols-band.is-photo.is-wide img { object-fit: cover; }
