/* Menu client — pensé pour les téléphones d'entrée de gamme et la 3G */
body { background: #fff; }
.m-head { display: flex; align-items: center; gap: .8rem; padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem 1rem; background: var(--brand); color: #fff; }
.m-head h1 { color: #fff; font-size: 1.35rem; margin: 0; }
.m-sub { margin: .2rem 0 0; opacity: .92; font-size: .88rem; }
.m-head .pill.brand { background: rgba(255,255,255,.22); color: #fff; }
.m-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; flex: none; }
.m-logo-txt { display: grid; place-content: center; font-weight: 800; font-size: 1.5rem; color: var(--brand); }
.m-desc { padding: .6rem 1rem 0; color: var(--muted); font-size: .9rem; }
.closed { margin: .8rem 1rem 0; background: #fef3c7; color: #92400e; padding: .7rem .9rem; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.my-orders { margin: .8rem 1rem 0; display: grid; gap: .4rem; }
.my-orders a { display: block; background: var(--brand-l); color: var(--brand-d); padding: .65rem .9rem; border-radius: 12px; font-weight: 700; font-size: .9rem; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.tabs { position: sticky; top: 0; z-index: 10; background: #fff; display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 1rem; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: .45rem .9rem; border-radius: 99px; background: var(--bg); color: var(--ink2); font-weight: 650; font-size: .9rem; }
.tabs a.on { background: var(--brand); color: #fff; }
.m-list { padding: 0 1rem calc(6rem + var(--safe-b)); max-width: 720px; margin: 0 auto; }
.m-list section { scroll-margin-top: 60px; }
.m-list h2 { margin: 1.2rem 0 .4rem; font-size: 1.15rem; }
.item { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.item img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; background: var(--bg); }
.item h3 { margin: 0 0 .15rem; font-size: 1rem; }
.item p { margin: 0 0 .4rem; }
.item.off { opacity: .5; }
.price { font-size: 1rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--brand); border-radius: 12px; overflow: hidden; }
.stepper button { width: 36px; height: 34px; border: 0; background: var(--brand-l); color: var(--brand-d); font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + var(--safe-b)); background: linear-gradient(transparent, #fff 30%); z-index: 20; }
.cartbar .btn { max-width: 560px; margin: 0 auto; display: flex; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 35%, transparent); }
.callbtn { position: fixed; right: 1rem; bottom: calc(5.2rem + var(--safe-b)); z-index: 19; border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: .6rem .9rem; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; }
.cartbar.hidden ~ .callbtn { bottom: calc(1.2rem + var(--safe-b)); }
.powered { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 2rem; }

.lines .line { display: flex; gap: .7rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.lines .note { margin-top: .4rem; padding: .45rem .6rem; font-size: 14px; }
.paychoice { display: grid; gap: .4rem; }
.radio { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; margin: 0; font-weight: 600; cursor: pointer; }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-l); }
.total { font-size: 1.1rem; padding: .8rem 0; border-top: 2px solid var(--ink); margin-top: .8rem; }
.reasons { display: grid; gap: .5rem; }

.track { padding: 1rem; max-width: 560px; margin: 0 auto calc(2rem + var(--safe-b)); }
.bignum { font-size: 3rem; font-weight: 850; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.steps { list-style: none; padding: 0; margin: 1.2rem 0 .6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; font-size: .75rem; color: var(--muted); }
.steps li { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.steps span { width: 100%; height: 7px; border-radius: 9px; background: var(--line); }
.steps li.done span { background: var(--brand); } .steps li.now span { background: var(--brand); animation: pulse 1.2s infinite; }
.steps li.now { color: var(--ink); font-weight: 750; }
@keyframes pulse { 50% { opacity: .45; } }
.status-txt { font-weight: 650; font-size: 1.05rem; }
.mmnum { font-size: 1.7rem; font-weight: 850; letter-spacing: .04em; text-align: center; background: var(--brand-l); border-radius: 14px; padding: .6rem; margin: .4rem 0; }
.center-row { justify-content: center; }
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.track .card b { white-space: nowrap; }
.track .row.between > span { padding-right: .6rem; }
