/* Own cart, checkout and orders view on /bruxelles/commander (cart.v1.js). Uses the page's colours (--bg, --fg, --mut, --line, --soft, --red). */
.cx-corner { position: fixed; top: 0; right: 0; width: 22px; height: 22px; z-index: 90; background: transparent; border: 0; padding: 0; cursor: default; opacity: 0; }
.cx-layer { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.72); display: flex; justify-content: flex-end; }
.cx-layer[hidden] { display: none; }
.cx-panel { background: #0b0b0b; color: var(--fg); width: min(460px, 100vw); height: 100%; display: flex; flex-direction: column; border-left: 1px solid var(--line); font-size: 15px; }
.cx-panel.small { width: min(340px, 92vw); height: auto; margin: auto; border: 1px solid var(--line); border-radius: 16px; }
.cx-panel.wide { width: min(880px, 100vw); }
.cx-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cx-head h2 { margin: 0; font-size: 20px; font-weight: 500; }
.cx-x { background: none; border: 0; color: var(--fg); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.cx-body { padding: 16px 20px 28px; overflow-y: auto; flex: 1; }
.cx-btn { font: inherit; color: #000; background: #fff; border: 1px solid #fff; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.cx-btn.full { display: block; width: 100%; text-align: center; padding: 14px 18px; font-weight: 500; margin-top: 14px; }
.cx-btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.cx-btn.round { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: transparent; color: var(--fg); border-color: var(--line); font-size: 18px; line-height: 1; }
.cx-btn.copy { padding: 3px 10px; font-size: 12px; margin-left: 10px; background: transparent; color: var(--fg); border-color: var(--line); }
.cx-btn:disabled { opacity: .4; cursor: not-allowed; }
.cx-mut { color: var(--mut); } .cx-mut.small { font-size: 12.5px; margin-top: 12px; }
.cx-err { color: #ff6b6b; margin: 10px 0 0; min-height: 1em; }
.cx-qty { display: flex; align-items: center; gap: 12px; } .cx-qty b { min-width: 18px; text-align: center; font-weight: 500; }
.cx-add { display: none; margin: 14px 0 10px; }
.cx-on .cx-add { display: block; }
.cx-add input { width: 100%; margin-top: 12px; }
.cx-on #sheet .bd small[data-t="addNote"] { display: none; }
.cx-on #sheet #sA { display: none !important; } /* own cart only: no Uber Eats link */
.cx-on a.ue, .cx-on #menu > p.note { display: none !important; } /* the Uber Eats button and the 'ordering happens on Uber Eats' footer */
.cx-panel input, .cx-panel select, .cx-panel textarea, .cx-add input { font: inherit; color: var(--fg); background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; box-sizing: border-box; }
.cx-panel select option { color: #000; }
.cx-form label { display: block; margin: 12px 0 0; font-size: 13px; color: var(--mut); }
.cx-form label > * { margin-top: 5px; font-size: 15px; }
.cx-hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
.cx-seg { display: flex; gap: 6px; padding: 12px 20px 0; }
.cx-btn.seg { flex: 1; background: transparent; color: var(--fg); border-color: var(--line); }
.cx-btn.seg[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.cx-line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cx-ltx { display: flex; flex-direction: column; gap: 3px; } .cx-ltx b { font-weight: 500; } .cx-ltx em { color: var(--mut); font-size: 13px; } .cx-ltx span { color: var(--mut); }
.cx-sum { margin-top: 14px; } .cx-sum div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--mut); } .cx-sum .tot { color: var(--fg); font-size: 17px; font-weight: 500; padding-top: 8px; }
.cx-cartbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80; font: inherit; font-weight: 500; color: #000; background: #fff; border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.6); white-space: nowrap; max-width: calc(100vw - 24px); }
.cx-cartbar[hidden] { display: none; }
.cx-on .bar { display: none; }
.cx-state { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin: 0 0 14px; }
.cx-state.wait { border-color: #c8a13a; color: #f1d27a; } .cx-state.good { border-color: #3aa76d; color: #8fe0b3; } .cx-state.bad { border-color: #c44; color: #ff8f8f; }
.cx-pay h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; } .cx-pay p { color: var(--mut); margin: 0 0 12px; }
.cx-qr { background: #fff; border-radius: 12px; padding: 8px; width: 220px; max-width: 70%; margin: 0 auto 14px; } .cx-qr svg { display: block; width: 100%; height: auto; }
.cx-pay dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; } .cx-pay dt { color: var(--mut); } .cx-pay dd { margin: 0; display: flex; align-items: center; justify-content: space-between; }
.cx-recap ul, .cx-order ul { margin: 6px 0; padding-left: 18px; } .cx-total { font-weight: 500; }
.cx-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; } .cx-bar select { width: auto; } .cx-bar .cx-btn { margin-left: auto; }
.cx-order { border: 1px solid var(--line); border-left: 4px solid #c8a13a; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.cx-order.paid { border-left-color: #3aa76d; } .cx-order.s-done, .cx-order.s-cancelled { opacity: .55; border-left-color: var(--line); }
.cx-order p { margin: 4px 0; } .cx-order em { color: #f1d27a; font-style: normal; } .cx-order a { color: inherit; }
.cx-otop { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cx-tag { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; } .cx-tag.ok { border-color: #3aa76d; color: #8fe0b3; } .cx-tag.no { border-color: #c8a13a; color: #f1d27a; }
.cx-note { color: #f1d27a; } .cx-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .cx-acts .cx-btn { padding: 7px 14px; font-size: 14px; }
@media (max-width: 600px) { .cx-panel { width: 100vw; border-left: 0; } .cx-cartbar { bottom: 12px; } }
.cx-form label.cx-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--fg); cursor: pointer; }
.cx-form label.cx-check > * { margin-top: 0; font-size: 14px; } .cx-form label.cx-check input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: #fff; padding: 0; }
.cx-in { position: relative; display: block; } .cx-in input { padding-right: 40px !important; }
.cx-clr { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--fg); font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.cx-clr[hidden] { display: none; }
.cx-sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #161616; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.cx-sug[hidden] { display: none; }
.cx-sug li { padding: 10px 12px; font-size: 14px; color: var(--fg); cursor: pointer; } .cx-sug li:hover, .cx-sug li.on { background: rgba(255,255,255,.1); }
.cx-own { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; } .cx-own .cx-btn { flex: 1 1 140px; padding: 11px 10px; font-size: 14px; white-space: nowrap; } .cx-own p { flex-basis: 100%; margin: 4px 0 0; }
.cx-own[hidden] { display: none; } .cx-own .cx-btn.sure { border-color: #e5484d; color: #ff8a8d; }
/* v7: online payment (Stripe) above the bank transfer, which folds away under it */
.cx-pay[hidden] { display: none; }
.cx-express { margin: 4px 0 14px; min-height: 0; } .cx-express[hidden] { display: none; }
.cx-pe { min-height: 120px; }
.cx-transfer { margin: 22px 0 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.cx-transfer summary { cursor: pointer; color: var(--mut); font-size: 14px; list-style: revert; margin-bottom: 12px; }
.cx-transfer[open] summary { color: var(--fg); }
.cx-tag.ref { border-color: #8a8aff; color: #c4c4ff; }
/* v8 (cart.v10.js): orders in three groups (tabs, or a full-screen board of three columns), suggestion tiles */
.cx-tabs { display: flex; gap: 6px; margin: 0 0 14px; } .cx-tabs[hidden] { display: none; }
.cx-tabs .cx-btn.seg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.cx-count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; line-height: 22px; text-align: center; }
.cx-btn.seg[aria-pressed="true"] .cx-count { background: rgba(0,0,0,.12); }
.cx-count.hot { background: #e5484d; color: #fff; }
.cx-tag.st-new { border-color: #e5484d; color: #ff8a8d; } .cx-tag.st-ready { border-color: #6aa7ff; color: #b9d4ff; }
.cx-panel.board { width: 100vw; border-left: 0; }
.cx-panel.board .cx-body { padding: 10px 12px 14px; display: flex; flex-direction: column; overflow: hidden; }
.cx-panel.board .cx-head { padding: 8px 14px; } .cx-panel.board .cx-head h2 { font-size: 16px; }
.cx-panel.board .cx-bar { margin-bottom: 8px; }
.cx-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-col { min-height: 0; overflow-y: auto; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 0 8px 8px; }
.cx-col h3 { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -8px 8px; padding: 10px 12px; font-size: 16px; font-weight: 600; background: #141414; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.cx-cols .cx-order { padding: 8px 10px; margin-bottom: 8px; font-size: 13.5px; }
.cx-cols .cx-order p { margin: 2px 0; } .cx-cols .cx-order ul { margin: 3px 0; padding-left: 16px; }
.cx-cols .cx-otop { gap: 5px; } .cx-cols .cx-otop b { font-size: 15px; } .cx-cols .cx-tag { font-size: 11px; padding: 0 7px; }
.cx-cols .cx-acts { gap: 5px; margin-top: 6px; } .cx-cols .cx-acts .cx-btn { padding: 5px 10px; font-size: 12.5px; }
.cx-layer:fullscreen { background: #0b0b0b; }
@media (max-width: 900px) { .cx-cols { grid-template-columns: 1fr; overflow-y: auto; } .cx-col { overflow: visible; } }
/* suggestions */
.cx-uph { margin: 18px 0 8px; font-size: 15px; font-weight: 600; }
.cx-ups { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.cx-up { position: relative; flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; text-align: left; font: inherit; color: var(--fg); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 0 0 10px; cursor: pointer; overflow: hidden; }
.cx-up img, .cx-upk { width: 100%; height: 84px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: #1d1d1d; color: var(--mut); font-size: 12px; }
.cx-up b { font-size: 13px; font-weight: 500; line-height: 1.25; padding: 4px 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-upp { font-size: 13px; color: var(--mut); padding: 0 10px; }
.cx-plus { position: absolute; top: 58px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; font-size: 20px; line-height: 30px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.cx-up.on { border-color: #3aa76d; } .cx-up.on .cx-plus { background: #3aa76d; color: #fff; font-size: 16px; }
.cx-up:disabled { cursor: default; opacity: 1; }
.cx-panel.cx-upsell { width: min(460px, 94vw); }
.cx-upsell .cx-acts { justify-content: flex-end; margin-top: 14px; }
.cx-sum div span:last-child { white-space: nowrap; padding-left: 12px; }

/* v9 (cart.v12.js): "Commander à nouveau", the customer's previous orders above the menu */
.cx-again { max-width: 1100px; margin: 8px auto 4px; padding: 0 20px; box-sizing: border-box; }
.cx-again[hidden] { display: none; }
.cx-again h2 { margin: 6px 0 10px; font-size: 18px; font-weight: 600; }
.cx-again-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.cx-again-card { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; display: flex; gap: 12px; align-items: center; text-align: left; font: inherit; color: var(--fg); background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; }
.cx-again-card img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.cx-again-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-again-tx b { font-size: 14px; font-weight: 600; }
.cx-again-tx span { font-size: 13px; color: var(--mut); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cx-again-tx .cx-again-go { color: var(--fg); font-weight: 500; -webkit-line-clamp: 1; }
