/* Jimbo Slice — ordering app (staged flow rebuild, Nov 15, 2026).
   Domino's-style staging in the site's brand: Archivo, ink #231F20,
   red #ED1C24, dark red #C8102E, cream #F5EBD2. Mobile-first — big tap
   targets, one thing per step. */
.ord-wrap { max-width: 880px; margin: 0 auto; }
#order-app { scroll-margin-top: 118px; }
.ord-save { background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; padding: .8rem 1rem; font-size: .95rem; margin: 0 0 1rem; }
.ord-save b { color: var(--darkred); }

.ord-modebar { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; flex-wrap: wrap; }
.ord-mode { font: 800 .95rem Archivo, sans-serif; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; min-height: 44px; }
.ord-mode.on { background: var(--ink); color: var(--cream); }
.ord-table-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--cream); border: 2px solid var(--red); color: var(--ink); border-radius: 999px; padding: .35rem .4rem .35rem .8rem; font: 700 .88rem Archivo, sans-serif; }
.ord-table-chip[hidden] { display: none; }
.ord-chip-change { font: 800 .8rem Archivo, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .35rem .7rem; cursor: pointer; min-height: 32px; }

.ord-steps { display: flex; gap: .35rem; list-style: none; margin: 0 0 1.1rem; padding: 0; }
.ord-steps li { flex: 1; text-align: center; font: 800 .78rem Archivo, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #8a8178; border-bottom: 4px solid #e3dcc9; padding: .45rem 0; }
.ord-steps li.on { color: var(--darkred); border-bottom-color: var(--red); }
.ord-steps li.done { color: var(--ink); border-bottom-color: var(--ink); }

.ord-h { font: 800 1.35rem Archivo, sans-serif; margin: .4rem 0 .25rem; }
.ord-sub { color: #6b6259; font-size: .92rem; margin: 0 0 .9rem; }
.ord-note { color: #6b6259; font-size: .9rem; }

/* menu grid */
.ord-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 560px) { .ord-grid { grid-template-columns: 1fr 1fr; } }
.ord-card { background: #fff; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; cursor: pointer; }
.ord-card:hover, .ord-card:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ord-card-img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ord-card-body { padding: .8rem .95rem 1rem; }
.ord-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.ord-card-head h3 { margin: 0; font: 800 1.15rem Archivo, sans-serif; }
.ord-card-price { font: 800 1.1rem Archivo, sans-serif; color: var(--darkred); white-space: nowrap; }
.ord-card-desc { color: #6b6259; font-size: .9rem; margin: .35rem 0 0; }
.ord-nutrition { color: #6b6259; font-size: .82rem; line-height: 1.45; margin: .4rem 0 0; }
.ord-cal-line { display: block; font: 700 .92rem Archivo, sans-serif; color: var(--ink); margin: .3rem 0 0; }
.ord-mod-nut { color: #6b6259; font-size: .8rem; font-weight: 700; }
.ord-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; }
.ord-add-btn { display: inline-block; font: 800 .95rem Archivo, sans-serif; background: var(--red); color: #fff; border-radius: 999px; padding: .6rem 1.1rem; }
.ord-in-cart { font: 800 .85rem Archivo, sans-serif; color: var(--darkred); }

/* drink rows + steppers */
.ord-drink-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: #fff; border: 2px solid #e3dcc9; border-radius: 12px; padding: .55rem .8rem; margin: 0 0 .5rem; }
.ord-drink-txt { display: flex; flex-direction: column; }
.ord-drink-name { font: 800 .98rem Archivo, sans-serif; }
.ord-drink-unit { color: #6b6259; font-size: .85rem; }
.ord-stepper { display: inline-flex; align-items: center; gap: .55rem; }
.ord-step-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 800 1.25rem Archivo, sans-serif; cursor: pointer; line-height: 1; }
.ord-step-btn:active { background: var(--cream); }
.ord-step-qty { font: 800 1.05rem Archivo, sans-serif; min-width: 1.4rem; text-align: center; }

/* bottom sheet (pizza panel + table grid) */
body.ord-lock { overflow: hidden; }
.ord-overlay { position: fixed; inset: 0; background: rgba(35,31,32,.55); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.ord-overlay[hidden] { display: none; }
.ord-sheet { background: var(--paper, #FFF9EE); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 0 1.1rem 1.2rem; }
@media (min-width: 640px) { .ord-overlay { align-items: center; } .ord-sheet { border-radius: 20px; } }
.ord-sheet-img { display: block; width: calc(100% + 2.2rem); margin: 0 -1.1rem 0; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px 20px 0 0; }
.ord-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .8rem; }
.ord-sheet-head h3, .ord-sheet-h { margin: 0; font: 800 1.3rem Archivo, sans-serif; }
.ord-sheet-h { margin-top: 1rem; }
.ord-sheet-x { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; flex: none; }
.ord-size-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: .8rem 0 .2rem; }
.ord-pill { font: 800 .92rem Archivo, sans-serif; padding: .55rem 1rem; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; min-height: 44px; }
.ord-pill.on { background: var(--ink); color: var(--cream); }
.ord-mods { margin-top: .9rem; }
.ord-mods-name { font: 800 .92rem Archivo, sans-serif; margin: 0 0 .45rem; }
.ord-mods-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.ord-mod { display: inline-flex; align-items: center; gap: .45rem; border: 2px solid #e3dcc9; background: #fff; border-radius: 999px; padding: .5rem .85rem; font-size: .92rem; cursor: pointer; min-height: 44px; }
.ord-mod.on { border-color: var(--red); background: #fdf3e3; }
.ord-mod input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.ord-mod input:disabled + span { color: #b3aa9c; }
.ord-quickadd { margin-top: 1.1rem; border-top: 2px dashed #e3dcc9; padding-top: .9rem; }
.ord-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.1rem; position: sticky; bottom: 0; background: var(--paper, #FFF9EE); padding: .7rem 0 .2rem; }
.ord-add-order { flex: 1; font: 800 1rem Archivo, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1rem; cursor: pointer; min-height: 52px; }
.ord-add-order:hover { background: var(--darkred); }

/* table grid */
.ord-table-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin: .4rem 0 1rem; }
@media (max-width: 480px) { .ord-table-grid { grid-template-columns: repeat(4, 1fr); } }
.ord-table-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; font: 800 1rem Archivo, sans-serif; }
.ord-table-btn small { font: 700 .68rem Archivo, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: #6b6259; }
.ord-table-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.ord-table-btn.on small { color: #ffd9dc; }

/* cart */
.ord-line { display: flex; align-items: center; gap: .8rem; background: #fff; border: 2px solid #e3dcc9; border-radius: 12px; padding: .65rem .8rem; margin: 0 0 .55rem; }
.ord-line-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ord-line-name { font: 800 .98rem Archivo, sans-serif; }
.ord-line-detail { color: #6b6259; font-size: .85rem; }
.ord-line-price { color: #6b6259; font-size: .82rem; }
.ord-line-total { font: 800 1rem Archivo, sans-serif; color: var(--darkred); white-space: nowrap; }
#ord-drink-prompt { background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; padding: .85rem .95rem .4rem; margin: 1rem 0 .4rem; }
.ord-prompt-h { margin: 0 0 .2rem; font: 800 1.15rem Archivo, sans-serif; color: var(--darkred); }
.ord-navrow { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.1rem; flex-wrap: wrap; }
.ord-btn-main { font: 800 1rem Archivo, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .8rem 1.4rem; cursor: pointer; min-height: 52px; }
.ord-btn-main:hover { background: var(--darkred); }
.ord-btn-main:disabled { background: #c9c0ae; cursor: not-allowed; }
.ord-btn-ghost { font: 800 .95rem Archivo, sans-serif; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer; min-height: 48px; }

/* slots — two-stage: day chips, then only that day's windows */
.ord-days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .8rem; }
.ord-day-chip { flex: none; display: flex; flex-direction: column; align-items: center; gap: .1rem; font: 800 .95rem Archivo, sans-serif; padding: .6rem .95rem; border-radius: 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; min-height: 56px; }
.ord-day-chip small { font: 700 .72rem Archivo, sans-serif; color: #6b6259; }
.ord-day-chip.on { background: var(--ink); color: var(--cream); }
.ord-day-chip.on small { color: #d8cfb8; }
.ord-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ord-chip { font: 800 .95rem Archivo, sans-serif; padding: .65rem 1rem; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; min-height: 48px; }
.ord-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.ord-chip:disabled { border-color: #ddd5c2; color: #b3aa9c; background: #f6f1e4; cursor: not-allowed; text-decoration: line-through; }
.ord-slot-error { color: var(--darkred); font-weight: 700; }

/* pay */
.ord-summary { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: .8rem 1rem; margin: 0 0 1rem; }
.ord-sum-line { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; font-size: .95rem; }
.ord-sum-line span:first-child { min-width: 0; }
.ord-sum-detail { display: block; color: #6b6259; font-size: .82rem; }
.ord-sum-slot { border-top: 1px dashed #e3dcc9; margin-top: .3rem; padding-top: .5rem; font-weight: 700; }
.ord-sum-total { border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .55rem; font: 800 1.08rem Archivo, sans-serif; }
.ord-field { margin: 0 0 .9rem; }
.ord-field label { display: block; font: 800 .9rem Archivo, sans-serif; margin: 0 0 .35rem; }
.ord-field input, .ord-field textarea { width: 100%; box-sizing: border-box; border: 2px solid var(--ink); border-radius: 12px; padding: .75rem .85rem; font: 500 1rem Inter, sans-serif; background: #fff; }
.ord-field input:focus, .ord-field textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; }
#ord-card { border: 2px solid var(--ink); border-radius: 12px; padding: .6rem .8rem; background: #fff; min-height: 52px; }
.ord-error { background: #fdecec; border: 2px solid var(--red); color: var(--darkred); border-radius: 12px; padding: .7rem .9rem; font-weight: 700; }
.ord-pay { width: 100%; font: 800 1.1rem Archivo, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 1rem; cursor: pointer; min-height: 56px; margin-top: .4rem; }
.ord-pay:hover { background: var(--darkred); }
.ord-pay:disabled { background: #c9c0ae; cursor: wait; }

/* sticky cart bar + overlays */
.ord-cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: .8rem; width: min(880px, calc(100% - 1.2rem)); background: var(--ink); color: var(--cream); border-radius: 999px; padding: .55rem .6rem .55rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; z-index: 50; box-shadow: 0 8px 24px rgba(35,31,32,.35); font: 800 .98rem Archivo, sans-serif; }
.ord-cartbar[hidden] { display: none; }
.ord-cartbar button { font: 800 .95rem Archivo, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer; min-height: 48px; white-space: nowrap; }
.ord-success, .ord-closed { background: var(--cream); border: 2px solid var(--ink); border-radius: 16px; padding: 1.2rem 1.3rem; }
.ord-success h2, .ord-closed h2 { margin-top: 0; }
.ord-review { margin-top: 1rem; font-size: .95rem; }
.ord-alt { margin-top: 1.6rem; color: #6b6259; font-size: .92rem; }
