/* Smakelo · application client. Complète /shared/smakelo.css (jetons et composants communs). */
:root { --tab-h: 64px; --side-w: 232px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px); }
html, body { height: 100%; overscroll-behavior-y: none; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brun); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 5000; }
.skip:focus { left: 8px; }
.offline-bar { position: sticky; top: 0; z-index: 900; background: var(--brun); color: var(--or-clair); text-align: center; font-size: .82rem; font-weight: 700; padding: calc(6px + var(--safe-t)) 12px 6px; }

.shell { min-height: 100dvh; }
.view { outline: 0; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 24px); min-height: 100dvh; }
.view.has-cartbar { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 96px); }
.view.no-tabs { padding-bottom: calc(var(--safe-b) + 24px); }
.page { width: 100%; max-width: 760px; margin-inline: auto; padding: 0 16px; }
.page-wide { max-width: 1120px; }
.splash { min-height: 80dvh; display: grid; place-content: center; justify-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.splash img { animation: flotte 1.6s ease-in-out infinite; } @keyframes flotte { 50% { transform: translateY(-8px) rotate(-3deg); } }

/* Barre d'onglets (téléphone) / colonne de navigation (tablette et ordinateur) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; height: calc(var(--tab-h) + var(--safe-b)); padding: 6px 8px var(--safe-b); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -4px 22px rgba(74, 46, 31, .10); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px 22px 0 0; }
.tabbar .brand, .tabbar .side-foot { display: none; }
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--brun-doux); font-size: .72rem; font-weight: 700; border-radius: 16px; min-height: 48px; position: relative; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a .ico { width: 44px; height: 30px; display: grid; place-items: center; border-radius: 14px; transition: background .2s; }
.tabbar a[aria-current="page"] { color: var(--brun); } .tabbar a[aria-current="page"] .ico { background: var(--or); }
.tabbar .pill { position: absolute; top: 2px; left: calc(50% + 8px); background: var(--rouge); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.view.no-tabs ~ .tabbar, .shell.no-tabs .tabbar { display: none; }

/* Barre du panier flottante */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); z-index: 480; display: flex; align-items: center; gap: 12px; background: var(--rouge); color: #fff; border: 0; border-radius: 20px; padding: 12px 16px; min-height: 58px; font-weight: 700; box-shadow: 0 10px 28px rgba(233, 75, 53, .45); cursor: pointer; text-align: left; text-decoration: none; animation: monte .3s var(--ease); }
.cartbar .n { background: #fff; color: var(--rouge-fonce); min-width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; font-size: .95rem; padding: 0 8px; }
.cartbar .t { flex: 1; min-width: 0; } .cartbar .t small { display: block; font-weight: 500; opacity: .9; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartbar.bump { animation: bump .35s var(--ease); } @keyframes bump { 40% { transform: scale(1.04); } }

/* En-têtes */
.topbar { position: sticky; top: 0; z-index: 400; display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--safe-t)) 12px 10px; background: rgba(255, 244, 225, .94); backdrop-filter: blur(10px); }
.topbar h1 { font-size: 1.2rem; margin: 0; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .slot { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--ombre-sm); display: grid; place-items: center; cursor: pointer; color: var(--brun); text-decoration: none; flex: none; }
.iconbtn svg { width: 22px; height: 22px; } .iconbtn.on { color: var(--rouge); }
.hero { position: relative; background: linear-gradient(160deg, var(--or-clair), var(--or) 70%); padding: calc(18px + var(--safe-t)) 16px 46px; border-radius: 0 0 34px 34px; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -40px; top: -30px; width: 220px; height: 220px; background: url('/shared/brand/icone_cornet.svg') center/contain no-repeat; opacity: .22; transform: rotate(14deg); pointer-events: none; }
.hero .logo { height: 40px; width: auto; margin: 0 auto 14px; }
.hero h1 { font-size: clamp(1.5rem, 6.4vw, 2.1rem); max-width: 14ch; margin: 0 0 4px; position: relative; z-index: 1; }
.hero p { margin: 0; font-weight: 600; color: #6B4500; position: relative; z-index: 1; }
.searchbox { position: relative; margin: -26px 16px 0; z-index: 2; }
.searchbox input { width: 100%; height: 54px; border-radius: 27px; border: 0; padding: 0 52px 0 48px; box-shadow: var(--ombre); font-size: 1rem; background: #fff; }
.searchbox input:focus { outline: 3px solid var(--or); }
.searchbox svg { position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; color: var(--brun-doux); pointer-events: none; }
.searchbox .clear { position: absolute; right: 5px; top: 5px; }
.section { margin-top: 22px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .section-head h2 { font-size: 1.2rem; margin: 0; }
.section-head a, .linkbtn { font-weight: 700; font-size: .88rem; color: var(--rouge-fonce); background: none; border: 0; cursor: pointer; text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }

/* Raccourcis par envie */
.cravings { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: 10px; overflow-x: auto; padding: 4px 16px 8px; margin-inline: -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cravings::-webkit-scrollbar { display: none; }
.craving { display: grid; justify-items: center; gap: 4px; background: #fff; border: 0; border-radius: 18px; padding: 10px 4px 8px; box-shadow: var(--ombre-sm); font-weight: 700; font-size: .78rem; cursor: pointer; scroll-snap-align: start; color: var(--brun); min-height: 84px; }
.craving svg { width: 42px; height: 42px; } .craving[aria-pressed="true"] { background: var(--or); }

/* Cartes d'établissement */
.est-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.est-card { display: block; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-sm); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
.est-card:hover { transform: translateY(-2px); box-shadow: var(--ombre); } .est-card:active { transform: scale(.985); }
.est-card .cover { position: relative; aspect-ratio: 12 / 5; background: var(--creme-fonce) center/cover; }
.est-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.est-card .cover .badge { position: absolute; left: 10px; top: 10px; box-shadow: var(--ombre-sm); background: #fff; }
.est-card .cover .badge.open { color: var(--vert-fonce); } .est-card .cover .badge.closed { color: var(--gris); }
.est-card .cover .dist { position: absolute; right: 10px; top: 10px; }
.est-card.is-closed .cover img { filter: grayscale(.7) opacity(.8); }
.est-card .body { padding: 12px 14px 14px; } .est-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.est-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .est-card .meta .badge { font-weight: 600; }
.reorder { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: var(--ombre-sm); }
.reorder .ico { width: 48px; height: 48px; flex: none; }

/* Page établissement */
.est-cover { position: relative; height: clamp(170px, 34vw, 280px); background: var(--creme-fonce); }
.est-cover img { width: 100%; height: 100%; object-fit: cover; }
.est-cover .floating { position: absolute; top: calc(10px + var(--safe-t)); left: 12px; right: 12px; display: flex; justify-content: space-between; }
.est-head { position: relative; background: #fff; border-radius: 26px 26px 0 0; margin-top: -26px; padding: 18px 16px 6px; }
.est-head h1 { font-size: 1.55rem; margin: 0 0 2px; }
.est-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.cat-tabs { position: sticky; top: 0; z-index: 300; background: rgba(255, 244, 225, .96); backdrop-filter: blur(8px); padding: calc(8px + var(--safe-t)) 16px 8px; margin-inline: -16px; }
.cat-title { font-size: 1.2rem; margin: 22px 0 10px; scroll-margin-top: 70px; }
.prod-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.prod { display: flex; gap: 12px; align-items: center; background: #fff; border: 0; border-radius: 18px; padding: 10px; box-shadow: var(--ombre-sm); text-align: left; cursor: pointer; width: 100%; color: inherit; min-height: 92px; position: relative; transition: transform .15s var(--ease); }
.prod:active { transform: scale(.985); }
.prod .food-visual { width: 72px; height: 72px; flex: none; border-radius: 14px; overflow: hidden; background: var(--creme); display: grid; place-items: center; }
.prod .food-visual img { width: 100%; height: 100%; object-fit: cover; } .prod .food-visual.is-icon svg { width: 56px; height: 56px; }
.prod .info { flex: 1; min-width: 0; padding-right: 40px; display: flex; flex-direction: column; align-items: flex-start; } .prod .name { font-weight: 700; line-height: 1.25; } .prod .desc { font-size: .8rem; color: var(--texte-doux); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.prod .price { font-family: var(--font-display); font-weight: 600; margin-top: 4px; }
.prod .plus { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1; box-shadow: 0 4px 10px rgba(233, 75, 53, .4); }
.prod .inq { position: absolute; right: 6px; top: 6px; background: var(--brun); color: #fff; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; padding: 0 6px; }
.prod.out { opacity: .55; cursor: not-allowed; } .prod.out .plus { background: var(--brun-pale); box-shadow: none; }
.popular-row { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px; overflow-x: auto; padding: 4px 16px 10px; margin-inline: -16px; scrollbar-width: none; } .popular-row::-webkit-scrollbar { display: none; }
.pop { background: #fff; border: 0; border-radius: 18px; padding: 10px; box-shadow: var(--ombre-sm); text-align: left; cursor: pointer; color: inherit; display: grid; gap: 4px; position: relative; }
.pop .food-visual { height: 84px; border-radius: 12px; background: var(--creme); display: grid; place-items: center; overflow: hidden; } .pop .food-visual svg { width: 64px; height: 64px; } .pop .food-visual img { width: 100%; height: 100%; object-fit: cover; }
.pop .name { font-weight: 700; font-size: .9rem; line-height: 1.2; min-height: 2.4em; } .pop .price { font-family: var(--font-display); font-weight: 600; }
.pop .plus { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }

/* Feuille produit */
.sheet-visual { height: 150px; border-radius: 18px; background: var(--creme); display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; } .sheet-visual svg { width: 110px; height: 110px; } .sheet-visual img { width: 100%; height: 100%; object-fit: cover; }
.opt-group { border: 1px solid var(--trait); border-radius: 16px; padding: 12px 14px; margin-top: 12px; }
.opt-group legend, .opt-group .lg { font-weight: 700; padding: 0 4px; display: flex; gap: 8px; align-items: center; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 48px; cursor: pointer; border-top: 1px solid var(--trait); } .opt:first-of-type { border-top: 0; }
.opt input { width: 22px; height: 22px; accent-color: var(--rouge); flex: none; } .opt .n { flex: 1; } .opt .p { color: var(--texte-doux); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.opt.off { opacity: .5; cursor: not-allowed; }
.sheet-foot { display: flex; gap: 12px; align-items: center; width: 100%; } .sheet-foot .btn { flex: 1; }

/* Panier et validation */
.line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--trait); } .line:first-child { border-top: 0; }
.line .l-info { flex: 1; min-width: 0; } .line .l-name { font-weight: 700; } .line .l-opts { font-size: .82rem; color: var(--texte-doux); }
.line .l-price { font-weight: 700; white-space: nowrap; }
.line .stepper button { width: 34px; height: 34px; }
.totals { display: grid; gap: 6px; } .totals .r { display: flex; justify-content: space-between; gap: 12px; } .totals .r.total { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border-top: 2px solid var(--trait); padding-top: 10px; margin-top: 4px; }
.totals .r.neg { color: var(--vert-fonce); font-weight: 600; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--creme-fonce); padding: 5px; border-radius: 18px; }
.seg button { border: 0; background: transparent; border-radius: 14px; min-height: 52px; font-weight: 700; cursor: pointer; color: var(--brun-doux); display: grid; justify-items: center; align-content: center; gap: 2px; font-size: .86rem; padding: 6px 4px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--brun); box-shadow: var(--ombre-sm); } .seg button svg { width: 22px; height: 22px; }
.slots { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; overflow-x: auto; padding: 4px 16px 8px; margin-inline: -16px; scrollbar-width: none; } .slots::-webkit-scrollbar { display: none; }
.slot-btn { border: 2px solid var(--trait); background: #fff; border-radius: 14px; min-height: 46px; padding: 0 16px; font-weight: 700; cursor: pointer; color: var(--brun); }
.slot-btn[aria-pressed="true"] { border-color: var(--or); background: var(--or-pale); } .slot-btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.gauge { height: 10px; background: var(--creme-fonce); border-radius: 5px; overflow: hidden; } .gauge i { display: block; height: 100%; background: linear-gradient(90deg, var(--or), var(--vert)); border-radius: 5px; transition: width .5s var(--ease); }
.choice { display: flex; gap: 12px; align-items: center; border: 2px solid var(--trait); border-radius: 16px; padding: 12px 14px; cursor: pointer; background: #fff; min-height: 56px; } .choice + .choice { margin-top: 8px; }
.choice input { width: 22px; height: 22px; accent-color: var(--rouge); flex: none; } .choice:has(input:checked) { border-color: var(--or); background: var(--or-pale); }
.choice .c-t { flex: 1; min-width: 0; } .choice .c-t small { display: block; color: var(--texte-doux); }
.choice.off { opacity: .5; cursor: not-allowed; }
.checkout { display: grid; gap: 14px; }
.sticky-pay { position: sticky; bottom: calc(var(--safe-b) + 10px); z-index: 200; }

/* Suivi */
.track-hero { background: linear-gradient(160deg, var(--or-clair), var(--or)); border-radius: 0 0 34px 34px; padding: 6px 16px 26px; text-align: center; }
.track-hero .num { display: inline-block; background: rgba(255, 255, 255, .55); border-radius: 99px; padding: 4px 16px; font-weight: 700; }
.track-hero .big { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; margin: 10px 0 2px; }
.track-art { width: 120px; height: 120px; margin: 6px auto 0; } .track-art.live { animation: flotte 2s ease-in-out infinite; }
.steps { display: flex; justify-content: space-between; position: relative; margin: 6px 0 2px; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 18px; height: 4px; background: var(--creme-fonce); border-radius: 2px; }
.steps .bar { position: absolute; left: 12%; top: 18px; height: 4px; background: var(--vert); border-radius: 2px; transition: width .6s var(--ease); }
.step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; flex: 1; font-size: .72rem; font-weight: 700; color: var(--brun-pale); text-align: center; }
.step i { width: 38px; height: 38px; border-radius: 50%; background: var(--creme-fonce); display: grid; place-items: center; font-style: normal; color: #fff; border: 3px solid #fff; transition: background .3s, transform .3s var(--ease); }
.step.done { color: var(--vert-fonce); } .step.done i { background: var(--vert); }
.step.now { color: var(--brun); } .step.now i { background: var(--or); transform: scale(1.18); box-shadow: 0 0 0 6px rgba(246, 178, 26, .25); }
.stars { display: flex; gap: 4px; justify-content: center; } .stars button { border: 0; background: none; font-size: 2.2rem; line-height: 1; cursor: pointer; color: var(--trait); width: 48px; height: 48px; } .stars button.on { color: var(--or); }
.ticket-box { background: #fff; border-radius: 12px; padding: 8px; overflow-x: auto; }

/* Fidélité */
.loy-card { position: relative; border-radius: 24px; padding: 18px; color: var(--brun); background: linear-gradient(140deg, #FFE08A, var(--or)); box-shadow: var(--ombre); overflow: hidden; display: block; text-decoration: none; }
.loy-card::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; background: url('/shared/brand/icone_cornet.svg') center/contain no-repeat; opacity: .2; transform: rotate(-12deg); }
.loy-card.stamps { background: linear-gradient(140deg, #fff, var(--creme-fonce)); border: 2px dashed var(--or); }
.loy-card .est { font-weight: 700; font-size: .85rem; opacity: .85; } .loy-card .pname { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.loy-card .bal { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; margin-top: 10px; } .loy-card .bal small { font-size: 1rem; font-weight: 600; }
.loy-card .gauge { background: rgba(255, 255, 255, .6); margin-top: 10px; position: relative; z-index: 1; } .loy-card .gauge i { background: var(--rouge); }
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; position: relative; z-index: 1; max-width: 320px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--brun-pale); display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.stamp.on { border: 0; background: var(--rouge); animation: tampon .4s var(--ease) backwards; } .stamp.on img { width: 68%; } .stamp.gift { border-color: var(--or); background: var(--or-pale); font-size: 1.2rem; }
@keyframes tampon { from { transform: scale(1.6) rotate(-20deg); opacity: 0; } }
.reward { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--trait); } .reward:first-child { border-top: 0; } .reward .cost { margin-left: auto; white-space: nowrap; }
.qr-full { position: fixed; inset: 0; z-index: 3000; background: #fff; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.qr-full .qr svg { width: min(78vw, 360px); height: auto; } .qr-code-txt { font-family: ui-monospace, Menlo, monospace; font-size: 1.3rem; font-weight: 700; letter-spacing: .12em; }
.qr-mini svg { width: 132px; height: 132px; border-radius: 12px; }

/* Profil */
.menu-list { background: #fff; border-radius: 20px; box-shadow: var(--ombre-sm); overflow: hidden; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; min-height: 56px; border: 0; background: none; text-align: left; text-decoration: none; color: inherit; font-weight: 600; cursor: pointer; border-top: 1px solid var(--trait); font-size: 1rem; }
.menu-list > :first-child { border-top: 0; } .menu-list svg { width: 22px; height: 22px; flex: none; color: var(--brun-doux); } .menu-list .chev { margin-left: auto; color: var(--brun-pale); } .menu-list .danger { color: var(--rouge-fonce); }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--or); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; flex: none; }
.order-row { display: block; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--ombre-sm); text-decoration: none; color: inherit; }
.empty .art { width: 96px; height: 96px; margin: 0 auto 10px; } .empty .art svg { width: 100%; height: 100%; }
.added-fly { position: fixed; z-index: 2500; width: 34px; height: 34px; border-radius: 50%; background: var(--rouge); pointer-events: none; transition: transform .55s cubic-bezier(.3, .7, .3, 1), opacity .55s; }

/* Tablette et ordinateur : navigation latérale, contenus sur deux colonnes */
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .tabbar { position: sticky; top: 0; height: 100dvh; grid-template-columns: 1fr; grid-auto-rows: max-content; align-content: start; gap: 6px; padding: 22px 14px; border-radius: 0; box-shadow: 4px 0 22px rgba(74, 46, 31, .06); background: #fff; }
  .tabbar .brand { display: block; padding: 0 8px 18px; } .tabbar .brand img { height: 44px; width: auto; }
  .tabbar .side-foot { display: block; margin-top: 18px; padding: 0 8px; font-size: .78rem; color: var(--texte-doux); }
  .tabbar a { grid-auto-flow: column; justify-content: start; justify-items: start; gap: 12px; font-size: 1rem; padding: 0 10px; min-height: 52px; }
  .tabbar a[aria-current="page"] { background: var(--or-pale); } .tabbar a .ico { width: 40px; height: 36px; }
  .tabbar .pill { left: 34px; top: 4px; }
  .view, .view.has-cartbar { padding-bottom: 40px; }
  .shell.no-tabs { grid-template-columns: var(--side-w) minmax(0, 1fr); } .shell.no-tabs .tabbar { display: grid; }
  .cartbar { left: auto; right: 28px; bottom: 28px; width: 360px; }
  .hero { border-radius: 0 0 0 40px; padding: 34px 32px 60px; } .hero .logo { display: none; } .hero h1 { max-width: 20ch; font-size: 2.4rem; }
  .searchbox { margin: -28px 32px 0; max-width: 620px; }
  .page { padding: 0 32px; max-width: 900px; } .page-wide { max-width: 1180px; }
  .cravings, .popular-row, .slots { margin-inline: 0; padding-inline: 0; }
  .two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
  .two-col > .aside { position: sticky; top: 20px; }
  .est-cover { border-radius: 0 0 0 40px; overflow: hidden; } .cat-tabs { margin-inline: 0; padding-inline: 0; }
  .sticky-pay { position: static; }
  .topbar { padding-inline: 32px; background: transparent; position: static; } .topbar h1 { text-align: left; font-size: 1.7rem; }
  .track-hero { border-radius: 0 0 0 40px; }
}
@media (max-width: 899px) { .two-col > .aside.desktop-only, .desktop-only { display: none; } }

/* Les rangées défilantes (créneaux, envies) ne doivent jamais élargir la page : les grilles se limitent à leur conteneur. */
.view .stack, .view .checkout, .view .two-col { grid-template-columns: minmax(0, 1fr); }
.view .stack > *, .view .checkout > *, .view .two-col > * { min-width: 0; }
@media (min-width: 900px) { .view .two-col { grid-template-columns: minmax(0, 1fr) 380px; } }
/* Cibles tactiles : jamais moins de 44 px dans l'application. */
.view .btn-sm { min-height: 44px; padding-inline: 16px; }
.view .tab { min-height: 44px; }
.view button.badge { min-height: 44px; padding-inline: 14px; }

/* Ma carte Smakelo : code membre valable dans toutes les friteries */
.member-card { display: flex; gap: 16px; align-items: center; background: var(--brun); color: #FFF4E1; border-radius: 22px; padding: 16px; margin: 6px 0 16px; box-shadow: var(--ombre); }
.member-card .est { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--or); }
.member-card .qr-code-txt { color: #fff; font-size: 1.05rem; letter-spacing: .1em; margin: 2px 0 6px; }
.member-card p { color: #F1DEC8; }
.member-card .qr-mini { flex: none; border: 0; padding: 8px; background: #fff; border-radius: 14px; cursor: pointer; line-height: 0; }
.member-card .btn-dark { background: var(--or); color: var(--brun); }
@media (max-width: 380px) { .member-card { flex-direction: column; text-align: center; } }
