/* ============================================================================
   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.

   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
   ============================================================================ */

/* ==== 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; }
/* :69 */
body {
    font-family: var(--font);
    color: #1a1a2e;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(135deg, #e8e9f0 0%, var(--page-bg) 50%, #e0e4f0 100%);
    background-size: 400% 400%;
}
/* :86 -- the hero */
.hero {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--hero-bg) 50%, color-mix(in srgb, var(--accent) 80%, #000) 100%);
    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% - 48px), 0 100%);
}
/* :118 */
.hero-glow {
    position: absolute; top: -40%; left: -20%; width: 140%; height: 180%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.hero-logo { max-width: 180px; margin-bottom: 16px; }
.hero h1 { font-family: var(--font); font-size: 22px; margin-bottom: 8px; letter-spacing: -0.3px; font-weight: 700; }
.hero p { font-size: 14px; 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: 13px; 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);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; 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%; }
/* :351 -- the glass card */
.glass-card {
    background: rgba(255,255,255,0.75);
    border-radius: var(--radius);
    padding: 24px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
/* :366 */
.section-title { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 16px; letter-spacing: -0.2px; }
/* :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: 14px; font-weight: 500; color: #333; }
.delivery-radio-desc { font-size: 12px; 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: 12px; 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: 16px; 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: 12px; 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: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-bottom: 4px; }
.summary-amount { font-size: 36px; 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: 13px; }
.summary-row-label { opacity: 0.75; }
.summary-row-value { font-weight: 600; }
/* :816 -- Pay */
.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: 17px; font-weight: 700;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 56px; position: relative; overflow: hidden;
}
.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: 15px; 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: 12px; 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: 11px; 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: 13px; }
.hero.is-slim .step-progress { margin: 14px 0 0; }
.hero.is-slim .step-circle { width: 30px; height: 30px; font-size: 13px; }
.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: 13.5px; 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 */
.ol-cats { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 16px; padding: 10px 16px; background: color-mix(in srgb, var(--page-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.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); }
.ol-cats .card-tab.active { background: var(--accent); }
/* P4 the menu row */
.glass-card.ol-menu { padding: 18px 16px 6px; }
.ol-menu .section-title { margin-bottom: 6px; }
.ol-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.06); cursor: pointer; }
.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: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.ol-desc { font-size: 12.5px; color: #888; line-height: 1.4; margin-top: 2px; }
.ol-price { font-size: 15px; font-weight: 700; color: #1a1a2e; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: start; padding-top: 2px; }
.ol-price small { display: block; font-size: 11px; font-weight: 500; color: #999; text-align: right; }
.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: 14px; 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; }
.ol-sheet { width: 100%; max-width: 560px; max-height: 94vh; 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; 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; }
.ol-sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 4px 18px 8px; }
.ol-alg { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12px; 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: 14px; }
.ol-q-hd span { font-size: 11.5px; color: #999; }
.ol-q .delivery-radio { padding: 10px 12px; }
.ol-q .delivery-radio-text { font-size: 13.5px; }
.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: 13px; 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: 17px; 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; }
.ol-when-sub { font-size: 12px; color: #888; margin: 14px 0 0; }
/* 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: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.ol-line .n { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.ol-line .s { display: block; font-size: 12.5px; color: #888; font-weight: 400; margin-top: 2px; line-height: 1.4; }
.ol-line .e { font-size: 14px; 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: 13px; }
.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: 12.5px; color: #888; }
.ol-tot b { font-size: 20px; 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: 56px; font-weight: 800; letter-spacing: 1px; color: #1a1a2e; font-variant-numeric: tabular-nums; line-height: 1.05; }
.ol-num p { font-size: 14px; color: #333; margin-top: 6px; }
.ol-status { margin: 18px 0 4px; }
.ol-status .step-progress { margin: 0; padding: 0 18px; }
.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(3, 1fr); margin-top: 8px; text-align: center; font-size: 12.5px; color: #999; }
.ol-steplabs b { display: block; color: #1a1a2e; font-weight: 700; }
.ol-steplabs span.is-now { color: var(--accent); font-weight: 700; }
/* C6 the hours */
.ol-hours { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.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; }
/* S2 the sheet head */
.ols-hd { padding: 0 0 12px; }
.ols-hd .ol-name { font-size: 20px; letter-spacing: -0.3px; }
.ols-hd .ol-desc { font-size: 13.5px; margin-top: 3px; }
.ols-hd .ols-from { font-size: 14px; 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: 11.5px; 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; }
.ol-q-hd .ols-mk.is-err { color: #dc2626; font-weight: 700; }
.ol-q.is-err .ol-q-hd .section-title { color: #dc2626; }
.ol-q.is-err .field-error { margin: -4px 0 8px; font-size: 12.5px; font-weight: 600; }
.ol-q.is-err .delivery-radio { border-color: #dc2626; }
/* 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: 14px; font-weight: 700; color: var(--accent); }
.ols-fold-t span { display: block; font-size: 12.5px; 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: 11.5px; 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: 15px; }
.ols-notes-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; 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: 12.5px; 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: 12.5px; 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: 12.5px; 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; }
/* S10 the name stays on */
.ols-top { display: none; }
.ol-sheet.is-scrolled .ols-top { display: flex; align-items: center; flex: none; height: 46px; padding: 0 60px 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 16px; font-weight: 700; color: #1a1a2e; letter-spacing: -0.2px; }
.ol-sheet.is-scrolled .ol-x { top: 17px; }

/* ==== 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 > span:nth-child(2) { 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: 12px; 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: 13.5px; font-weight: 600; line-height: 1.45; margin: 0 2px 14px; }
.ol-error.visible { display: block; }
.ol-say { font-size: 13.5px; 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; } }
.ol-noscript { max-width: 420px; margin: 80px auto; padding: 0 20px; text-align: center; font-size: 15px; color: #333; }
/* "Order received": one line under the number, the tick in the accent */
.ol-got { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: #333; }
.ol-got i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--btn-text); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ol-got svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ol-got b { font-weight: 700; color: #1a1a2e; }
.ol-num b.is-words { font-size: 30px; letter-spacing: -0.3px; padding: 8px 0 2px; }
/* the allergens list (the footer's Allergens) */
.ol-alist h3 { font-size: 14px; font-weight: 700; color: var(--accent); margin: 14px 0 4px; }
.ol-alist-row { padding: 9px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.ol-alist h3 + .ol-alist-row { border-top: 0; }
.ol-alist-row .ol-name { font-size: 14px; }
.ol-sheet-title { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; color: #1a1a2e; padding: 14px 40px 6px 0; }
body.is-sheet { overflow: hidden; }
/* a wide screen: the sheet is a box in the middle, the same width and the same parts */
@media (min-width: 720px) {
    .ol-sheet-ov { align-items: center; }
    .ol-sheet { border-radius: 16px; max-height: 88vh; }
    .ol-grab { visibility: hidden; }
    .hero.is-slim { padding-top: 30px; }
    .ol-bar { background: none; }
}
